Get Upload Limits
Changed onMachine-readable upload size limits.
Exists so a client can route (or refuse) BEFORE sending bytes: the gateway rejects an oversized POST /uploads with a bare 413 that carries no limit and no envelope, so the ceiling is not discoverable from the failure itself.
max_file_bytes is per-caller, not per-deployment since ENG-6169 — a non-paying workspace gets the free-tier ceiling. It has to be resolved the same way the upload handlers resolve it, or this endpoint advertises a limit the very next request refuses, which is worse than not publishing one at all. Cache it per API key, not globally.
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/uploads/limits
- AuthHTTP bearer
Headers
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Response
Successful Response
Example response
{
"max_direct_upload_bytes": 33554432,
"max_file_bytes": 262144000
}Changes
- info
endpoint added
- info