Limits
How many requests a workspace can make each minute, the other limits your plan sets, and how to tell when you're close to them.
Requests per minute
Each workspace can make a set number of API requests per minute, shared by all of its keys:
| Plan | Requests per minute |
|---|---|
| Free | 5 |
| Builder | 50 |
| Pro | 200 |
| Enterprise | Custom |
Every response to a request that counts toward the limit says where you stand:
| Header | What it holds |
|---|---|
X-RateLimit-Limit | Requests allowed per minute |
X-RateLimit-Remaining | Requests left in the current window |
X-RateLimit-Reset | Seconds until the window resets |
Over the limit, the API returns 429 Too Many Requests with a Retry-After header saying how many seconds to wait. See Retry safely.
Runs in progress at once
Your plan also limits how many runs can be in progress at the same time, listed as Workflows running at once on the pricing page. A run started while you're at the limit isn't refused: it waits with the status queued, and starts as soon as one of the others finishes. Runs set aside to wait, for an approval or by a Wait of a minute or more, don't count toward it; a shorter wait keeps its place.
Runs per month
Each run you start through the API counts as one of your plan's monthly runs, the same as a run started any other way. When the month's runs are used up, starting a run returns 429 with the code monthly_run_limit, and its resets_at says when runs come back: the 1st (UTC), unless you add runs or turn on extra runs in Billing first. See What counts as a run.
Check your usage
Returns how many of the month's runs the workspace has used. Requires the executions:read scope.
curl https://api-prod.lodol.com/api/v1/usage \
-H "Authorization: Bearer $LODOL_API_KEY"Response 200:
{
"runs": {
"used": 412,
"limit": 1000,
"remaining": 588,
"resets_at": "2027-01-01T00:00:00+00:00"
}
}Fields in runs
usedinteger- Runs used this month.
limitinteger or null- How many runs a month the plan includes, or null for a plan with no monthly limit.
remaininginteger or null- How many are left this month, or null for a plan with no monthly limit.
resets_atstring or null- When the month's runs come back, in ISO 8601, or null for a plan with no monthly limit.
A plan with no monthly limit answers in the same shape, with limit, remaining and resets_at set to null:
{ "runs": { "used": 19, "limit": null, "remaining": null, "resets_at": null } }Request size
The body of a Run a workflow request can be at most 500 KB.
Keys per workspace
| Plan | API keys |
|---|---|
| Free | 1 |
| Builder | 10 |
| Pro | 40 |
| Enterprise | Custom |
Pricing always has the current figures for every plan.
Errors and retries
The error codes the API returns and what to do about each, the request ID to quote to support, which requests are safe to retry, and how idempotency keys stop a retry from doing the work twice.
Workflows
List the workspace's workflows, read one with its steps, create, change, duplicate or delete one, turn one that starts itself on or off, restore a past version, and read or change its failure settings.