Developer documentation
API reference
One page per operation in the OpenAPI contract. Public checks use the issuer origin. Operator requests use /api/control/v1 and a control API key.
Public API
Check a known passport, read public keys or submit a signed proof. A valid passport is not permission. passcontrol/verify exports the SeenNonce type for custom nonce stores and the MandateIntent type, mandateIntentValue helper and MANDATE_INTENT_HEADER constant for canonical mandate intent headers.
- GET /api/public/v1/mandates/{id} — Public mandate credential, generated sentences and live status (Cloud)
- POST /api/public/v1/mandates/{id}/check — Verify and optionally count an agent-signed door act (Cloud)
- GET /agents/{id}/keys — Current owned passport and live grace public keys (Core)
- GET /api/public/v1/passports/{id} — Check one passport identity; never grants permission
- GET /api/verify/{id} — Permanent alias of the versioned public passport lookup
- GET /.well-known/jwks.json — Public Ed25519 signing keys, never permission or issuer trust
- GET /.well-known/passport-revocations — Signed permanent deaths, excluding expiry and reversible stop state
- POST /api/auth/agent-token — Authenticate a passport signature and mint one audience-bound identity token
Operator API
Manage your own fleet with a tenant-scoped control key. This reference covers the declared operations; more operator routes are outside this contract.
- GET /api/control/v1/agents — List agents
- POST /api/control/v1/agents — Create an agent
- GET /api/control/v1/agents/{id} — Get an agent
- PATCH /api/control/v1/agents/{id} — Update an agent (name / scopes / budgets)
- DELETE /api/control/v1/agents/{id} — Revoke an agent (terminal)
- POST /api/control/v1/agents/{id}/suspend — Suspend an agent
- POST /api/control/v1/agents/{id}/trace — Evaluate a read-only gateway decision snapshot
- POST /api/control/v1/agents/{id}/resume — Resume a suspended agent
- GET /api/control/v1/logs — List gateway call logs
- GET /api/control/v1/audit — List admin-action audit events
- GET /api/control/v1/spend — Per-agent and fleet spend
- GET /api/control/v1/kill-switch — Get the per-tenant kill-switch state
- PUT /api/control/v1/kill-switch — Arm or disarm the per-tenant master kill switch
- POST /api/control/v1/keys/self/revoke — Revoke the API key making this request
- POST /api/control/v1/keys/self/downgrade — Make the API key making this request read-only