Skip to content

Commit

Permalink
add specification to global search ratelimit
Browse files Browse the repository at this point in the history
  • Loading branch information
Iman Hassanein committed Dec 6, 2024
1 parent 2334b5e commit a8f0033
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/concepts/rate-limits-and-quotas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ title: 'Rate Limits and Quotas'

## Rate Limits

API usage exceeding 1 request per second is subject to Flare's API rate limit.
Basic API usage exceeding 2 request per second is subject to Flare's API rate limit.
Rate Limits are enforced **per organization**.

Calls to certain resources have stricter limits as follows, and do not count towards the basic limit:
- Global Search: 1 request per second

Enforced limits receive a `RATELIMIT_REACHED` error message with the status code 429.

If you receive 429 errors, Flare's recommended course of action is to wait 10 seconds before retrying.
Expand All @@ -28,7 +31,7 @@ If you receive 429 errors, Flare's recommended course of action is to wait 10 se
## Quotas
API users are responsible for monitoring their Global Search API usage and ensuring it remains within their allocated monthly quota.

Users with account administration rights can also view their Global Search API monthly calls by logging into the platform and navigating to [the tenants page](https://app.flare.io/#/tenants).
Users with account administration rights can also view their Global Search API monthly calls by logging into the platform and navigating to [the tenants page](https://app.flare.io/#/tenants).

Moreover, each global search response includes `X-Flare-Global-Searches-Remaining`, indicating the number of API calls remaining in your monthly allocation.

Expand Down

0 comments on commit a8f0033

Please sign in to comment.