Skip to main content
POST
Create Agent

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

teamId
string
required

Body

application/json
name
string
required

Human-readable agent name

Minimum string length: 1
thread_id
string<uuid> | null

Existing thread ID to associate with the agent

source_build_id
string<uuid> | null

Build ID whose case-queue-consumer setup should be copied to the new agent

automation_id
string<uuid> | null

Automation this agent belongs to. If omitted on a team using the automations model, a new automation named after the agent is created automatically.

build
object

Optional inline build. When present, a first build is created alongside the agent.

Response

Default Response

agent
object
required
build
object