Agent analytics
GET /api/v1/agents/{agent_id}/analytics returns stats for one agent.
curl
Workspace analytics
GET /api/v1/workspaces/{workspace_id}/analytics returns the same stats across all agents in a workspace, plus a per-agent breakdown. Workspace admins only.
curl
Reading the numbers
To count calls that answered every question, subtract
screened_out from completed.
The response also carries average call duration, voice latency, and cost per call and per turn. See the API reference for those fields. Every average is null when the window has no usable calls.