Skip to content

Commit 9941e8d

Browse files
authored
docs: update plan names (#1683)
1 parent b6f642e commit 9941e8d

File tree

1 file changed

+49
-18
lines changed

1 file changed

+49
-18
lines changed

docs/guides/rate-limits.mdx

Lines changed: 49 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Project Rate Limits
44
sidebar_label: Rate Limits
55
---
66

7-
Ory Network enforces different rate limit policies based on the path of your request.
7+
Ory Network enforces different rate limit policies based on the environment of your project and the path of your request.
88

99
1. `/sessions/whoami`: session checks
1010
2. `/admin/oauth2/introspect`: OAuth2 token introspection
@@ -17,27 +17,58 @@ Each of these policies incorporates two types of rate limits:
1717
1. The `burst` limit, which regulates the maximum number of requests per second, allowing brief spikes in request volume.
1818
2. The `sustained` limit, controlling the number of requests over a one-minute period.
1919

20-
| Subscription Plan | Path / Bucket | burst (rps) | sustained (rpm) |
21-
| :---------------- | :------------------------- | ----------: | --------------: |
22-
| **Develop** | `/sessions/whoami` | 15 | 450 |
23-
| | `/admin/oauth2/introspect` | 15 | 450 |
24-
| | `/relation-tuples/check` | 15 | 450 |
25-
| | `GET /admin/identities` | 1 | 10 |
26-
| | `*` | 15 | 450 |
27-
| **Essentials** | `/sessions/whoami` | 80 | 1800 |
28-
| | `/admin/oauth2/introspect` | 80 | 1800 |
29-
| | `/relation-tuples/check` | 80 | 1800 |
30-
| | `GET /admin/identities` | 10 | 300 |
31-
| | `*` | 40 | 900 |
32-
| **Scale** | `/sessions/whoami` | 800 | 18000 |
33-
| | `/admin/oauth2/introspect` | 800 | 18000 |
34-
| | `/relation-tuples/check` | 800 | 18000 |
35-
| | `GET /admin/identities` | 20 | 600 |
36-
| | `*` | 400 | 9000 |
20+
## Developer Plan Rate Limits
21+
22+
| Environment | Path / Bucket | burst (rps) | sustained (rpm) |
23+
| :------------ | :------------------------- | ----------: | --------------: |
24+
| **Developer** | `/sessions/whoami` | 10 | 300 |
25+
| | `/admin/oauth2/introspect` | 10 | 300 |
26+
| | `/relation-tuples/check` | 10 | 300 |
27+
| | `GET /admin/identities` | 1 | 10 |
28+
| | `*` | 5 | 150 |
29+
30+
## Production Plan Rate Limits
31+
32+
| Environment | Path / Bucket | burst (rps) | sustained (rpm) |
33+
| :------------- | :------------------------- | ----------: | --------------: |
34+
| **Production** | `/sessions/whoami` | 80 | 1800 |
35+
| | `/admin/oauth2/introspect` | 80 | 1800 |
36+
| | `/relation-tuples/check` | 80 | 1800 |
37+
| | `GET /admin/identities` | 10 | 300 |
38+
| | `*` | 40 | 900 |
39+
| **Staging ** | `/sessions/whoami` | 10 | 30 |
40+
| | `/admin/oauth2/introspect` | 10 | 300 |
41+
| | `/relation-tuples/check` | 10 | 300 |
42+
| | `GET /admin/identities` | 1 | 10 |
43+
| | `*` | 5 | 150 |
44+
45+
## Growth Plan Rate Limits
46+
47+
| Environment | Path / Bucket | burst (rps) | sustained (rpm) |
48+
| :------------- | :------------------------- | ----------: | --------------: |
49+
| **Production** | `/sessions/whoami` | 800 | 18000 |
50+
| | `/admin/oauth2/introspect` | 800 | 18000 |
51+
| | `/relation-tuples/check` | 800 | 18000 |
52+
| | `GET /admin/identities` | 20 | 600 |
53+
| | `*` | 400 | 9000 |
54+
| **Staging ** | `/sessions/whoami` | 10 | 30 |
55+
| | `/admin/oauth2/introspect` | 10 | 300 |
56+
| | `/relation-tuples/check` | 10 | 300 |
57+
| | `GET /admin/identities` | 1 | 10 |
58+
| | `*` | 5 | 150 |
3759

3860
:::note
3961

4062
Looking for **enterprise-grade** rate limits? Everything's possible. [Get in touch](https://www.ory.sh/contact/) with us to
4163
discuss your requirements.
4264

4365
:::
66+
67+
## Workspace Rate Limit
68+
69+
For all projects in a workspace, the rate limit is the same as for the production environment. For example, on the Production
70+
plan, the rate limit would be 80 rps on the `/sessions/whoami` path for all projects combined on the workspace.
71+
72+
## Legacy plans
73+
74+
The legacy Essential and Scale plans have the same rate limits as Production and Growth respectively.

0 commit comments

Comments
 (0)