Skip to main content
POST
Create agent

Authorizations

Authorization
string
header
required

Session token issued by the desktop/native auth exchange, sent as Authorization: Bearer .

Body

application/json
workspaceId
string
required

The workspace ID

name
string
required

Agent name

Required string length: 1 - 100
projectId
string | null

Project to create the agent in

description
string

Agent description

Maximum string length: 500
systemPrompt
string

System prompt defining agent behavior

Maximum string length: 10000
providerKeyId
string

Provider key ID for AI inference

Response

Agent created

data
object