Skip to main content
The metrics system aggregates video view data into high-level numbers for dashboards and reports. It queries the video views table — each row represents a complete viewing session, created automatically when the SDK sends a viewEnd event. All metrics endpoints require a secret key.

Timeframes

All metrics endpoints accept a timeframe[] query parameter to control the time range. Default: 7:days.

Available metrics

Count metrics

Aggregate metrics

These support a measurement parameter: sum or avg.

Filters

Every metrics endpoint accepts filters[] entries of the form dimension:value. Repeat the parameter to combine dimensions; each dimension takes one value and the conditions are ANDed.
The same dimensions group a metric on GET /v1/metrics/{metric}/breakdown via the dimension query parameter, and GET /v1/dimensions/{dimension}/values lists the values a dimension has taken over a timeframe with their view counts.

Dimensions

sdk_version is also returned as a field on each row of GET /v1/views, GET /v1/views/{view_id}, and the JSON GET /v1/exports/views (null when the view has none, for example Web SDK views). The CSV export columns are unchanged.