Developer documentation
Limits and offline verification
Cache public keys, respect Retry-After and set explicit freshness limits for decisions that need revocation data.
Request limits
IP means the caller's network address. Both passport lookup API paths and /verify/{passportId} share one 30-request counter per IP per 60 seconds. The public mandate lookup and /verify/mandate/{id} share one 60-request counter per IP per 60 seconds. Public lookup limits run before database reads.
A 429 response includes Retry-After in seconds. Public limited endpoints use 60 seconds. Wait before retrying. Conditional requests also count where the endpoint revalidates live state.
| Endpoint | Limit |
|---|---|
| GET /api/public/v1/mandates/{id} | 60 requests per IP address per 60 seconds, shared with /verify/mandate/{id}. |
| POST /api/public/v1/mandates/{id}/check | 30 requests per IP address per 60 seconds. |
| GET /agents/{id}/keys | 30 requests per IP address per 60 seconds, including conditional requests. |
| GET /api/public/v1/passports/{id} | 30 requests per IP address per 60 seconds, shared by both passport lookup API paths and /verify/{passportId}. |
| GET /api/verify/{id} | 30 requests per IP address per 60 seconds, shared by both passport lookup API paths and /verify/{passportId}. |
| GET /.well-known/jwks.json | No endpoint-specific request counter. Cache and revalidate with ETag. |
| GET /.well-known/passport-revocations | 30 requests per IP address per 60 seconds. |
| POST /api/auth/agent-token | 20 requests per IP address per 60 seconds. |
Operator API limits
Operator reads and writes share one counter per control key per 60 seconds. Reads are admitted up to 600 total requests; writes up to 120 total requests. Prior reads count toward the write ceiling. All operator endpoints share a pre-authentication IP guard of 1,000 requests per 60 seconds by default. Self-hosted deployments can configure that guard. Decision traces also allow 30 requests per workspace per 60 seconds across its control keys.
Operator JSON bodies are limited to 64 KiB. The public mandate check body is limited to 32 KiB. An Idempotency-Key makes a supported mutation safe to retry with the same request; it does not raise the request limit.
The generated reference covers the operations declared in the OpenAPI contract. It is not a catalog of every operator route.
Freshness and replay
The Node token helper defaults to a maximum age of 300 seconds. Set revocation.maxAgeSeconds explicitly when you need a recent signed revocation list. A cached list does not become fresher after a 304 response.
The request verifier requires both signature age and total lifetime to fit maxAgeSeconds, 300 seconds by default. Future-created and expired signatures are refused. Keep a shared nonce store across workers.
verifyAgent caches issuer key documents for 300 seconds with ETag revalidation after expiry. An unknown signing key does not bypass a fresh cache; a newly rotated key may remain unknown until that cache expires. ETag is a fingerprint the server uses to confirm that a document has not changed. Request verification revalidates the agent key directory on every verification; concurrent checks can share a read.
Offline verification
Signature checks run offline after you have trusted public keys. Keep the keys needed for historical receipts. Fresh token minting and live mandate checks still need the issuer. A revocation check still needs a recent signed list.
The hosted service has no uptime guarantee. An outage never extends token age, signature lifetime or signed-list freshness. Prefer local signature checks over polling public passport lookups, and cache keys and lists.
verifyAgent and verifyAgentRequest document fetches have a three-second total fetch/body timeout and refuse redirects. JWKS and directory documents are limited to 64 KiB; signed revocation lists to 1 MiB. checkMandate uses those token checks and separately bounds its live-check response to three seconds and 64 KiB, refusing redirects. These limits do not apply to verifyReceipt unless your custom fetch enforces them. JWKS means JSON Web Key Set, a document containing public verification keys.