---
title: "Get video storage size info"
method: GET
path: "/library/{libraryId}/videos/{videoId}/storage"
tags: ["Manage Videos"]
---

# Get video storage size info

`GET /library/{libraryId}/videos/{videoId}/storage`

## Request

- Base URL: `https://video.bunnycdn.com`
- URL: `https://video.bunnycdn.com/library/{libraryId}/videos/{videoId}/storage`
- Auth: API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/stream-api/docs/library/:libraryId/videos/:videoId/storage/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `libraryId` integer, required
- `videoId` string, required

## Response `200`

The storage size information for the video.

- StatusModelOfVideoStorageSizeModel
  - `success` boolean: Determines if the request was successful
  - `message` string, nullable: Human-readable message describing the result, typically populated with error details when Success is false.
  - `statusCode` integer: The HTTP status code corresponding to the result of the request.
  - `data` VideoStorageSizeModel
    - `encoded` object, nullable: Size in bytes of each encoded rendition, keyed by "{resolution}-{codec}" (e.g. "720p-h264"). Videos encoded before the current storage layout can also report legacy "{width}x{height}" resolutions, e.g. "1920x1080-h264".
    - `thumbnails` integer: Size in bytes of the video's JPEG thumbnails.
    - `previews` integer: Size in bytes of the video's GIF and WEBP previews.
    - `originals` integer: Size in bytes of the original uploaded video file.
    - `mp4Fallback` integer: Size in bytes of the MP4 fallback rendition.
    - `miscellaneous` integer: Size in bytes of everything else: playlists, manifests, captions, audio extracts, etc.
    - `calculatedAt` string, date-time: Timestamp when this storage size was calculated (UTC).

## Other responses

- `401`: The request authentication failed
- `404`: The requested video was not found
- `408`: Request timeout
- `429`: Rate limit exceeded
- `500`: Internal Server Error

## Changes

- **2026-11-12** `83116184952f`: 1 info
  - added the media type `application/json` for the response with the status `401`

[Operation history](https://skmtc.dev/bunny/apis/stream-api/changes/library/:libraryId/videos/:videoId/storage/get.md)

---

[API](https://skmtc.dev/bunny/apis/stream-api.md) - [All operations](https://skmtc.dev/bunny/apis/stream-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/stream-api/revisions/83116184952f?raw)
