Overview
Agents are the core of ElevenLabs Conversational AI. Each agent has a unique configuration that defines its behavior, voice, conversation style, and capabilities.Creating an Agent
Create a new agent with a conversation configuration:Configuration Options
ConversationalConfig
required
Conversation configuration defining the agent’s behavior and personality
str
A human-readable name to make the agent easier to find
List[str]
Tags to help classify and filter the agent
AgentPlatformSettingsRequestModel
Platform settings for the agent (non-conversation related settings)
AgentWorkflowRequestModel
Workflow defining the conversation flow and tool interactions
Retrieving an Agent
Get an agent’s configuration by ID:Parameters
str
required
The unique identifier of the agent
str
The ID of a specific agent version to retrieve
str
The ID of a specific branch to retrieve
Listing Agents
Retrieve a paginated list of your agents:List Parameters
int
default:"30"
Number of agents to return (max 100)
str
Search agents by name
bool
Filter by archived status
bool
If true, excludes agents shared with you by others
str
Sort direction:
"asc" or "desc"str
Field to sort by (e.g.,
"name", "created_at")str
Pagination cursor from previous response
Updating an Agent
Update an existing agent’s configuration:Update Parameters
str
required
The ID of the agent to update
str
The ID of the branch to update
str
Updated name for the agent
ConversationalConfig
Updated conversation configuration
str
Description for this version (for versioned agents)
Duplicating an Agent
Create a copy of an existing agent:Deleting an Agent
Permanently delete an agent:Testing Agents
Simulate Conversation
Test your agent with a simulated conversation:Run Test Suite
Run predefined tests on your agent:Async Usage
All agent operations support async/await:Agent Subresources
Agents have several subresources for managing additional functionality:- Summaries: Access conversation summaries and analytics
- Widget: Configure embeddable chat widgets
- Link: Manage shareable agent links
- Knowledge Base: Add and manage agent knowledge bases
- LLM Usage: Track language model usage and costs
- Branches: Manage agent version branches
- Deployments: Handle agent deployments
- Drafts: Work with draft agent configurations
API Reference
View complete API documentation for all agent endpoints