Create asset
documentedCreate a new Mux Video asset.
POST /video/v1/assetsVideo APIno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.mux.com/video/v1/assets" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-u {{MUX_TOKEN_ID}}:{{MUX_TOKEN_SECRET}} \
-d '{"inputs": [{"url": "{{$input_url}}"}], "playback_policies": ["{{$playback_policies}}"], "video_quality": "{{$video_quality}}"}'