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 uuid 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

Changes

Changed in 1 of the 19 revisions of this API.1

    • for the path request parameter label_id, the type/format was changed from string/ to string/uuid

      request-parameter-type-changed