Skip to main content
POST
Add agent

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Body

application/json
name
string
required
Minimum string length: 1
role
string
model
string
allowedTools
string[]
systemPrompt
string
skills
string[]
maxTurns
integer
Required range: x > 0
identity
object
reportsTo
string
assignedLoops
string[]

Project-level Agentic Loop names assigned to this agent.

defaultLoop
string

Default assigned Agentic Loop for this agent.

browserProfile
string

Response

201 - application/json

Agent added

ok
boolean
required
data
object
required