Mux · Arazzo Workflow

Mux Asset Tag and Cleanup

Version 1.0.0

Create an asset, wait until ready, attach title and external-id metadata, then delete it to demonstrate full lifecycle management.

1 workflow 1 source API 1 provider
View Spec View on GitHub Video InfrastructureVideo StreamingLive StreamingVideo AnalyticsVideo AIEncodingArazzoWorkflows

Provider

mux-com

Workflows

asset-tag-and-cleanup
Create a ready asset, tag it with metadata, then delete it.
Creates an asset, waits for ready, updates its metadata, and deletes the asset.
4 steps inputs: creatorId, externalId, inputUrl, title outputs: assetId, meta
1
createAsset
Create a new asset from the source URL to tag and then clean up.
2
waitForReady
Poll the asset until its status reaches ready before tagging it.
3
tagAsset
Update the asset with title, creator, and external-id metadata so it can be correlated with your own systems.
4
deleteAsset
Delete the asset to release storage now that the lifecycle is complete.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Mux Asset Tag and Cleanup
  summary: Create an asset, wait until ready, attach title and external-id metadata, then delete it to demonstrate full lifecycle management.
  description: >-
    Demonstrates end-to-end Mux Video asset lifecycle management for transient or
    test content. The workflow creates an asset from a source URL, waits for it
    to reach ready, updates the asset with title, creator, and external-id
    metadata so it can be correlated with your own systems, and then deletes the
    asset to release storage. Every step spells out its request inline so the
    flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-3710
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-3710
      capability_name: Media Asset Management
      spec: mux-com-assets-api-openapi.yml
      confidence: 0.9
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: assetsApi
  url: ../openapi/mux-com-assets-api-openapi.yml
  type: openapi
workflows:
- workflowId: asset-tag-and-cleanup
  summary: Create a ready asset, tag it with metadata, then delete it.
  description: >-
    Creates an asset, waits for ready, updates its metadata, and deletes the
    asset.
  inputs:
    type: object
    required:
    - inputUrl
    - title
    - externalId
    properties:
      inputUrl:
        type: string
        description: A publicly accessible URL to the source video file Mux should ingest.
      title:
        type: string
        description: Title metadata to attach to the asset.
      externalId:
        type: string
        description: External id linking the asset to your own data.
      creatorId:
        type: string
        description: Creator id to track who produced the asset.
        default: unknown
  steps:
  - stepId: createAsset
    description: >-
      Create a new asset from the source URL to tag and then clean up.
    operationId: createAsset
    requestBody:
      contentType: application/json
      payload:
        inputs:
        - url: $inputs.inputUrl
        playback_policies:
        - public
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      assetId: $response.body#/data/id
  - stepId: waitForReady
    description: >-
      Poll the asset until its status reaches ready before tagging it.
    operationId: getAsset
    parameters:
    - name: ASSET_ID
      in: path
      value: $steps.createAsset.outputs.assetId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.data.status == "ready"
      type: jsonpath
    retryAfter: 5
    retryLimit: 60
    outputs:
      assetId: $response.body#/data/id
  - stepId: tagAsset
    description: >-
      Update the asset with title, creator, and external-id metadata so it can be
      correlated with your own systems.
    operationId: updateAsset
    parameters:
    - name: ASSET_ID
      in: path
      value: $steps.waitForReady.outputs.assetId
    requestBody:
      contentType: application/json
      payload:
        meta:
          title: $inputs.title
          creator_id: $inputs.creatorId
          external_id: $inputs.externalId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      meta: $response.body#/data/meta
  - stepId: deleteAsset
    description: >-
      Delete the asset to release storage now that the lifecycle is complete.
    operationId: deleteAsset
    parameters:
    - name: ASSET_ID
      in: path
      value: $steps.waitForReady.outputs.assetId
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      statusCode: $statusCode
  outputs:
    assetId: $steps.waitForReady.outputs.assetId
    meta: $steps.tagAsset.outputs.meta

Work with this as data

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

MCP server

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

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/mux-com-asset-tag-and-cleanup-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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