Prompts
Delete Agent Version By Label
Changed ondelete a prompt version by label.
- if label is production -> 400 (must move production first)
- if label resolves to 0 -> 404; >1 -> 400 ambiguous (except latest which should be unique)
- if deleting latest, reassign latest to highest remaining version
- cannot delete if it is the only version
delete/v1/agents/{agent_id}/prompts/versions
Request
- Base URLhttps://api.getbluejay.ai
- URLhttps://api.getbluejay.ai/v1/agents/{agent_id}/prompts/versions
- AuthHTTPBearer (a scheme the document does not define)
Path parameters
agent_idinteger required
Query parameters
labelstring nullable
Headers
X-Organization-Idstring
X-API-Keystring required
API key required to authenticate requests.
Response
Successful Response
unknown required
Changes
- info
api operation id
delete_prompt_version_by_label_agent_scoped_v1_agents__agent_id__prompts_versions_deleteremoved and replaced withdelete_agent_version_by_label_v1_agents__agent_id__prompts_versions_delete - info
endpoint deprecated
- info
- info
added the new optional
headerrequest parameterX-Organization-Id
- info