Skip to main content

Agents

Manage AI voice agents. Agents define how your AI sounds, behaves, and responds on calls. They are the core entity in Truedy — assigned phone numbers, equipped with tools and knowledge bases, and deployed on outbound or inbound calls. For UUID / phone / datetime formats used below, see Data formats.

List Agents

List all agents for your organization.

Parameters

Query parameters: Each agent in the response includes inbound_phone_numbers and outbound_phone_numbers (arrays of { id, phone_number }) matching the dashboard view.

Response

cURL

Get Agent

Get details for a specific agent including assigned phone numbers.

Create Agent

Create a new voice agent. The agent is automatically synced to Ultravox on creation. Only name, voice_id, and system_prompt are required; all other fields are optional.

Request Body

Core fields: Call timing: Greeting & inactivity: Advanced audio: Built-in capabilities: Post-call analysis:

Example Request

Response: 201 Created with data (agent object: id, name, status, voice_id, etc.) and meta. Send X-Idempotency-Key for safe retries. Agent status after creation: The agent starts as draft and becomes active once synced to Ultravox. Sync happens automatically on creation. If Ultravox sync fails, the agent status remains draft and can be retried.

Partial Update Agent

Update only the fields you send. All other fields remain unchanged.

Patchable Fields

Any field from the Create Agent table can be partially updated. Common examples:

Delete Agent

Deletes the agent from Truedy and removes it from Ultravox. Phone numbers assigned to this agent will be unassigned.