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

Both 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.