Mux

Mux Assets API

An asset refers to a piece of media content that is stored or is being live streamed through the Mux system. An asset always has a duration and one or more tracks (audio, video, and text data). The media content of an asset cannot be updated once created, however an asset can be used to create another asset, and can be modified within that process.

Operations 17

GET /video/v1/assets List assets #
POST /video/v1/assets Create an asset #
GET /video/v1/assets/{ASSET_ID} Retrieve an asset #
PATCH /video/v1/assets/{ASSET_ID} Update an asset #
DELETE /video/v1/assets/{ASSET_ID} Delete an asset #
GET /video/v1/assets/{ASSET_ID}/input-info Retrieve Asset Input Info #
POST /video/v1/assets/{ASSET_ID}/playback-ids Create a Playback ID #
GET /video/v1/assets/{ASSET_ID}/playback-ids/{PLAYBACK_ID} Retrieve a Playback ID #
DELETE /video/v1/assets/{ASSET_ID}/playback-ids/{PLAYBACK_ID} Delete a Playback ID #
PUT /video/v1/assets/{ASSET_ID}/mp4-support Update MP4 Support #
PUT /video/v1/assets/{ASSET_ID}/master-access Update Master Access #
POST /video/v1/assets/{ASSET_ID}/static-renditions Create a Static Rendition for an Asset #
DELETE /video/v1/assets/{ASSET_ID}/static-renditions/{STATIC_RENDITION_ID} Delete a Single Static Rendition for an Asset #
POST /video/v1/assets/{ASSET_ID}/tracks Create an Asset Track #
DELETE /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID} Delete an Asset Track #
PATCH /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID} Update an Asset Track #
POST /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID}/generate-subtitles Generate Track Subtitles #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mux-com-assets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mux-com-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mux Com Assets API
  version: v1
  description: 'Operations tagged Assets across 2 of this provider''s published API definitions: mux-com-openapi.yml, mux-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.mux.com
  description: Mux production API
- url: https://image.mux.com
- url: https://stream.mux.com
- url: https://stats.mux.com
tags:
- name: Assets
  description: Manage video on-demand assets.
