mcp
v12.8.0The official MCP Server for the Mux API
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_video_assets
Create a new Mux Video asset.
retrieve_video_assets
Retrieves the details of an asset that has previously been created. Supply the unique asset ID that was returned from your previous request, and Mux will return the corresponding asset information. The same information is returned when creating an asset.
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string |
update_video_assets
Updates the details of an already-created Asset with the provided Asset ID. This currently supports only the `passthrough` field.
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
meta | object | Customer provided metadata about this asset. Note: This metadata may be publicly available via the video player. Do not include PII or sensitive information. |
passthrough | string | You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id` , you can u… |
list_video_assets
List all Mux assets.
| Parameter | Type | Description |
|---|---|---|
cursor | string | This parameter is used to request pages beyond the first. You can find the cursor value in the `next_cursor` field of paginated responses. |
limit | integer | Number of items to include in the response |
live_stream_id | string | Filter response to return all the assets for this live stream only |
page | integer | Offset by this many pages, of the size of `limit` |
upload_id | string | Filter response to return an asset created from this direct upload only |
create_playback_id_video_assets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Creates a playback ID that can be used to stream the asset to a viewer. # Response Schema ```json { type: 'object', properties: { data: { $ref: '#/$defs/playback_id' } }, required: [ 'data' ], $defs: { playback_id: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier for the PlaybackID' }, policy: { $r…
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
drm_configuration_id | string | The DRM configuration used by this playback ID. Must only be set when `policy` is set to `drm`. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
policy |
create_static_rendition_video_assets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Creates a static rendition (i.e. MP4) for an asset # Response Schema ```json { type: 'object', properties: { data: { type: 'object', properties: { 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`.' }, bitrate: { type: 'integer',…
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
resolution * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
passthrough | string | Arbitrary user-supplied metadata set for the static rendition. Max 255 characters. |
create_track_video_assets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. 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. # Response Schema ```json { type: 'object', properties: { data: { $ref: '#/$defs/track' } }, required: [ 'data' ], $defs: { track: { type: 'object', properties: { id: { type: 'string', description: 'Unique ident…
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
language_code * | string | The language code value must be a valid BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. |
type * | string | |
url * | string | The URL of the file that Mux should download and use. * For `audio` tracks, the URL is the location of the audio file for Mux to download, for example an M4A, WAV, or MP3 file. Mux supports most audio… |
closed_captions | boolean | Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
name | string | The name of the track containing a human-readable description. This value must be unique within each group of `text` or `audio` track types. The HLS manifest will associate the `text` or `audio` track… |
passthrough | string | Arbitrary user-supplied metadata set for the track either when creating the asset or track. |
text_type | string |
delete_playback_id_video_assets
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.
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
PLAYBACK_ID * | string |
delete_static_rendition_video_assets
Deletes a single static rendition for an asset
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
STATIC_RENDITION_ID * | string |
delete_track_video_assets
Removes a text or additional audio track from an asset. Neither video nor the primary audio track can be removed.
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
TRACK_ID * | string |
generate_subtitles_video_assets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Generates subtitles (captions) for a given audio track. This API can be used for up to 7 days after an asset is created. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/track' } } }, required: [ 'data' ], $defs: { track: { type: 'object', properties: { id: { type: 'string', descriptio…
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
TRACK_ID * | string | |
generated_subtitles * | array | Generate subtitle tracks using automatic speech recognition with this configuration. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
retrieve_input_info_video_assets
Returns a list of the input objects that were used to create the asset along with any settings that were applied to each input.
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string |
retrieve_playback_id_video_assets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieves information about the specified playback ID. # Response Schema ```json { type: 'object', properties: { data: { $ref: '#/$defs/playback_id' } }, required: [ 'data' ], $defs: { playback_id: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier for the PlaybackID' }, policy: { $ref: '#/$defs/play…
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
PLAYBACK_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
update_master_access_video_assets
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.
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
master_access * | string | Add or remove access to the master version of the video. |
update_mp4_support_video_assets
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.
| Parameter | Type | Description |
|---|---|---|
ASSET_ID * | string | |
mp4_support * | string | Specify what level of support for mp4 playback. * The `capped-1080p` option produces a single MP4 file, called `capped-1080p.mp4`, with the video resolution capped at 1080p. This option produces an `… |
list_video_delivery_usage
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of delivery usage records and their associated Asset IDs or Live Stream IDs. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/delivery_report' } }, limit: { type: 'integer', description: 'Number of assets returned in this response. Default value is 100.' }, timeframe: { type: 'array', item…
| Parameter | Type | Description |
|---|---|---|
asset_id | string | Filter response to return delivery usage for this asset only. You cannot specify both the `asset_id` and `live_stream_id` parameters together. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
live_stream_id | string | Filter response to return delivery usage for assets for this live stream. You cannot specify both the `asset_id` and `live_stream_id` parameters together. |
page | integer | Offset by this many pages, of the size of `limit` |
timeframe | array | Time window to get delivery usage information. timeframe[0] indicates the start time, timeframe[1] indicates the end time in seconds since the Unix epoch. Default time window is 1 hour representing us… |
create_video_live_streams
Creates a new live stream. Once created, an encoder can connect to Mux via the specified stream key and begin streaming to an audience.
retrieve_video_live_streams
Retrieves the details of a live stream that has previously been created. Supply the unique live stream ID that was returned from your previous request, and Mux will return the corresponding live stream information. The same information is returned when creating a live stream.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string |
update_video_live_streams
Updates the parameters of a previously-created live stream. This currently supports a subset of variables. Supply the live stream ID and the updated parameters and Mux will return the corresponding live stream information. The information returned will be the same after update as for subsequent get live stream requests.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
latency_mode | string | Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this as an alternative to setting low latency or reduced latency flags. |
max_continuous_duration | integer | The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours. |
meta | object | Customer provided metadata about this live stream. Note: This metadata may be publicly available via the video player. Do not include PII or sensitive information. |
new_asset_settings | object | Updates the new asset settings to use to generate a new asset for this live stream. Only the `mp4_support`, `master_access`, and `video_quality` settings may be updated. |
passthrough | string | Arbitrary user-supplied metadata set for the live stream. Max 255 characters. In order to clear this value, the field should be included with an empty-string value. |
reconnect_slate_url | string | The URL of the image file that Mux should download and use as slate media during interruptions of the live stream media. This file will be downloaded each time a new recorded asset is created from the… |
reconnect_window | number | When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to… |
use_slate_for_standard_latency | boolean | By default, Standard Latency live streams do not have slate media inserted while waiting for live streaming software to reconnect to Mux. Setting this to true enables slate insertion on a Standard Lat… |
list_video_live_streams
Lists the live streams that currently exist in the current environment.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of items to include in the response |
page | integer | Offset by this many pages, of the size of `limit` |
status | string | Filter response to return live streams with the specified status only |
stream_key | string | Filter response to return live stream for this stream key only |
complete_video_live_streams
(Optional) End the live stream recording immediately instead of waiting for the reconnect_window. `EXT-X-ENDLIST` tag is added to the HLS manifest which notifies the player that this live stream is over. Mux does not close the encoder connection immediately. Encoders are often configured to re-establish connections immediately which would result in a new recorded asset. For this reason, Mux waits for 60s before closing the connection with the encoder. This 60s timeframe is meant to give encoder operators a chance to disconnect from their end.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string |
create_playback_id_video_live_streams
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new playback ID for this live stream, through which a viewer can watch the streamed content of the live stream. # Response Schema ```json { type: 'object', properties: { data: { $ref: '#/$defs/playback_id' } }, required: [ 'data' ], $defs: { playback_id: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier for the Play…
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
drm_configuration_id | string | The DRM configuration used by this playback ID. Must only be set when `policy` is set to `drm`. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
policy |
create_simulcast_target_video_live_streams
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a simulcast target for the parent live stream. Simulcast target can only be created when the parent live stream is in idle state. Only one simulcast target can be created at a time with this API. # Response Schema ```json { type: 'object', properties: { data: { $ref: '#/$defs/simulcast_target' } }, required: [ 'data' ], $defs: { simulcast_target: { type: 'object', properties: {…
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
url * | string | The RTMP(s) or SRT endpoint for a simulcast destination. * For RTMP(s) destinations, this should include the application name for the third party live streaming service, for example: `rtmp://live.exam… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
passthrough | string | Arbitrary user-supplied metadata set by you when creating a simulcast target. |
stream_key | string | Stream Key represents a stream identifier on the third party live streaming service to send the parent live stream to. Only used for RTMP(s) simulcast destinations. |
delete_new_asset_settings_static_renditions_video_live_streams
Deletes a live stream's static renditions settings for new assets. Further assets made via this live stream will not create static renditions unless re-added.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string |
delete_playback_id_video_live_streams
Deletes the playback ID for the live stream. This will not disable ingest (as the live stream still exists). New attempts to play back the live stream will fail immediately. However, current viewers will be able to continue watching the stream for some period of time.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
PLAYBACK_ID * | string |
delete_simulcast_target_video_live_streams
Delete the simulcast target using the simulcast target ID returned when creating the simulcast target. Simulcast Target can only be deleted when the parent live stream is in idle state.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
SIMULCAST_TARGET_ID * | string |
disable_video_live_streams
Disables a live stream, making it reject incoming RTMP streams until re-enabled. The API also ends the live stream recording immediately when active. Ending the live stream recording adds the `EXT-X-ENDLIST` tag to the HLS manifest which notifies the player that this live stream is over. Mux also closes the encoder connection immediately. Any attempt from the encoder to re-establish connection will fail till the live stream is re-enabled.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string |
enable_video_live_streams
Enables a live stream, allowing it to accept an incoming RTMP stream.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string |
reset_stream_key_video_live_streams
Reset a live stream key if you want to immediately stop the current stream key from working and create a new stream key that can be used for future broadcasts.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string |
retrieve_playback_id_video_live_streams
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Fetches information about a live stream's playback ID, through which a viewer can watch the streamed content from this live stream. # Response Schema ```json { type: 'object', properties: { data: { $ref: '#/$defs/playback_id' } }, required: [ 'data' ], $defs: { playback_id: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier f…
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
PLAYBACK_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
retrieve_simulcast_target_video_live_streams
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieves the details of the simulcast target created for the parent live stream. Supply the unique live stream ID and simulcast target ID that was returned in the response of create simulcast target request, and Mux will return the corresponding information. # Response Schema ```json { type: 'object', properties: { data: { $ref: '#/$defs/simulcast_target' } }, required: [ 'data' ], $defs: { simulca…
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
SIMULCAST_TARGET_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
update_embedded_subtitles_video_live_streams
Configures a live stream to receive embedded closed captions. The resulting Asset's subtitle text track will have `closed_captions: true` set.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
embedded_subtitles | array | Describe the embedded closed caption contents of the incoming live stream. |
update_generated_subtitles_video_live_streams
Updates a live stream's automatic-speech-recognition-generated subtitle configuration. Automatic speech recognition subtitles can be removed by sending an empty array in the request payload.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
generated_subtitles | array | Update automated speech recognition subtitle configuration for a live stream. At most one subtitle track is allowed. |
update_new_asset_settings_static_renditions_video_live_streams
Updates a live stream's static renditions settings for new assets. Further assets made via this live stream will create static renditions per the settings provided. You must provide all static renditions desired.
| Parameter | Type | Description |
|---|---|---|
LIVE_STREAM_ID * | string | |
static_renditions * | array |
retrieve_video_playback_ids
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieves the Identifier of the Asset or Live Stream associated with the Playback ID. # Response Schema ```json { type: 'object', properties: { data: { type: 'object', properties: { id: { type: 'string', description: 'The Playback ID used to retrieve the corresponding asset or the live stream ID' }, object: { type: 'object', description: 'Describes…
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
create_video_playback_restrictions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Playback Restriction. # Response Schema ```json { $ref: '#/$defs/playback_restriction_response', $defs: { playback_restriction_response: { type: 'object', properties: { data: { $ref: '#/$defs/playback_restriction' } }, required: [ 'data' ] }, playback_restriction: { type: 'object', properties: { id: { type: 'str…
| Parameter | Type | Description |
|---|---|---|
referrer * | object | A list of domains allowed to play your videos. |
user_agent * | object | Rules that control what user agents are allowed to play your videos. Please see [Using User-Agent HTTP header for validation](https://docs.mux.com/guides/secure-video-playback#using-user-agent-http-he… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
retrieve_video_playback_restrictions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieves a Playback Restriction associated with the unique identifier. # Response Schema ```json { $ref: '#/$defs/playback_restriction_response', $defs: { playback_restriction_response: { type: 'object', properties: { data: { $ref: '#/$defs/playback_restriction' } }, required: [ 'data' ] }, playback_restriction: { type: 'object', properties:…
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_RESTRICTION_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_video_playback_restrictions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of all Playback Restrictions. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/playback_restriction' } } }, required: [ 'data' ], $defs: { playback_restriction: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier for the Playback Restric…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
page | integer | Offset by this many pages, of the size of `limit` |
delete_video_playback_restrictions
Deletes a single Playback Restriction.
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_RESTRICTION_ID * | string |
update_referrer_video_playback_restrictions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Allows you to modify the list of domains or change how Mux validates playback requests without the `Referer` HTTP header. The Referrer restriction fully replaces the old list with this new list of domains. # Response Schema ```json { $ref: '#/$defs/playback_restriction_response', $defs: { playback_restriction_response: { type: 'object', properties: { data: { $ref: '#/$defs/playback_restriction'…
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_RESTRICTION_ID * | string | |
allowed_domains * | array | List of domains allowed to play videos. Possible values are * `[]` Empty Array indicates deny video playback requests for all domains * `["*"]` A Single Wildcard `*` entry means allow video playba… |
allow_no_referrer | boolean | A boolean to determine whether to allow or deny HTTP requests without `Referer` HTTP request header. Playback requests coming from non-web/native applications like iOS, Android or smart TVs will not h… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
update_user_agent_video_playback_restrictions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Allows you to modify how Mux validates playback requests with different user agents. Please see [Using User-Agent HTTP header for validation](https://docs.mux.com/guides/secure-video-playback#using-user-agent-http-header-for-validation) for more details on this feature. # Response Schema ```json { $ref: '#/$defs/playback_restriction_response', $defs: { playback_restriction_response: { type: 'object', properties…
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_RESTRICTION_ID * | string | |
allow_high_risk_user_agent * | boolean | Whether or not to allow high risk user agents. The high risk user agents are defined by Mux. |
allow_no_user_agent * | boolean | Whether or not to allow views without a `User-Agent` HTTP request header. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
create_video_transcription_vocabularies
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Transcription Vocabulary. # Response Schema ```json { $ref: '#/$defs/transcription_vocabulary_response', $defs: { transcription_vocabulary_response: { type: 'object', properties: { data: { $ref: '#/$defs/transcription_vocabulary' } }, required: [ 'data' ] }, transcription_vocabulary: { type: 'object', properties: { id: {…
| Parameter | Type | Description |
|---|---|---|
phrases * | array | Phrases, individual words, or proper names to include in the Transcription Vocabulary. When the Transcription Vocabulary is attached to a live stream's `generated_subtitles`, the probability of succes… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
name | string | The user-supplied name of the Transcription Vocabulary. |
passthrough | string | Arbitrary user-supplied metadata set for the Transcription Vocabulary. Max 255 characters. |
retrieve_video_transcription_vocabularies
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieves the details of a Transcription Vocabulary that has previously been created. Supply the unique Transcription Vocabulary ID and Mux will return the corresponding Transcription Vocabulary information. The same information is returned when creating a Transcription Vocabulary. # Response Schema ```json { $ref: '#/$defs/transcription_vocabulary_response', $defs: { transcription_vocabulary_response: { type: 'object…
| Parameter | Type | Description |
|---|---|---|
TRANSCRIPTION_VOCABULARY_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
update_video_transcription_vocabularies
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Updates the details of a previously-created Transcription Vocabulary. Updates to Transcription Vocabularies are allowed while associated live streams are active. However, updates will not be applied to those streams while they are active. # Response Schema ```json { $ref: '#/$defs/transcription_vocabulary_response', $defs: { transcription_vocabulary_response: { type: 'object', properties: { data: {…
| Parameter | Type | Description |
|---|---|---|
TRANSCRIPTION_VOCABULARY_ID * | string | |
phrases * | array | Phrases, individual words, or proper names to include in the Transcription Vocabulary. When the Transcription Vocabulary is attached to a live stream's `generated_subtitles`, the probability of succes… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
name | string | The user-supplied name of the Transcription Vocabulary. |
passthrough | string | Arbitrary user-supplied metadata set for the Transcription Vocabulary. Max 255 characters. |
list_video_transcription_vocabularies
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. List all Transcription Vocabularies. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/transcription_vocabulary' } } }, $defs: { transcription_vocabulary: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier for the Transcription Vocabulary' },…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
page | integer | Offset by this many pages, of the size of `limit` |
delete_video_transcription_vocabularies
Deletes a Transcription Vocabulary. The Transcription Vocabulary's ID will be disassociated from any live streams using it. Transcription Vocabularies can be deleted while associated live streams are active. However, the words and phrases in the deleted Transcription Vocabulary will remain attached to those streams while they are active.
| Parameter | Type | Description |
|---|---|---|
TRANSCRIPTION_VOCABULARY_ID * | string |
create_video_uploads
Creates a new direct upload, through which video content can be uploaded for ingest to Mux.
retrieve_video_uploads
Fetches information about a single direct upload in the current environment.
| Parameter | Type | Description |
|---|---|---|
UPLOAD_ID * | string |
list_video_uploads
Lists direct uploads in the current environment.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of items to include in the response |
page | integer | Offset by this many pages, of the size of `limit` |
cancel_video_uploads
Cancels a direct upload and marks it as cancelled. If a pending upload finishes after this request, no asset will be created. This request will only succeed if the upload is still in the `waiting` state.
| Parameter | Type | Description |
|---|---|---|
UPLOAD_ID * | string |
retrieve_video_drm_configurations
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieves a single DRM Configuration. # Response Schema ```json { type: 'object', properties: { data: { $ref: '#/$defs/drm_configuration' } }, required: [ 'data' ], $defs: { drm_configuration: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier for the DRM Configuration. Max 255 characters.' } }, required:…
| Parameter | Type | Description |
|---|---|---|
DRM_CONFIGURATION_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_video_drm_configurations
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of DRM Configurations # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/drm_configuration' } } }, required: [ 'data' ], $defs: { drm_configuration: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier for the DRM Configuration. Max 255 cha…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
page | integer | Offset by this many pages, of the size of `limit` |
animated_video_playback
[Fetch an animated GIF or WebP image](https://docs.mux.com/guides/get-images-from-a-video#get-an-animated-gif-from-a-video) from a video segment with optional transformations.
| Parameter | Type | Description |
|---|---|---|
EXTENSION * | string | |
PLAYBACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
end | number | The time (in seconds) of the video timeline where the GIF ends. Defaults to 5 seconds after the start. Maximum total duration of GIF is limited to 10 seconds; minimum total duration of GIF is 250ms. |
fps | integer | The frame rate of the generated GIF. Defaults to 15 fps. Max 30 fps. |
height | integer | The height in pixels of the animated GIF. The default height is determined by preserving aspect ratio with the width provided. Maximum height is 640px. |
start | number | The time (in seconds) of the video timeline where the animated GIF should begin. Defaults to 0. |
width | integer | The width in pixels of the animated GIF. Default is 320px, or if height is provided, the width is determined by preserving aspect ratio with the height. Max width is 640px. |
hls_video_playback
Fetch an HLS (HTTP Live Streaming) playlist for the specified video asset, with optional query parameters to [modify playback behavior](https://docs.mux.com/guides/modify-playback-behavior).
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
asset_end_time | number | Set the relative end time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). |
asset_start_time | number | Set the relative start time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). |
default_subtitles_lang | string | Set the [default subtitles/captions language](https://docs.mux.com/guides/add-subtitles-to-your-videos#showing-subtitles-by-default) (BCP47 compliant language code). |
exclude_pdt | boolean | If set to true, EXT-X-PROGRAM-DATE-TIME tags will be omitted from HLS manifests for assets from live streams. |
max_resolution | string | Set the [maximum resolution](https://docs.mux.com/guides/control-playback-resolution#specify-maximum-resolution) of renditions included in the manifest. |
min_resolution | string | Set the [minimum resolution](https://docs.mux.com/guides/control-playback-resolution#specify-minimum-resolution) of renditions included in the manifest. |
program_end_time | integer | Set the end time of the asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as an epoch integ… |
program_start_time | integer | Set the start time of the asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as an epoch int… |
redundant_streams | boolean | Include [HLS redundant streams](https://docs.mux.com/guides/play-your-videos#add-delivery-redundancy-with-redundant-streams) in the manifest. |
rendition_order | string | Set the logic to [order renditions in the HLS manifest](https://www.mux.com/blog/more-tools-to-control-playback-behavior-min-resolution-and-rendition-order#rendition_order). |
roku_trick_play | boolean | Add support for [timeline hover previews on Roku devices](https://docs.mux.com/guides/create-timeline-hover-previews#roku-trick-play). |
static_rendition_video_playback
Fetch a static rendition (usually an MP4 or M4A file) of the specified video asset. [MP4 Support](https://docs.mux.com/guides/enable-static-mp4-renditions) must be enabled on the asset before using these URLs.
| Parameter | Type | Description |
|---|---|---|
FILENAME * | string | |
PLAYBACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
storyboard_video_playback
Fetch a storyboard image composed of multiple thumbnails for use in [timeline hover previews](https://docs.mux.com/guides/create-timeline-hover-previews).
| Parameter | Type | Description |
|---|---|---|
EXTENSION * | string | |
PLAYBACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
asset_end_time | number | Set the relative end time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). |
asset_start_time | number | Set the relative start time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). |
program_end_time | integer | Set the end time of the asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as an epoch integ… |
program_start_time | integer | Set the start time of the asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as an epoch int… |
storyboard_meta_video_playback
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Fetch metadata for the [storyboard image in JSON format](https://docs.mux.com/guides/create-timeline-hover-previews#json), detailing the coordinates and time ranges of each thumbnail. # Response Schema ```json { type: 'string' } ```
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
asset_end_time | number | Set the relative end time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). |
asset_start_time | number | Set the relative start time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). |
format | string | The format of the storyboard image URL in the response. Can be either 'jpg', 'png', or 'webp'. Defaults to 'jpg'. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
program_end_time | integer | Set the end time of the asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as an epoch integ… |
program_start_time | integer | Set the start time of the asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as an epoch int… |
storyboard_vtt_video_playback
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Fetch metadata for the [storyboard image in WebVTT format](https://docs.mux.com/guides/create-timeline-hover-previews#webvtt), detailing the coordinates and time ranges of each thumbnail. # Response Schema ```json { type: 'string' } ```
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
asset_end_time | number | Set the relative end time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). |
asset_start_time | number | Set the relative start time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
program_end_time | integer | Set the end time of the asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as an epoch integ… |
program_start_time | integer | Set the start time of the asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as an epoch int… |
thumbnail_video_playback
[Fetch a thumbnail image from a video](https://docs.mux.com/guides/get-images-from-a-video) at a specified time with optional transformations.
| Parameter | Type | Description |
|---|---|---|
EXTENSION * | string | |
PLAYBACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
fit_mode | string | How to fit a thumbnail within the specified width + height. |
flip_h | boolean | Flip the image left-right after performing all other transformations. |
flip_v | boolean | Flip the image top-bottom after performing all other transformations. |
height | integer | The height of the thumbnail (in pixels). Defaults to the height of the original video. |
latest | boolean | When set to `true`, pulls the latest thumbnail from the playback ID of an ongoing live stream. Can only be used with live streams. Can be used to build moderation and classification workflows, [see do… |
program_time | integer | Set the time of the thumbnail for an asset created from a live stream when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips). The timestamp should be provided as a… |
rotate | string | Rotate the image clockwise by the given number of degrees. |
time | number | The time (in seconds) of the video timeline where the image should be pulled. Defaults to the middle of the original video. |
width | integer | The width of the thumbnail (in pixels). Defaults to the width of the original video. |
track_video_playback
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Fetch a standalone WebVTT version of a text track from an asset. # Response Schema ```json { type: 'string' } ```
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_ID * | string | |
TRACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
transcript_video_playback
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Fetch a [transcript of an asset](https://docs.mux.com/guides/add-autogenerated-captions-and-use-transcripts#retrieve-a-transcript). This is only possible for assets with a text track generated using the [VOD generated captions feature](https://docs.mux.com/guides/add-autogenerated-captions-and-use-transcripts). # Response Schema ```json { type: 'string' } ```
| Parameter | Type | Description |
|---|---|---|
PLAYBACK_ID * | string | |
TRACK_ID * | string | |
TOKEN | string | Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback). |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_data_dimensions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. List all available dimensions. Note: This API replaces the list-filters API call. # Response Schema ```json { $ref: '#/$defs/dimensions_response', $defs: { dimensions_response: { type: 'object', properties: { data: { type: 'object', properties: { advanced: { type: 'array', items: { type: 'string' } },…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_trace_elements_data_dimensions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Lists the elements (values) for a trace dimension along with their total counts. This endpoint is specifically designed for trace dimensions like video_cdn_trace that contain arrays of values. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/dimension_value' } }, timeframe: { type: 'array', items: { type: 'integer'…
| Parameter | Type | Description |
|---|---|---|
DIMENSION_ID * | string | |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
order_by | string | Value to order the results by |
order_direction | string | Sort order. |
page | integer | Offset by this many pages, of the size of `limit` |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
list_values_data_dimensions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Lists the values for a dimension along with a total count of related views. Note: This API replaces the list-filter-values API call. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/dimension_value' } }, timeframe: { type: 'array', items: { type: 'integer' } }, total_row_count: { type: 'integer…
| Parameter | Type | Description |
|---|---|---|
DIMENSION_ID * | string | |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
page | integer | Offset by this many pages, of the size of `limit` |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
list_dimensions_data_monitoring
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Lists available monitoring dimensions. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { display_name: { type: 'string' }, name: { type: 'string' } }, required: [ 'display_name', 'name' ] } }, timeframe: {…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_monitoring_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Lists available monitoring metrics. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { display_name: { type: 'string' }, name: { type: 'string' } }, required: [ 'display_name', 'name' ] } }, timeframe: {…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
get_breakdown_monitoring_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { concurrent_viewers: { type: 'integer' }, metric_value: { type: 'number' },…
| Parameter | Type | Description |
|---|---|---|
MONITORING_METRIC_ID * | string | |
dimension | string | Dimension the specified value belongs to |
filters | array | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` chara… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
order_by | string | Value to order the results by |
order_direction | string | Sort order. |
timestamp | integer | Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. |
get_breakdown_timeseries_monitoring_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Gets timeseries of breakdown information for a specific dimension and metric. Each datapoint in the response represents 5 seconds worth of data. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { date: { type: 'string' }, values: { type: 'array', items: {…
| Parameter | Type | Description |
|---|---|---|
MONITORING_METRIC_ID * | string | |
dimension | string | Dimension the specified value belongs to |
filters | array | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` chara… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in each timestamp's `value` list. The default is 10, and the maximum is 100. |
order_by | string | Value to order the results by |
order_direction | string | Sort order. |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). The default for this is the last 60 seconds of available data. Timeframes larger than 10… |
get_histogram_timeseries_monitoring_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Gets histogram timeseries information for a specific metric. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { average: { type: 'number' }, bucket_values: { type: 'array', items: { type: 'object', properties: { count: {…
| Parameter | Type | Description |
|---|---|---|
MONITORING_HISTOGRAM_METRIC_ID * | string | |
filters | array | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` chara… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
get_timeseries_monitoring_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Gets Time series information for a specific metric along with the number of concurrent viewers. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { concurrent_viewers: { type: 'integer' }, date: { type: 'string' }, value: { type: 'number'…
| Parameter | Type | Description |
|---|---|---|
MONITORING_METRIC_ID * | string | |
filters | array | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` chara… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
timestamp | integer | Timestamp to use as the start of the timeseries data. This value must be provided as a unix timestamp. Defaults to 30 minutes ago. |
list_data_errors
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of errors. # Response Schema ```json { $ref: '#/$defs/errors_response', $defs: { errors_response: { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { id: { type: 'integer', description: 'A unique identifier for this error.' }, code:…
| Parameter | Type | Description |
|---|---|---|
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
list_video_views_data_exports
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Lists the available video view exports along with URLs to retrieve them. # Response Schema ```json { $ref: '#/$defs/video_view_exports_response', $defs: { video_view_exports_response: { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { export_date: { type: 'string', format:…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_values_data_filters
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. The API has been replaced by the list-dimension-values API call. Lists the values for a filter along with a total count of related views. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/filter_value' } }, timeframe: { type: 'array', items: { type: 'integer' } }, total_row_count: { type: 'integ…
| Parameter | Type | Description |
|---|---|---|
FILTER_ID * | string | |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
page | integer | Offset by this many pages, of the size of `limit` |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
retrieve_data_incidents
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns the details of an incident. # Response Schema ```json { $ref: '#/$defs/incident_response', $defs: { incident_response: { type: 'object', properties: { data: { $ref: '#/$defs/incident' }, timeframe: { type: 'array', items: { type: 'integer' } }, total_row_count: { type: 'integer' } },…
| Parameter | Type | Description |
|---|---|---|
INCIDENT_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_data_incidents
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of incidents. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/incident' } }, timeframe: { type: 'array', items: { type: 'integer' } }, total_row_count: { type: 'integer' } }, required: [ 'data', 'timeframe', 'total_row_count' ], $defs: { incident: {…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
order_by | string | Value to order the results by |
order_direction | string | Sort order. |
page | integer | Offset by this many pages, of the size of `limit` |
severity | string | Severity to filter incidents by |
status | string | Status to filter incidents by |
list_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. List all of the values across every breakdown for a specific metric. # Response Schema ```json { $ref: '#/$defs/all_metric_values_response', $defs: { all_metric_values_response: { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { name: { type: 'string' }, ended_v…
| Parameter | Type | Description |
|---|---|---|
dimension | string | Dimension the specified value belongs to |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
value | string | Value to show all available metrics for |
get_insights_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of insights for a metric. These are the worst performing values across all breakdowns sorted by how much they negatively impact a specific metric. # Response Schema ```json { $ref: '#/$defs/insights_response', $defs: { insights_response: { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { fi…
| Parameter | Type | Description |
|---|---|---|
METRIC_ID * | string | |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
measurement | string | Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: "sum" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_coun… |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
order_direction | string | Sort order. |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
get_overall_values_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns the overall value for a specific metric, as well as the total view count, watch time, and the Mux Global metric value for the metric. # Response Schema ```json { $ref: '#/$defs/overall_values_response', $defs: { overall_values_response: { type: 'object', properties: { data: { type: 'object', properties: { global_value: { type: 'number' },…
| Parameter | Type | Description |
|---|---|---|
METRIC_ID * | string | |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
measurement | string | Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: "sum" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_coun… |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
get_timeseries_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns timeseries data for a specific metric. Each interval represented in the data array contains an array with the following values: * the first element is the interval time * the second element is the calculated metric value * the third element is the number of views in the interval that have a valid metric value # Response Schema ```json { $ref: '#/$defs/metric_timeseries_data_response', $defs: { metric_timeser…
| Parameter | Type | Description |
|---|---|---|
METRIC_ID * | string | |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
group_by | string | Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of less than 90 minutes, the default granularity is `minute`. Be… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
measurement | string | Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: "sum" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_coun… |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
order_direction | string | Sort order. |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
list_breakdown_values_data_metrics
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. List the breakdown values for a specific metric. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/breakdown_value' } }, meta: { type: 'object', properties: { aggregation: { type: 'string' }, granularity: { type: 'string' } } }, timeframe: { type: 'array…
| Parameter | Type | Description |
|---|---|---|
METRIC_ID * | string | |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
group_by | string | Breakdown value to group the results by |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
measurement | string | Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: "sum" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_coun… |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
order_by | string | Value to order the results by |
order_direction | string | Sort order. |
page | integer | Offset by this many pages, of the size of `limit` |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
list_dimensions_data_real_time
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Lists available real-time dimensions. This API is now deprecated, please use the `List Monitoring Dimensions` API. # Response Schema ```json { $ref: '#/$defs/real_time_dimensions_response', $defs: { real_time_dimensions_response: { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { display_name: {…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_metrics_data_real_time
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Lists available real-time metrics. This API is now deprecated, please use the `List Monitoring Metrics` API. # Response Schema ```json { $ref: '#/$defs/real_time_metrics_response', $defs: { real_time_metrics_response: { type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { display_name: { type:…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
retrieve_breakdown_data_real_time
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score. This API is now deprecated, please use the `Get Monitoring Breakdown` API. # Response Schema ```json { $ref: '#/$defs/real_time_breakdown_response', $defs: { real_time_breakdown_response: { type: 'object', properties: { data: { type: 'array', items: {…
| Parameter | Type | Description |
|---|---|---|
REALTIME_METRIC_ID * | string | |
dimension | string | Dimension the specified value belongs to |
filters | array | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` chara… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
order_by | string | Value to order the results by |
order_direction | string | Sort order. |
timestamp | integer | Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. |
retrieve_histogram_timeseries_data_real_time
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Gets histogram timeseries information for a specific metric. This API is now deprecated, please use the `Get Monitoring Histogram Timeseries` API. # Response Schema ```json { $ref: '#/$defs/real_time_histogram_timeseries_response', $defs: { real_time_histogram_timeseries_response: { type: 'object', properties: { data: { type: 'array', items: { type: 'object', p…
| Parameter | Type | Description |
|---|---|---|
REALTIME_HISTOGRAM_METRIC_ID * | string | |
filters | array | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` chara… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
retrieve_timeseries_data_real_time
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Gets Time series information for a specific metric along with the number of concurrent viewers. This API is now deprecated, please use the `Get Monitoring Timeseries` API. # Response Schema ```json { $ref: '#/$defs/real_time_timeseries_response', $defs: { real_time_timeseries_response: { type: 'object', properties: { data: { type: 'array', items: { type: 'object',…
| Parameter | Type | Description |
|---|---|---|
REALTIME_METRIC_ID * | string | |
filters | array | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` chara… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
timestamp | integer | Timestamp to use as the start of the timeseries data. This value must be provided as a unix timestamp. Defaults to 30 minutes ago. |
retrieve_data_video_views
Returns the details of a video view.
| Parameter | Type | Description |
|---|---|---|
VIDEO_VIEW_ID * | string |
list_data_video_views
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of video views which match the filters and have a `view_end` within the specified timeframe. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/abridged_video_view' } }, timeframe: { type: 'array', items: { type: 'integer' } }, total_row_count: { type: 'integer' } }, required…
| Parameter | Type | Description |
|---|---|---|
error_id | integer | Filter video views by the provided error ID (as returned in the error_type_id field in the list video views endpoint). If you provide any as the error ID, this will filter the results to those with an… |
filters | array | Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
metric_filters | array | Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as th… |
order_direction | string | Sort order. |
page | integer | Offset by this many pages, of the size of `limit` |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
viewer_id | string | Viewer ID to filter results by. This value may be provided by the integration, or may be created by Mux. |
create_data_annotations
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Creates a new annotation. # Response Schema ```json { $ref: '#/$defs/annotation_response', $defs: { annotation_response: { type: 'object', properties: { data: { $ref: '#/$defs/annotation' } }, required: [ 'data' ] }, annotation: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier f…
| Parameter | Type | Description |
|---|---|---|
date * | integer | Datetime when the annotation applies (Unix timestamp) |
note * | string | The annotation note content |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
sub_property_id | string | Customer-defined sub-property identifier |
retrieve_data_annotations
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns the details of a specific annotation. # Response Schema ```json { $ref: '#/$defs/annotation_response', $defs: { annotation_response: { type: 'object', properties: { data: { $ref: '#/$defs/annotation' } }, required: [ 'data' ] }, annotation: { type: 'object', properties: { id: { type: 'string', description:…
| Parameter | Type | Description |
|---|---|---|
ANNOTATION_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
update_data_annotations
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Updates an existing annotation. # Response Schema ```json { $ref: '#/$defs/annotation_response', $defs: { annotation_response: { type: 'object', properties: { data: { $ref: '#/$defs/annotation' } }, required: [ 'data' ] }, annotation: { type: 'object', properties: { id: { type: 'string', description: 'Unique identi…
| Parameter | Type | Description |
|---|---|---|
ANNOTATION_ID * | string | |
date * | integer | Datetime when the annotation applies (Unix timestamp) |
note * | string | The annotation note content |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
sub_property_id | string | Customer-defined sub-property identifier |
list_data_annotations
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of annotations. # Response Schema ```json { $ref: '#/$defs/list_annotations_response', $defs: { list_annotations_response: { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/annotation' } }, total_row_count: { type: 'integer', description: 'Total number of annotations available'…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
order_direction | string | Sort order. |
page | integer | Offset by this many pages, of the size of `limit` |
timeframe | array | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&time… |
delete_data_annotations
Deletes an annotation.
| Parameter | Type | Description |
|---|---|---|
ANNOTATION_ID * | string |
create_system_signing_keys
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Creates a new signing key pair. When creating a new signing key, the API will generate a 2048-bit RSA key-pair and return the private key and a generated key-id; the public key will be stored at Mux to validate signed tokens. # Response Schema ```json { $ref: '#/$defs/signing_key_response', $defs: { signing_key_response: { type: 'object', properties: { data: { $ref: '#/$defs/signing_key'…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
retrieve_system_signing_keys
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieves the details of a signing key that has previously been created. Supply the unique signing key ID that was returned from your previous request, and Mux will return the corresponding signing key information. **The private key is not returned in this response.** # Response Schema ```json { $ref: '#/$defs/signing_key_response', $defs: { signing_key_response: { type: 'object', properties: { data: {…
| Parameter | Type | Description |
|---|---|---|
SIGNING_KEY_ID * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_system_signing_keys
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Returns a list of signing keys. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/signing_key' } } }, required: [ 'data' ], $defs: { signing_key: { type: 'object', properties: { id: { type: 'string', description: 'Unique identifier for the Signing Key.' }, created_at: {…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Number of items to include in the response |
page | integer | Offset by this many pages, of the size of `limit` |
delete_system_signing_keys
Deletes an existing signing key. Use with caution, as this will invalidate any existing signatures and no JWTs can be signed using the key again.
| Parameter | Type | Description |
|---|---|---|
SIGNING_KEY_ID * | string |
whoami_system_utilities
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve information about your current access token, including organization, environment, and permissions. Note that this can only be access with an access token, and _all_ access tokens can access this route, regardless of what permissions they have assigned. # Response Schema ```json { $ref: '#/$defs/whoami_response', $defs: { whoami_response: { type: 'object', properties: { data: { type: 'o…
| Parameter | Type | Description |
|---|---|---|
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |