Skip to main content
DELETE
Remove Agent Version Labels Route
Integration Prompt for AI Agents
New: DELETE /v1/agents/{agent_id}/versions/{version}/labelsDeprecated: DELETE /v1/agents/{agent_id}/prompts/versions/{version}/labels. Old path, still works.
Removes labels from a specific agent version.

Headers

X-Organization-Id
string
X-API-Key
string
required

API key required to authenticate requests.

Path Parameters

agent_id
integer
required
version
integer
required

Body

application/json

request body for add/remove label operations.

labels: list of labels to add or remove. empty/null means no-op for add, and clear-all for remove (callers decide the semantics). override_label: when true, adding an existing label moves its association to the requested resource; when false, conflicts return 409.

labels
string[] | null
override_label
boolean | null
default:false

Response

Successful Response

response wrapper for just a list of labels.

labels
string[]