/insights/viewer-analyticsGet viewer analytics
Retrieves viewer analytics for selected metrics over a specified date range. Provide metrics and date_range to choose the measurements and timeframe, and use filters or chart_dimension to segment or group results. The date range can span no more than 60 days.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Viewer analytics query with required metrics and date range, plus optional grouping, filtering, workspace, and download settings.
Group metrics by the selected dimension. You can select up to 3 dimensions for nested category results; results follow the selection order.
The timeframe to get the data for. The maximum range between start_at and end_at is 60 days.
Whether the request is to download the chart data
Build segments of users using multiple filters on the data, value should be an exact match
Data can be grouped by daily, weekly or monthly.
Get data for one or more metrics in the same request. Supported values: views, unique_views, impressions, completion_percent_by_views, playing_time, concurrent_users, widget_form_submitted, and cta_clicks.
Gumlet workspace ID
One documented failure
parameter_missingOne or more required values are missing.
One documented failure
invalid_property_idYou don't have access to that property, please select a property id
One documented failure
unauthorizedYou don't have access to this feature. Please contact your organization owner.
One documented failure
property_not_foundCould not find any video insight property with the specified property_id.
One documented failure
internal_server_errorWe have encountered some server error. We have been notified and will fix it soon.
A 400 is returned when the request is invalid. A 401 indicates an unauthorized request. A 403 is returned for an unpaid account or insufficient role permissions. A 404 indicates that a requested resource was not found. A 500 indicates an internal server error. The body must include metrics and date_range; the date range must use yyyy-MM-dd dates and span no more than 60 days.