For the complete documentation index, see llms.txt. This page is also available as Markdown.

Rate limits

How Pylon limits API request volume and how to handle 429 responses

Pylon limits how many requests your organization can make to each API endpoint per minute.

How limits apply

  • Per organization. All API tokens in your organization share the same allowance. Creating more tokens does not raise it.

  • Per endpoint. Each endpoint has its own allowance. For example, requests to GET /issues do not count against POST /issues/search.

  • Per minute. Every endpoint uses one of three limits: 30, 120, or 300 requests per minute, unless Pylon has raised the limit for your organization. X-Rate-Limit-Limit shows the limit that applies to you.

Each endpoint's limit is listed in its entry in the API reference.

If your integration needs a higher limit on a specific endpoint, contact Pylon support.

Response headers

Header
When
Value

X-Rate-Limit-Limit

Every response

Your organization's per-minute allowance for this endpoint.

X-Rate-Limit-Remaining

Every response

How many more requests you can make to this endpoint right now.

X-Rate-Limit-Reset

Every response

Seconds until your full per-minute allowance is restored.

Retry-After

429 Too Many Requests only

Seconds to wait before the next request can succeed, rounded up to a whole second.

X-Retry-After

429 Too Many Requests only

Seconds until your full per-minute allowance is restored. Capacity comes back gradually before then, so some requests can succeed sooner.

A request over the limit returns 429 with the rate_limited error code. See Errors.

Handling 429 responses

  • Watch X-Rate-Limit-Remaining and slow down as it nears zero, rather than waiting for a 429. Compare it with X-Rate-Limit-Limit and X-Rate-Limit-Reset to pace bulk jobs before you hit the limit.

  • When you get a 429, wait at least the number of seconds in Retry-After before retrying. Add backoff and jitter if you keep receiving 429 responses. X-Retry-After describes the longer wait until the full allowance is restored.

  • Spread bulk jobs over time instead of sending them in bursts. Remember that every integration using your organization's tokens draws from the same allowance.

  • Prefer search endpoints with filters and pagination over fetching objects one at a time.

Last updated

Was this helpful?