Skip to main content

Status codes (public v1)

Public v1 list routes re-check apiAccessEnabled on every request. Existing keys stop working if an organization downgrades below the Public API tier.

Error body

A valid key without the route’s scope:
Response header: WWW-Authenticate: Bearer error="insufficient_scope". Plan-gated failures use a stable code:
Validation failures may include structured Zod issues:
Rate-limit failures include Retry-After and X-RateLimit-* headers:
OpenAPI schema: publicErrorSchema (error, optional code, optional message, optional details).

Client guidance

Always check HTTP status before assuming a data array exists.