Skip to Content
Mux Docs: Home
Welcome to the new Mux Docs.
The old version is still available here

Webhook Reference

An asset has been created

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

An asset is ready for playback. You can now use the asset's playback_id to successfully start streaming this asset.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

An asset has encountered an error. Use this to notify your server about assets with errors. Asset errors can happen for a number of reasons, most commonly an input URL that Mux is unable to download or a file that is not a valid video file.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

An asset has been updated. Use this to make sure your server is notified about changes to assets.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

An asset has been deleted. Use this so that your server knows when an asset has been deleted, at which point it will no longer be playable.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

The live stream for this asset has completed. Every time a live stream starts and ends a new asset gets created and this event fires.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Static renditions for this asset are ready. Static renditions are streamable mp4 files that are most commonly used for allowing users to download files for offline viewing.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Static renditions for this asset are being prepared. After requesting static renditions you will get this webhook when they are being prepared.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Static renditions for this asset have been deleted. The static renditions (mp4 files) for this asset will no longer be available.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Preparing static renditions for this asset has encountered an error. This indicates that there was some error when creating static renditions (mp4s) of your asset. This should be rare and if you see it unexpectedly please open a support ticket.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Master access for this asset is ready. Master access is used when downloading an asset for purposes of editing or post-production work. The master access file is not intended to be streamed or downloaded by end-users.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Master access for this asset is being prepared. After requesting master access you will get this webhook while it is being prepared.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Master access for this asset has been deleted. Master access for this asset has been removed. You will no longer be able to download the master file. If you want it again you should re-request it.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Master access for this asset has encountered an error. This indicates that there was some error when creating master access for this asset. This should be rare and if you see it unexpectedly please open a support ticket.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datacreated_at
integer
datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

dataduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datamax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datamax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

dataaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datatracks
array

The individual media tracks that make up an asset.

datatracks[]id
string

Unique identifier for the Track

datatracks[]type
string
Possible values: "video""audio""text"

The type of track

datatracks[]duration
number

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.

datatracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datatracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datatracks[]max_frame_rate
number

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.

datatracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datatracks[]max_channel_layout
string

Only set for the audio type track.

datatracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datatracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datatracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datatracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datatracks[]passthrough
string

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.

datatracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataerrors
object

Object that describes any errors that happened when processing this asset.

dataerrorstype
string

The type of error that occurred for this asset.

dataerrorsmessages
array

Error messages with more details.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datais_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datamaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datamasterstatus
string
Possible values: "ready""preparing""errored"
datamasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datamaster_access
string (default: none)
Possible values: "temporary""none"
datamp4_support
string (default: none)
Possible values: "standard""none"
datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datastatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datastatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datastatic_renditionsfiles
array

Array of file objects.

datastatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datastatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datastatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datastatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datastatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datastatic_renditionsfiles[]filesize
string

The file size in bytes

datarecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datarecording_times[]started_at
object
datarecording_times[]started_atnanos
integer
datarecording_times[]started_atseconds
integer
datarecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datarecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datatest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A new track for this asset has been created, for example a subtitle text track.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Track

datatype
string
Possible values: "video""audio""text"

The type of track

dataduration
number

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.

datamax_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datamax_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datamax_frame_rate
number

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.

datamax_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datamax_channel_layout
string

Only set for the audio type track.

datatext_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatext_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datalanguage_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

dataname
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

dataclosed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datapassthrough
string

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.

datastatus
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataasset_id
string

Unique identifier for the Asset. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A track for this asset is ready. In the example of a subtitle text track the text track will now be delivered with your HLS stream.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Track

datatype
string
Possible values: "video""audio""text"

The type of track

dataduration
number

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.

datamax_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datamax_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datamax_frame_rate
number

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.

datamax_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datamax_channel_layout
string

Only set for the audio type track.

datatext_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatext_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datalanguage_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

dataname
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

dataclosed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datapassthrough
string

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.

datastatus
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataasset_id
string

Unique identifier for the Asset. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A track for this asset has encountered an error. There was some error preparing this track. Most commonly this could be a text track file that Mux was unable to download for processing.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Track

datatype
string
Possible values: "video""audio""text"

The type of track

dataduration
number

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.

datamax_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datamax_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datamax_frame_rate
number

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.

datamax_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datamax_channel_layout
string

Only set for the audio type track.

datatext_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatext_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datalanguage_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

dataname
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

dataclosed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datapassthrough
string

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.

datastatus
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataasset_id
string

Unique identifier for the Asset. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A track for this asset has been deleted.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Track

datatype
string
Possible values: "video""audio""text"

The type of track

dataduration
number

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.

datamax_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datamax_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datamax_frame_rate
number

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.

datamax_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datamax_channel_layout
string

Only set for the audio type track.

datatext_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datatext_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datalanguage_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

dataname
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

dataclosed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datapassthrough
string

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.

datastatus
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

dataasset_id
string

Unique identifier for the Asset. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This event fires when Mux has encountered a non-fatal issue with the recorded asset of the live stream. At this time, the event is only fired when Mux is unable to download a slate image from the URL set as reconnect_slate_url parameter value.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Asset. Max 255 characters.

datalive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datasource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

dataupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datastatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datawarning
object
datawarningtype
string
datawarningmessage
string
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

