Skip to main content
POST
Create an agent

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corps

name
string
requis

The agent name. Cannot contain <, >, or null bytes.

Required string length: 1 - 255
Pattern: ^[^<>]+$
client_id
string

Optional client ID to associate with the agent

Maximum string length: 255
external_agent_id
string

Optional external identifier for the agent. Immutable after creation. Must be unique within the tenant.

Required string length: 1 - 128
Pattern: ^[^]*$
metadata
object

Arbitrary key-value metadata for the agent

Réponse

Agent successfully created.

agent_id
string<agent-id>
requis

The agent ID

name
string
requis

The agent name

Maximum string length: 255
created_at
string<date-time>
requis

When the agent was created

updated_at
string<date-time>
requis

When the agent was last updated

metadata
object
requis

Arbitrary key-value metadata for the agent

external_agent_id
string

External identifier for the agent, if set. Omitted when not set.

Maximum string length: 128