Deck enforces two types of limits: rate limits on API requests and concurrency limits on sessions running in agent sandboxes.Documentation Index
Fetch the complete documentation index at: https://docs.deck.co/llms.txt
Use this file to discover all available pages before exploring further.
Limits
The rate limit is 200 requests per 10 seconds per organization. Limits are applied across all API keys in your organization. If you have multiple services making requests with different keys, they share the same quota.Rate limited responses
When a request is rate limited, Deck returns:Handling rate limits
Implement retries with exponential backoff when you receive a429 response.
Session concurrency
Each task that Deck runs executes in an agent sandbox tied to a session. The number of sessions your organization can run concurrently depends on your plan. This limit applies across all sessions in your organization regardless of connector or credential. When you submit a task that would exceed your concurrency limit, Deck returns a429 status code:
Best practices
- Use events instead of polling. Register an event destination and let Deck push status updates to you rather than polling
GETendpoints in a loop. - Paginate list requests. Use
limitandcursorto fetch results in pages rather than requesting large datasets in a single call. - Stagger task submissions. If you have many tasks to run, queue them and submit the next one after the previous completes. Use events to know when a session finishes rather than polling.