Sign in
On this page
Documentationmodcloud CLILimits and API behavior

Limits and API behavior

Review account limits, API limits, and modcloud CLI behavior.

Account and deployment limits

  • The account limit service reports a maximum of 3 application slots.
  • Base storage is 300 MB per free slot and 2 GB per active Pro slot; storage bonuses may add capacity.
  • The deployment ZIP upload endpoint accepts files up to 300 MB.
  • Reading an app file with files read is limited to 5 MB and decodes content as UTF-8. Downloads use the binary file endpoint; a whole-slot or directory archive is limited to 300 MB of source data. A file write request must fit the 10 MB API JSON body limit and the slot's remaining storage.
  • A slot can have up to 50 environment variables, with a maximum value length of 10,000 characters.
  • A token owner can have up to 10 active API tokens.

API request limits

API rate limits are enforced per user. A rate-limited response uses HTTP 429 and includes a Retry-After value.

Request groupLimit
General API limit120 requests per authenticated user per minute.
Start, stop, restart, deploy, and logs20 requests per action per authenticated user per minute.

Device authorization limits

A device request expires after 10 minutes. The CLI starts polling every 3 seconds and adjusts the interval when the service returns slow_down.

If you deny the request or it expires, the CLI stops polling immediately and reports that state.

The service allows 30 login starts per IP per minute, 25 polls per device code per minute before asking the CLI to slow down, and 20 browser request-info checks per IP per minute.

Current command limitations

  • modvc login --switch makes the approved account active but retains previous profiles. modvc logout clears the active credential fields but does not remove those saved profiles.
  • modvc config set does not currently parse the documented optional slot, key, and value arguments reliably. Avoid using it to change settings.
  • modvc deploy --json does not switch deployment output to JSON; deployment messages remain human-readable.
  • For modvc files write, use--file or include a slot when supplying positional content.
  • For env push or env pull, specify the slot when using a custom file path that does not exist yet and does not include.env; otherwise the path can be parsed as the slot.
  • Detailed modvc help <command> output is available for deploy, apps, status, logs, env, config, and rebuild. Other commands show general help.
  • The shell installer is POSIX /bin/sh for Linux, macOS, Termux, and WSL. It does not run directly in Windows PowerShell; use the documented npm tarball command there.