latestOpenAPI 3.1.02026-08-203871,4682.0 MB

db6eec599cbe

Agents Insights
Agents Platform

Get Agent Conversation Topics

Returns the latest topic discovery run results for a given agent.

get/v1/convai/agents/{agent_id}/topics

Path parameters

agent_idstring required

ID of the agent

ID of the agent

Query parameters

page_sizeinteger nullable

Number of top-level topic groups to return.

Number of top-level topic groups to return.

sort_by'conversations' | 'sentiment' | 'success_rate'

Topic table column to sort by.

sort_direction'asc' | 'desc'

Direction to sort topics.

from_unix_secsinteger nullable

Start of the window to view topics for. When set with to_unix_secs, per-day topics in the range are aggregated together.

Start of the window to view topics for. When set with to_unix_secs, per-day topics in the range are aggregated together.

to_unix_secsinteger nullable

End of the window to view topics for.

End of the window to view topics for.

cursorstring nullable

Used for fetching next page. Cursor is returned in the response.

Used for fetching next page. Cursor is returned in the response.

Headers

xi-api-keystring nullable

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.

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

window_start_unix_secsinteger required
window_end_unix_secsinteger required
has_moreboolean
next_cursorstring nullable