cURL
curl --request GET \ --url https://api.example.com/api/billing/summary/{agent_id}
{ "total_calls": 123, "billing": { "stt": { "deepgram": 0, "sarvam": 0 }, "tts": { "elevenlabs": 0, "sarvam": 0 }, "llm": { "openai": 0, "openrouter": 0 } }, "grand_total": 123, "currency": "USD" }
Get billing summary for a specific agent. Billing is calculated per-model for accurate pricing.
Successful Response
Response schema for /billing/summary endpoint.
Service-wise billing breakdown.
Show child attributes