Skip to main content

Dashboard Summary

Retrieve aggregated dashboard metrics. GET /reports/dashboard Authentication: JWT cookie or API key
ParameterTypeDefaultDescription
start_datestring7 days agoISO 8601 start date
end_datestringnowISO 8601 end date
agent_idstringFilter by agent
call_typestring“phone” or “web”
intervalstringautoTime bucketing: “hour”, “day”, “week”, “month”
curl -X GET "https://api.vaani.ai/reports/dashboard?start_date=2026-02-01&end_date=2026-02-11&interval=day" \
  -H "Cookie: access_token=YOUR_TOKEN"

Call Summary Report

Retrieve detailed call metrics with selectable fields. GET /reports/call-summary
ParameterTypeDescription
fieldsstringComma-separated metric names
start_datestringISO 8601 start date
end_datestringISO 8601 end date
agent_idstringFilter by agent
Available fields: total_calls, total_duration, avg_duration, total_cost, cost_llm, cost_stt, cost_tts, platform_cost, total_tokens, avg_tokens
curl -X GET "https://api.vaani.ai/reports/call-summary?fields=total_calls,total_cost,avg_duration&start_date=2026-02-01" \
  -H "Cookie: access_token=YOUR_TOKEN"

Disposition Summary

Analyze call outcomes by disposition type. GET /reports/disposition
curl -X GET "https://api.vaani.ai/reports/disposition?start_date=2026-02-01" \
  -H "Cookie: access_token=YOUR_TOKEN"

Agent Workload (Prometheus)

Retrieve real-time agent worker metrics. GET /reports/workload
curl -X GET "https://api.vaani.ai/reports/workload" \
  -H "Cookie: access_token=YOUR_TOKEN"
Workload data is read directly from the agent worker’s Prometheus metrics endpoint and parsed by the backend.