An asset has been created from this upload. This is useful to know what a user of your application has finished uploading a file using the URL created by a Direct Upload.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Direct Upload.

datatimeout
integer (default: 3600, minimum: 60, maximum: 604800)

Max time in seconds for the signed upload URL to be valid. If a successful upload has not occurred before the timeout limit, the direct upload is marked timed_out

datastatus
string
Possible values: "waiting""asset_created""errored""cancelled""timed_out"
datanew_asset_settings
object
datanew_asset_settingsid
string

Unique identifier for the Asset. Max 255 characters.

datanew_asset_settingscreated_at
string

Time the Asset was created, defined as a Unix timestamp (seconds since epoch).

datanew_asset_settingsstatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

datanew_asset_settingsduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datanew_asset_settingsmax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datanew_asset_settingsmax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

datanew_asset_settingsaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

datanew_asset_settingsplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

datanew_asset_settingsplayback_ids[]id
string

Unique identifier for the PlaybackID

datanew_asset_settingsplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settingstracks
array

The individual media tracks that make up an asset.

datanew_asset_settingstracks[]id
string

Unique identifier for the Track

datanew_asset_settingstracks[]type
string
Possible values: "video""audio""text"

The type of track

datanew_asset_settingstracks[]duration
number

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.

datanew_asset_settingstracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datanew_asset_settingstracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datanew_asset_settingstracks[]max_frame_rate
number

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.

datanew_asset_settingstracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datanew_asset_settingstracks[]max_channel_layout
string

Only set for the audio type track.

datanew_asset_settingstracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datanew_asset_settingstracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datanew_asset_settingstracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]passthrough
string

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.

datanew_asset_settingstracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

datanew_asset_settingserrors
object

Object that describes any errors that happened when processing this asset.

datanew_asset_settingserrorstype
string

The type of error that occurred for this asset.

datanew_asset_settingserrorsmessages
array

Error messages with more details.

datanew_asset_settingsupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datanew_asset_settingsis_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datanew_asset_settingslive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datanew_asset_settingsmaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datanew_asset_settingsmasterstatus
string
Possible values: "ready""preparing""errored"
datanew_asset_settingsmasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datanew_asset_settingsmaster_access
string (default: none)
Possible values: "temporary""none"
datanew_asset_settingsmp4_support
string (default: none)
Possible values: "standard""none"
datanew_asset_settingssource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsstatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datanew_asset_settingsstatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datanew_asset_settingsstatic_renditionsfiles
array

Array of file objects.

datanew_asset_settingsstatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datanew_asset_settingsstatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datanew_asset_settingsstatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datanew_asset_settingsstatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datanew_asset_settingsstatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datanew_asset_settingsstatic_renditionsfiles[]filesize
string

The file size in bytes

datanew_asset_settingsrecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datanew_asset_settingsrecording_times[]started_at
string

The time at which the recording for the live stream started. The time value is Unix epoch time represented in ISO 8601 format.

datanew_asset_settingsrecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datanew_asset_settingsrecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanew_asset_settingsnon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanew_asset_settingsnon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanew_asset_settingsnon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanew_asset_settingsnon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanew_asset_settingsnon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanew_asset_settingsnon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanew_asset_settingsnon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanew_asset_settingsnon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanew_asset_settingsnon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanew_asset_settingsnon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanew_asset_settingsnon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datanew_asset_settingstest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

dataasset_id
string

Only set once the upload is in the asset_created state.

datacors_origin
string

If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers.

dataurl
string

The URL to upload the associated source media to.

datatest
boolean

Indicates if this is a test Direct Upload, in which case the Asset that gets created will be a test Asset.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Upload has been canceled. This event fires after hitting the cancel direct upload API.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Direct Upload.

datatimeout
integer (default: 3600, minimum: 60, maximum: 604800)

Max time in seconds for the signed upload URL to be valid. If a successful upload has not occurred before the timeout limit, the direct upload is marked timed_out

datastatus
string
Possible values: "waiting""asset_created""errored""cancelled""timed_out"
datanew_asset_settings
object
datanew_asset_settingsid
string

Unique identifier for the Asset. Max 255 characters.

datanew_asset_settingscreated_at
string

Time the Asset was created, defined as a Unix timestamp (seconds since epoch).

datanew_asset_settingsstatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

datanew_asset_settingsduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datanew_asset_settingsmax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datanew_asset_settingsmax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

datanew_asset_settingsaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

datanew_asset_settingsplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

datanew_asset_settingsplayback_ids[]id
string

Unique identifier for the PlaybackID

datanew_asset_settingsplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settingstracks
array

The individual media tracks that make up an asset.

datanew_asset_settingstracks[]id
string

Unique identifier for the Track

datanew_asset_settingstracks[]type
string
Possible values: "video""audio""text"

The type of track

datanew_asset_settingstracks[]duration
number

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.

datanew_asset_settingstracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datanew_asset_settingstracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datanew_asset_settingstracks[]max_frame_rate
number

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.

datanew_asset_settingstracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datanew_asset_settingstracks[]max_channel_layout
string

Only set for the audio type track.

datanew_asset_settingstracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datanew_asset_settingstracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datanew_asset_settingstracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]passthrough
string

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.

datanew_asset_settingstracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

datanew_asset_settingserrors
object

Object that describes any errors that happened when processing this asset.

