v3

latestOpenAPI 3.1.02026-07-31350397683.8 KB
Labels

Create Label

create a free-standing label for an agent (not attached to any prompt or knowledge base).

post/v1/agents/{agent_id}/labels

Path parameters

agent_idinteger required

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

label_textstring required

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