Skip to main content
GET

Path parameters

string
required
Metric to query. See Metrics Overview for the full list.

Query parameters

string
Aggregation function: sum or avg. Only applies to aggregate metrics (watch_time, playing_time, video_startup_time). Count metrics ignore this parameter.
string
default:"7:days"
Time range. Relative (7:days, 24:hours) or absolute (two Unix timestamps).

Examples

Completions over 30 days:
Average startup time over 24 hours: