Activate a version

View as Markdown

Set a published version as the active version for the agent. The previously active version is deactivated. This does not modify the version’s config — it only changes which version serves live traffic.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

idstringRequired
The agent ID
versionIdstringRequiredformat: "^[a-f\d]{24}$"
The published version ID

Response

Version activated successfully
statusboolean
dataobject
Represents either a draft revision or a published version of an agent's configuration.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error