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 code values 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_key
  • permission_denied
  • rate_limit_exceeded
  • quota_exceeded
  • invalid_request
  • model_unavailable
  • provider_error
  • internal_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 routes and their /v1 equivalents
Native/v1
POST /chatPOST /v1/chat/completions; task intent, data classification and feature move into x-core-ai-* headers
POST /chat/streamPOST /v1/chat/completions with "stream": true
POST /embedPOST /v1/embeddings
POST /decideNo /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 .