Skip to content

Commit 51b26a3

Browse files
committed
docs(personalization): add rate limit information for personalization API
1 parent 92d20ce commit 51b26a3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

specs/personalization/spec.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ info:
3737
Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
3838
Error responses have a `message` property with more information.
3939
40+
## Rate limiting
41+
42+
When making requests to the Personalization API, you are limited to 40 API calls per second per application.
43+
44+
The following headers provide information about your current limit:
45+
46+
- `x-ratelimit-limit`: The number of requests allowed every second.
47+
- `x-ratelimit-remaining`: The number of requests remaining in the current
48+
second period.
49+
- `x-ratelimit-reset`: [Unix timestamp](https://www.unixtimestamp.com/) of
50+
the next time period.
51+
4052
## Version
4153
4254
The current version of the Personalization API is version 1, as indicated by the `/1/` in each endpoint's URL.

0 commit comments

Comments
 (0)