/video/live/analyticsGet live stream usage analytics
Retrieves usage analytics for live streams over a specified date range. Provide date_range, group_by, and metrics to select the reporting period, time grouping, and usage measures. The response returns data points for the requested metrics and the unit used for storage data.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Live stream usage analytics query. Include the date range, grouping interval, and metrics to retrieve.
The reporting period, with start_at and end_at dates in yyyy-MM-dd format.
Group the data either weekly, daily or monthly
List of metrics required in response
storage_data_unit value of min or gb.Data about input seconds processed
Data about bandwidth consumption
Storage data unit information
Bytes or seconds of storage used
One documented failure
invalid_parameter_valueThe parameter value is invalid.
One documented failure
invalid_api_keyAPI key supplied with request is invalid
One documented failure
unauthorizedYou don't have access to this feature. Please contact your organization owner.
One documented failure
source_not_foundCould not find any video source with the specified source_id.
A 400 is returned when the request is invalid. A 401 is returned when the request omits or supplies an invalid API key or bearer token. A 403 is returned for an unpaid account or insufficient role permissions, and a 404 is returned when the requested analytics data is not found. Include date_range, group_by, and metrics; date_range must contain start_at and end_at in yyyy-MM-dd format, group_by must be daily, weekly, or monthly, and each metric must be bandwidth_consumption, asset_duration, or storage_unit.