Agent analytics
Fetch performance stats for a single agent withGET /api/v1/agents/{agent_id}/analytics.
curl
Workspace analytics
Fetch aggregated stats across all agents in a workspace withGET /api/v1/workspaces/{workspace_id}/analytics. This endpoint is restricted to workspace admins.
curl
What the stats mean
integer
Total number of calls started. Includes calls that are still in progress, completed, screened out, or failed.
integer
Calls that reached either
complete or screened_out status. Both outcomes mean the agent reached a defined ending — not that the caller answered every question.integer
Calls ended early because the caller’s answer matched a value in
end_call_values. These are counted inside completed.number
The ratio
completed / attempted, expressed as a decimal between 0 and 1. Returns null when attempted is zero.object
Average call length in seconds, plus a 95% confidence interval and the sample size used to compute it.
object
Average time in seconds from the end of a caller’s spoken turn to the agent’s first acknowledgement word. Lower is better — high values suggest the agent is slow to process speech.
object
Average time in seconds from the agent’s acknowledgement to the start of its full reply. Together with
avg_ack_latency_secs, this gives you a complete picture of perceived voice latency.object
Cost breakdown for the calls in the sample.
All average fields return
null when there are no usable calls in the requested window. The ci_95 field within each average is null when the sample contains fewer than two calls — a confidence interval cannot be computed from a single data point.