Skip to the content
Vaubaan Gateway

Plugins / Mux

Mux 0.1.0

The Mux plugin lets a Vaubaan Gateway mission use Mux without handing the agent a credential. Mux video through its REST API: list and read videos and live streams, import a video from a URL, publish or withdraw it, delete it, run live streams, and read playback metrics. Stream keys are never shown.

Version 0.1.0 · 7 permissions · 4 macro-actions · 17 tools · 0 gateways run this plugin (over the last 90 days).

1 · The model

How Mux is modelled

1 plane, 8 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.

1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment, in the model only

Account

One account is one Mux access token, which works in one environment: the account's one resource, labelled by its owner.

Resource

Importing, publishing a video publicly, deleting a video and running live streams are separate permissions; stream keys never reach the agent.

Environment

Rule
No permission of this service depends on an environment: each is held once, whatever the resource.
Known
none
Carried by
video.environment, in the model only

2 · Macro-actions

What an agent does at Mux: 4 macro-actions

A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.

  1. 1

    Read videos

    Read videos, uploads, live streams and playback metrics.

    Finding a video, checking that an upload finished or a live stream is up, reading how playback goes for viewers. Nothing changes at Mux, and stream keys never reach the agent.

    1 permission

  2. 2

    Import and publish videos

    Import videos, open uploads, add or remove playback ids, make a video public.

    Bringing a video in from a URL or an upload, then deciding who can watch it: a signed playback id for the product's own players, a public one for anyone with the link. Imports are billed; a public video can be watched and copied by anyone.

    3 permissions

  3. 3

    Delete videos

    Delete videos for good.

    Removing a video Mux should no longer hold. Nothing brings it back, and every page that plays it breaks.

    1 permission

  4. 4

    Run live streams

    Create, enable, disable, reset and delete live streams.

    Preparing a live stream and switching it on or off around an event. Disabling one ends the broadcast; resetting its key cuts off the encoder until it is given the new key from the Mux dashboard.

    2 permissions

3 · The map

The map

7 permissions of 4 macro-actions, in the four rows of the tree. For the chosen trust level, each cell gives yes, ask me or no, and the quota a day.

Trust level

yes runs freelyask me ask me firstno not included

Mild actions run freely; sensitive or costly ones ask first; irreversible ones are left out.Up to sensitive actions run freely; costly and irreversible ones ask first. Limits ×3.Everything but irreversible actions runs freely; those ask first. Limits ×10.

A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.

Mux permissions by macro-action and row of the tree, with what the chosen trust level does and the quota a day
RiskRead videosRead videos, uploads, live streams and playback metrics.Import and publish videosImport videos, open uploads, add or remove playback ids, make a video public.Delete videosDelete videos for good.Run live streamsCreate, enable, disable, reset and delete live streams.
Cannot be repaired

Careful: no. Trusting, Autonomous: ask me.

None

None

  • Delete a video irreversibleWhy it sits here: The video and its renditions are deleted at Mux; nothing restores them, and every player naming it stops working. mux.asset-delete

    noask me · 30 a dayask me · 100 a day

  • Delete a live stream irreversibleWhy it sits here: The stream, its key and its playback ids are gone; encoders and players configured for it stop working. Its recordings stay as videos. mux.live-delete

    noask me · 15 a dayask me · 50 a day

Repairable, at a price

Careful, Trusting: ask me. Autonomous: runs freely.

None

  • Add or remove a playback id costly to undoWhy it sits here: Removing a playback id breaks every player and page that uses it until they are given another one. mux.playback-write

    ask me · 50 a dayask me · 150 a dayyes · 500 a day

  • Make a video or live stream public costly to undoWhy it sits here: Anyone holding the playback URL can watch, with no token; removing the playback id later does not recall what was watched or copied. mux.playback-public

    ask me · 20 a dayask me · 60 a dayyes · 200 a day

None

  • Create, enable, disable a live stream, or reset its key costly to undoWhy it sits here: Disabling a stream ends a broadcast in progress, and resetting its key cuts off the encoder using the old one; a running stream is billed. mux.live-write

    ask me · 20 a dayask me · 60 a dayyes · 200 a day

Worth a look

Careful: ask me. Trusting, Autonomous: runs freely.

None

  • Import a video from a URL, open an upload, or rename a video moderate costWhy it sits here: Mux downloads the URL the agent names, from wherever it points, and bills the encoding and storage of what it gets. The video is playable by nobody until a playback id is added. mux.asset-write

    ask me · 50 a dayyes · 150 a dayyes · 500 a day

None

None

Harmless

