Skip to main content
POST
Create Agent

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer

Body

application/json
name
string
required

Agent name (required)

Minimum string length: 1
config
AgentConfig · object
required
kb_id
integer

Knowledge base ID to assign. Omit to create agent without a knowledge base.

Response

Successful Response

agent_id
string
required
name
string
required
config
Config · object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
status
string
default:paused
status_code
integer
default:1
kb_id
integer · null · null