> ## Documentation Index
> Fetch the complete documentation index at: https://bunnynet-cb9733c2-add-address-verification-note.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Video resolutions info



## OpenAPI

````yaml https://video.bunnycdn.com/openapi/bunnynet-video-api.public.json get /library/{libraryId}/videos/{videoId}/resolutions
openapi: 3.0.0
info:
  title: Stream API
  termsOfService: https://bunny.net/tos
  contact:
    name: bunny.net
    url: https://docs.bunny.net
    email: support@bunny.net
  version: 1.6.1
servers:
  - url: https://video.bunnycdn.com
security: []
tags:
  - name: Manage Collections
  - name: Manage Videos
paths:
  /library/{libraryId}/videos/{videoId}/resolutions:
    get:
      tags:
        - Manage Videos
      summary: Video resolutions info
      operationId: Video_GetVideoResolutions
      parameters:
        - name: libraryId
          in: path
          required: true
          description: The ID of the video library.
          schema:
            type: integer
            format: int64
          x-position: 1
        - name: videoId
          in: path
          required: true
          description: The GUID of the video.
          schema:
            type: string
          x-position: 2
      responses:
        '200':
          description: The resolutions info.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusModelOfVideoResolutionsInfoModel'
        '401':
          description: The request authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusModel'
        '404':
          description: The requested video was not found
        '500':
          description: Internal Server Error
      security:
        - AccessKey: []
components:
  schemas:
    StatusModelOfVideoResolutionsInfoModel:
      allOf:
        - $ref: '#/components/schemas/StatusModel'
        - type: object
          additionalProperties: false
          properties:
            data:
              description: >-
                The response payload. Some endpoints also populate this with
                error details when Success is false — see the endpoint's own
                response documentation.
              nullable: true
              oneOf:
                - $ref: '#/components/schemas/VideoResolutionsInfoModel'
    StatusModel:
      type: object
      additionalProperties: false
      properties:
        success:
          type: boolean
          description: Determines if the request was successful
        message:
          type: string
          description: >-
            Human-readable message describing the result, typically populated
            with error details when Success is false.
          nullable: true
        statusCode:
          type: integer
          description: The HTTP status code corresponding to the result of the request.
          format: int32
    VideoResolutionsInfoModel:
      type: object
      additionalProperties: false
      properties:
        videoId:
          type: string
          description: The GUID of the video.
          nullable: true
        videoLibraryId:
          type: integer
          description: The ID of the video library.
          format: int64
        availableResolutions:
          type: array
          description: Resolutions currently ready to stream for this video.
          nullable: true
          items:
            type: string
        configuredResolutions:
          type: array
          description: >-
            Resolutions the video library is configured to encode; may not all
            exist yet for this video.
          nullable: true
          items:
            type: string
        playlistResolutions:
          type: array
          description: Resolutions declared in the video's HLS master playlist.
          nullable: true
          items:
            $ref: '#/components/schemas/ResolutionReference'
        storageResolutions:
          type: array
          description: >-
            Resolutions found as folders in object storage; can diverge from
            PlaylistResolutions.
          nullable: true
          items:
            $ref: '#/components/schemas/ResolutionReference'
        mp4Resolutions:
          type: array
          description: Resolutions found as MP4 fallback files in object storage.
          nullable: true
          items:
            $ref: '#/components/schemas/ResolutionReference'
        storageObjects:
          type: array
          description: All storage objects found for this video.
          nullable: true
          items:
            $ref: '#/components/schemas/StorageObjectModel'
        oldResolutions:
          type: array
          description: >-
            Storage folders using the legacy "{width}x{height}" naming,
            populated only when HasBothOldAndNewResolutionFormat is true.
          nullable: true
          items:
            $ref: '#/components/schemas/StorageObjectModel'
        hasBothOldAndNewResolutionFormat:
          type: boolean
          description: >-
            True when storage contains both the legacy "{width}x{height}" folder
            naming and the current "{height}p" naming for the same video — can
            happen when a codec was added via API rather than a full re-encode.
        hasOriginal:
          type: boolean
          description: Whether the original uploaded source file is present in storage.
    ResolutionReference:
      type: object
      additionalProperties: false
      properties:
        resolution:
          type: string
          description: The resolution this reference applies to (e.g. "720p").
          nullable: true
        path:
          type: string
          description: The storage path where this resolution's files are found.
          nullable: true
    StorageObjectModel:
      type: object
      additionalProperties: false
      properties:
        guid:
          type: string
          nullable: true
        storageZoneName:
          type: string
          nullable: true
        path:
          type: string
          nullable: true
        objectName:
          type: string
          nullable: true
        length:
          type: integer
          format: int64
        lastChanged:
          type: string
          format: date-time
        serverId:
          type: integer
          format: int32
        isDirectory:
          type: boolean
        userId:
          type: string
          nullable: true
        contentType:
          type: string
          nullable: true
        dateCreated:
          type: string
          format: date-time
        storageZoneId:
          type: integer
          format: int64
        checksum:
          type: string
          nullable: true
        replicatedZones:
          type: string
          nullable: true
  securitySchemes:
    AccessKey:
      type: apiKey
      description: AccessKey based authentication
      name: AccessKey
      in: header

````