Skip to main content
POST
Create an agent

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json
name
string
required
Example:

"Billing Support Bot"

description
string
Example:

"Answers subscription and invoice questions."

type
enum<string>
default:custom
Available options:
custom,
chatbot,
router,
voice,
workflow
status
enum<string>
Available options:
draft,
active,
paused,
archived
system_prompt
string
Example:

"You are a concise, friendly billing assistant."

model
string
Example:

"claude-sonnet-4-6"

temperature
number
default:0.7
Example:

0.7

max_tokens
integer
default:4096
Example:

4096

Response

201 - application/json

The newly created agent record.

data
object
meta
object