Self-hosting
Limits
Every operational limit — upload sizes, spreadsheet rows and cells, data table caps, report, workflow, agent and API limits — with its default, safe range and environment variable; change them in Settings → Limits, with usertasks-admin limits or the API, per instance or per workspace, without a redeploy.
On this page
UserTasks bounds the work one request, job or workspace can do: the largest upload, the rows and cells of an imported spreadsheet, how long a data table query may run, how many steps a workflow run may take, how many agent runs a person may start a minute. Every one of those limits is listed below with its default, its safe range and the environment variable that sets it. Instance administrators can change them without a redeploy:
- Settings → Limits (instance administrators:
INSTANCE_ADMIN_EMAILSorusertasks-admin instance-admins add): search, see where each value comes from, change it, reset it to the default, override it for one workspace, and see who changed what. usertasks-admin limits list | get | set | reseton the server, for scripts and air-gapped installs./api/v1/instance/limits(usertasks instance limits,limit,limit-set,limit-reset,limits-history) with an instance administrator's own API key or sign-in.

A change reaches every server within about 30 seconds (at once with a shared cache store: CACHE_PROVIDER=postgres or redis). Until something is changed every limit keeps exactly the value it had before limits were configurable.
Which value applies#
| Order | Source | Set with |
|---|---|---|
| 1 | Pinned environment value | LIMITS_PINNED=key1,key2 (or *): those limits use their environment variable (or the default) and are locked in the UI, the CLI and the API |
| 2 | Workspace override | Settings → Limits with a workspace picked, usertasks-admin limits set <key> <value> --tenant <workspace id>, or the API's workspace_id — only for limits marked per workspace |
| 3 | Instance setting | Settings → Limits, usertasks-admin limits set <key> <value>, PUT /api/v1/instance/limits/{key} (stored as the limits.<key> instance setting) |
| 4 | Environment variable | The variable in the table (existing variables such as FORM_ATTACHMENT_MAX_MB keep working; the others are LIMIT_<KEY>) |
| 5 | Default | — |
Every value is clamped into the safe range. The range's ceiling is a hard limit for memory, the deployment platform or the database (the table says why); Settings → Limits warns when a value is near it, and when it is above what the platform allows (on Vercel, request bodies stop at about 4.5 MB and functions at their time limit, whatever a limit says). An environment value below the minimum is clamped up, except zero or negative values where they are not allowed, which are ignored (the default applies).
Who can change limits. Instance administrators only. No workspace role — not even a workspace owner — can read or change them, so a workspace cannot raise its own limits; an instance administrator can give one workspace more (or less) with an override.
Audit. Every change, no-op and refused change is recorded in the instance admin audit trail (/api/v1/instance/audit, action limits.*) with who, when, the old and the new value and the reason; a workspace override is also recorded in that workspace's own audit log as "UserTasks support (on behalf)". The admin CLI records its changes as cli:<actor>. Changes are refused until the audit table exists (migration 20270129090000_instance_admin.sql); workspace overrides need 20270205110000_instance_limits.sql.
Examples#
usertasks-admin limits list --category uploads
usertasks-admin limits get imports.max_rows
usertasks-admin limits set uploads.form_attachment_max_mb 40 --reason "Engineering drawings"
usertasks-admin limits set imports.max_rows 200000 --tenant 7c9e6679-7425-40de-944b-e07fc1f90ae7
usertasks-admin limits reset uploads.form_attachment_max_mbPin a value so nobody can change it from the UI:
FORM_ATTACHMENT_MAX_MB=10
LIMITS_PINNED=uploads.form_attachment_max_mbNot configurable here#
Some limits are deliberately not in the registry: security controls (sign-in lockouts and session lengths are sign-in settings; ReDoS, zip-bomb and SSRF guards inside parsers; the bcrypt password length), limits enforced by database constraints or functions (listed as fixed below, with how to change them), limits imposed by outside services (email provider message sizes, log destination batch sizes, model context windows) and interface constants.
Reference#
Uploads and attachments#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
uploads.form_attachment_max_mb Largest attachment | 25 MB | 0.1 – 45 mb | FORM_ATTACHMENT_MAX_MB | yes | Largest single file in a form Attachments or Image field, a task attachment or a workflow step reading one. A field can only set a lower size. Ceiling: Server actions and the app proxy accept 50 MB bodies and Supabase Storage refuses files over 50 MiB; 45 MB leaves room for the upload envelope. |
uploads.form_attachment_pending_limit Pending uploads per person | 200 | 1 – 100,000 count | FORM_ATTACHMENT_PENDING_LIMIT | yes | Uploaded files one person may hold in a workspace before the form or task they belong to is saved. Ceiling: Orphaned uploads stay in storage until housekeeping removes them. |
uploads.form_attachment_pending_hours Keep pending uploads for | 24 h | 1 – 336 hours | FORM_ATTACHMENT_PENDING_HOURS | Hours an upload that was never saved with a form or task is kept before housekeeping removes it. Ceiling: Two weeks: longer only keeps abandoned files. | |
uploads.direct_upload_window_minutes Direct upload window | 15 min | 1 – 120 minutes | FORM_ATTACHMENT_UPLOAD_WINDOW_MINUTES | How long a signed direct-to-storage upload URL stays valid between starting and finishing an upload. Ceiling: Signed upload URLs are bearer credentials: a long window widens the exposure if one leaks. | |
uploads.task_attachments_per_task Attachments per task | 100 | 1 – 10,000 count | TASK_ATTACHMENT_MAX_PER_TASK | yes | Files one task can carry. Ceiling: Every attachment is listed with the task. |
uploads.task_attachment_deleted_retention_days Keep deleted task attachments for | 30 days | 0 – 3,650 days | TASK_ATTACHMENT_DELETED_RETENTION_DAYS | Days a deleted task attachment is kept (restorable) before the cleanup job removes the file. 0 removes it at once. Ceiling: Ten years. | |
uploads.workflow_file_read_max_bytes Largest file a workflow step reads | 50 MB | 1,048,576 – 524,288,000 bytes | LIMIT_UPLOADS_WORKFLOW_FILE_READ_MAX_BYTES | Largest stored file (form attachment, task attachment) a workflow step loads into memory. Ceiling: The whole file is held in the worker's memory. | |
uploads.data_table_file_max_bytes Data table file column upload | 45 MB | 1,048,576 – 47,185,920 bytes | LIMIT_UPLOADS_DATA_TABLE_FILE_MAX_BYTES | Largest file uploaded into a data table file column. Ceiling: Uploaded through a server action (50 MB body limit) into storage (Supabase: 50 MiB per file). Vercel functions refuse request bodies over about 4.5 MB, whatever this is set to. | |
uploads.knowledge_file_max_bytes Agent knowledge file | 20 MB | 1,048,576 – 47,185,920 bytes | LIMIT_UPLOADS_KNOWLEDGE_FILE_MAX_BYTES | Largest document added to an agent's knowledge. Ceiling: Uploaded through a server action (50 MB body limit); text is extracted in memory. Vercel functions refuse request bodies over about 4.5 MB, whatever this is set to. |
Spreadsheet and file imports#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
imports.max_file_bytes Largest import file | 25 MB | 1,048,576 – 104,857,600 bytes | LIMIT_IMPORTS_MAX_FILE_BYTES | yes | Largest CSV, TSV or Excel file imported into a data table (as uploaded; gzip is checked unpacked). Ceiling: Spreadsheets are parsed in memory: a 25 MB .xlsx already holds about 50,000 rows by 60 columns. |
imports.max_rows Rows per import | 50,000 rows | 1 – 500,000 rows | LIMIT_IMPORTS_MAX_ROWS | yes | Data rows (header excluded) one import may contain. A sheet may hold twice as many rows including blanks. Ceiling: Every row is validated and written in batches within one job. |
imports.max_columns Columns per import | 200 | 1 – 500 count | LIMIT_IMPORTS_MAX_COLUMNS | Columns one imported file may have. Ceiling: Each column becomes a key in every row's JSON. | |
imports.max_cell_chars Characters per imported cell | 32,000 | 100 – 1,000,000 count | LIMIT_IMPORTS_MAX_CELL_CHARS | Characters one imported cell may hold. Ceiling: Rows are stored as JSON; very large cells slow every read of the table. | |
imports.batch_size Rows written per database call | 500 rows | 50 – 1,000 rows | LIMIT_IMPORTS_BATCH_SIZE | Rows an import writes in one database call. Ceiling: Each batch is one request to the database API; large batches hit payload and statement-time limits. | |
imports.sync_rows Rows imported inline | 5,000 rows | 100 – 20,000 rows | LIMIT_IMPORTS_SYNC_ROWS | Imports with more valid rows than this run as a background job instead of inside the request. Ceiling: An inline import must finish inside one request. Serverless functions stop at their maxDuration (60 s on most routes), whatever this is set to. | |
imports.xlsx_max_cells Excel cells per workbook | 10,100,000 cells | 100,000 – 25,000,000 cells | LIMIT_IMPORTS_XLSX_MAX_CELLS | Cells an Excel workbook may contain across all sheets, checked before it is parsed. Ceiling: The parser keeps one object per cell in memory. | |
imports.xlsx_max_inflated_bytes Excel unpacked size | 512 MB | 67,108,864 – 2,147,483,648 bytes | LIMIT_IMPORTS_XLSX_MAX_INFLATED_BYTES | Total unpacked size of an Excel workbook's parts (guards against zip bombs). Ceiling: Unpacking streams in constant memory but costs CPU time per byte. | |
imports.importer_max_mb Form importer upload | 20 MB | 1 – 100 mb | IMPORT_MAX_MB | Total size of the files given to a form / workflow importer (Nintex, K2, PDF and others). Ceiling: Archives are unpacked and parsed in memory. Vercel functions refuse request bodies over about 4.5 MB, whatever this is set to. | |
imports.infopath_max_mb InfoPath form template | 20 MB | 1 – 100 mb | INFOPATH_MAX_MB | Largest InfoPath form template (.xsn) accepted. Ceiling: The cabinet is unpacked and parsed in memory. Vercel functions refuse request bodies over about 4.5 MB, whatever this is set to. | |
imports.package_table_rows Data rows per table in a package | 10,000 rows | 100 – 100,000 rows | LIMIT_IMPORTS_PACKAGE_TABLE_ROWS | Rows of one data table a package or config export carries. Ceiling: Packages are built and installed in memory. |
Data tables#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
data_tables.grid_query_timeout_ms Grid query time cap | 8 s | 1,000 – 60,000 ms | DATA_GRID_QUERY_TIMEOUT_MS | yes | Longest a data table grid page, count or grouping query may run before it is stopped. Ceiling: The database functions clamp the deadline to 60 s (migration 20270131140000). |
data_tables.grid_max_concurrent Large grid queries at once (per server) | 4 | 1 – 64 count | DATA_GRID_MAX_CONCURRENT | Large grid queries one server process runs at the same time; more wait in a short queue. Ceiling: Each query holds a database connection (DATABASE_POOL_MAX defaults to 10). | |
data_tables.grid_max_concurrent_per_workspace Large grid queries at once (per workspace) | 2 | 1 – 32 count | DATA_GRID_MAX_CONCURRENT_PER_WORKSPACE | yes | Large grid queries one workspace runs at the same time across the instance. Ceiling: Keeps one busy workspace from starving the others. |
data_tables.grid_queue_ms Grid queue wait | 2 s | 0 – 30,000 ms | DATA_GRID_QUEUE_MS | How long a grid query waits for a free slot before it is refused as busy. Ceiling: Requests are held open while waiting. | |
data_tables.grid_slot_wait_ms Grid slot poll interval | 1 s | 50 – 30,000 ms | DATA_GRID_SLOT_WAIT_MS | How often a waiting grid query checks for a free workspace slot. Ceiling: Lower values poll the cache store more often. | |
data_tables.grid_total_cache_ms Row count cache | 45 s | 0 – 600,000 ms | DATA_GRID_TOTAL_CACHE_MS | How long the total row count of a large table is cached. 0 counts every time. Ceiling: Ten minutes. | |
data_tables.grid_total_cache_min_rows Cache row counts from | 10,000 rows | 0 – 10,000,000 rows | DATA_GRID_TOTAL_CACHE_MIN_ROWS | Tables with at least this many rows have their total count cached. Ceiling: Ten million. | |
data_tables.bulk_delete_max_rows Items per bulk delete | 5,000 | 100 – 50,000 count | LIMIT_DATA_TABLES_BULK_DELETE_MAX_ROWS | Items (rows, tasks, forms, …) one bulk delete may select. Ceiling: Deletions are queued and processed in batches by the deletion queue. |
Reports and exports#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
reports.preview_max_rows Report result rows | 5,000 rows | 100 – 50,000 rows | LIMIT_REPORTS_PREVIEW_MAX_ROWS | yes | Rows a report preview or saved report returns at most (a report can ask for fewer). Ceiling: Rows are read in pages of 1,000 and held in memory. |
reports.chart_row_cap Rows a chart aggregates | 10,000 rows | 1,000 – 100,000 rows | LIMIT_REPORTS_CHART_ROW_CAP | Rows one report chart aggregates (newest first); larger results are flagged as truncated. Ceiling: Each chart reads its rows in pages of 1,000, up to 8 charts at once. | |
reports.export_max_rows Rows per export | 100,000 rows | 1,000 – 1,000,000 rows | LIMIT_REPORTS_EXPORT_MAX_ROWS | yes | Rows one report export (Excel / CSV) may contain. Ceiling: The workbook is built in memory before it is stored. |
reports.export_max_columns Columns per export | 200 | 10 – 1,000 count | LIMIT_REPORTS_EXPORT_MAX_COLUMNS | Columns one report export may contain. Ceiling: The workbook is built in memory. | |
reports.submissions_csv_max_rows Rows per submissions CSV | 50,000 rows | 1,000 – 500,000 rows | LIMIT_REPORTS_SUBMISSIONS_CSV_MAX_ROWS | Submissions one form submissions CSV download contains. Ceiling: Built in memory inside one request. | |
reports.rollup_cache_ttl_ms Report rollup cache | 20 s | 0 – 300,000 ms | REPORT_ROLLUP_CACHE_TTL_MS | How long rolled-up report figures are cached. 0 turns the cache off. Ceiling: Five minutes. | |
reports.odata_max_top OData page size | 500 rows | 10 – 1,000 rows | LIMIT_REPORTS_ODATA_MAX_TOP | Largest $top an OData request may ask for. Ceiling: The database API returns at most 1,000 rows per request. |
Workflows#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
workflows.node_result_max_bytes Stored step output | 32 KB | 1 – 16,777,216 bytes | WORKFLOW_NODE_RESULT_MAX_BYTES | Largest copy of one step's output saved with the run (the step's full output stays available to later steps). Ceiling: Every step's copy is written to the run row. | |
workflows.trace_max_entries Trace entries per run | 5,000 | 1 – 100,000 count | WORKFLOW_TRACE_MAX_ENTRIES | Execution trace entries kept per run (the first and last are kept, with a marker between). Ceiling: Stored as JSON on the run. | |
workflows.log_max_entries Log rows per run | 5,000 | 1 – 100,000 count | WORKFLOW_LOG_MAX_ENTRIES | Workflow log rows written per run (the first and last are kept, with a marker between). Ceiling: One database row per entry. | |
workflows.pause_variables_max_bytes Waiting run variables | 16 MB | 1 – 268,435,456 bytes | WORKFLOW_PAUSE_VARIABLES_MAX_BYTES | Largest set of variables a run waiting for a task, a delay or an event may keep. Ceiling: Stored as one JSON value (PostgreSQL handles at most ~255 MB per value) and loaded in full to resume. | |
workflows.max_steps_per_run Steps per run | 200,000 | 1 – 10,000,000 count | WORKFLOW_MAX_STEPS_PER_RUN | yes | Steps (every loop iteration and Go To jump counted) one run segment may take before it fails. Ceiling: Stops runaway loops before they exhaust worker memory. |
workflows.max_run_ms Run time per segment | 6 h | 1 – 604,800,000 ms | WORKFLOW_MAX_RUN_MS | yes | Longest one run segment may run (waiting for a task or a long delay ends a segment). Ceiling: Seven days. |
workflows.max_subworkflow_depth Sub-workflow nesting | 10 | 1 – 50 count | WORKFLOW_MAX_SUBWORKFLOW_DEPTH | How deep Call Sub-workflow may nest. Ceiling: Each level holds its own run in memory. | |
workflows.download_max_bytes Download size | 100 MB | 1 – 1,073,741,824 bytes | WORKFLOW_DOWNLOAD_MAX_BYTES | Largest response an HTTP Request, download, CSV or Excel step reads. Ceiling: The response is held in the worker's memory. | |
workflows.email_attachment_max_files Email step attachments | 20 | 1 – 100 count | LIMIT_WORKFLOWS_EMAIL_ATTACHMENT_MAX_FILES | Files one Send Email step attaches. Ceiling: Email providers limit message size. | |
workflows.email_attachment_max_bytes Email step attachment size | 25 MB | 1,048,576 – 41,943,040 bytes | LIMIT_WORKFLOWS_EMAIL_ATTACHMENT_MAX_BYTES | Total size of the files one Send Email step attaches (before encoding, which adds about a third). Ceiling: The largest provider limits are about 40 MB (Resend, SES v2); Microsoft Graph and Azure Communication Services allow less. | |
workflows.sftp_max_bytes SFTP file size | 25 MB | 1 – 1,073,741,824 bytes | SFTP_MAX_BYTES | Largest file an SFTP step uploads or downloads. Ceiling: Files are held in memory. | |
workflows.queue_concurrency Workflow jobs at once | 5 | 1 – 50 count | WORKFLOW_CONCURRENCY | Workflow jobs one processor invocation runs at the same time. Ceiling: The queue claim function returns at most 100 jobs; each job uses memory and a database connection. | |
workflows.lease_seconds Job lease | 120 s | 15 – 3,600 seconds | WORKFLOW_LEASE_SECONDS | Lease a processor holds on a running job; a crashed processor's jobs are recovered when it runs out. Ceiling: The database clamps leases to one hour. | |
workflows.processor_budget_ms Processor time budget | 50 s | 1 – 3,600,000 ms | WORKFLOW_PROCESSOR_BUDGET_MS | Time after which a processor invocation starts no new job. Ceiling: One hour. Serverless functions stop at their maxDuration (60 s on most routes), whatever this is set to. | |
workflows.processing_wait_timeout_ms Wait for queued work | 55 s | 1,000 – 900,000 ms | PROCESSING_WAIT_TIMEOUT_MS | How long a caller waits for queued work whose result it needs (processing tier). Ceiling: Fifteen minutes. Serverless functions stop at their maxDuration (60 s on most routes), whatever this is set to. |
Agents and AI#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
agents.exec_per_actor_per_minute Agent runs per person | 20 per minute | 1 – 1,000 per_minute | LIMIT_AGENTS_EXEC_PER_ACTOR_PER_MINUTE | yes | Agent executions one person (or API key) may start per minute. Ceiling: Model provider cost and rate limits. |
agents.exec_per_workspace_per_minute Agent runs per workspace | 60 per minute | 1 – 10,000 per_minute | LIMIT_AGENTS_EXEC_PER_WORKSPACE_PER_MINUTE | yes | Agent executions one workspace may start per minute. Ceiling: Model provider cost and rate limits. |
agents.assistant_messages_per_actor_per_minute Agent chat messages per person | 20 per minute | 1 – 1,000 per_minute | LIMIT_AGENTS_ASSISTANT_MESSAGES_PER_ACTOR_PER_MINUTE | yes | Messages one person may send to the in-app Agent per minute (on top of the workspace's daily and monthly limits). Ceiling: Model provider cost and rate limits. |
agents.assistant_messages_per_workspace_per_minute Agent chat messages per workspace | 120 per minute | 1 – 10,000 per_minute | LIMIT_AGENTS_ASSISTANT_MESSAGES_PER_WORKSPACE_PER_MINUTE | yes | Messages one workspace may send to the in-app Agent per minute. Ceiling: Model provider cost and rate limits. |
agents.max_iterations_cap Agent iterations ceiling | 50 | 1 – 500 count | LIMIT_AGENTS_MAX_ITERATIONS_CAP | yes | Most tool-use iterations any agent may be configured with. Ceiling: Every iteration is a model call. |
agents.max_tokens_cap Agent output tokens ceiling | 128,000 | 256 – 1,000,000 count | LIMIT_AGENTS_MAX_TOKENS_CAP | yes | Most output tokens per model call any agent may be configured with (the model connection can set less). Ceiling: Model limits and cost. |
agents.queue_concurrency Queued agent runs at once | 3 | 1 – 10 count | AGENT_QUEUE_CONCURRENCY | Queued agent runs one worker batch runs at the same time. Ceiling: Model provider rate limits and memory. | |
agents.retry_max_attempts Model call attempts | 4 | 1 – 8 count | AGENT_RETRY_MAX_ATTEMPTS | Attempts per model call when the provider is busy or rate-limits. Ceiling: Each attempt waits longer. | |
agents.retry_max_wait_ms Model retry wait | 45 s | 0 – 120,000 ms | AGENT_RETRY_MAX_WAIT_MS | Total time spent waiting between model call retries. Ceiling: Two minutes. |
API and webhooks#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
api.max_body_bytes API request body | 5 MB | 1 – 104,857,600 bytes | API_MAX_BODY_BYTES | Largest JSON body /api/v1 and /api/mcp accept (files go through multipart or signed uploads). Ceiling: The body is parsed and validated in full in memory. Vercel functions refuse request bodies over about 4.5 MB, whatever this is set to. | |
api.max_package_body_bytes API package body | 50 MB | 1 – 1,073,741,824 bytes | API_MAX_PACKAGE_BODY_BYTES | Largest JSON body of endpoints that carry base64 packages or documents (imports, packages, OpenAPI documents). Ceiling: Base64 is decoded in memory (about 2.3 times the body); the app proxy cuts bodies at FORM_UPLOAD_MAX_BODY_MB (50 MB unless rebuilt). Vercel functions refuse request bodies over about 4.5 MB, whatever this is set to. | |
api.webhook_max_body_bytes Inbound webhook body | 5 MB | 1 – 104,857,600 bytes | WEBHOOK_MAX_BODY_BYTES | Largest body a workflow webhook trigger accepts. Ceiling: The body is read into memory. Vercel functions refuse request bodies over about 4.5 MB, whatever this is set to. | |
api.webhook_rate_limit_per_minute Calls per webhook | 1,200 per minute | 1 – 100,000 per_minute | WEBHOOK_RATE_LIMIT_PER_MINUTE | Calls one webhook trigger accepts per minute. Ceiling: Each call queues a run. | |
api.mcp_upload_max_bytes MCP file upload | 5 MB | 1,024 – 52,428,800 bytes | LIMIT_API_MCP_UPLOAD_MAX_BYTES | Largest file an MCP tool call uploads (base64 in the message; it must also fit the API request body). Ceiling: Carried base64 in a JSON message. |
Document steps#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
documents.max_input_mb Document input | 25 MB | 1 – 200 mb | DOCUMENT_MAX_MB | Largest file the document steps (Read, Compare, Convert, PDF tools, Extract, Redact) and the PDF importer take. Ceiling: Documents are parsed in memory. | |
documents.max_unpacked_mb Office document unpacked | 250 MB | 10 – 2,000 mb | DOCUMENT_MAX_UNPACKED_MB | Total unpacked size of a Word, Excel, PowerPoint or OpenDocument file. Ceiling: Guards against zip bombs. | |
documents.max_pdf_pages PDF pages read | 500 | 1 – 10,000 count | DOCUMENT_MAX_PDF_PAGES | PDF pages a document step reads at most. Ceiling: CPU time per page. | |
documents.max_cells Spreadsheet cells read | 2,000,000 cells | 10,000 – 20,000,000 cells | LIMIT_DOCUMENTS_MAX_CELLS | Spreadsheet cells a document step reads across all sheets. Ceiling: Cells are held in memory. | |
documents.ocr_max_pages OCR pages | 20 | 1 – 500 count | DOCUMENT_OCR_MAX_PAGES | Pages one OCR step recognises. Ceiling: Each page is a provider call (cost) and takes seconds. | |
documents.ocr_timeout_seconds OCR time budget | 120 s | 5 – 900 seconds | DOCUMENT_OCR_TIMEOUT_SECONDS | Total time one OCR step may take. Ceiling: Fifteen minutes. Serverless functions stop at their maxDuration (60 s on most routes), whatever this is set to. | |
documents.timeout_seconds Document parse budget | 60 s | 5 – 900 seconds | DOCUMENT_TIMEOUT_SECONDS | Time one document step may spend parsing. Ceiling: Fifteen minutes. Serverless functions stop at their maxDuration (60 s on most routes), whatever this is set to. |
Media steps#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
media.max_mb Media input | 100 MB | 1 – 2,048 mb | MEDIA_MAX_MB | Largest audio, video or image file the media steps take. Ceiling: Files are staged on disk and in memory. | |
media.max_duration_seconds Media duration | 7,200 s | 10 – 86,400 seconds | MEDIA_MAX_DURATION_SECONDS | Longest audio or video accepted. Ceiling: One day. | |
media.inline_max_seconds Inline media length | 300 s | 0 – 86,400 seconds | MEDIA_INLINE_MAX_SECONDS | In automatic mode, longer media runs as a background job instead of inside the step. Ceiling: One day. | |
media.timeout_seconds Inline media budget | 120 s | 5 – 900 seconds | MEDIA_TIMEOUT_SECONDS | Time an inline media step may take. Ceiling: Fifteen minutes. Serverless functions stop at their maxDuration (60 s on most routes), whatever this is set to. | |
media.job_timeout_seconds Media job budget | 3,600 s | 60 – 86,400 seconds | MEDIA_JOB_TIMEOUT_SECONDS | Time a background media job may take, all polls included. Ceiling: One day. | |
media.max_image_megapixels Image size | 40 | 1 – 400 count | MEDIA_MAX_IMAGE_MEGAPIXELS | Largest decoded image, in megapixels. Ceiling: Decoded images are held in memory (4 bytes per pixel). | |
media.redact_video_max_seconds Video redaction length | 600 s | 5 – 14,400 seconds | MEDIA_VIDEO_REDACT_MAX_SECONDS | Longest video Redact Video accepts. Ceiling: Four hours. | |
media.ffmpeg_timeout_seconds FFmpeg command budget | 600 s | 5 – 7,200 seconds | MEDIA_FFMPEG_TIMEOUT_SECONDS | Time one FFmpeg command may take. Ceiling: Two hours. |
Background jobs#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
jobs.user_job_budget_ms Background job time slice | 50 s | 2,000 – 800,000 ms | USER_JOB_BUDGET_MS | Time one invocation spends on background jobs (imports, exports, bulk changes) before handing back. Ceiling: About 13 minutes (the longest serverless maxDuration). Serverless functions stop at their maxDuration (60 s on most routes), whatever this is set to. | |
jobs.user_job_concurrency Background jobs at once | 2 | 1 – 8 count | LIMIT_JOBS_USER_JOB_CONCURRENCY | Background jobs one invocation runs at the same time. Ceiling: Imports and exports run in memory side by side. | |
jobs.user_job_result_ttl_hours Keep job results for | 168 h | 1 – 2,160 hours | USER_JOB_RESULT_TTL_HOURS | How long finished jobs and their result files (exports) are kept. Ceiling: 90 days. | |
jobs.user_job_inline_wait_ms Wait for quick jobs | 1.5 s | 0 – 10,000 ms | USER_JOB_INLINE_WAIT_MS | How long the app waits for a quick job before showing it as running in the background. 0 always runs in the background. Ceiling: Ten seconds. | |
jobs.user_job_max_result_file_bytes Job result file | 200 MB | 1,048,576 – 2,147,483,648 bytes | LIMIT_JOBS_USER_JOB_MAX_RESULT_FILE_BYTES | Largest result file (an export) a background job may store. Ceiling: The file is held in memory before it is stored; Supabase Storage refuses files over 50 MiB. | |
jobs.cron_tick_concurrency Scheduled jobs per tick | 4 | 1 – 16 count | CRON_TICK_CONCURRENCY | Scheduled jobs one scheduler tick runs at the same time. Ceiling: Each job holds a database connection. | |
jobs.queue_retention_days Keep finished queue rows for | 7 days | 0.01 – 365 days | QUEUE_RETENTION_DAYS | Days finished workflow queue rows are kept for debugging before they are purged. Ceiling: One year. | |
jobs.log_ship_concurrency Log export lanes | 4 | 1 – 16 count | LOG_SHIP_CONCURRENCY | Log export destinations shipped at the same time. Ceiling: Each lane holds a database connection. |
Integrations and custom actions#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
integrations.custom_action_max_timeout_ms Custom action time | 1 min | 100 – 60,000 ms | CUSTOM_ACTION_MAX_TIMEOUT_MS | Longest one custom action run may take (an action can ask for less). Ceiling: The custom action contract allows at most 60 s. | |
integrations.gateway_job_timeout_ms On-premises gateway job | 2 min | 5,000 – 300,000 ms | GATEWAY_JOB_TIMEOUT_MS | How long the app waits for an on-premises gateway to answer one request. Ceiling: The gateway protocol allows at most 300 s. | |
integrations.http_max_response_bytes Integration response size | 20 MB | 1,048,576 – 104,857,600 bytes | LIMIT_INTEGRATIONS_HTTP_MAX_RESPONSE_BYTES | Largest structured (JSON / XML) response an integration reference reads. Ceiling: Responses are parsed in memory. |
Packages#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
packages.library_max Installed packages listed | 1,000 | 100 – 1,000 count | LIMIT_PACKAGES_LIBRARY_MAX | Installed packages the library page lists (newest first); search and filters apply to these. Ceiling: Read in one database API request (at most 1,000 rows); the list is searched and filtered in the browser. | |
packages.max_file_bytes Package file | 20 MB | 1,048,576 – 47,185,920 bytes | LIMIT_PACKAGES_MAX_FILE_BYTES | Largest solution package installed or built. Ceiling: Packages are unpacked in memory and uploaded through a 50 MB body limit. | |
packages.max_assets Assets per package | 2,000 | 100 – 10,000 count | LIMIT_PACKAGES_MAX_ASSETS | Assets (forms, workflows, tables, …) one package may carry. Ceiling: Every asset is planned and installed in one job. |
Live updates#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
realtime.max_streams_per_user Live connections per person | 12 | 1 – 100 count | LIMIT_REALTIME_MAX_STREAMS_PER_USER | Live update connections (one per browser tab) one person may hold on one server. Ceiling: Each connection holds a server socket and a database poll. | |
realtime.max_subscriptions Subscriptions per connection | 32 | 1 – 256 count | LIMIT_REALTIME_MAX_SUBSCRIPTIONS | Tables or channels one live connection may subscribe to. Ceiling: Each subscription is checked on every change. |
Platform (fixed)#
| Limit | Default | Range | Environment variable | Per workspace | What it limits |
|---|---|---|---|---|---|
platform.proxy_body_mb App request body (build time) | 50 MB | fixed | FORM_UPLOAD_MAX_BODY_MB | Largest request body the app proxy accepts (next.config proxyClientMaxBodySize); also caps streamed uploads. Fixed: Read when the app is built: set FORM_UPLOAD_MAX_BODY_MB (and the reverse proxy's body limit) and rebuild. Vercel functions refuse request bodies over about 4.5 MB, whatever this is set to. | |
platform.server_action_body_mb Server action body | 50 MB | fixed | LIMIT_PLATFORM_SERVER_ACTION_BODY_MB | Largest body a server action (in-app uploads of logos, files, knowledge) accepts. Fixed: Set in next.config.ts (serverActions.bodySizeLimit); changing it needs a rebuild. | |
platform.storage_file_mb Supabase Storage file size | 50 MB | fixed | LIMIT_PLATFORM_STORAGE_FILE_MB | Largest file Supabase Storage accepts (other storage providers have their own limits). Fixed: A Supabase project setting (supabase/config.toml storage.file_size_limit). | |
platform.db_max_rows Rows per database API request | 1,000 rows | fixed | LIMIT_PLATFORM_DB_MAX_ROWS | Rows one database API request returns; larger reads page. Fixed: PostgREST max_rows (Supabase: supabase/config.toml api.max_rows; postgres provider: DB_MAX_ROWS). | |
data_tables.grid_page_size Grid page size | 500 rows | fixed | LIMIT_DATA_TABLES_GRID_PAGE_SIZE | Rows one grid page returns at most. Fixed: Clamped by data_table_rows_page in the database (migration 20270131140000). | |
data_tables.grid_group_rows Grid groups per query | 2,000 | fixed | LIMIT_DATA_TABLES_GRID_GROUP_ROWS | Groups one grouped grid query returns. Fixed: Set in lib/grid/grouping.ts and clamped by data_table_row_groups in the database. | |
packages.form_control_module_bytes Form control bundle | 2 MB | fixed | LIMIT_PACKAGES_FORM_CONTROL_MODULE_BYTES | Largest JavaScript bundle of a custom form control. Fixed: Enforced by a database CHECK (migration 20261202000000) and the form control contract. | |
integrations.custom_action_source_bytes Custom action source | 1 MB | fixed | LIMIT_INTEGRATIONS_CUSTOM_ACTION_SOURCE_BYTES | Largest source of a custom action. Fixed: Enforced by a database CHECK (migration 20261203000000) and the custom action contract. | |
uploads.form_draft_bytes Saved form draft | 256 KB | fixed | LIMIT_UPLOADS_FORM_DRAFT_BYTES | Largest saved draft of a form submission. Fixed: Enforced by a database CHECK (migration 20261218000000). | |
platform.sign_in_lockout Sign-in lockout | 10 | fixed | LIMIT_PLATFORM_SIGN_IN_LOCKOUT | Failed sign-ins before an account is locked (built-in sign-in). Fixed: A sign-in setting: Settings → Infrastructure → Sign-in (auth.lockout_threshold / AUTH_LOCKOUT_THRESHOLD), with the session lengths and password rules. |