API reference
Agents
Create and manage agents.
Create agent
POST/v1/agents
Creates an agent from a base model.
Parameters
namestringrequiredDisplay name.
modelstringrequiredBase model id from GET /models.
voicestringVoice id. Defaults to the model's voice.
traitsstring[]Up to 4 personality traits.
policyobjectWhat the agent is allowed to do.
Retrieve agent
GET/v1/agents/:id
Update agent
PATCH/v1/agents/:id
Partial update. Same fields as create.