Skip to main content

Endpoints

Health

GET /health

Returns system status including task count, ledger info, and AI availability.

Get Solution

GET /get_solution?id=task_X
  • 200: Solution ready (streams markdown)
  • 402: Payment required (x402 challenge)
  • 404: Not found

Payment Webhook

POST /webhook/payment_settled
Content-Type: application/json

{"task_id": "task_017", "tx_hash": "5K2tN9S3..."}

AP2 Handshake

POST /api/v1/ap2/checkout
Content-Type: application/json

{"intent_id": "...", "caller_identity": "demo"}

MCP Proxy

POST /mcp
Content-Type: application/json

{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}

Discovery

GET /llms.txt

For the full API reference, see the project README.