Skip to main content
POST /v1/agents/{agent_id}/versions/promote
Moves the production label to the latest version, or to the version in version. prompt_id is a deprecated alias for the version UUID. It is ignored when version is set. POST /v1/agents/{agent_id}/prompts/promote is the deprecated path of this endpoint.

Path parameters

Query parameters

Headers

Response

Status codes

Example request

Example response

200
Last modified on October 21, 2026