retrieve_analytics
This endpoint gives usage analytics data of your videos. Ex - top assets, bandwidth consumption
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | ||
| metrics | No | Define the metric you need the data for. Currently we only support `bandwidth_consumption`, `asset_duration`, `storage_unit`, `top_assets`, `bandwidth_consumption_by_collection`, `errored_videos` and `widget_data` | |
| group_by | No | Group by hourly, daily or monthly. If you don't specify anything it's `hourly` by default. | hourly |
| date_range | No | The timeframe to get the data for. Currently we only support a maximum of 60 days between `start_at` and `end_at`. | |
| top_assets_page | No | top_assets metric may get paginated response. Iterate this parameter to get more data. | 0 |
| top_assets_count | No | Count of video assets that should be returned. Max assets count is 1000 per page. | 5 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||