Skip to main content
GET
Get Agent Statistics

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string<uuid>
required

Query Parameters

period_days
integer
default:30

Period in days

Required range: 1 <= x <= 365

Response

Successful Response

Agent statistics and performance metrics.

agent_id
string<uuid>
required
total_calls
integer
required
total_sessions
integer
required
avg_call_duration
number | null
required
avg_sentiment_score
number | null
required
success_rate
number
required
last_call_at
string | null
required
cost_this_month
number
required
calls_today
integer
required