Skip to main content
GET
Get Call Statistics

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenant_id
string<uuid>
required

Query Parameters

hours
integer
default:24

Time period in hours (1-168)

Required range: 1 <= x <= 168
agent_id
string<uuid> | null

Filter by specific agent

Response

Successful Response

Call statistics for a period.

tenant_id
string
required
period
Period · object
required
total_calls
integer
required
completed_calls
integer
required
failed_calls
integer
required
success_rate
number
required
avg_duration_seconds
number
required
total_duration_minutes
number
required
quota
QuotaInfo · object | null

Quota and remaining calls info