Understand per-key and per-Agent request limits and retry safely.
The HeroUI Agents API enforces the following limits:
| Scope | Limit |
|---|---|
| Per API key | 120 requests per minute |
| Per Agent | 600 requests per minute |
| Per source IP during authentication | 1,200 requests per minute |
The per-key limit is workspace-wide, while the per-Agent limit is shared by every workspace key targeting that Agent. Adding Agents cannot multiply a key's allowance. The source-IP limit protects key verification before a key can be resolved. A rejected request returns 429 rate_limited with a Retry-After header containing the number of seconds to wait.
Retry-After header.429 is returned.Avoid sending simultaneous retries from every worker. Centralized throttling or a queue makes it easier to stay within these limits.
100 objects per page when processing complete datasets.next_cursor sequentially instead of requesting the same page again.status becomes ready or failed.The limits apply across users, conversations, runs, and knowledge operations rather than separately to each resource.