Labels

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

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

Request

  • Base URL
    https://api.getbluejay.ai
  • URL
    https://api.getbluejay.ai/v1/agents/{agent_id}/labels/{label_id}
  • Auth
    HTTPBearer (a scheme the document does not define)

Path parameters

agent_idinteger required
label_idstring uuid required

Headers

X-Organization-Idstring
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
agent_version_idstring uuid nullable
knowledge_base_idstring uuid nullable
colorstring nullable
prompt_idstring uuid nullable

Deprecated alias of agent_version_id

Changes