API & Docs
Talk to ZeusAI.
All endpoints live on the same server that rendered this page. Everything is JSON. Auth where required is capability token (CBAT) — issued per action.
| Method | Path | Purpose |
|---|---|---|
GET | /health | Liveness |
GET | /snapshot | Full snapshot of modules/verticals/telemetry |
GET | /stream | SSE stream of snapshots (5s) |
GET | /api/unicorn/events | Realtime ZeusAI events stream (SSE) |
GET | /api/services | Live service catalogue (marketplace + verticals) |
GET | /api/services/list | Catalogue alias for API clients |
GET | /api/services/:id | Service detail |
POST | /api/services/buy | Unified buy flow (BTC / PayPal) |
GET | /api/user/services | User active/purchased services |
POST | /api/checkout/btc | Create BTC invoice + signed receipt |
POST | /api/checkout/paypal | Create PayPal link + signed receipt |
POST | /api/payments/btc/confirm | Confirm BTC payment settlement |
POST | /api/payments/paypal/confirm | Confirm PayPal capture/settlement |
GET | /api/delivery/:receiptId | Delivery registry package: API key, workspace, report, onboarding, downloads |
GET | /api/customer/me | Customer portal: orders, licenses, services, pending payments, deliverables |
GET | /api/admin/commerce | Protected commerce cockpit: receipts, paid/unpaid, delivery state |
POST | /api/admin/commerce/refund | Protected refund action for paid/pending receipts |
GET | /api/security/pq/status | Post-quantum readiness + payment confirmation security mode |
GET | /api/future/standard | 30-year readiness manifest and architecture guarantees |
GET | /api/evolution/loop | Autonomous optimization loop status + guardrails |
GET | /api/trust/ledger | Integrity + receipt trust ledger snapshot |
GET | /api/revenue/proof | Owner revenue proof (paid receipts + payout channels) |
GET | /api/resilience/drill | Resilience drill status and recovery metrics |
POST | /api/resilience/drill/run | Trigger a live failover drill run |
GET | /api/ui/autotune | Adaptive cinematic UI profile (performance-aware) |
GET | /api/performance/governance | p95/p99 telemetry with adaptive cinematic downgrade policy |
GET | /api/ai/registry | Live AI registry (current + future adapters) |
POST | /api/ai/use | Unified AI gateway with automatic model selection |
POST | /api/activate | Activate a purchased service |
GET | /api/autonomy/verify | Verify Merkle chain integrity |
GET | /api/autonomy/did | List registered module DIDs |
POST | /api/revenue/route | Route a revenue event (signed) |
POST | /api/outcome/record | Record proven outcome → auto‑invoice |
Example: create BTC invoice
curl -s -X POST https://zeusai.pro/api/checkout/btc \
-H 'Content-Type: application/json' \
-d '{"amount":49,"currency":"USD","plan":"starter","email":"you@company.com"}'
Node SDK quickstart
const order = await fetch('https://zeusai.pro/api/checkout/btc', {
method: 'POST', headers: {'Content-Type':'application/json'},
body: JSON.stringify({ plan:'starter', amountUSD:49, customer:{ email:'you@company.com' } })
}).then(r => r.json());
console.log(order.receipt.id, order.btcUri);Python SDK quickstart
import requests
order = requests.post('https://zeusai.pro/api/checkout/btc', json={
'plan':'starter', 'amountUSD':49, 'customer':{'email':'you@company.com'}
}).json()
print(order['receipt']['id'], order.get('btcUri'))Webhook verification
# NOWPayments IPN GET /api/payment/nowpayments/security POST /api/payment/nowpayments/webhook # The webhook is HMAC-SHA512 verified when # NOWPAYMENTS_IPN_SECRET is configured.
Agent-to-agent checkout
GET /openapi.json
POST /api/checkout/cascade
GET /api/capability/credential/{receiptId}
GET /api/delivery/{receiptId}