List Agents
Changed onReturns a list of your agents and their metadata.
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/convai/agents
- Authnone declared
Query parameters
How many Agents to return at maximum. Can not exceed 100, defaults to 30.
Search by agents name.
Filter agents by archived status
If set to true, the endpoint will omit any agents that were shared with you by someone else and include only the ones you own. Deprecated: use created_by_user_id instead.
Filter agents by creator user ID. When set, only agents created by this user are returned. Takes precedence over show_only_owned_agents. Use '@me' to refer to the authenticated user.
Filter agents by tag. Repeat the parameter to match any of several tags.
[ "Customer Support" ]
The direction to sort the results
The field to sort the results by
Used for fetching next page. Cursor is returned in the response.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"agents": [
{
"access_info": {
"creator_email": "john@example.com",
"creator_name": "John Doe",
"is_creator": true,
"role": "admin"
},
"agent_id": "J3Pbu5gP6NNKBscdCdwB",
"archived": false,
"created_at_unix_secs": 1716153600,
"name": "My Agent",
"tags": [
"Customer Support",
"Technical Help",
"Eleven"
],
"updated_at_unix_secs": 1716240000,
"voice_id": "UCaNsl8F6Xh4GALkVMLS"
}
],
"has_more": false,
"next_cursor": "123"
}Changes
- info
added the enum value
updated_atto the propertyanyOf[subschema #1: AgentSortBy]/of thequeryrequest parametersort_by - info
added the required property
//to the response with the status
- info
- info
added the required property
//to the response with the status
- info