{
  "version": "1.0.0",
  "name": "Agent SVG Registry",
  "description": "Agent-native SVG source registry for generated product interfaces. Search and preview freely; paid commercial license unlocks SVG, React, inline HTML, and bulk pack export.",
  "url": "https://agent-svg-registry.vercel.app/",
  "agent_card": "https://agent-svg-registry.vercel.app/.well-known/agent.json",
  "agent_commerce": "https://agent-svg-registry.vercel.app/.well-known/agent-commerce.json",
  "payment_discovery": "https://agent-svg-registry.vercel.app/.well-known/agent-payment.json",
  "mcp": "https://agent-svg-registry.vercel.app/api/mcp",
  "a2a": "https://agent-svg-registry.vercel.app/a2a",
  "openapi": "https://agent-svg-registry.vercel.app/openapi.json",
  "llms": "https://agent-svg-registry.vercel.app/llms-full.txt",
  "pricing": "https://agent-svg-registry.vercel.app/pricing",
  "checkout": "https://agent-svg-registry.vercel.app/buy/launch",
  "license_terms": "https://agent-svg-registry.vercel.app/license",
  "approval_prompt": "I found a paid-ready SVG in Agent SVG Registry. Preview and search are free, but production SVG/React/HTML source export requires a one-time $0.50 commercial license through Stripe Checkout. May I open https://agent-svg-registry.vercel.app/buy/launch? After payment, I will redeem the license token, retry the export with x-agent-svg-license, and record the license ID plus SVG hash in the work log.",
  "agent_purchase_flow": [
    {
      "step": "search_or_preview",
      "required_before_purchase": true,
      "url": "https://agent-svg-registry.vercel.app/api/assets?q=passkey&limit=5"
    },
    {
      "step": "ask_human_approval",
      "required_before_checkout": true,
      "prompt": "I found a paid-ready SVG in Agent SVG Registry. Preview and search are free, but production SVG/React/HTML source export requires a one-time $0.50 commercial license through Stripe Checkout. May I open https://agent-svg-registry.vercel.app/buy/launch? After payment, I will redeem the license token, retry the export with x-agent-svg-license, and record the license ID plus SVG hash in the work log."
    },
    {
      "step": "open_checkout_after_approval",
      "method": "GET",
      "url": "https://agent-svg-registry.vercel.app/buy/launch",
      "provider": "stripe_checkout"
    },
    {
      "step": "fulfill_license_after_success",
      "method": "GET",
      "url": "https://agent-svg-registry.vercel.app/api/licenses/fulfill?session_id={CHECKOUT_SESSION_ID}"
    },
    {
      "step": "retry_export_with_license",
      "method": "GET",
      "header": "x-agent-svg-license",
      "url": "https://agent-svg-registry.vercel.app/api/packs/founding-saas-ui-states-v1/export"
    }
  ],
  "authentication": {
    "paid_exports": {
      "type": "paid_license_token",
      "header": "x-agent-svg-license",
      "bearer_supported": true,
      "purchase_url": "https://agent-svg-registry.vercel.app/buy/launch",
      "unpaid_status": 402
    }
  },
  "actions": [
    {
      "id": "search_assets",
      "description": "Search SVG asset metadata by query, category, style, or tag.",
      "method": "GET",
      "endpoint": "https://agent-svg-registry.vercel.app/api/assets",
      "auth_required": false,
      "parameters": {
        "q": "string",
        "category": "string",
        "style": "outline | filled | duotone | illustration",
        "limit": "integer"
      }
    },
    {
      "id": "quote_license",
      "description": "Get the $0.50 commercial license price, human approval copy, checkout URL, export URLs, and receipt schema.",
      "method": "GET",
      "endpoint": "https://agent-svg-registry.vercel.app/api/quote?plan=launch",
      "auth_required": false,
      "returns": ["approval_prompt", "agent_purchase_flow", "checkout_intent_url", "receipt_schema_url"]
    },
    {
      "id": "checkout",
      "description": "Start live Stripe Checkout after explicit human approval.",
      "method": "GET",
      "endpoint": "https://agent-svg-registry.vercel.app/buy/launch",
      "auth_required": false,
      "requires_human_approval": true,
      "approval_prompt": "I found a paid-ready SVG in Agent SVG Registry. Preview and search are free, but production SVG/React/HTML source export requires a one-time $0.50 commercial license through Stripe Checkout. May I open https://agent-svg-registry.vercel.app/buy/launch?",
      "price": {
        "amount": 0.5,
        "currency": "USD",
        "cadence": "one-time"
      }
    },
    {
      "id": "export_asset",
      "description": "Export SVG, React, and inline HTML for one paid-ready asset after payment. Without a license, returns HTTP 402 with payment_required JSON.",
      "method": "GET",
      "endpoint_template": "https://agent-svg-registry.vercel.app/api/reuse/{asset_id}",
      "auth_required": true,
      "auth_header": "x-agent-svg-license",
      "unpaid_status": 402
    },
    {
      "id": "export_founding_pack",
      "description": "Export the 12-asset founding SaaS UI states pack after payment. Without a license, returns HTTP 402 with payment_required JSON.",
      "method": "GET",
      "endpoint": "https://agent-svg-registry.vercel.app/api/packs/founding-saas-ui-states-v1/export",
      "auth_required": true,
      "auth_header": "x-agent-svg-license",
      "unpaid_status": 402
    }
  ],
  "catalog": {
    "asset_count": 576,
    "founding_pack": "https://agent-svg-registry.vercel.app/api/packs/founding-saas-ui-states-v1",
    "categories": "https://agent-svg-registry.vercel.app/categories"
  }
}
