ES

Errors

All errors — including those produced at the edge — share one JSON envelope. The code field is stable and safe to program against; detail is human-readable and may change.

{
  "type": "about:blank",
  "title": "UNAUTHORIZED",
  "status": 401,
  "code": "unauthorized",
  "detail": "Unauthorized",
  "request_id": "9739dd78-..."
}
StatuscodeMeaning
401unauthorizedMissing, malformed or unknown API key
403access_deniedKey revoked/expired, plan missing, IP not allowed, or resource outside your permissions
404Resource does not exist
400bad_requestInvalid parameters (e.g. bad cursor)
422Validation error; the body lists the offending fields
429rate_limited / quota_exceededSee Limits
5xxserver_errorOur side — retry with backoff; include request_id when contacting support
Always log the request_id: it lets our support team find your exact request.