Retrieve aggregated transcript statistics and usage metrics for a specific voice agent.
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