Skip to content

Errors

The public API uses standard HTTP status codes with a JSON error body:

json
{
  "detail": "Invalid AGNT_KEY"
}

Common statuses

StatusMeaning
400Request is syntactically valid but violates business rules, such as missing inbox/wallet, invalid cursor, domain not verified, or rate limit exceeded.
401Bearer token is invalid for the auth context.
403Token is valid but does not own or is not allowed to perform the action.
404Requested resource does not exist, is inactive, or is outside the caller's scope.
408wait-for-code timed out without a new inbound SMS.
409Request conflicts with existing runtime state, such as a wallet send idempotency mismatch.
422Request validation failed before business logic ran.
503A required downstream dependency for the runtime request was unavailable.

Runtime examples

  • GET /v1/agents/me: 401 invalid AGNT_KEY
  • GET /v1/email/inbox: 400 invalid cursor or no inbox
  • POST /v1/sms/wait-for-code: 408 timeout waiting for a code
  • POST /v1/wallet/send: 403 spend policy violation

Agent-first public docs. Stable URLs, static pages, machine-readable spec.