This API endpoint /en/api/limit_policies
provides information about the limit policies in our system. These policies are designed to ensure fair usage and protect the system from abuse.
Features
- Usage Limits: Details on the number of requests a user can make within a certain timeframe.
- Rate Limiting: Information on how the system handles requests that exceed the defined limits.
- Retry Policies: Instructions on how to handle rate limit errors and retries.
How to Use
To access the limit policies, send a GET request to /en/api/limit_policies
.
Example Request
GET /en/api/limit_policies HTTP/1.1
Host: example.com
Response
The response will be in JSON format, containing the details of the limit policies.
{
"usage_limits": {
"requests_per_minute": 60,
"requests_per_hour": 3600
},
"rate_limiting": {
"status": "active",
"reset_time": "UTC every minute"
},
"retry_policies": {
"max_retries": 5,
"retry_interval": "60 seconds"
}
}
For more information on how to handle specific scenarios, please refer to our Rate Limiting Best Practices Guide.
Additional Resources
Rate Limiting Example