Skip to main content
GET
get aggregated session analytics

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

from
string<date-time>

Start of the time range (ISO 8601). Defaults to 24 hours before to.

to
string<date-time>

End of the time range (ISO 8601). Defaults to now.

personaId
string<uuid>

Only include sessions for this persona.

apiKeyId
string<uuid>

Only include sessions minted by this API key.

clientLabel
string

Only include sessions whose client label matches exactly.

sessionType
enum<string>

Only include sessions of this type.

Available options:
turnkey,
custom_llm_server,
custom_llm_client,
livekit,
elevenlabs_agent
organizationId
string

Aggregate sessions of another organization. Restricted to Anam-internal admin API keys; other keys receive 403.

Response

Successfully computed aggregate analytics

from
string<date-time>
to
string<date-time>
filters
object

Echo of the applied filters.

sessionCount
integer

Total sessions matching the filters in the range, whether or not they produced an analytics report.

sessionsWithReports
integer

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.

truncated
boolean

True when more than 1000 report-capable sessions matched; only reports among the most recent 1000 of them were aggregated.

turnCount
integer
latencies
object

Percentile distributions per latency stage, computed across all turns.

counts
object
rates
object
slowestTurns
object[]

The slowest turns per headline latency metric, for jumping straight to problem sessions.

Last modified on July 24, 2026