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:

PlanRequests per minute
Free5
Builder50
Pro200
EnterpriseCustom

Every response to a request that counts toward the limit says where you stand:

HeaderWhat it holds
X-RateLimit-LimitRequests allowed per minute
X-RateLimit-RemainingRequests left in the current window
X-RateLimit-ResetSeconds 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

GET/api/v1/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

PlanAPI keys
Free1
Builder10
Pro40
EnterpriseCustom

Pricing always has the current figures for every plan.

On this page