get_agent_topics_route
Fetch and rank an agent's conversation topics by sentiment, frustration, success rate, or volume, with optional time windows and pagination for analysis.
Instructions
Get Agent Conversation Topics
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Used for fetching next page. Cursor is returned in the response. | |
| sort_by | No | 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. | |
| agent_id | Yes | ID of the agent | |
| page_size | No | Number of top-level topic groups to return. | |
| to_unix_secs | No | End of the window to view topics for. | |
| from_unix_secs | No | 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 re | |
| sort_direction | No | Direction to sort topics. | |
| include_evaluation_criteria | No | 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. |