v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Labels

Update Label

rename a free-standing label; reserved labels are not allowed as targets.

put/v1/agents/{agent_id}/labels/{label_id}

Path parameters

agent_idinteger required
label_idstring required

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

label_textstring required

new text for the label

Response

Successful Response

idstring uuid nullable
created_atstring date-time nullable
agent_idinteger required
label_textstring required
prompt_idstring uuid nullable
knowledge_base_idstring uuid nullable
colorstring nullable