paths:
  /video/v1/assets:
    get:
      tags:
      - Assets
      summary: List assets
      operationId: listAssets
      parameters:
      - in: query
        name: limit
        schema:
          type: integer
      - in: query
        name: page
        schema:
          type: integer
      responses:
        '200':
          description: List of assets.
      security:
      - basicAuth: []
    post:
      tags:
      - Assets
      summary: Create an asset
      operationId: createAsset
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '201':
          description: Asset created.
      security:
      - basicAuth: []
    servers:
    - url: https://api.mux.com
      description: Mux production API
  /video/v1/assets/{ASSET_ID}:
    parameters:
    - in: path
      name: ASSET_ID
      required: true
      schema:
        type: string
    get:
      tags:
      - Assets
      summary: Retrieve an asset
      operationId: getAsset
      responses:
        '200':
          description: Asset details.
      security:
      - basicAuth: []
    patch:
      tags:
      - Assets
      summary: Update an asset
      operationId: updateAsset
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Asset updated.
      security:
      - basicAuth: []
    delete:
      tags:
      - Assets
      summary: Delete an asset
      operationId: deleteAsset
      responses:
        '204':
          description: Asset deleted.
      security:
      - basicAuth: []
    servers:
    - url: https://api.mux.com
      description: Mux production API
  /video/v1/assets/{ASSET_ID}/input-info:
    get:
      tags:
      - Assets
      summary: Retrieve Asset Input Info
      description: Returns a list of the input objects that were used to create the asset along with any settings that were applied to each input.
      operationId: get-asset-input-info
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAssetInputInfoResponse'
              example:
                data:
                - settings:
                    url: https://muxed.s3.amazonaws.com/leds.mp4
                  file:
                    container_format: mp4
                    tracks:
                    - type: video
                      duration: 120
                      width: 1280
                      height: 720
                      frame_rate: 30
                      encoding: h.264
                    - type: audio
                      duration: 120
                      sample_rate: 16000
                      sample_size: 24
                      encoding: aac
                - settings:
                    url: https://example.com/myVideo_en.srt
                  file:
                    container_format: srt
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/playback-ids:
    post:
      tags:
      - Assets
      summary: Create a Playback ID
      description: Creates a playback ID that can be used to stream the asset to a viewer.
      operationId: create-asset-playback-id
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePlaybackIDRequest'
            example:
              policy: public
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatePlaybackIDResponse'
              example:
                data:
                  policy: public
                  id: Lj02VZDorh9hCV00flNqPli8fmwf6KEppug01w8zDEYVlQ
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/playback-ids/{PLAYBACK_ID}:
    get:
      tags:
      - Assets
      summary: Retrieve a Playback ID
      description: Retrieves information about the specified playback ID.
      operationId: get-asset-playback-id
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      - $ref: '#/components/parameters/playback_id'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAssetPlaybackIDResponse'
              example:
                data:
                  policy: public
                  id: vAFLI2eKFFicXX00iHBS2vqt5JjJGg5HV6fQ4Xijgt1I
      security:
      - accessToken: []
      - authorizationToken: []
    delete:
      tags:
      - Assets
      summary: Delete a Playback ID
      description: Deletes a playback ID, rendering it nonfunctional for viewing an asset's video content. Please note that deleting the playback ID removes access to the underlying asset; a viewer who started playback before the playback ID was deleted may be able to watch the entire video for a limited duration.
      operationId: delete-asset-playback-id
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      - $ref: '#/components/parameters/playback_id'
      responses:
        '204':
          description: No Content
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/mp4-support:
    put:
      tags:
      - Assets
      summary: Update MP4 Support
      operationId: update-asset-mp4-support
      servers:
      - url: https://api.mux.com
      deprecated: true
      description: 'This method has been deprecated. Please see the [Static Rendition API](https://www.mux.com/docs/guides/enable-static-mp4-renditions#after-asset-creation).

        Allows you to add or remove mp4 support for assets that were created without it. The values supported are `capped-1080p`, `audio-only`, `audio-only,capped-1080p`, `standard`(deprecated),  and `none`. `none` means that an asset *does not* have mp4 support, so submitting a request with `mp4_support` set to `none` will delete the mp4 assets from the asset in question.

        '
      parameters:
      - $ref: '#/components/parameters/asset_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAssetMP4SupportRequest'
            example:
              mp4_support: capped-1080p
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetResponse'
              example:
                data:
                  tracks:
                  - type: video
                    max_width: 1920
                    max_height: 1080
                    max_frame_rate: 29.97
                    id: RiyQPM31a1SPtfI802bEP2zD02F5FQVNL801FRHeE5t01G4
                    duration: 23.8238
                  - type: audio
                    max_channels: 2
                    id: LvINTciHVoC017knMCH01y9pSi5OrDLCRaBPNDAoNJcmg
                    duration: 23.823792
                  status: ready
                  static_renditions:
                    status: preparing
                  playback_ids:
                  - policy: public
                    id: Lj02VZDorh9hCV00flNqPli8fmwf6KEppug01w8zDEYVlQ
                  mp4_support: capped-1080p
                  max_stored_resolution: HD
                  resolution_tier: 1080p
                  max_stored_frame_rate: 29.97
                  master_access: none
                  id: lJ4bGGsp7ZlPf02nMg015W02iHQLN9XnuuLRBsPS00xqd68
                  encoding_tier: smart
                  video_quality: plus
                  duration: 23.857167
                  created_at: '1609868768'
                  aspect_ratio: '16:9'
                  max_resolution_tier: 1080p
                  progress:
                    state: completed
                    progress: 100
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/master-access:
    put:
      tags:
      - Assets
      summary: Update Master Access
      operationId: update-asset-master-access
      servers:
      - url: https://api.mux.com
      description: 'Allows you to add temporary access to the master (highest-quality) version of the asset in MP4 format. A URL will be created that can be used to download the master version for 24 hours. After 24 hours Master Access will revert to "none".

        This master version is not optimized for web and not meant to be streamed, only downloaded for purposes like archiving or editing the video offline.'
      parameters:
      - $ref: '#/components/parameters/asset_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAssetMasterAccessRequest'
            example:
              master_access: temporary
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetResponse'
              example:
                data:
                  tracks:
                  - type: video
                    max_width: 1920
                    max_height: 1080
                    max_frame_rate: 29.97
                    id: RiyQPM31a1SPtfI802bEP2zD02F5FQVNL801FRHeE5t01G4
                    duration: 23.8238
                  - type: audio
                    max_channels: 2
                    id: LvINTciHVoC017knMCH01y9pSi5OrDLCRaBPNDAoNJcmg
                    duration: 23.823792
                  status: ready
                  playback_ids:
                  - policy: public
                    id: Lj02VZDorh9hCV00flNqPli8fmwf6KEppug01w8zDEYVlQ
                  max_stored_resolution: HD
                  resolution_tier: 1080p
                  max_stored_frame_rate: 29.97
                  master_access: temporary
                  master:
                    status: preparing
                  id: lJ4bGGsp7ZlPf02nMg015W02iHQLN9XnuuLRBsPS00xqd68
                  encoding_tier: baseline
                  video_quality: basic
                  duration: 23.857167
                  created_at: '1609868768'
                  aspect_ratio: '16:9'
                  max_resolution_tier: 1080p
                  progress:
                    state: completed
                    progress: 100
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/static-renditions:
    post:
      tags:
      - Assets
      summary: Create a Static Rendition for an Asset
      description: Creates a static rendition (i.e. MP4) for an asset
      operationId: create-asset-static-rendition
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateStaticRenditionRequest'
            example:
              resolution: highest
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateStaticRenditionResponse'
              example:
                data:
                  id: lJ4bGGsp7ZlPf02nMg015W02iHQLN9XnuuLRBsPS00xqd68
                  type: standard
                  ext: mp4
                  status: preparing
                  resolution: highest
                  name: highest.mp4
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/static-renditions/{STATIC_RENDITION_ID}:
    delete:
      tags:
      - Assets
      summary: Delete a Single Static Rendition for an Asset
      description: Deletes a single static rendition for an asset
      operationId: delete-asset-static-rendition
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      - $ref: '#/components/parameters/static_rendition_id'
      responses:
        '204':
          description: No Content
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/tracks:
    post:
      tags:
      - Assets
      summary: Create an Asset Track
      description: Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. Assets must be in the `ready` state before tracks can be added.
      operationId: create-asset-track
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTrackRequest'
            example:
              url: https://example.com/myVideo_en.srt
              type: text
              text_type: subtitles
              language_code: en-US
              name: English
              closed_captions: true
              passthrough: English
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTrackResponse'
              example:
                data:
                  type: text
                  text_type: subtitles
                  status: preparing
                  passthrough: English
                  name: English
                  language_code: en-US
                  id: xBe7u01029ipxBLQhYzZCJ1cke01zCkuUsgnYtH0017nNzbpv2YcsoMDmw
                  closed_captions: true
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID}:
    delete:
      tags:
      - Assets
      summary: Delete an Asset Track
      description: Removes a text or additional audio track from an asset. Neither video nor the primary audio track can be removed.
      operationId: delete-asset-track
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      - $ref: '#/components/parameters/track_id'
      responses:
        '204':
          description: No Content
      security:
      - accessToken: []
      - authorizationToken: []
    patch:
      tags:
      - Assets
      summary: Update an Asset Track
      description: Updates the details of an existing Asset Track with the provided Asset ID and Track ID.
      operationId: update-asset-track
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      - $ref: '#/components/parameters/track_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAssetTrackRequest'
            example:
              language_code: en-US
              name: English
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateAssetTrackResponse'
              example:
                data:
                  type: text
                  text_type: subtitles
                  status: ready
                  passthrough: passthrough value
                  name: English
                  language_code: en-US
                  id: xBe7u01029ipxBLQhYzZCJ1cke01zCkuUsgnYtH0017nNzbpv2YcsoMDmw
                  closed_captions: true
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
  /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID}/generate-subtitles:
    post:
      tags:
      - Assets
      summary: Generate Track Subtitles
      description: Generates subtitles (captions) for a given audio track. [See docs for more information.](https://mux.com/docs/guides/add-autogenerated-captions-and-use-transcripts#retroactively-enable-auto-generated-captions)
      operationId: generate-asset-track-subtitles
      servers:
      - url: https://api.mux.com
      parameters:
      - $ref: '#/components/parameters/asset_id'
      - $ref: '#/components/parameters/track_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateTrackSubtitlesRequest'
            example:
              generated_subtitles:
              - language_code: en
                name: English (generated)
                passthrough: English (generated)
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateTrackSubtitlesResponse'
              example:
                data:
                - type: text
                  text_type: subtitles
                  status: preparing
                  passthrough: English (generated)
                  name: English (generated)
                  language_code: en
                  id: hXhnqUq0054k9SBFB5aczHhj6xMbOTlriTG7gqRn8kikv101lkFUgKNw
      security:
      - accessToken: []
      - authorizationToken: []
    servers:
    - url: https://api.mux.com
      description: Mux Production API
    - url: https://image.mux.com
    - url: https://stream.mux.com
    - url: https://stats.mux.com
components:
  schemas:
    PlaybackID:
      type: object
      required:
      - id
      - policy
      properties:
        id:
          type: string
          description: Unique identifier for the PlaybackID
        policy:
          $ref: '#/components/schemas/PlaybackPolicy'
        drm_configuration_id:
          type: string
          description: The DRM configuration used by this playback ID. Must only be set when `policy` is set to `drm`.
    ListAssetsResponse:
      type: object
      required:
      - data
      - next_cursor
      properties:
        next_cursor:
          type: string
          description: If there are more pages of data, this field will contain a string that can be used with the `cursor` querystring parameter to fetch the next page of data.
          nullable: true
        data:
          type: array
          items:
            $ref: '#/components/schemas/Asset'
    UpdateAssetTrackResponse:
      type: object
      required:
      - data
      properties:
        data:
          $ref: '#/components/schemas/Track'
    GetAssetInputInfoResponse:
      type: object
      required:
      - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/InputInfo'
    AssetMetadata:
      type: object
      description: 'Customer provided metadata about this asset.


        Note: This metadata may be publicly available via the video player. Do not include PII or sensitive information.

        '
      properties:
        title:
          type: string
          maxLength: 512
          description: The asset title. Max 512 code points.
        creator_id:
          type: string
          maxLength: 128
          description: This is an identifier you provide to keep track of the creator of the asset. Max 128 code points.
        external_id:
          type: string
          maxLength: 128
          description: This is an identifier you provide to link the asset to your own data. Max 128 code points.
    CreateAssetRequest:
      allOf:
      - $ref: '#/components/schemas/AssetOptions'
      - required:
        - inputs
    AssetResponse:
      type: object
      required:
      - data
      properties:
        data:
          $ref: '#/components/schemas/Asset'
    CreateStaticRenditionRequest:
      type: object
      required:
      - resolution
      properties:
        resolution:
          type: string
          enum:
          - highest
          - audio-only
          - 2160p
          - 1440p
          - 1080p
          - 720p
          - 540p
          - 480p
          - 360p
          - 270p
        passthrough:
          type: string
          description: Arbitrary user-supplied metadata set for the static rendition. Max 255 characters.
    AssetGeneratedSubtitleSettings:
      type: object
      properties:
        name:
          type: string
          description: A name for this subtitle track.
        passthrough:
          type: string
          description: Arbitrary metadata set for the subtitle track. Max 255 characters.
        language_code:
          type: string
          description: The language of the audio from which subtitles are generated. Selecting a language of "auto" will allow language detection to set the language code automatically.
          default: en
          enum:
          - en
          - es
          - it
          - pt
          - de
          - fr
          - pl
          - ru
          - nl
          - ca
          - tr
          - sv
          - uk
          - 'no'
          - fi
          - sk
          - el
          - cs
          - hr
          - da
          - ro
          - bg
          - auto
    StaticRendition:
      type: object
      properties:
        name:
          type: string
          enum:
          - low.mp4
          - medium.mp4
          - high.mp4
          - highest.mp4
          - audio.m4a
          - capped-1080p.mp4
          - 2160p.mp4
          - 1440p.mp4
          - 1080p.mp4
          - 720p.mp4
          - 540p.mp4
          - 480p.mp4
          - 360p.mp4
          - 270p.mp4
          description: Name of the static rendition file
        ext:
          type: string
          description: Extension of the static rendition file
          enum:
          - mp4
          - m4a
        height:
          type: integer
          format: int32
          description: The height of the static rendition's file in pixels
        width:
          type: integer
          format: int32
          description: The width of the static rendition's file in pixels
        bitrate:
          type: integer
          format: int64
          description: The bitrate in bits per second
        filesize:
          type: string
          format: int64
          description: The file size in bytes
        type:
          type: string
          description: Indicates the static rendition type of this specific MP4 version of this asset. This field is only valid for `static_renditions`, not for `mp4_support`.
          enum:
          - standard
          - advanced
        status:
          type: string
          description: 'Indicates the status of this specific MP4 version of this asset. This field is only valid for `static_renditions`, not for `mp4_support`.

            * `ready` indicates the MP4 has been generated and is ready for download

            * `preparing` indicates the asset has not been ingested or the static rendition is still being generated after an asset is ready

            * `skipped` indicates the static rendition will not be generated because the requested resolution conflicts with the asset attributes after the asset has been ingested

            * `errored` indicates the static rendition cannot be generated. For example, an asset could not be ingested

            '
          enum:
          - ready
          - preparing
          - skipped
          - errored
        resolution_tier:
          type: string
          description: Indicates the resolution tier of this specific MP4 version of this asset. This field is only valid for `static_renditions`, not for `mp4_support`.
          enum:
          - 2160p
          - 1440p
          - 1080p
          - 720p
          - audio-only
        resolution:
          type: string
          description: Indicates the resolution of this specific MP4 version of this asset. This field is only valid for `static_renditions`, not for `mp4_support`.
          enum:
          - highest
          - audio-only
          - 2160p
          - 1440p
          - 1080p
          - 720p
          - 540p
          - 480p
          - 360p
          - 270p
          x-mux-doc-decorators-hidden-enum-values:
          - 2160p
          - 1440p
          - 1080p
          - 720p
          - 540p
          - 480p
          - 360p
          - 270p
        id:
          type: string
          description: The ID of this static rendition, used in managing this static rendition. This field is only valid for `static_renditions`, not for `mp4_support`.
        passthrough:
          type: string
          description: Arbitrary user-supplied metadata set for the static rendition. Max 255 characters.
    CreatePlaybackIDRequest:
      type: object
      properties:
        policy:
          $ref: '#/components/schemas/PlaybackPolicy'
        drm_configuration_id:
          type: string
          description: The DRM configuration used by this playback ID. Must only be set when `policy` is set to `drm`.
    Track:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the Track
        type:
          type: string
          description: The type of track
          enum:
          - video
          - audio
          - text
        duration:
          type: number
          format: double
          description: The duration in seconds of the track media. This parameter is not set for `text` type tracks. This field is optional and may not be set. The top level `duration` field of an asset will always be set.
        max_width:
          type: integer
          format: int64
          description: The maximum width in pixels available for the track. Only set for the `video` type track.
        max_height:
          type: integer
          format: int64
          description: The maximum height in pixels available for the track. Only set for the `video` type track.
        max_frame_rate:
          type: number
          format: double
          description: The maximum frame rate available for the track. Only set for the `video` type track. This field may return `-1` if the frame rate of the input cannot be reliably determined.
        max_channels:
          type: integer
          format: int64
          description: The maximum number of audio channels the track supports. Only set for the `audio` type track.
        max_channel_layout:
          type: string
          description: Only set for the `audio` type track.
          deprecated: true
        text_type:
          type: string
          enum:
          - subtitles
          description: This parameter is only set for `text` type tracks.
        text_source:
          type: string
          description: 'The source of the text contained in a Track of type `text`. Valid `text_source`

            values are listed below.

            * `uploaded`: Tracks uploaded to Mux as caption or subtitle files using the Create Asset Track API.

            * `embedded`: Tracks extracted from an embedded stream of CEA-608 closed captions.

            * `generated_vod`: Tracks generated by automatic speech recognition on an on-demand asset.

            * `generated_live`: Tracks generated by automatic speech recognition on a live stream configured with `generated_subtitles`. If an Asset has both `generated_live` and `generated_live_final` tracks that are `ready`, then only the `generated_live_final` track will be included during playback.

            * `generated_live_final`: Tracks generated by automatic speech recognition on a live stream using `generated_subtitles`. The accuracy, timing, and formatting of these subtitles is improved compared to the corresponding `generated_live` tracks. However, `generated_live_final` tracks will not be available in `ready` status until the live stream ends. If an Asset has both `generated_live` and `generated_live_final` tracks that are `ready`, then only the `generated_live_final` track will be included during playback.

            '
          enum:
          - uploaded
          - embedded
          - generated_live
          - generated_live_final
          - generated_vod
        language_code:
          type: string
          description: The language code value represents [BCP 47](https://tools.ietf.org/html/bcp47) specification compliant value, or 'auto'. For example, `en` for English or `en-US` for the US version of English. This parameter is only set for `text` and `audio` track types. During automatic language detection for generated subtitles, this value will be set to `auto` until the language is determined.
        name:
          type: string
          description: The name of the track containing a human-readable description. The HLS manifest will associate a subtitle `text` or `audio` track with this value. For example, the value should be "English" for a subtitle text track for the `language_code` value of `en-US`. This parameter is only set for `text` and `audio` track types.
        closed_captions:
          type: boolean
          description: Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set tracks where `type` is `text` and `text_type` is `subtitles`.
        passthrough:
          type: string
          description: Arbitrary user-supplied metadata set for the track either when creating the asset or track. This parameter is only set for `text` type tracks. Max 255 characters.
        status:
          type: string
          enum:
          - preparing
          - ready
          - errored
          - deleted
          description: The status of the track. This parameter is only set for `text` type tracks.
        primary:
          type: boolean
          description: For an audio track, indicates that this is the primary audio track, ingested from the main input for this asset. The primary audio track cannot be deleted.
        auto_language_confidence:
          type: number
          format: double
          d

# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/mux-com/refs/heads/main/openapi/mux-com-assets-api-openapi.yml