Skip to content

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.

Last updated 8 min read Edit this page on GitHub
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_EMAILS or usertasks-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 | reset on 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.
Settings → Limits: the instance-wide values with a workspace picker, a search box and the uploads limits, each with its key, current value, default, range and environment variable
Settings → Limits for an instance administrator.

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#

OrderSourceSet with
1Pinned environment valueLIMITS_PINNED=key1,key2 (or *): those limits use their environment variable (or the default) and are locked in the UI, the CLI and the API
2Workspace overrideSettings → 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
3Instance settingSettings → Limits, usertasks-admin limits set <key> <value>, PUT /api/v1/instance/limits/{key} (stored as the limits.<key> instance setting)
4Environment variableThe variable in the table (existing variables such as FORM_ATTACHMENT_MAX_MB keep working; the others are LIMIT_<KEY>)
5Default—

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#

Bash
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_mb

Pin a value so nobody can change it from the UI:

Bash
FORM_ATTACHMENT_MAX_MB=10
LIMITS_PINNED=uploads.form_attachment_max_mb

Not 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#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
uploads.form_attachment_max_mb Largest attachment25 MB0.1 – 45 mbFORM_ATTACHMENT_MAX_MByesLargest 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 person2001 – 100,000 countFORM_ATTACHMENT_PENDING_LIMITyesUploaded 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 for24 h1 – 336 hoursFORM_ATTACHMENT_PENDING_HOURSHours 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 window15 min1 – 120 minutesFORM_ATTACHMENT_UPLOAD_WINDOW_MINUTESHow 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 task1001 – 10,000 countTASK_ATTACHMENT_MAX_PER_TASKyesFiles one task can carry. Ceiling: Every attachment is listed with the task.
uploads.task_attachment_deleted_retention_days Keep deleted task attachments for30 days0 – 3,650 daysTASK_ATTACHMENT_DELETED_RETENTION_DAYSDays 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 reads50 MB1,048,576 – 524,288,000 bytesLIMIT_UPLOADS_WORKFLOW_FILE_READ_MAX_BYTESLargest 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 upload45 MB1,048,576 – 47,185,920 bytesLIMIT_UPLOADS_DATA_TABLE_FILE_MAX_BYTESLargest 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 file20 MB1,048,576 – 47,185,920 bytesLIMIT_UPLOADS_KNOWLEDGE_FILE_MAX_BYTESLargest 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#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
imports.max_file_bytes Largest import file25 MB1,048,576 – 104,857,600 bytesLIMIT_IMPORTS_MAX_FILE_BYTESyesLargest 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 import50,000 rows1 – 500,000 rowsLIMIT_IMPORTS_MAX_ROWSyesData 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 import2001 – 500 countLIMIT_IMPORTS_MAX_COLUMNSColumns one imported file may have. Ceiling: Each column becomes a key in every row's JSON.
imports.max_cell_chars Characters per imported cell32,000100 – 1,000,000 countLIMIT_IMPORTS_MAX_CELL_CHARSCharacters 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 call500 rows50 – 1,000 rowsLIMIT_IMPORTS_BATCH_SIZERows 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 inline5,000 rows100 – 20,000 rowsLIMIT_IMPORTS_SYNC_ROWSImports 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 workbook10,100,000 cells100,000 – 25,000,000 cellsLIMIT_IMPORTS_XLSX_MAX_CELLSCells 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 size512 MB67,108,864 – 2,147,483,648 bytesLIMIT_IMPORTS_XLSX_MAX_INFLATED_BYTESTotal 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 upload20 MB1 – 100 mbIMPORT_MAX_MBTotal 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 template20 MB1 – 100 mbINFOPATH_MAX_MBLargest 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 package10,000 rows100 – 100,000 rowsLIMIT_IMPORTS_PACKAGE_TABLE_ROWSRows of one data table a package or config export carries. Ceiling: Packages are built and installed in memory.

Data tables#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
data_tables.grid_query_timeout_ms Grid query time cap8 s1,000 – 60,000 msDATA_GRID_QUERY_TIMEOUT_MSyesLongest 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)41 – 64 countDATA_GRID_MAX_CONCURRENTLarge 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)21 – 32 countDATA_GRID_MAX_CONCURRENT_PER_WORKSPACEyesLarge 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 wait2 s0 – 30,000 msDATA_GRID_QUEUE_MSHow 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 interval1 s50 – 30,000 msDATA_GRID_SLOT_WAIT_MSHow 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 cache45 s0 – 600,000 msDATA_GRID_TOTAL_CACHE_MSHow 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 from10,000 rows0 – 10,000,000 rowsDATA_GRID_TOTAL_CACHE_MIN_ROWSTables with at least this many rows have their total count cached. Ceiling: Ten million.
data_tables.bulk_delete_max_rows Items per bulk delete5,000100 – 50,000 countLIMIT_DATA_TABLES_BULK_DELETE_MAX_ROWSItems (rows, tasks, forms, …) one bulk delete may select. Ceiling: Deletions are queued and processed in batches by the deletion queue.

