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-Agent limit is shared by every API key that belongs to that Agent. The source-IP limit protects key verification from brute-force and query-exhaustion traffic before a key can be resolved. A request rejected by any limit 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.The public API is read-only. The limits apply across users, conversations, and runs rather than separately to each resource.