Limits
How fast runs go, how big inputs can be, and the other limits of Dataflow.
Pace of a run
A run sends at most rate_percent of your plan's per-second rate limit: 50 % by default, from 10 % to 100 % per project. The polls of asynchronous endpoints take their share of it too. When your plan's limit is not known, a run counts on 5 calls per second; on a plan without a limit, on 50.
It sets a speed, not a budget. For example, with a plan allowing 10 calls per second, a project at 50 % sends up to 5 calls per second. The pace is worked out again whenever a run starts or resumes, from your current plan. To cap what a run spends, use max_cost_per_run.
The Piloterr API counts its rate limit for each API key. By default, runs call with the managed Dataflow key, so they do not take from the keys of your own integrations, but every project running at the same time shares that key's limit: two projects at 50 % use all of it, and past it the calls answer 429 and the runs slow down (see below). A project set to one of your own keys (api_key_id) shares that key's limit with your other calls on it: keep rate_percent low enough to leave them room.
To estimate how long a run takes, divide its rows by its pace. For example, 100,000 rows at 10 calls per second take about 2 h 47 min. POST /v1/inputs/{id}/check works it out for a file or a list. While a run goes, eta_seconds gives the time left at its actual pace.
A slow endpoint can make a run slower than its pace: each run keeps at most 50 calls in flight at a time.
When the API says slow down
A run adapts its pace to the Piloterr API's own answers:
- A
429, or a rate-limit401that is not a quota, halves the run's pace, at most once every 5 seconds and never below 1 call per second. While the answer'sRetry-Afterlasts, no new call is sent. - After 30 seconds without such an answer, the pace climbs back by 10 % of the project's pace every 10 seconds, up to that pace.
- When the API sends
X-RateLimit-RemainingandX-RateLimit-Reset(orRateLimit-*), the run never goes faster than the calls left until the window resets, and waits for the reset when none are left. - A row met by the limit is sent again after
Retry-After(1 s without one, 60 s at most) and keeps its attempts: it is never failed, lost or called twice because of the limit. After 100 such answers for the same row, they count as normal attempts, so that an API answering nothing but its limit still ends the run. - An asynchronous job whose poll meets the limit is polled again later; it is never submitted twice.
So a run that meets the limit ends later, with the same results: plan for a longer run rather than for failed rows.
Inputs
| Limit | Value |
|---|---|
| File size, upload or URL | 50 MB |
| Other request bodies | 1 MB |
| Rows per input | 100,000 |
| Columns per input | 1,000 |
| Characters per value (column names included) | 32,767 |
| Characters per row | 262,144 |
| Lines in a list | 500 |
| Zipped spreadsheet, once unzipped | 512 MB |
HTML or XML file, or binary .xls | 20 MB |
| Files read at a time per workspace | 1 |
| Time to read a file | 60 s |
| Direct upload URL | Valid 15 minutes |
| URL input | 30 s to answer, 3 redirects, 10 headers |
| URL and search previews | 10 a minute per workspace, every preview route together |
| Search input | 100 searches, 1 to 50 pages each (default 5), 1,000 search calls per run, 10 other parameters |
Projects, runs and schedules
| Limit | Value |
|---|---|
| Projects per workspace | 500 by default, archived ones aside |
| Runs at a time per project | 1 |
| Runs going at once per workspace | 3 by default, across projects: queued, running, paused or stopping |
| Calls in flight per run | 50 |
| Time for one call | 90 s; up to 10 minutes for asynchronous endpoints |
| Attempts per row within a run | 3, for timeouts, network errors, 408 and 5xx; a 429 or rate-limit 401 sends the row again without using one, up to 100 times |
| Failed rows before a run fails | More than half of the rows done, invalid ones included |
| Paused for lack of credits | 7 days without a new row, then the run fails (paused_timeout) |
| Gap between scheduled runs | 1 hour at least |
| Failed scheduled runs in a row | 5, then the project stops |
A workspace has at most 3 runs going at once by default, so that one workspace cannot take every worker. A 4th run is refused with 409 concurrent_runs_limit (details.active, details.max_concurrent_runs) until one of the others ends; a scheduled one is skipped (schedule.skipped). If your projects run at the same hour, spread their schedules, or contact support for a higher limit.
Piloterr may set other limits for a workspace: the rows per run, the runs going at once (instead of 3), a longer gap between scheduled runs, or a rate share that replaces the projects' rate_percent. A run past them is refused with 409 rows_limit_exceeded or 409 concurrent_runs_limit; a scheduled one is skipped.
The number of projects works the same way: 500 by default, and support can raise or lower it for your workspace. Archived projects do not count: archiving one makes room at once. At the limit, creating a project, from scratch, from a template or by duplicating one, and unarchiving one (PATCH /v1/projects/{id} with {"archived": false}) answer 409 projects_limit, and nothing changes: the project stays archived. The error's details hold your workspace's limit and how many projects count against it:
{
"error": {
"code": "projects_limit",
"message": "This workspace has 500 projects, and may have 500: archive or delete one first",
"details": { "max_projects": 500, "project_count": 500 }
}
}Projects you already have keep running, even past a limit that was lowered: only adding one is refused. GET /v1/projects gives project_count and max_projects.
Results
| Limit | Value |
|---|---|
| Results and run comparisons per page | 500 (default 100), paged with offset |
| Runs per page | 100 (default 20), paged with next |
| Results, exports and frozen inputs kept | 30 days after the run ends |
| Archived project kept | 30 days, then deleted |
Export link in run.completed and emails | Valid 7 days |
Export link from GET /v1/runs/{id}/export/link | Valid 7 days, until its expires_at |
run.results webhook batch | 1 MiB |
Notifications
| Limit | Value |
|---|---|
| Alert channels per workspace | 50 |
| Alert subscriptions per project | 20 |
| Email recipients per alert channel | 10 |
| Test alerts | 1 a minute per channel, 20 an hour per workspace |
| Test webhook events | 1 a minute per destination, 20 an hour per workspace |
| Confirmation emails to addresses outside the workspace | 50 a day per workspace (UTC), resends included; 100 addresses waiting for their confirmation at once |
| Failure alerts per channel, project and event | 1 an hour, the others counted in the next one (details) |
| Messages per alert channel | About 1 a second, the others wait their turn |
| Alert channel failing | Paused, tried again after 1 min, 10 min, 1 h, 6 h and 24 h, then turned off; turned off at once when the service refuses it for good |
| Deliveries per project | 10 |
| Recipients per email delivery | 20 |
| Webhook destinations per workspace | 20 |
| Webhook answer | 10 s, then retried after 30 s, 1, 5 and 15 min, then 1 h |
| Cloud storage connections per workspace | 20 |
| Cloud connection tests | 10 a minute and 60 an hour per workspace |
The Dataflow API
Calls to dataflow.piloterr.com are free and do not count against your API key's quotas. The only exception is a search: previewing one (POST /v1/inputs/search/preview, POST /v1/projects/{id}/input/preview), creating a project with a search input, or changing its input or mapping reads the first page of results, one call of the search endpoint billed like any call (402 insufficient_credits when your workspace is out of credits for it). Each key may send up to 120 requests per minute and 10 per second, and the keys of a workspace together up to 240 per minute and 20 per second (the dashboard's own traffic aside): a workspace with more keys does not get more room. Past either, the API answers 429 rate_limited with Retry-After, and error.details.scope says which: "key" or "account". Polling a run every few seconds stays well under it, and live updates need a single request.
These limits, and the ones that protect the people and servers Dataflow sends to (confirmation emails, tests, previews), all answer 429 with a Retry-After header and error.details.retry_after, in seconds:
{
"error": {
"code": "rate_limited",
"message": "A test was sent to this webhook destination less than a minute ago: try again in 42 seconds",
"details": { "limit": 1, "window_seconds": 60, "retry_after": 42 },
"request_id": "6f1d0c62-…"
}
}Unlike the Piloterr API, the Dataflow API reads the key from the x-api-key header only, never from the query string.
The answer to a request sent with an Idempotency-Key is kept 24 hours: see Send a request again safely.