Developers

The router, as an API.

One endpoint. You send a task and a policy; Prism picks the beam, runs it, and returns the answer with a ledger line and, when applicable, an attestation you can re-verify offline.

Routing policy builder

Policies are JSON you attach per request or per key. Toggle to generate one.

Keys

A key carries a default policy and a monthly cap. Stored in this browser for the demo.

Endpoints

POST/v1/tasks — run a task through the router (streams)
POST/v1/agents/runs — start a capped agent run
GET/v1/ledger?from=…&beam=… — your lines, paginated
GET/v1/attestations/{hash} — report + allow-list version
POST/v1/vault/slices — upload ciphertext + manifest
GET/v1/arena/board?category=coding — live Elo
POST/v1/webhooks — ledger.line, agent.halted, grid.payout

Webhook payload · ledger.line

{ "event": "ledger.line", "beam": "attested", "model": "qwen3.5-397b",
"tokens": { "in": 412, "out": 1188 }, "price_usd": 0.00144,
"attestation": "tdx:9f1c…e4a2", "policy_id": "pol_default", "ts": 1790442901 }