datanew_asset_settingserrorstype
string

The type of error that occurred for this asset.

datanew_asset_settingserrorsmessages
array

Error messages with more details.

datanew_asset_settingsupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datanew_asset_settingsis_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datanew_asset_settingslive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datanew_asset_settingsmaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datanew_asset_settingsmasterstatus
string
Possible values: "ready""preparing""errored"
datanew_asset_settingsmasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datanew_asset_settingsmaster_access
string (default: none)
Possible values: "temporary""none"
datanew_asset_settingsmp4_support
string (default: none)
Possible values: "standard""none"
datanew_asset_settingssource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsstatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datanew_asset_settingsstatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datanew_asset_settingsstatic_renditionsfiles
array

Array of file objects.

datanew_asset_settingsstatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datanew_asset_settingsstatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datanew_asset_settingsstatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datanew_asset_settingsstatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datanew_asset_settingsstatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datanew_asset_settingsstatic_renditionsfiles[]filesize
string

The file size in bytes

datanew_asset_settingsrecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datanew_asset_settingsrecording_times[]started_at
string

The time at which the recording for the live stream started. The time value is Unix epoch time represented in ISO 8601 format.

datanew_asset_settingsrecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datanew_asset_settingsrecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanew_asset_settingsnon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanew_asset_settingsnon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanew_asset_settingsnon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanew_asset_settingsnon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanew_asset_settingsnon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanew_asset_settingsnon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanew_asset_settingsnon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanew_asset_settingsnon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanew_asset_settingsnon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanew_asset_settingsnon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanew_asset_settingsnon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datanew_asset_settingstest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

dataasset_id
string

Only set once the upload is in the asset_created state.

datacors_origin
string

If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers.

dataurl
string

The URL to upload the associated source media to.

datatest
boolean

Indicates if this is a test Direct Upload, in which case the Asset that gets created will be a test Asset.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Upload has been created. This event fires after creating a direct upload.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Direct Upload.

datatimeout
integer (default: 3600, minimum: 60, maximum: 604800)

Max time in seconds for the signed upload URL to be valid. If a successful upload has not occurred before the timeout limit, the direct upload is marked timed_out

datastatus
string
Possible values: "waiting""asset_created""errored""cancelled""timed_out"
datanew_asset_settings
object
datanew_asset_settingsid
string

Unique identifier for the Asset. Max 255 characters.

datanew_asset_settingscreated_at
string

Time the Asset was created, defined as a Unix timestamp (seconds since epoch).

datanew_asset_settingsstatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

datanew_asset_settingsduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datanew_asset_settingsmax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datanew_asset_settingsmax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

datanew_asset_settingsaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

datanew_asset_settingsplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

datanew_asset_settingsplayback_ids[]id
string

Unique identifier for the PlaybackID

datanew_asset_settingsplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settingstracks
array

The individual media tracks that make up an asset.

datanew_asset_settingstracks[]id
string

Unique identifier for the Track

datanew_asset_settingstracks[]type
string
Possible values: "video""audio""text"

The type of track

datanew_asset_settingstracks[]duration
number

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.

datanew_asset_settingstracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datanew_asset_settingstracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datanew_asset_settingstracks[]max_frame_rate
number

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.

datanew_asset_settingstracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datanew_asset_settingstracks[]max_channel_layout
string

Only set for the audio type track.

datanew_asset_settingstracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datanew_asset_settingstracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datanew_asset_settingstracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]passthrough
string

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.

datanew_asset_settingstracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

datanew_asset_settingserrors
object

Object that describes any errors that happened when processing this asset.

datanew_asset_settingserrorstype
string

The type of error that occurred for this asset.

datanew_asset_settingserrorsmessages
array

Error messages with more details.

datanew_asset_settingsupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datanew_asset_settingsis_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datanew_asset_settingslive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datanew_asset_settingsmaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datanew_asset_settingsmasterstatus
string
Possible values: "ready""preparing""errored"
datanew_asset_settingsmasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datanew_asset_settingsmaster_access
string (default: none)
Possible values: "temporary""none"
datanew_asset_settingsmp4_support
string (default: none)
Possible values: "standard""none"
datanew_asset_settingssource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsstatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datanew_asset_settingsstatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datanew_asset_settingsstatic_renditionsfiles
array

Array of file objects.

datanew_asset_settingsstatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datanew_asset_settingsstatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datanew_asset_settingsstatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datanew_asset_settingsstatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datanew_asset_settingsstatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datanew_asset_settingsstatic_renditionsfiles[]filesize
string

The file size in bytes

datanew_asset_settingsrecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datanew_asset_settingsrecording_times[]started_at
string

The time at which the recording for the live stream started. The time value is Unix epoch time represented in ISO 8601 format.

datanew_asset_settingsrecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datanew_asset_settingsrecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanew_asset_settingsnon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanew_asset_settingsnon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanew_asset_settingsnon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanew_asset_settingsnon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanew_asset_settingsnon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanew_asset_settingsnon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanew_asset_settingsnon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanew_asset_settingsnon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanew_asset_settingsnon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanew_asset_settingsnon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanew_asset_settingsnon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datanew_asset_settingstest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

dataasset_id
string

Only set once the upload is in the asset_created state.

datacors_origin
string

If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers.

dataurl
string

The URL to upload the associated source media to.

datatest
boolean

