Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- A token is scoped to one Mux environment (development and production differ); a read-only token is enough for every call here.
- Paging is page/limit (limit max 100); only list assets also takes a cursor (next_cursor, null at the end).
- Rate limits: Video GETs refill 5/s (high-priority token) or 1/s (low); the Data API allows about 5 requests per second. 429 when exceeded; see x-ratelimit-remaining.
- Data API timeframes are epoch seconds or durations like 24:hours; array parameters are sent as repeated name[] query keys.