Sign up for free
get

Get delivery usage

This endpoint enables you to retrieve the total amount of minutes delivered for a specific project based on its project_id.

intervalstring

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.

Enum
  • month
  • week

Responses

Response examples

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
    }
  ]
}
get

Get hosting usage

This endpoint enables you to retrieve the cumulative amount of video minutes hosted in a specific project based on its project_id.

intervalstring

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.

Enum
  • month
  • week

Responses

Response examples

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?