Skip to content
Context docs
Build

Versioning

This page covers how each HTTP API names its version and which changes can happen within it.

Versions

Evals APIAgent API
Path/api/v1/evals/v1
Versionv1, the only version. The path is the version.v1, the only version. The path is the version.
Specification versionThe OpenAPI file’s info.version is 1.1.0.The OpenAPI file’s info.version is 1.
Version headersNone. The API has no date-based versioning.anthropic-version and anthropic-beta are accepted and ignored.
Your deployment’s specification/api/v1/evals/openapi.json/v1/openapi.json

Changes within a version

These changes can happen within v1 of either API, so build clients that tolerate them:

ChangeWhat to do
New endpoints, new response fields and new optional query parameters.Ignore fields you don’t know.
New values in a field whose values are listed, such as a run’s status, and new error codes or types.Handle an unknown value without failing.
New wording in error messages.Branch on the status and the error’s code or type, never on the message.

Deployments

Each deployment runs its own build, so a field described here can be missing on a deployment that hasn’t been upgraded. The OpenAPI file next to each guide describes the build it was made from, which can be newer or older than yours. Your deployment’s own specification always describes your build; compare against your deployment’s own responses.

The Evals CLI matches the deployment it was installed from. After your deployment is upgraded, re-run the install command from Settings > Terminal to update the CLI.