curl --request GET \
--url 'http://localhost:8000/api/docs/rate-limits' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"rate_limits": {
"default": {
"requests_per_minute": 1,
"description": "string"
},
"unauthenticated": {
"requests_per_minute": 1,
"description": "string"
},
"training": {
"concurrent_jobs": 1,
"description": "string"
}
},
"headers": {}
}
Rate Limits
Get rate limit information.
GET
/
api
/
docs
/
rate-limits
curl --request GET \
--url 'http://localhost:8000/api/docs/rate-limits' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"rate_limits": {
"default": {
"requests_per_minute": 1,
"description": "string"
},
"unauthenticated": {
"requests_per_minute": 1,
"description": "string"
},
"training": {
"concurrent_jobs": 1,
"description": "string"
}
},
"headers": {}
}
Get rate limit information.
Response
object
object
required
object
required
The
X-RateLimit-* headers and what each meansStatus codes
| Code | Meaning |
|---|---|
200 | Successful response |
401 | Authentication required |
422 | Validation error |
429 | Rate limit exceeded |
curl --request GET \
--url 'http://localhost:8000/api/docs/rate-limits' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"rate_limits": {
"default": {
"requests_per_minute": 1,
"description": "string"
},
"unauthenticated": {
"requests_per_minute": 1,
"description": "string"
},
"training": {
"concurrent_jobs": 1,
"description": "string"
}
},
"headers": {}
}