Reports and exports#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
reports.preview_max_rows Report result rows5,000 rows100 – 50,000 rowsLIMIT_REPORTS_PREVIEW_MAX_ROWSyesRows 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 aggregates10,000 rows1,000 – 100,000 rowsLIMIT_REPORTS_CHART_ROW_CAPRows 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 export100,000 rows1,000 – 1,000,000 rowsLIMIT_REPORTS_EXPORT_MAX_ROWSyesRows one report export (Excel / CSV) may contain. Ceiling: The workbook is built in memory before it is stored.
reports.export_max_columns Columns per export20010 – 1,000 countLIMIT_REPORTS_EXPORT_MAX_COLUMNSColumns one report export may contain. Ceiling: The workbook is built in memory.
reports.submissions_csv_max_rows Rows per submissions CSV50,000 rows1,000 – 500,000 rowsLIMIT_REPORTS_SUBMISSIONS_CSV_MAX_ROWSSubmissions one form submissions CSV download contains. Ceiling: Built in memory inside one request.
reports.rollup_cache_ttl_ms Report rollup cache20 s0 – 300,000 msREPORT_ROLLUP_CACHE_TTL_MSHow long rolled-up report figures are cached. 0 turns the cache off. Ceiling: Five minutes.
reports.odata_max_top OData page size500 rows10 – 1,000 rowsLIMIT_REPORTS_ODATA_MAX_TOPLargest $top an OData request may ask for. Ceiling: The database API returns at most 1,000 rows per request.

