Analytics
Agent performance
Returns per-agent call performance metrics. Supports sorting and limiting results.
get/analytics/agent-performance
Query parameters
agentIdstring
Comma-separated agent IDs to filter results
campaignIdstring
Campaign ID to filter results
callTypestring
Type of call to filter (e.g. inbound, outbound)
dateFromstring date-time
Start of date range (ISO 8601)
dateTostring date-time
End of date range (ISO 8601)
sortBystring
Field to sort by (e.g. totalCalls, pickupRate, avgDuration)
sortOrder'asc' | 'desc'
Sort direction
limitinteger
Maximum number of agents to return
Response
Per-agent performance metrics
Example response
{
"success": true
}