API reference

Agents

Create and manage agents.

Create agent

POST/v1/agents
Creates an agent from a base model.
Parameters
namestringrequired

Display name.

modelstringrequired

Base model id from GET /models.

voicestring

Voice id. Defaults to the model's voice.

traitsstring[]

Up to 4 personality traits.

policyobject

What the agent is allowed to do.

Retrieve agent

GET/v1/agents/:id

Update agent

PATCH/v1/agents/:id
Partial update. Same fields as create.