Skip to Content

Limits and defaults

Rate limits, sizes and the defaults a ClipMux instance enforces.

Rate limits

A refused request is 429 rate_limited with Retry-After (seconds), and retry_after in the error details. Wait that long, then retry. Limits are per server process.

SurfaceCounted byLimit
Integration API (an API key, or the owner's session acting as an app)key20 requests a second, bursts of 200. Of those, writes (POST, DELETE) 2 a second, bursts of 60.
GET /v1/eventskey4 long-polls at once.
/v1/uploads/{id}/* with an upload tokenupload10 requests a second, bursts of 50.
POST /v1/app-pairingsaddress20 an hour, and at most 10 waiting at once (too_many_pairings).
POST /v1/app-pairings/polladdress2 a second, bursts of 4.
POST /s/{secret}/playbackaddress2 successes a second, bursts of 20.
Playback (/v/, /p/)addressOnly refusals count: after 300 answers of 401, 403 or 404 in 5 minutes, every playback request from that address gets 429 until they age out. Successful playback is never limited.
Owner sign-inaddress, and overall5 failed sign-ins per address and 20 overall in 15 minutes. A browser the owner has signed in from before skips the overall limit.

An address is the client's as the trusted proxy reports it (CLIPMUX_TRUSTED_PROXIES); IPv6 addresses are grouped by their /64.

Uploads and videos

WhatLimit
Upload size312.5 GiB (10,000 parts of 32 MiB), or CLIPMUX_MAX_UPLOAD_BYTES if lower.
Part size32 MiB, the last part smaller.
Part URLs per request100, each valid for an hour.
An upload left idleExpires after 24 hours, as upload_expired.
titleOne line, up to 200 characters.
passthroughUp to 255 bytes.
Playback IDs per video1000.
Renditions2160p, 1440p, 1080p, 720p, 480p and 360p, never above the source.
Share link nameOne line, up to 100 characters.

Requests

WhatLimit
Request bodyJSON, up to 64 KiB.
Idempotency-KeyUp to 255 bytes.
Page sizeUp to 100 items, with next_cursor.
GET /v1/events long-pollUp to 25 seconds.

Playback tokens

WhatDefault
Longest token lifetime (exp - iat)7 days. GET /v1/app returns the instance's value as max_token_lifetime_seconds.
SigningES256, with the app's signing key; the kid header names it.
Audiencesv plays everything, including the content key; t fetches only the poster.

Webhooks

WhatDefault
Timestamp tolerance300 seconds.
RetriesBack off for 24 hours; then catch up with GET /v1/assets?updated_since=.
SuccessAny 2xx. Redirects are not followed.

Analytics

WhatDefault
Ranges24h, 7d, 30d and 90d.
History kept180 days.

On this page