Directives (v0)

Trigger a directive run

Changed on

Deprecated: use POST /robots/v1/directives/{directive_id}/runs instead. Starts a directive run against a specific Mux asset. The directive engine dispatches the configured workflows and tracks the run to terminal.

post/robots/v0/directives/{DIRECTIVE_ID}/runs

Request

  • Base URL
    https://api.mux.com
  • Auth
    • HTTP basic
    • or HTTP bearer

Path parameters

DIRECTIVE_IDstring required

Directive ID returned by directive creation or listing (drv_...).

Request body

asset_idstring required

The bare Mux asset ID to run the directive against, as returned by the Mux Video API.

Example request

{
  "asset_id": "abc123def456"
}

Response

Directive run started

Changes