Voice agentsCall logs
Get call stats
Totals for every call in a date range. Omit both dates for all time.
GET
/v2/call-logs/statsAuthorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <api_key>, where<api_key>is a key from Account Settings → API keys in your dashboard.
Query parameters
start_datestring (date-time)Range start (ISO 8601), on
started_at.end_datestring (date-time)Range end (ISO 8601), on
started_at.
Response
Aggregated call statistics.
total_callsintegerNumber of calls.
total_duration_secondsintegerSum of call durations.
total_costnumberSum of call costs.
by_statusobjectCall count per status, e.g.
{"completed": 120}.