API versioning and compatibility
The public API is versioned in its path. Within /v1, changes are additive only, so an integration written today keeps working: new endpoints, optional fields, aliases and error codes may appear, but nothing is removed, renamed or changed in meaning.
What can change within /v1
- New endpoints and new optional request fields.
- New response fields. Clients ignore fields they do not know, as the OpenAI client libraries do.
- New model aliases.
- New error
codevalues within the existing error types.
What would need a new version
Each of these would need a new path version, with /v1 kept running alongside it:
- Removing or renaming an endpoint, a field or an alias.
- Changing what a field means.
- Making an optional field required.
- Adding an error type.
- Changing authentication.
The error type is always one of these:
invalid_api_keypermission_deniedrate_limit_exceededquota_exceededinvalid_requestmodel_unavailableprovider_errorinternal_error
Aliases are stable names for changing models
Which model answers core-auto changes when the deployment's model catalogue changes. That is deliberate, and it is not a breaking change. Removing an alias would be.
Deprecation
Nothing is deprecated today. If a /v2 is ever released, /v1 keeps running for at least 12 months after /v2 is generally available, and the end date is announced on this page when the deprecation starts.
Moving from the native routes to /v1
| Native | /v1 |
|---|---|
POST /chat | POST /v1/chat/completions; task intent, data classification and feature move into x-core-ai-* headers |
POST /chat/stream | POST /v1/chat/completions with "stream": true |
POST /embed | POST /v1/embeddings |
POST /decide | No /v1 equivalent; typed decisions stay on /decide |
The native routes keep working and are not deprecated. Both surfaces take the same per-application API key.
Last updated .