/projects/{project_id}/delivery-usage
This endpoint enables you to retrieve the total amount of minutes delivered for a specific project based on its project_id
.
interval
string
required
Set the period of time that you want to retrieve delivery usage for. month
returns data for the past 30 days, while week
returns data for the past 7 days.
Successful response
{
"items": [
{
"collected_on": "2024-08-09",
"video_hls_duration_minutes": 10,
"video_mp4_duration_minutes": 22,
"live_stream_hls_duration_minutes": 422
},
{
"collected_on": "2024-08-10",
"video_hls_duration_minutes": 33,
"video_mp4_duration_minutes": 245,
"live_stream_hls_duration_minutes": 32
}
]
}
/projects/{project_id}/hosting-usage
This endpoint enables you to retrieve the cumulative amount of video minutes hosted in a specific project based on its project_id
.
interval
string
required
Set the period of time that you want to retrieve hosting usage data for. month
returns data for the past 30 days, while week
returns data for the past 7 days.
Successful response
{
"items": [
{
"collected_on": "2024-08-09",
"video_duration_minutes": 235
},
{
"collected_on": "2024-08-10",
"video_duration_minutes": 454
}
]
}
Was this page helpful?