cURL
curl --request GET \ --url https://api.example.com/api/analytics/summary
{ "success": true, "data": { "period": {}, "calls": { "total": 123, "completed": 123, "failed": 123, "avg_duration_seconds": 123 }, "spend": { "total_credits": 123, "total_usd": 123, "by_component": {} }, "credits": { "added": 123, "used": 123 } } }
Retrieve high-level totals for calls, spend, and credits.
YYYY-MM-DD
2024-03-01T14:30:00Z
start_date
end_date
Show properties
start
end
llm_input
llm_output
tts
stt
telephony
platform_fee