get aggregated session analytics
Returns aggregated latency analytics across sessions — percentile distributions (p50/p90/p95/p99/max/avg) for each stage of the transcription → LLM → TTS → first-audio path, interruption and error rates, tool call outcomes, and a sample of the slowest turns. Only sessions where Anam runs the conversational pipeline (turnkey, custom LLM and ElevenLabs agent sessions) produce analytics reports; LiveKit and audio-passthrough sessions count toward sessionCount but never carry analytics. Defaults to the last 24 hours; the maximum range is 31 days. Reports are aggregated from the 1000 most recent report-capable sessions matching the filters — session types that never produce reports don’t consume that window — and the truncated field reports when more report-capable sessions matched. Narrow the time range or filters to analyse busier periods exhaustively.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Start of the time range (ISO 8601). Defaults to 24 hours before to.
End of the time range (ISO 8601). Defaults to now.
Only include sessions for this persona.
Only include sessions minted by this API key.
Only include sessions whose client label matches exactly.
Only include sessions of this type.
turnkey, custom_llm_server, custom_llm_client, livekit, elevenlabs_agent Aggregate sessions of another organization. Restricted to Anam-internal admin API keys; other keys receive 403.
Response
Successfully computed aggregate analytics
Echo of the applied filters.
Total sessions matching the filters in the range, whether or not they produced an analytics report.
Sessions whose analytics report was aggregated. Reports are read from the 1000 most recent report-capable matching sessions; session types that never produce reports don't consume that window.
True when more than 1000 report-capable sessions matched; only reports among the most recent 1000 of them were aggregated.
Percentile distributions per latency stage, computed across all turns.
The slowest turns per headline latency metric, for jumping straight to problem sessions.

