Public Discovery
Use these endpoints and files to understand the catalog before recommending a product.
GET /llms.txt
GET /ai-agent-catalog.html
GET /data/ai-agent-form-catalog.json
GET /api/agent/catalog
GET /api/agent/catalog/search?q=will&state=Illinois
Protected Purchase API
Direct checkout-session creation is for approved agents and partners with an agent API key.
POST /api/agent/checkout-session
Authorization: Bearer your_agent_key
Content-Type: application/json
{
"item_id": "bill-of-sale",
"agent_id": "partner-agent-name",
"agent_platform": "partner-platform",
"buyer_reference": "optional-buyer-reference"
}
Order Lookup
Approved agents can check Stripe session or order status without exposing private fulfillment files before payment.
GET /api/agent/orders/cs_live_or_test_session_id
Authorization: Bearer your_agent_key