To prevent abuse, our APIs are rate-limited. The specific limits depend on the API you are using and the plan you are on. The limits applied to our API are shown in the table below. They are applied per API key and are reset every minute.Documentation Index
Fetch the complete documentation index at: https://docs.play.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Endpoint | Rate Limit |
|---|---|
POST /api/v1/agents | 20 requests/min |
PATCH /api/v1/agents/:agentId | 20 requests/min |
GET /api/v1/agents/:agentId | 60 requests/min |
GET /api/v1/agent-stats/:agentId | 60 requests/min |
How are rate limits enforced?
Our API enforces rate limits to ensure fair usage and maintain system stability. The rate limits are calculated per minute, based on the total number of requests made within a 60-second window.What happens when the rate limits are exceeded?
If you exceed your allotted rate limit, your subsequent requests will receive a429 - Too Many Requests HTTP status
code. This response indicates that the request quota for the current minute has been exceeded. You can resume sending
requests after the minute has elapsed, at which point the rate limit counter resets.