Agent Versions
Promote Production Label
Move the production label to the latest version, or to the version identified by version (or prompt_id).
post/v1/agents/{agent_id}/versions/promote
Path parameters
agent_idinteger required
Query parameters
versioninteger nullable
If set, attach the production label to this version number; otherwise attach to the latest version.
If set, attach the production label to this version number; otherwise attach to the latest version.
prompt_idstring uuid nullable
Alias for version: the version's uuid. Ignored when version is set.
Alias for version: the version's uuid. Ignored when version is set.
Headers
X-Organization-Idstring
X-API-Keystring required
API key required to authenticate requests.
Response
Successful Response
Changes
Changed in 1 of the 38 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○