Skip to content

Commit 05e4a8b

Browse files
Merge pull request #34 from mariano-martin1/mariano/add-quotas-note
Add quotas information
2 parents c956764 + cab6024 commit 05e4a8b

File tree

7 files changed

+26
-4
lines changed

7 files changed

+26
-4
lines changed

docs/api-reference/v2/endpoints/search/get-search.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
title: "Search"
33
openapi: firework-v2-openapi get /search/
44
---
5+
6+
import GlobalSearchApiQuotaNote from '/snippets/global-search-api-quota-note.mdx';
7+
8+
<GlobalSearchApiQuotaNote />
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
---
22
openapi: firework-v2-openapi post /search/
33
title: Search
4-
---
4+
---
5+
6+
import GlobalSearchApiQuotaNote from '/snippets/global-search-api-quota-note.mdx';
7+
8+
<GlobalSearchApiQuotaNote />

docs/api-reference/v4/endpoints/global-search.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ api: "POST https://api.flare.io/firework/v4/events/global/_search"
44
---
55

66
import EventSearchCommon from '/snippets/endpoint-event-search-common.mdx';
7+
import GlobalSearchApiQuotaNote from '/snippets/global-search-api-quota-note.mdx';
78

9+
<GlobalSearchApiQuotaNote />
810
<EventSearchCommon />
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: 'Rate Limits'
2+
title: 'Rate Limits and Quotas'
33
---
44

5+
## Rate Limits
56

67
API usage exceeding 1 request per second is subject to Flare's API rate limit.
78
Rate Limits are enforced **per organization**.
@@ -22,3 +23,11 @@ If you receive 429 errors, Flare's recommended course of action is to wait 10 se
2223
```
2324

2425
</ResponseExample>
26+
27+
28+
## Quotas
29+
API users are responsible for monitoring their Global Search API usage and ensuring it remains within their allocated monthly quota.
30+
31+
Each response includes `X-Flare-Global-Searches-Remaining`: The number of API calls remaining in your monthly allocation.
32+
33+
To avoid service interruptions or missed events, we recommend implementing proactive monitoring of your usage.

docs/introduction/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The Flare API can be used to access Flare's search capabilities, configure monit
1212
Create an API Key and obtain API tokens.
1313
</Card>
1414

15-
<Card title="Rate Limits" icon="gauge-high" href="/concepts/rate-limits">
15+
<Card title="Rate Limits" icon="gauge-high" href="/concepts/rate-limits-and-quotas">
1616
Learn about the Flare API's rate limits.
1717
</Card>
1818

docs/mint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"group": "Base Concepts",
9292
"pages": [
9393
"concepts/authentication",
94-
"concepts/rate-limits",
94+
"concepts/rate-limits-and-quotas",
9595
"concepts/errors",
9696
"concepts/paging"
9797
]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Note>
2+
This endpoint is subject to quotas, [read more here <Icon icon="book" size={16} />](/concepts/rate-limits-and-quotas).
3+
</Note>

0 commit comments

Comments
 (0)