Runs freely at every level.

  • Read videos, uploads, live streams and playback metricsWhy it sits here: Video metadata and Mux Data aggregates come back to the agent; stream keys are withheld. Nothing changes at Mux. mux.read-video

    yes · 1,000 a dayyes · 3,000 a dayyes · 10,000 a day

None

None

None

Careful: runs freely 1, ask me first 4, not included 2. Trusting: runs freely 2, ask me first 5. Autonomous: runs freely 5, ask me first 2. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.

4 · A few calls

A few calls, classified by the plugin

20 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action and the first the catalog refuses at Careful. The 20 calls, as code.

The callThe plugin seesThe catalog answersA Careful mission
mux__list_assets {}
  • mux.environment[env-prod-1].asset[*].R
  • Read videos, uploads, live streams and playback metrics mux.read-video
yes
mux__create_asset {"url":"https://cdn.example.org/launch.mp4","title":"Launch"}
  • mux.environment[env-prod-1].asset[*].W
  • Import a video from a URL, open an upload, or rename a video mux.asset-write
ask me
mux__create_live_stream {}
  • mux.environment[env-prod-1].live-stream[*].W
  • Create, enable, disable a live stream, or reset its key mux.live-write
ask me
mux__delete_asset {"asset_id":"Xw3BnVq01oa4cE00x8c1"}
  • mux.environment[env-prod-1].asset[Xw3BnVq01oa4cE00x8c1].delete.W
  • Import a video from a URL, open an upload, or rename a video mux.asset-write
  • Delete a video mux.asset-delete
no

5 · Anything else

Anything else

A call no permission covers touches mux.uncategorized-write instead of slipping through. No macro-action holds it; a person ticks it knowingly.

PermissionRiskCareful ×1Trusting ×3Autonomous ×10
Uncategorized writeWhy it sits here: Catch-all for writes without a dedicated entry. No tool of this plugin reaches it; seeing it means an entry is missing. mux.uncategorized-writeRepairable, at a price costly to undoask me · 50 a dayask me · 150 a dayyes · 500 a day

6 · Tools

Tools

17 tools. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.

17 tools · scroll the list

ToolWhat it doesUsually touches
mux__list_assetsList videosmux.read-video
mux__get_assetRead a videomux.read-video
mux__create_assetImport a video from a URLmux.asset-write
mux__update_assetRename a videomux.asset-write
mux__delete_assetDelete a videomux.asset-write, mux.asset-delete
mux__create_playback_idPublish a videomux.playback-write, mux.playback-public
mux__delete_playback_idWithdraw a playback idmux.playback-write
mux__create_direct_uploadOpen an uploadmux.asset-write
mux__get_direct_uploadRead an uploadmux.read-video
mux__list_live_streamsList live streamsmux.read-video
mux__get_live_streamRead a live streammux.read-video
mux__create_live_streamCreate a live streammux.playback-write, mux.live-write
mux__enable_live_streamEnable a live streammux.live-write
mux__disable_live_streamDisable a live streammux.live-write
mux__reset_stream_keyReset a stream keymux.live-write
mux__delete_live_streamDelete a live streammux.live-write, mux.live-delete
mux__get_metricRead a playback metricmux.read-video

7 · Connecting an account

Connecting an account

1 of 3 · a key you create and paste access token

An access token the person creates at Mux and pastes once; nobody declares anything beforehand.

Environment and permissions

One environment, with Mux Video Read and Write and Mux Data Read. A token works in one environment: connect one account per environment. This gateway gives a mission only the permissions it names.

  1. Sign in to the Mux dashboard as an admin of the organization.
  2. SettingsAccess TokensGenerate new tokenOpen the access tokens page and start a new token. (open)
  3. EnvironmentPermissionsChoose the environment the agents will work in, and tick the permissions below.
  4. Generate the token, copy its ID and Secret Key, and paste both here. Mux shows the secret once.
Permission at MuxAccess
Mux Videoread-write
Mux Dataread
Where
https://dashboard.mux.com/settings/access-tokens
Expiry
Mux access tokens do not expire: revoke the token on the Access Tokens page to end this account.
The connect page asks
Access Token ID and Secret Key (secret)
The service's documentation
https://www.mux.com/docs/core/make-api-requests
Disconnecting
In the Mux dashboard, open Settings, then Access Tokens, and revoke the token this gateway was given.

8 · Health

Health

0 gateways run this plugin (over the last 90 days).

No version of this plugin has reported a call or a gateway yet.

A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.

Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.

Last changed 2026-12-02. This page as Markdown: /plugins/mux.md