Agent Versions
Delete Agent Version
delete a specific prompt version; cannot delete production; cannot delete only version.
if deleting latest, reassign latest to highest remaining version. returns metadata about the deletion.
delete/v1/agents/{agent_id}/versions/{version}
Path parameters
agent_idinteger required
versioninteger required
Headers
X-Organization-Idstring
X-API-Keystring required
API key required to authenticate requests.
Response
Successful Response
{"stackTrail":"paths:/v1/agents/{agent_id}/versions/{version}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
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
- ○