Get Agent Conversation Topics
Changed onReturns the latest topic discovery run results for a given agent.
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/{agent_id}/topics
- Authnone declared
Path parameters
ID of the agent
Query parameters
Number of top-level topic groups to return.
Column to rank topics by. Use conversations for volume, sentiment with sort_direction=asc for the most negative topics, and frustration with sort_direction=desc for the most frustrated ones. Topics with no score are always ranked last.
Direction to sort topics.
Start of the window to view topics for. When set with to_unix_secs, the completed daily topic-discovery runs in the range are aggregated together, so the window scopes the metrics as well as the topic set. Floored to the start of its UTC day because runs cover whole UTC days; aggregated_run_count reports how many runs were summed. Omit both bounds to get the single latest run.
End of the window to view topics for.
Include the per-criteria evaluation breakdown on each topic's metrics. Pass false to drop it: it dominates the payload and the weighted success_rate is returned either way.
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
Changes
- info
added the new optional
queryrequest parameterinclude_evaluation_criteria - info
added the new enum value
frustrationto thequeryrequest parametersort_by - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterpage_size - info
added the new optional
queryrequest parametersort_by - info
added the new optional
queryrequest parametersort_direction - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info