Set the active agent version
Makes a published version of an agent live again. Send version_id or version_number, not both. We copy that version into a new version, which goes live, and discard any unpublished draft. Versions published before September 1, 2026, did not save their actions, and neither did a V1 with no actions published before November 18, 2026. Making these live keeps the agent’s current actions. We return the agent and the new version. We save the agent configuration first, so a 500 response can mean the change went live. Before you retry, list the agent versions. The change went live if the active version is newer than the one active before your call and its description is exactly Rolled back to version N (was M), where N is the version you chose and M the version that was active before.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Agent ID. You can find it on the agent’s page in your dashboard.