Documentation menu

Versioning

How the APIs are versioned, and how to write a client that keeps working.

The management API#

The management API is served under /v1. Write your client so that it keeps working as the API grows:

  • Ignore fields you do not know. New fields can appear in responses.
  • Handle unknown values. Lists of values such as event types, ledger kinds and usage outcomes can gain members.
  • Branch on code, not message. An error's type and code are never renamed; its message may be reworded.

Webhook events#

Every event carries api_version, currently 2026-11-25: the version of the envelope and of every event's data. A change that removes or retypes a field is a new api_version. Adding a field is not, so ignore fields you do not know.

The gateway#

The gateway accepts the OpenAI Responses, OpenAI Chat Completions and Anthropic Messages formats as their providers define them, under /v1 like the providers' own APIs.