Indicates if this is a test Direct Upload, in which case the Asset that gets created will be a test Asset.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Upload has encountered an error. This event fires when the asset created by the direct upload fails. Most commonly this happens when an end-user uploads a non-video file.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Direct Upload.

datatimeout
integer (default: 3600, minimum: 60, maximum: 604800)

Max time in seconds for the signed upload URL to be valid. If a successful upload has not occurred before the timeout limit, the direct upload is marked timed_out

datastatus
string
Possible values: "waiting""asset_created""errored""cancelled""timed_out"
datanew_asset_settings
object
datanew_asset_settingsid
string

Unique identifier for the Asset. Max 255 characters.

datanew_asset_settingscreated_at
string

Time the Asset was created, defined as a Unix timestamp (seconds since epoch).

datanew_asset_settingsstatus
string
Possible values: "preparing""ready""errored"

The status of the asset.

datanew_asset_settingsduration
number

The duration of the asset in seconds (max duration for a single asset is 12 hours).

datanew_asset_settingsmax_stored_resolution
string
Possible values: "Audio only""SD""HD""FHD""UHD"

The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.

datanew_asset_settingsmax_stored_frame_rate
number

The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.

datanew_asset_settingsaspect_ratio
string

The aspect ratio of the asset in the form of width:height, for example 16:9.

datanew_asset_settingsplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

datanew_asset_settingsplayback_ids[]id
string

Unique identifier for the PlaybackID

datanew_asset_settingsplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settingstracks
array

The individual media tracks that make up an asset.

datanew_asset_settingstracks[]id
string

Unique identifier for the Track

datanew_asset_settingstracks[]type
string
Possible values: "video""audio""text"

The type of track

datanew_asset_settingstracks[]duration
number

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.

datanew_asset_settingstracks[]max_width
integer

The maximum width in pixels available for the track. Only set for the video type track.

datanew_asset_settingstracks[]max_height
integer

The maximum height in pixels available for the track. Only set for the video type track.

datanew_asset_settingstracks[]max_frame_rate
number

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.

datanew_asset_settingstracks[]max_channels
integer

The maximum number of audio channels the track supports. Only set for the audio type track.

datanew_asset_settingstracks[]max_channel_layout
string

Only set for the audio type track.

datanew_asset_settingstracks[]text_type
string
Possible values: "subtitles"

This parameter is only set for text type tracks.

datanew_asset_settingstracks[]text_source
string
Possible values: "uploaded""embedded""generated_live""generated_live_final"

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_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.
datanew_asset_settingstracks[]language_code
string

The language code value represents BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]name
string

The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is "English" for subtitles text track for the language_code value of en-US. This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for text type and subtitles text type tracks.

datanew_asset_settingstracks[]passthrough
string

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.

datanew_asset_settingstracks[]status
string
Possible values: "preparing""ready""errored"

The status of the track. This parameter is only set for text type tracks.

datanew_asset_settingserrors
object

Object that describes any errors that happened when processing this asset.

datanew_asset_settingserrorstype
string

The type of error that occurred for this asset.

datanew_asset_settingserrorsmessages
array

Error messages with more details.

datanew_asset_settingsupload_id
string

Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.

datanew_asset_settingsis_live
boolean

Indicates whether the live stream that created this asset is currently active and not in idle state. This is an optional parameter added when the asset is created from a live stream.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datanew_asset_settingslive_stream_id
string

Unique identifier for the live stream. This is an optional parameter added when the asset is created from a live stream.

datanew_asset_settingsmaster
object

An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if master_acess is set to none and when the temporary URL expires.

datanew_asset_settingsmasterstatus
string
Possible values: "ready""preparing""errored"
datanew_asset_settingsmasterurl
string

The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

datanew_asset_settingsmaster_access
string (default: none)
Possible values: "temporary""none"
datanew_asset_settingsmp4_support
string (default: none)
Possible values: "standard""none"
datanew_asset_settingssource_asset_id
string

Asset Identifier of the video used as the source for creating the clip.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsstatic_renditions
object

An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See Download your videos for more information.

datanew_asset_settingsstatic_renditionsstatus
string (default: disabled)
Possible values: "ready""preparing""disabled""errored"

Indicates the status of downloadable MP4 versions of this asset.

datanew_asset_settingsstatic_renditionsfiles
array

Array of file objects.

datanew_asset_settingsstatic_renditionsfiles[]name
string
Possible values: "low.mp4""medium.mp4""high.mp4""audio.m4a"
datanew_asset_settingsstatic_renditionsfiles[]ext
string
Possible values: "mp4""m4a"

Extension of the static rendition file

datanew_asset_settingsstatic_renditionsfiles[]height
integer

The height of the static rendition's file in pixels

datanew_asset_settingsstatic_renditionsfiles[]width
integer

The width of the static rendition's file in pixels

datanew_asset_settingsstatic_renditionsfiles[]bitrate
integer

The bitrate in bits per second

datanew_asset_settingsstatic_renditionsfiles[]filesize
string

The file size in bytes

datanew_asset_settingsrecording_times
array

An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream. Additionally any time slate media is inserted during brief interruptions in the live stream media or times when the live streaming software disconnects, a recording session representing the slate media will be added with a "slate" type.

datanew_asset_settingsrecording_times[]started_at
string

The time at which the recording for the live stream started. The time value is Unix epoch time represented in ISO 8601 format.

