Call duration statistics
Returns call duration statistics including average, median, p90, p95 percentiles, and the proportion of short vs. long calls.
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Query parameters
agentId
Comma-separated agent IDs to filter results
campaignId
Campaign ID to filter results
callType
Type of call to filter (e.g. inbound, outbound)
dateFrom
Start of date range (ISO 8601)
dateTo
End of date range (ISO 8601)
Response
Duration statistics
success
data
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error

