Rate limits
Rate limits protect your API from agents that call it far more often than any genuine task requires. Each tool you publish accepts a defined number of calls per minute, and requests beyond that number are refused by Mitu before they reach your API, so a misbehaving agent can never overwhelm the systems that serve your customers.
Tool limits
Each tool accepts 60 calls per minute by default, and its limit is shown on the tool in the Mitu dashboard. When an agent exceeds it, Mitu responds to the agent directly with a 429 status, and the request never reaches your API.
A well designed agent waits and retries. If genuine customer activity regularly reaches the limit on a tool, contact Mitu to have it raised.
Responding to a limit
Stop and wait
When a request is refused with a 429 status, stop sending further requests to the same operation rather than retrying immediately.
Rate limit practices
- Design for limits from the outset
Assume any request can be refused with a 429 status, and handle it gracefully wherever your systems or agents call Mitu. - Reduce unnecessary calls
Guide agents through your instructions to avoid repeating the same request, for example by reusing availability already retrieved. - Plan for growth
If you expect a significant increase in traffic, contact Mitu in advance so limits can be set to match.
Rate limits keep your API stable under any level of agent traffic, so a surge in demand or a single misbehaving agent never affects the service your customers receive.