datanew_asset_settingsrecording_times[]duration
number

The duration of the live stream recorded. The time value is in seconds.

datanew_asset_settingsrecording_times[]typeBeta
string
Possible values: "content""slate"

The type of media represented by the recording session, either content for normal stream content or slate for slate media inserted during stream interruptions.

datanew_asset_settingsnon_standard_input_reasons
object

An object containing one or more reasons the input file is non-standard. See the guide on minimizing processing time for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.

datanew_asset_settingsnon_standard_input_reasonsvideo_codec
string

The video codec used on the input file. For example, the input file encoded with hevc video codec is non-standard and the value of this parameter is hevc.

datanew_asset_settingsnon_standard_input_reasonsaudio_codec
string

The audio codec used on the input file. Non-AAC audio codecs are non-standard.

datanew_asset_settingsnon_standard_input_reasonsvideo_gop_size
string
Possible values: "high"

The video key frame Interval (also called as Group of Picture or GOP) of the input file is high. This parameter is present when the gop is greater than 20 seconds.

datanew_asset_settingsnon_standard_input_reasonsvideo_frame_rate
string

The video frame rate of the input file. Video with average frames per second (fps) less than 5 or greater than 120 is non-standard. A -1 frame rate value indicates Mux could not determine the frame rate of the video track.

datanew_asset_settingsnon_standard_input_reasonsvideo_resolution
string

The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as width x height in pixels.

datanew_asset_settingsnon_standard_input_reasonsvideo_bitrate
string
Possible values: "high"

The video bitrate of the input file is high. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps.

datanew_asset_settingsnon_standard_input_reasonspixel_aspect_ratio
string

The video pixel aspect ratio of the input file.

datanew_asset_settingsnon_standard_input_reasonsvideo_edit_list
string
Possible values: "non-standard"

Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List.

datanew_asset_settingsnon_standard_input_reasonsaudio_edit_list
string
Possible values: "non-standard"

Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List.

datanew_asset_settingsnon_standard_input_reasonsunexpected_media_file_parameters
string
Possible values: "non-standard"

A catch-all reason when the input file in created with non-standard encoding parameters.

datanew_asset_settingstest
boolean

True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs.

dataasset_id
string

Only set once the upload is in the asset_created state.

datacors_origin
string

If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers.

dataurl
string

The URL to upload the associated source media to.

datatest
boolean

Indicates if this is a test Direct Upload, in which case the Asset that gets created will be a test Asset.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A new live stream has been created. Broadcasters with a stream_key can start sending encoder feed to this live stream.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

An encoder has successfully connected to this live stream.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

Recording on this live stream has started. Mux has successfully processed the first frames from the encoder. If you show a red dot icon in your UI, this would be a good time to show it.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This live stream is now 'active'. The live streams playback_id OR the playback_id associated with this live stream's asset can be used right now to created HLS URLs (https://stream.mux.com/{PLAYBACK_ID}.m3u8 and start streaming in your player. Note that before the live stream is 'active', trying to stream the HLS URL will result in HTTP 412 errors.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

An encoder has disconnected from this live stream. Note that while disconnected the live stream is still status: 'active'.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

The reconnect_window for this live stream has elapsed. The live stream status will now transition to 'idle'.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This live stream has been updated. For example, after resetting the live stream's stream key.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This live stream has been enabled. This event fires after enable live stream API.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This live stream has been disabled. This event fires after disable live stream API. Disabled live streams will no longer accept new RTMP connections.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This event fires after deleting a live stream

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datacreated_at
integer
datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datarecent_asset_ids
array

An array of strings with the most recent Assets that were created from this live stream.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

dataplayback_ids
array

An array of Playback ID objects. Use these to create HLS playback URLs. See Play your videos for more details.

dataplayback_ids[]id
string

Unique identifier for the PlaybackID

dataplayback_ids[]policy
string
Possible values: "public""signed"
  • public playback IDs are accessible by constructing an HLS URL like https://stream.mux.com/${PLAYBACK_ID}

  • signed playback IDs should be used with tokens https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}. See Secure video playback for details about creating tokens.

datanew_asset_settings
object
datanew_asset_settingsinput
array

An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See input[].url for requirements.

datanew_asset_settingsinput[]url
string

The URL of the file that Mux should download and use.

  • For subtitles text tracks, the URL is the location of subtitle/captions file. Mux supports SubRip Text (SRT) and Web Video Text Tracks format for ingesting Subtitles and Closed Captions.
  • For Watermarking or Overlay, the URL is the location of the watermark image.
  • When creating clips from existing Mux assets, the URL is defined with mux://assets/{asset_id} template where asset_id is the Asset Identifier for creating the clip from.
datanew_asset_settingsinput[]overlay_settings
object

An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.

datanew_asset_settingsinput[]overlay_settingsvertical_align
string
Possible values: "top""middle""bottom"

Where the vertical positioning of the overlay/watermark should begin from. Defaults to "top"

datanew_asset_settingsinput[]overlay_settingsvertical_margin
string

The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.

datanew_asset_settingsinput[]overlay_settingshorizontal_align
string
Possible values: "left""center""right"

Where the horizontal positioning of the overlay/watermark should begin from.

datanew_asset_settingsinput[]overlay_settingshorizontal_margin
string

