forked from PrefectHQ/prefect
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document Prefect Cloud API rate limits (PrefectHQ#8529)
Co-authored-by: Bill Palombi <bill@prefect.io>
- Loading branch information
1 parent
1c7de02
commit b41ca38
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
description: Prefect Cloud API rate limits. | ||
tags: | ||
- API | ||
- Prefect Cloud | ||
- rate limits | ||
--- | ||
|
||
# Prefect Cloud API Rate Limits | ||
|
||
API rate limits restrict the number of requests that a single client can make in a given time period. They ensure Prefect Cloud's stability, so that when you make an API call, you always get a response. | ||
|
||
!!! info "Prefect Cloud rate limits are subject to change" | ||
The following rate limits are in effect currently, but are subject to change. Contact Prefect support at [help@prefect.io](mailto:help@prefect.io) if you have questions about current rate limits. | ||
|
||
Prefect Cloud enforces the following rate limits: | ||
|
||
- Flow and task creation rate limits | ||
- Log service rate limits | ||
- Service-wide rate limits (applicable to all requests) | ||
|
||
## Flow and task creation rate limits | ||
|
||
Prefect Cloud limits creation of flow and task runs to: | ||
|
||
- 2,000 per minute per account | ||
|
||
The Prefect Cloud API will return a `429` response with an appropriate `Retry-After` header if these limits are triggered. | ||
|
||
## Log service rate limits | ||
|
||
Prefect Cloud limits the number of logs accepted: | ||
|
||
- 700 logs per minute for personal accounts | ||
- 10,000 logs per minute for organization accounts | ||
|
||
## Service-wide rate limits | ||
|
||
Prefect Cloud also enforces service-wide rate limiting for all API routes. This is intended to protect against high request volumes that may degrade service for all users. | ||
|
||
Service-wide rate limits include: | ||
|
||
- 5,000 requests per minute per API key | ||
- 10,000 requests per minute per client IP | ||
|
||
The Prefect Cloud API will return a `429` response if these limits are triggered. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters