Retrieve aggregated transcript statistics and usage metrics for a specific voice agent.
Retrieve high-level, aggregated statistics about a specific Voice Agent’s performance and usage history. If you are building an analytics dashboard for your users, this endpoint is highly efficient. Instead of downloading every single transcript to calculate metrics locally, this endpoint instantly returns pre-calculated totals and averages directly from the server.Documentation Index
Fetch the complete documentation index at: https://docs.lyzr.ai/llms.txt
Use this file to discover all available pages before exploring further.
x-api-key header to authenticate this request.agentId (Path Parameter): The 24-character unique identifier of the agent whose statistics you want to retrieve.200 OK request returns a lightweight JSON object packed with actionable data:
totalCalls: The absolute volume of conversations this agent has handled since it was created.browserCalls: How many of those calls originated from a web-based widget or browser interface.phoneCalls: How many calls were routed through a telephony or SIP trunk integration (e.g., standard phone lines).avgMessages: A great indicator of conversation depth. A higher average message count usually means the agent is successfully engaging users in longer, back-and-forth dialogue rather than quick drop-offs.The unique identifier of the agent.
"f790923795a23467555c0ad6"
Agent transcript statistics retrieved successfully.
The total number of sessions handled by this agent.
1250
The number of sessions initiated via a web browser interface.
850
The number of sessions initiated via a SIP/telephony integration.
400
The average number of messages exchanged per session.
14.5