Skip to content
For LLMsView as Markdown·

Mux

Video infrastructure API for live streaming, on-demand video hosting, and analytics.

DetailValue
CategoryMedia
Base URLhttps://api.mux.com
AuthenticationBasic Auth
Endpoints6
Connector keymux

Using Mux in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Mux from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
POST /video/v1/assetsCreate a video asset
GET /video/v1/assetsList video assets
GET /video/v1/assets/{ASSET_ID}Get an asset
DELETE /video/v1/assets/{ASSET_ID}Delete an asset
POST /video/v1/live-streamsCreate a live stream
GET /video/v1/live-streamsList live streams

Each endpoint is documented in full below. Use the outline on the right to jump to one.

POST /video/v1/assets

Create a video asset

DetailValue
Operation IDmedia.createAsset
MethodPOST
Path/video/v1/assets

Parameters

No parameters.

Request Body

FieldType
inputarray
playback_policyarray

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Mux connection from the Connection dropdown.
  3. In the Operation dropdown, select media.createAsset.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mux API reference.

GET /video/v1/assets

List video assets

DetailValue
Operation IDmedia.listAssets
MethodGET
Path/video/v1/assets

Parameters

NameLocationTypeRequired
limitqueryintegerNo
pagequeryintegerNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Mux connection from the Connection dropdown.
  3. In the Operation dropdown, select media.listAssets.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mux API reference.

GET /video/v1/assets/{ASSET_ID}

Get an asset

DetailValue
Operation IDmedia.getAsset
MethodGET
Path/video/v1/assets/{ASSET_ID}

Parameters

NameLocationTypeRequired
ASSET_IDpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Mux connection from the Connection dropdown.
  3. In the Operation dropdown, select media.getAsset.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mux API reference.

DELETE /video/v1/assets/{ASSET_ID}

Delete an asset

DetailValue
Operation IDmedia.deleteAsset
MethodDELETE
Path/video/v1/assets/{ASSET_ID}

Parameters

NameLocationTypeRequired
ASSET_IDpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Mux connection from the Connection dropdown.
  3. In the Operation dropdown, select media.deleteAsset.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mux API reference.

POST /video/v1/live-streams

Create a live stream

DetailValue
Operation IDmedia.createLiveStream
MethodPOST
Path/video/v1/live-streams

Parameters

No parameters.

Request Body

FieldType
playback_policyarray
new_asset_settingsobject

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Mux connection from the Connection dropdown.
  3. In the Operation dropdown, select media.createLiveStream.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mux API reference.

GET /video/v1/live-streams

List live streams

DetailValue
Operation IDmedia.listLiveStreams
MethodGET
Path/video/v1/live-streams

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Mux connection from the Connection dropdown.
  3. In the Operation dropdown, select media.listLiveStreams.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Mux API reference.