Skip to main content
GET
/
v1
/
voiceai
/
analytics
/
agents
Get Agent Analytics
curl --request GET \
  --url https://api.example.com/v1/voiceai/analytics/agents \
  --header 'x-api-key: <api-key>'
{
  "agents": [
    {
      "agent_id": "<string>",
      "agent_name": "<string>",
      "count": 0,
      "cost": 0,
      "llm_cost": 0,
      "duration": 0
    }
  ],
  "total_count": 0
}

Authorizations

x-api-key
string
header
required

API key for programmatic access

Query Parameters

date_range
enum<string> | null
default:month

Time range preset: hour, 6hours, 12hours, day, 3days, week, 14days, month Date range options for analytics queries. Matches ElevenLabs API.

Available options:
hour,
6hours,
12hours,
day,
3days,
week,
14days,
month
start_unix
integer | null

Custom start timestamp (overrides date_range)

end_unix
integer | null

Custom end timestamp (overrides date_range)

Response

Successful Response

Response model for /analytics/agents endpoint.

agents
AgentMetricItem · object[]

Per-agent metrics

total_count
integer
default:0

Total call count across all agents