Mux · Arazzo Workflow

Mux Account Delivery Usage Audit

Version 1.0.0

Confirm the active environment with whoami, then list per-asset delivery usage for a timeframe to audit billed delivery.

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

Provider

mux-com

Workflows

account-delivery-usage
Confirm the environment, then list delivery usage for a timeframe.
Reads whoami to confirm the environment, then lists per-asset delivery usage over the supplied timeframe.
2 steps inputs: limit, timeframe outputs: environmentName, organizationName, usage
1
whoami
Read the whoami details to confirm the organization and environment the access token belongs to before pulling usage.
2
listDeliveryUsage
List per-asset delivery usage over the timeframe so billed delivery seconds can be audited.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Mux Account Delivery Usage Audit
  summary: Confirm the active environment with whoami, then list per-asset delivery usage for a timeframe to audit billed delivery.
  description: >-
    A billing and reporting pattern that grounds a delivery usage pull in the
    correct Mux environment. The workflow reads the whoami details to confirm the
    organization and environment the access token belongs to, then lists per-asset
    delivery usage over a timeframe so billed seconds of delivery can be audited
    against expectations. 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
sourceDescriptions:
- name: deliveryUsageApi
  url: ../openapi/mux-com-delivery-usage-api-openapi.yml
  type: openapi
- name: utilitiesApi
  url: ../openapi/mux-com-utilities-api-openapi.yml
  type: openapi
workflows:
- workflowId: account-delivery-usage
  summary: Confirm the environment, then list delivery usage for a timeframe.
  description: >-
    Reads whoami to confirm the environment, then lists per-asset delivery usage
    over the supplied timeframe.
  inputs:
    type: object
    properties:
      timeframe:
        type: array
        description: Time window for delivery usage as two epoch second timestamps (start, end).
        items:
          type: integer
      limit:
        type: integer
        description: Maximum number of delivery usage rows to return.
        default: 100
  steps:
  - stepId: whoami
    description: >-
      Read the whoami details to confirm the organization and environment the
      access token belongs to before pulling usage.
    operationId: get-whoami
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      environmentName: $response.body#/data/environment_name
      organizationName: $response.body#/data/organization_name
  - stepId: listDeliveryUsage
    description: >-
      List per-asset delivery usage over the timeframe so billed delivery seconds
      can be audited.
    operationId: list-delivery-usage
    parameters:
    - name: timeframe[]
      in: query
      value: $inputs.timeframe
    - name: limit
      in: query
      value: $inputs.limit
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      usage: $response.body#/data
      totalRowCount: $response.body#/total_row_count
  outputs:
    environmentName: $steps.whoami.outputs.environmentName
    organizationName: $steps.whoami.outputs.organizationName
    usage: $steps.listDeliveryUsage.outputs.usage

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-account-delivery-usage-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.