{
    "object": "api_index",
    "name": "Forter public sandbox API",
    "description": "Public, no-authentication sandbox surface of the Forter agentic-commerce APIs, served live on this host. Every endpoint below is reachable right now without credentials and returns demo data (canned decisions / illustrative payloads) so AI agents can integrate and test the request/response wire format end-to-end. Rate-limited. Production decisioning runs on api.forter-secure.com, provisioned per tenant under a signed MSA.",
    "authentication": "none (public sandbox; no API key required)",
    "openapi": {
        "sandbox": "https://www.forter.com/api/openapi.json",
        "full": "https://www.forter.com/openapi.json",
        "catalog": "https://www.forter.com/.well-known/api-catalog"
    },
    "production": {
        "host": "https://api.forter-secure.com",
        "auth": "HTTP Basic + X-Forter-SiteId + Api-Version",
        "access": "https://www.forter.com/contact-us/",
        "note": "Production decisioning is provisioned per tenant under a signed MSA. The sandbox endpoints below are free and require no account."
    },
    "endpoints": [
        {
            "method": "POST",
            "url": "https://www.forter.com/checkout_sessions",
            "auth": "none",
            "title": "Agentic Commerce Protocol checkout-session create (demo decision)",
            "example": "curl -sX POST https://www.forter.com/checkout_sessions -H 'Content-Type: application/json' -d '{\"line_items\":[{\"id\":\"sku_1\",\"quantity\":1}]}'"
        },
        {
            "method": "GET",
            "url": "https://www.forter.com/api/v1",
            "auth": "none",
            "title": "x402 demo resource (HTTP 402 + accepts block; an X-PAYMENT retry returns a demo quote)",
            "example": "curl -sX GET https://www.forter.com/api/v1"
        },
        {
            "method": "POST",
            "url": "https://www.forter.com/api/mpp/demo/charge",
            "auth": "none",
            "title": "MPP demo payment handshake",
            "example": "curl -sX POST https://www.forter.com/api/mpp/demo/charge -H 'Content-Type: application/json' -d '{}'"
        },
        {
            "method": "POST",
            "url": "https://www.forter.com/api/ucp/demo/sessions",
            "auth": "none",
            "title": "UCP demo session create",
            "example": "curl -sX POST https://www.forter.com/api/ucp/demo/sessions -H 'Content-Type: application/json' -d '{}'"
        },
        {
            "method": "POST",
            "url": "https://www.forter.com/batch",
            "auth": "none",
            "title": "Batch decisioning demo (poll GET /batch/jobs/{job_id})",
            "example": "curl -sX POST https://www.forter.com/batch -H 'Content-Type: application/json' -d '{\"items\":[]}'"
        },
        {
            "method": "POST",
            "url": "https://www.forter.com/ask",
            "auth": "none",
            "title": "NLWeb question-answering over the Forter agent surface",
            "example": "curl -sX POST https://www.forter.com/ask -H 'Content-Type: application/json' -d '{\"query\":\"what is forter\"}'"
        }
    ],
    "mcp": {
        "demo": "https://www.forter.com/mcp",
        "production": "https://mcp.forter.com/mcp",
        "discovery": "https://www.forter.com/.well-known/mcp.json"
    },
    "docs": "https://docs.forter.com"
}