docs/flows/known-limits.mdx
| Limit | Cloud | Env var | Self-hosted default |
|---|---|---|---|
| Flow run timeout | 10 min | AP_FLOW_TIMEOUT_SECONDS | 600 |
| Worker process memory | 1 GB | AP_SANDBOX_MEMORY_LIMIT (KB) | 1048576 |
| Paused flow lifetime | 30 days | AP_PAUSED_FLOW_TIMEOUT_DAYS | 30 |
| Worker concurrency (per worker) | 10 | AP_WORKER_CONCURRENCY | 5 |
| Limit | Cloud | Env var | Self-hosted default |
|---|---|---|---|
| Step file size | 10 MB | AP_MAX_FILE_SIZE_MB | 25 |
| Flow run log size (combined inputs + outputs, includes sliced payloads) | 25 MB | AP_MAX_FLOW_RUN_LOG_SIZE_MB | 50 |
| Step output slice threshold | 32 KB | AP_FLOW_RUN_LOG_SLICE_THRESHOLD_KB | 32 |
| Step input truncate threshold | 2 KB | AP_FLOW_RUN_LOG_INPUT_TRUNCATE_THRESHOLD_KB | 2 |
AP_FLOW_RUN_LOG_INPUT_TRUNCATE_THRESHOLD_KB are
replaced with a placeholder in the log; the step still receives the full
value at runtime.AP_FLOW_RUN_LOG_SLICE_THRESHOLD_KB are offloaded
to object storage and replaced with a reference in the log; the payload is
re-hydrated on demand.AP_MAX_FLOW_RUN_LOG_SIZE_MB. Runs that exceed it end with status
LOG_SIZE_EXCEEDED.| Limit | Cloud | Env var | Self-hosted default |
|---|---|---|---|
| Sync webhook response timeout | 30 s | AP_WEBHOOK_TIMEOUT_SECONDS | 30 |
| Max webhook payload size | 5 MB | AP_MAX_WEBHOOK_PAYLOAD_SIZE_MB | 25 |
| Webhook payload inline threshold | 1024 KB | AP_WEBHOOK_PAYLOAD_INLINE_THRESHOLD_KB | 512 |
Used by the built-in Store piece and any piece that calls context.store.
| Limit | Value |
|---|---|
| Maximum key length | 128 characters |
| Maximum value size | 512 KB |
These limits are not configurable.