Workflows#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
workflows.node_result_max_bytes Stored step output32 KB1 – 16,777,216 bytesWORKFLOW_NODE_RESULT_MAX_BYTESLargest 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 run5,0001 – 100,000 countWORKFLOW_TRACE_MAX_ENTRIESExecution 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 run5,0001 – 100,000 countWORKFLOW_LOG_MAX_ENTRIESWorkflow 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 variables16 MB1 – 268,435,456 bytesWORKFLOW_PAUSE_VARIABLES_MAX_BYTESLargest 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 run200,0001 – 10,000,000 countWORKFLOW_MAX_STEPS_PER_RUNyesSteps (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 segment6 h1 – 604,800,000 msWORKFLOW_MAX_RUN_MSyesLongest 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 nesting101 – 50 countWORKFLOW_MAX_SUBWORKFLOW_DEPTHHow deep Call Sub-workflow may nest. Ceiling: Each level holds its own run in memory.
workflows.download_max_bytes Download size100 MB1 – 1,073,741,824 bytesWORKFLOW_DOWNLOAD_MAX_BYTESLargest 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 attachments201 – 100 countLIMIT_WORKFLOWS_EMAIL_ATTACHMENT_MAX_FILESFiles one Send Email step attaches. Ceiling: Email providers limit message size.
workflows.email_attachment_max_bytes Email step attachment size25 MB1,048,576 – 41,943,040 bytesLIMIT_WORKFLOWS_EMAIL_ATTACHMENT_MAX_BYTESTotal 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 size25 MB1 – 1,073,741,824 bytesSFTP_MAX_BYTESLargest file an SFTP step uploads or downloads. Ceiling: Files are held in memory.
workflows.queue_concurrency Workflow jobs at once51 – 50 countWORKFLOW_CONCURRENCYWorkflow 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 lease120 s15 – 3,600 secondsWORKFLOW_LEASE_SECONDSLease 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 budget50 s1 – 3,600,000 msWORKFLOW_PROCESSOR_BUDGET_MSTime 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 work55 s1,000 – 900,000 msPROCESSING_WAIT_TIMEOUT_MSHow 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#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
agents.exec_per_actor_per_minute Agent runs per person20 per minute1 – 1,000 per_minuteLIMIT_AGENTS_EXEC_PER_ACTOR_PER_MINUTEyesAgent 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 workspace60 per minute1 – 10,000 per_minuteLIMIT_AGENTS_EXEC_PER_WORKSPACE_PER_MINUTEyesAgent 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 person20 per minute1 – 1,000 per_minuteLIMIT_AGENTS_ASSISTANT_MESSAGES_PER_ACTOR_PER_MINUTEyesMessages 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 workspace120 per minute1 – 10,000 per_minuteLIMIT_AGENTS_ASSISTANT_MESSAGES_PER_WORKSPACE_PER_MINUTEyesMessages one workspace may send to the in-app Agent per minute. Ceiling: Model provider cost and rate limits.
agents.max_iterations_cap Agent iterations ceiling501 – 500 countLIMIT_AGENTS_MAX_ITERATIONS_CAPyesMost tool-use iterations any agent may be configured with. Ceiling: Every iteration is a model call.
agents.max_tokens_cap Agent output tokens ceiling128,000256 – 1,000,000 countLIMIT_AGENTS_MAX_TOKENS_CAPyesMost 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 once31 – 10 countAGENT_QUEUE_CONCURRENCYQueued agent runs one worker batch runs at the same time. Ceiling: Model provider rate limits and memory.
agents.retry_max_attempts Model call attempts41 – 8 countAGENT_RETRY_MAX_ATTEMPTSAttempts per model call when the provider is busy or rate-limits. Ceiling: Each attempt waits longer.
agents.retry_max_wait_ms Model retry wait45 s0 – 120,000 msAGENT_RETRY_MAX_WAIT_MSTotal time spent waiting between model call retries. Ceiling: Two minutes.

API and webhooks#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
api.max_body_bytes API request body5 MB1 – 104,857,600 bytesAPI_MAX_BODY_BYTESLargest 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 body50 MB1 – 1,073,741,824 bytesAPI_MAX_PACKAGE_BODY_BYTESLargest 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 body5 MB1 – 104,857,600 bytesWEBHOOK_MAX_BODY_BYTESLargest 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 webhook1,200 per minute1 – 100,000 per_minuteWEBHOOK_RATE_LIMIT_PER_MINUTECalls one webhook trigger accepts per minute. Ceiling: Each call queues a run.
api.mcp_upload_max_bytes MCP file upload5 MB1,024 – 52,428,800 bytesLIMIT_API_MCP_UPLOAD_MAX_BYTESLargest 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#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
documents.max_input_mb Document input25 MB1 – 200 mbDOCUMENT_MAX_MBLargest 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 unpacked250 MB10 – 2,000 mbDOCUMENT_MAX_UNPACKED_MBTotal unpacked size of a Word, Excel, PowerPoint or OpenDocument file. Ceiling: Guards against zip bombs.
documents.max_pdf_pages PDF pages read5001 – 10,000 countDOCUMENT_MAX_PDF_PAGESPDF pages a document step reads at most. Ceiling: CPU time per page.
documents.max_cells Spreadsheet cells read2,000,000 cells10,000 – 20,000,000 cellsLIMIT_DOCUMENTS_MAX_CELLSSpreadsheet cells a document step reads across all sheets. Ceiling: Cells are held in memory.
documents.ocr_max_pages OCR pages201 – 500 countDOCUMENT_OCR_MAX_PAGESPages one OCR step recognises. Ceiling: Each page is a provider call (cost) and takes seconds.
documents.ocr_timeout_seconds OCR time budget120 s5 – 900 secondsDOCUMENT_OCR_TIMEOUT_SECONDSTotal 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 budget60 s5 – 900 secondsDOCUMENT_TIMEOUT_SECONDSTime 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#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
media.max_mb Media input100 MB1 – 2,048 mbMEDIA_MAX_MBLargest audio, video or image file the media steps take. Ceiling: Files are staged on disk and in memory.
media.max_duration_seconds Media duration7,200 s10 – 86,400 secondsMEDIA_MAX_DURATION_SECONDSLongest audio or video accepted. Ceiling: One day.
media.inline_max_seconds Inline media length300 s0 – 86,400 secondsMEDIA_INLINE_MAX_SECONDSIn automatic mode, longer media runs as a background job instead of inside the step. Ceiling: One day.
media.timeout_seconds Inline media budget120 s5 – 900 secondsMEDIA_TIMEOUT_SECONDSTime 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 budget3,600 s60 – 86,400 secondsMEDIA_JOB_TIMEOUT_SECONDSTime a background media job may take, all polls included. Ceiling: One day.
media.max_image_megapixels Image size401 – 400 countMEDIA_MAX_IMAGE_MEGAPIXELSLargest decoded image, in megapixels. Ceiling: Decoded images are held in memory (4 bytes per pixel).
media.redact_video_max_seconds Video redaction length600 s5 – 14,400 secondsMEDIA_VIDEO_REDACT_MAX_SECONDSLongest video Redact Video accepts. Ceiling: Four hours.
media.ffmpeg_timeout_seconds FFmpeg command budget600 s5 – 7,200 secondsMEDIA_FFMPEG_TIMEOUT_SECONDSTime one FFmpeg command may take. Ceiling: Two hours.

Background jobs#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
jobs.user_job_budget_ms Background job time slice50 s2,000 – 800,000 msUSER_JOB_BUDGET_MSTime 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 once21 – 8 countLIMIT_JOBS_USER_JOB_CONCURRENCYBackground 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 for168 h1 – 2,160 hoursUSER_JOB_RESULT_TTL_HOURSHow long finished jobs and their result files (exports) are kept. Ceiling: 90 days.
jobs.user_job_inline_wait_ms Wait for quick jobs1.5 s0 – 10,000 msUSER_JOB_INLINE_WAIT_MSHow 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 file200 MB1,048,576 – 2,147,483,648 bytesLIMIT_JOBS_USER_JOB_MAX_RESULT_FILE_BYTESLargest 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 tick41 – 16 countCRON_TICK_CONCURRENCYScheduled jobs one scheduler tick runs at the same time. Ceiling: Each job holds a database connection.
jobs.queue_retention_days Keep finished queue rows for7 days0.01 – 365 daysQUEUE_RETENTION_DAYSDays finished workflow queue rows are kept for debugging before they are purged. Ceiling: One year.
jobs.log_ship_concurrency Log export lanes41 – 16 countLOG_SHIP_CONCURRENCYLog export destinations shipped at the same time. Ceiling: Each lane holds a database connection.

Integrations and custom actions#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
integrations.custom_action_max_timeout_ms Custom action time1 min100 – 60,000 msCUSTOM_ACTION_MAX_TIMEOUT_MSLongest 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 job2 min5,000 – 300,000 msGATEWAY_JOB_TIMEOUT_MSHow 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 size20 MB1,048,576 – 104,857,600 bytesLIMIT_INTEGRATIONS_HTTP_MAX_RESPONSE_BYTESLargest structured (JSON / XML) response an integration reference reads. Ceiling: Responses are parsed in memory.

Packages#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
packages.library_max Installed packages listed1,000100 – 1,000 countLIMIT_PACKAGES_LIBRARY_MAXInstalled 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 file20 MB1,048,576 – 47,185,920 bytesLIMIT_PACKAGES_MAX_FILE_BYTESLargest solution package installed or built. Ceiling: Packages are unpacked in memory and uploaded through a 50 MB body limit.
packages.max_assets Assets per package2,000100 – 10,000 countLIMIT_PACKAGES_MAX_ASSETSAssets (forms, workflows, tables, …) one package may carry. Ceiling: Every asset is planned and installed in one job.

Live updates#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
realtime.max_streams_per_user Live connections per person121 – 100 countLIMIT_REALTIME_MAX_STREAMS_PER_USERLive 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 connection321 – 256 countLIMIT_REALTIME_MAX_SUBSCRIPTIONSTables or channels one live connection may subscribe to. Ceiling: Each subscription is checked on every change.

Platform (fixed)#

LimitDefaultRangeEnvironment variablePer workspaceWhat it limits
platform.proxy_body_mb App request body (build time)50 MBfixedFORM_UPLOAD_MAX_BODY_MBLargest 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 body50 MBfixedLIMIT_PLATFORM_SERVER_ACTION_BODY_MBLargest 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 size50 MBfixedLIMIT_PLATFORM_STORAGE_FILE_MBLargest 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 request1,000 rowsfixedLIMIT_PLATFORM_DB_MAX_ROWSRows 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 size500 rowsfixedLIMIT_DATA_TABLES_GRID_PAGE_SIZERows 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 query2,000fixedLIMIT_DATA_TABLES_GRID_GROUP_ROWSGroups 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 bundle2 MBfixedLIMIT_PACKAGES_FORM_CONTROL_MODULE_BYTESLargest 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 source1 MBfixedLIMIT_INTEGRATIONS_CUSTOM_ACTION_SOURCE_BYTESLargest source of a custom action. Fixed: Enforced by a database CHECK (migration 20261203000000) and the custom action contract.
uploads.form_draft_bytes Saved form draft256 KBfixedLIMIT_UPLOADS_FORM_DRAFT_BYTESLargest saved draft of a form submission. Fixed: Enforced by a database CHECK (migration 20261218000000).
platform.sign_in_lockout Sign-in lockout10fixedLIMIT_PLATFORM_SIGN_IN_LOCKOUTFailed 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.

Was this page helpful?