v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Analytics

Call duration statistics

Returns call duration statistics including average, median, p90, p95 percentiles, and the proportion of short vs. long calls.

get/analytics/duration-stats

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)

Response

Duration statistics

successboolean

Example response

{
  "success": true
}