Skip to main content
GET
/
library
/
{libraryId}
/
videos
/
{videoId}
/
storage
Get video storage size info
curl --request GET \
  --url https://video.bunnycdn.com/library/{libraryId}/videos/{videoId}/storage \
  --header 'AccessKey: <api-key>'
{
  "success": true,
  "message": "<string>",
  "statusCode": 123,
  "data": {
    "encoded": {},
    "thumbnails": 123,
    "previews": 123,
    "originals": 123,
    "mp4Fallback": 123,
    "miscellaneous": 123,
    "calculatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

AccessKey
string
header
required

AccessKey based authentication

Path Parameters

libraryId
integer<int64>
required
videoId
string
required

Response

The storage size information for the video.

success
boolean

Determines if the request was successful

message
string | null

Response message description

statusCode
integer<int32>

The response status code

data
object