/insights/aggregated-dataGet aggregated viewer analytics
Retrieves aggregated values for selected metrics in a video workspace over a specified timeframe. Provide aggregate, workspace_id, and timeframe, and optionally use filters to limit the data included. The timeframe can span no more than 60 days.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Aggregated analytics query for a workspace and timeframe, with optional filters.
Aggregate multiple metrics at the same time
Get aggregations for metrics with multiple filters, value should be an exact match
The timeframe to get the data for. The maximum range between start_at and end_at is 60 days.
The unique identifier of the Gumlet workspace ID available on the Video Workspaces.
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 aggregate, workspace_id, and timeframe; each aggregate entry must specify a supported metric and an aggregation function of sum or average, and the timeframe must use yyyy-MM-dd dates and span no more than 60 days.