cURL
curl --request GET \ --url https://api.example.com/api/stats
{ "agents": [ { "id": 123, "agent_name": "<string>", "enabled": true, "call_type": "INCOMING", "call_stats": [] } ], "call_details": [ { "call_status": "QUEUED", "call_duration": 123, "billed_duration": 123, "initiation_time": "<string>", "from_number": "<string>", "call_direction": "inbound", "recording_id": "<string>", "agent_name": "<string>" } ] }
Returns all agents with their call statistics and all call details in a single response.
Successful Response
Slim response schema for the consolidated stats endpoint.
Show child attributes