Rate Limits

Enforced request limits and how to retry throttled requests.

Last updated View as MarkdownAgent setup

Limits depend on the route. There is no single daily execution quota enforced across these APIs.

Workflow execution

POST /api/v1/workflows/{id}/execute checks a rolling limit of 120 executions per user per hour, across plans. API-key calls also pass a per-key minute limiter: 60 requests per minute by default, or the key's positive configured override. A null, zero or negative override uses 60.

The hourly check counts stored executions. Minute counters are held in process memory, so they are a throttling measure, not a precise account-wide spending cap.

Wrapped API routes

Routes using the shared API handler, including POST /api/v1/workflows/{id}/run, apply a user-keyed minute limiter to API-key requests. It uses the key's configured override when present; otherwise:

Plan Requests per minute
Free 10
Starter 20
Pro, Team, Premium 60
Enterprise 200

These are request limits. They do not promise a daily number of executions. The 120/hour limit above applies to direct /execute calls, not /run.

The Apps API has its own limits: 20 execute requests per minute per API key, or 3 per minute per IP for visitor calls. Public catalog routes do not use the shared authenticated-route limiter.

Response headers

Rate-limit headers are not included on every response. A throttled shared-handler response includes:

Header Meaning
X-RateLimit-Limit Requests allowed in this minute window.
X-RateLimit-Remaining Requests remaining in the window.
X-RateLimit-Reset Window reset as Unix seconds.
Retry-After Seconds to wait before retrying.

Direct execution throttles return Retry-After but do not promise the full X-RateLimit-* set. Successful responses may have none of these headers.

Handling 429 responses

An example from the shared handler:

{
  "error": {
    "type": "rate_limit_error",
    "message": "Rate limit exceeded. Limit: 60 requests/min.",
    "code": "rate_limit_exceeded"
  }
}

Honor Retry-After when present. Otherwise back off between retries:

async function requestWithBackoff(url, options, maxRetries = 3) {
  for (let attempt = 0; attempt < maxRetries; attempt++) {
    const res = await fetch(url, options);
    if (res.status !== 429) return res;
    const retryAfter = res.headers.get('Retry-After');
    const delay = retryAfter
      ? Number(retryAfter) * 1000
      : 2 ** attempt * 1000;
    await new Promise((resolve) => setTimeout(resolve, delay));
  }
  throw new Error('Rate limit exceeded after retries');
}

Do not automatically resubmit a paid run after a timeout or 5xx. First poll its execution ID or check history. Use the run endpoint's idempotency support when retrying a saved workflow.

Related

  • Errors

    Error response format, error types, and HTTP status codes for the Wireflow API.

  • Limits

    Wireflow's limits for uploads, runs and the API: file sizes per upload method, the 10GB hourly upload budget, route limits and what happens at a limit.

  • Polling or webhooks

    Know when an AI image or video job is done: poll the run until a final status, or add a webhook to /run and get a signed POST when it ends.

  • Fix API errors

    A Wireflow API request fails for the reason its status code names, such as 401 for the key, 402 for credits or 429 for too many requests. Fix each one here.

For AI agents: the full documentation index is at /llms.txt, and most docs pages are available as Markdown by adding .md to the URL.

© 2026 Wireflow. All rights reserved.