The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent ("10%") or as a pixel value ("100px"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.

datanew_asset_settingsinput[]overlay_settingswidth
string

How wide the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.

datanew_asset_settingsinput[]overlay_settingsheight
string

How tall the overlay should appear. Can be expressed as a percent ("10%") or as a pixel value ("100px"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.

datanew_asset_settingsinput[]overlay_settingsopacity
string

How opaque the overlay should appear, expressed as a percent. (Default 100%)

datanew_asset_settingsinput[]start_time
number

The time offset in seconds from the beginning of the video indicating the clip's starting marker. The default value is 0 when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]end_time
number

The time offset in seconds from the beginning of the video, indicating the clip's ending marker. The default value is the duration of the video when not included. This parameter is only applicable for creating clips when input.url has mux://assets/{asset_id} format.

datanew_asset_settingsinput[]type
string
Possible values: "video""audio""text"

This parameter is required for text type tracks.

datanew_asset_settingsinput[]text_type
string
Possible values: "subtitles"

Type of text track. This parameter only supports subtitles value. For more information on Subtitles / Closed Captions, see this blog post. This parameter is required for text type tracks.

datanew_asset_settingsinput[]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. This parameter is required for text type and subtitles text type track.

datanew_asset_settingsinput[]name
string

The name of the track containing a human-readable description. This value must be unique across all text type and subtitles text type tracks. The hls manifest will associate a subtitle text track with this value. For example, the value should be "English" for subtitles text track with language_code as en. This optional parameter should be used only for text type and subtitles text type tracks. If this parameter is not included, Mux will auto-populate based on the input[].language_code value.

datanew_asset_settingsinput[]closed_captions
boolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsinput[]passthrough
string

This optional parameter should be used for text type and subtitles text type tracks.

datanew_asset_settingsplayback_policy
array

An array of playback policy names that you want applied to this asset and available through playback_ids. Options include: "public" (anyone with the playback URL can stream the asset). And "signed" (an additional access token is required to play the asset). If no playback_policy is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy.

datanew_asset_settingspassthrough
string

Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. Max: 255 characters.

datanew_asset_settingsmp4_support
string
Possible values: "none""standard"

Specify what level (if any) of support for mp4 playback. In most cases you should use our default HLS-based streaming playback ({playback_id}.m3u8) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the Download your videos guide for more information.

datanew_asset_settingsnormalize_audio
boolean (default: false)

Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.

datanew_asset_settingsmaster_access
string
Possible values: "none""temporary"

Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the Download your videos guide for more information.

datanew_asset_settingstest
boolean

Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

dataaudio_only
boolean

The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted.

dataembedded_subtitles
array

Describes the embedded closed caption configuration of the incoming live stream.

dataembedded_subtitles[]name
string

A name for this live stream closed caption track.

dataembedded_subtitles[]passthrough
string

Arbitrary user-supplied metadata set for the live stream closed caption track. Max 255 characters.

dataembedded_subtitles[]language_code
string (default: en)

The language of the closed caption stream. Value must be BCP 47 compliant.

dataembedded_subtitles[]language_channel
string (default: cc1)
Possible values: "cc1"

CEA-608 caption channel to read data from.

datagenerated_subtitles
array

Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with generated_subtitles configured will automatically receive two text tracks. The first of these will have a text_source value of generated_live, and will be available with ready status as soon as the stream is live. The second text track will have a text_source value of generated_live_final and will contain subtitles with improved accuracy, timing, and formatting. 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.

datagenerated_subtitles[]name
string

A name for this live stream subtitle track.

datagenerated_subtitles[]passthrough
string

Arbitrary metadata set for the live stream subtitle track. Max 255 characters.

datagenerated_subtitles[]language_code
string (default: en)
Possible values: "en""en-US"

The language to generate subtitles in.

datagenerated_subtitles[]transcription_vocabulary_ids
array

Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included.

datareconnect_window
number (default: 60, minimum: 0, maximum: 1800)

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 reconnect before considering the live stream finished and completing the recorded asset. Max: 1800s (30 minutes).

Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the use_slate_for_standard_latency option.

datause_slate_for_standard_latency
boolean (default: false)

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 Latency stream.

datareconnect_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 live stream. If this is not set, the default slate media will be used.

datareduced_latencyDeprecated
boolean

This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this if you want lower latency for your live stream. See the Reduce live stream latency guide to understand the tradeoffs.

datasimulcast_targets
array

Each Simulcast Target contains configuration details to broadcast (or "restream") a live stream to a third-party streaming service. See the Stream live to 3rd party platforms guide.

datasimulcast_targets[]id
string

ID of the Simulcast Target

datasimulcast_targets[]passthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datasimulcast_targets[]status
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datasimulcast_targets[]stream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

datasimulcast_targets[]url
string

RTMP hostname including the application name for the third party live streaming service.

datalatency_modeBeta
string
Possible values: "low""reduced""standard"

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. The Low Latency value is a beta feature. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/

datatest
boolean

True means this live stream is a test live stream. Test live streams can be used to help evaluate the Mux Video APIs for free. There is no limit on the number of test live streams, but they are watermarked with the Mux logo, and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.

datamax_continuous_duration
integer (default: 43200, minimum: 60, maximum: 43200)

The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.

dataconnected
boolean
datarecording
boolean
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This live stream event fires when Mux has encountered a non-fatal issue. There is no disruption to the live stream ingest and playback. At this time, the event is only fired when Mux is unable to download an image from the URL set as reconnect_slate_url parameter value.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the Live Stream. Max 255 characters.

datastream_key
string

Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.

dataactive_asset_id
string

The Asset that is currently being created if there is an active broadcast.

datastatus
string
Possible values: "active""idle""disabled"

idle indicates that there is no active broadcast. active indicates that there is an active broadcast and disabled status indicates that no future RTMP streams can be published.

datapassthrough
string

Arbitrary user-supplied metadata set for the asset. Max 255 characters.

datawarning
object
datawarningtype
string
datawarningmessage
string
attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A new simulcast target has been created for this live stream.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

ID of the Simulcast Target

datapassthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datastatus
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datastream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

dataurl
string

RTMP hostname including the application name for the third party live streaming service.

datalive_stream_id
string

Unique identifier for the Live Stream. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

When the parent live stream is 'disconnected', all simulcast targets will have be 'idle'.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

ID of the Simulcast Target

datapassthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datastatus
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datastream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

dataurl
string

RTMP hostname including the application name for the third party live streaming service.

datalive_stream_id
string

Unique identifier for the Live Stream. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

When the parent live stream fires 'connected' then the simulcast targets transition to 'starting'.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

ID of the Simulcast Target

datapassthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datastatus
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datastream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

dataurl
string

RTMP hostname including the application name for the third party live streaming service.

datalive_stream_id
string

Unique identifier for the Live Stream. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This fires when Mux has successfully connected to the simulcast target and has begun pushing content to that third party.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

ID of the Simulcast Target

datapassthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datastatus
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datastream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

dataurl
string

RTMP hostname including the application name for the third party live streaming service.

datalive_stream_id
string

Unique identifier for the Live Stream. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This fires when Mux has encountered an error either while attempting to connect to the third party streaming service or while broadcasting. Mux will try to re-establish the connection and if it does successfully the simulcast target will transition back to 'broadcasting'.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

ID of the Simulcast Target

datapassthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datastatus
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datastream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

dataurl
string

RTMP hostname including the application name for the third party live streaming service.

datalive_stream_id
string

Unique identifier for the Live Stream. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This simulcast target has been deleted.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

ID of the Simulcast Target

datapassthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datastatus
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datastream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

dataurl
string

RTMP hostname including the application name for the third party live streaming service.

datalive_stream_id
string

Unique identifier for the Live Stream. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

This simulcast target has been updated.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

ID of the Simulcast Target

datapassthrough
string

Arbitrary user-supplied metadata set when creating a simulcast target.

datastatus
string
Possible values: "idle""starting""broadcasting""errored"

The current status of the simulcast target. See Statuses below for detailed description.

  • idle: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state.
  • starting: The simulcast target transitions into this state when the parent live stream transition into connected state.
  • broadcasting: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service.
  • errored: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
datastream_key
string

Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.

dataurl
string

RTMP hostname including the application name for the third party live streaming service.

datalive_stream_id
string

Unique identifier for the Live Stream. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A new space has been created.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the space. Max 255 characters.

datacreated_at
integer
datatype
string (default: server)
Possible values: "server"

Specify the network architecture of the space. In server spaces, all video travels through Mux's video infrastructure. Defaults to server if not set.

datastatus
string
Possible values: "idle""active"

The status of the space. Spaces are idle when there are no participants connected, and active when there are participants connected.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the space details and related webhooks. Max: 255 characters.

databroadcasts
array

An array of broadcast destinations.

databroadcasts[]id
string

Unique identifier for the broadcast. Max 255 characters.

databroadcasts[]passthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

databroadcasts[]live_stream_id
string

The ID of the live stream that the broadcast will be sent to.

databroadcasts[]status
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

databroadcasts[]layout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databroadcasts[]background
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

databroadcasts[]resolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataactive_session_id
string

Unique identifier for the current lifecycle of the space. Only set when the space is active and is set to a new value each time the space transitions from idle to active. This value is useful for logging and debugging issues. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A space has been deleted.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the space. Max 255 characters.

datacreated_at
integer
datatype
string (default: server)
Possible values: "server"

Specify the network architecture of the space. In server spaces, all video travels through Mux's video infrastructure. Defaults to server if not set.

datastatus
string
Possible values: "idle""active"

The status of the space. Spaces are idle when there are no participants connected, and active when there are participants connected.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the space details and related webhooks. Max: 255 characters.

databroadcasts
array

An array of broadcast destinations.

databroadcasts[]id
string

Unique identifier for the broadcast. Max 255 characters.

databroadcasts[]passthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

databroadcasts[]live_stream_id
string

The ID of the live stream that the broadcast will be sent to.

databroadcasts[]status
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

databroadcasts[]layout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databroadcasts[]background
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

databroadcasts[]resolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataactive_session_id
string

Unique identifier for the current lifecycle of the space. Only set when the space is active and is set to a new value each time the space transitions from idle to active. This value is useful for logging and debugging issues. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A space has transitioned into the active state. Spaces become active when there are one or more participants connected.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the space. Max 255 characters.

datacreated_at
integer
datatype
string (default: server)
Possible values: "server"

Specify the network architecture of the space. In server spaces, all video travels through Mux's video infrastructure. Defaults to server if not set.

datastatus
string
Possible values: "idle""active"

The status of the space. Spaces are idle when there are no participants connected, and active when there are participants connected.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the space details and related webhooks. Max: 255 characters.

databroadcasts
array

An array of broadcast destinations.

databroadcasts[]id
string

Unique identifier for the broadcast. Max 255 characters.

databroadcasts[]passthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

databroadcasts[]live_stream_id
string

The ID of the live stream that the broadcast will be sent to.

databroadcasts[]status
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

databroadcasts[]layout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databroadcasts[]background
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

databroadcasts[]resolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataactive_session_id
string

Unique identifier for the current lifecycle of the space. Only set when the space is active and is set to a new value each time the space transitions from idle to active. This value is useful for logging and debugging issues. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A space has transitioned into the idle state. Spaces become idle when there are zero participants connected.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the space. Max 255 characters.

datacreated_at
integer
datatype
string (default: server)
Possible values: "server"

Specify the network architecture of the space. In server spaces, all video travels through Mux's video infrastructure. Defaults to server if not set.

datastatus
string
Possible values: "idle""active"

The status of the space. Spaces are idle when there are no participants connected, and active when there are participants connected.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the space details and related webhooks. Max: 255 characters.

databroadcasts
array

An array of broadcast destinations.

databroadcasts[]id
string

Unique identifier for the broadcast. Max 255 characters.

databroadcasts[]passthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

databroadcasts[]live_stream_id
string

The ID of the live stream that the broadcast will be sent to.

databroadcasts[]status
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

databroadcasts[]layout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databroadcasts[]background
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

databroadcasts[]resolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataactive_session_id
string

Unique identifier for the current lifecycle of the space. Only set when the space is active and is set to a new value each time the space transitions from idle to active. This value is useful for logging and debugging issues. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A space has been updated.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the space. Max 255 characters.

datacreated_at
integer
datatype
string (default: server)
Possible values: "server"

Specify the network architecture of the space. In server spaces, all video travels through Mux's video infrastructure. Defaults to server if not set.

datastatus
string
Possible values: "idle""active"

The status of the space. Spaces are idle when there are no participants connected, and active when there are participants connected.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the space details and related webhooks. Max: 255 characters.

databroadcasts
array

An array of broadcast destinations.

databroadcasts[]id
string

Unique identifier for the broadcast. Max 255 characters.

databroadcasts[]passthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

databroadcasts[]live_stream_id
string

The ID of the live stream that the broadcast will be sent to.

databroadcasts[]status
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

databroadcasts[]layout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databroadcasts[]background
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

databroadcasts[]resolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataactive_session_id
string

Unique identifier for the current lifecycle of the space. Only set when the space is active and is set to a new value each time the space transitions from idle to active. This value is useful for logging and debugging issues. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A new broadcast has been created, either via the create space broadcast API call, or via the top level create space API call.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the broadcast. Max 255 characters.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

datalive_stream_id
string

The ID of the live stream that the broadcast will be sent to.

datastatus
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

datalayout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databackground
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

dataresolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataspace_id
string

Unique identifier for the space. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A broadcast has transitioned into to the idle state.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the broadcast. Max 255 characters.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

datalive_stream_id
string

The ID of the live stream that the broadcast will be sent to.

datastatus
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

datalayout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databackground
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

dataresolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataspace_id
string

Unique identifier for the space. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A broadcast has transitioned into to the streaming state.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the broadcast. Max 255 characters.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

datalive_stream_id
string

The ID of the live stream that the broadcast will be sent to.

datastatus
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

datalayout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databackground
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

dataresolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataspace_id
string

Unique identifier for the space. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull

A broadcast has been deleted.

NameTypeDescription
type
string

Type for the webhook event

id
string

Unique identifier for the event

created_at
string

Time the event was created

object
object
objecttype
string
objectid
string
environment
object
environmentname
string

Name for the environment

environmentid
string

Unique identifier for the environment

data
object
dataid
string

Unique identifier for the broadcast. Max 255 characters.

datapassthrough
string

Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters.

datalive_stream_id
string

The ID of the live stream that the broadcast will be sent to.

datastatus
string
Possible values: "idle""active"

The status of the broadcast. You can start and stop broadcasts with the start and stop APIs.

datalayout
string (default: gallery)
Possible values: "gallery""active-speaker"

The layout used when broadcasting the space. Defaults to gallery if not set.

databackground
string

URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution.

dataresolution
string (default: 1920x1080)
Possible values: "1920x1080""1280x720""1080x1920""720x1280""1080x1080""720x720"

The resolution of the composited video sent to the live stream. Defaults to 1920x1080 if not set.

dataspace_id
string

Unique identifier for the space. Max 255 characters.

attempts
array

Attempts for sending out the webhook event

attempts[]webhook_id
integer

Unique identifier for the webhook

attempts[]response_status_code
integer

HTTP response status code for the webhook attempt

attempts[]response_headers
object

HTTP response headers for the webhook attempt

attempts[]response_body
object

HTTP response body for the webhook attempt

attempts[]max_attempts
integer

Max attempts number for the webhook attempt

attempts[]id
string

Unique identifier for the webhook attempt

attempts[]created_at
string

Time the webhook request was attempted

attempts[]address
string

URL address for the webhook attempt

request_idDeprecated
stringnull
accessorDeprecated
stringnull
accessor_sourceDeprecated
stringnull