Authorization: Bearer ...: an AgentDoor agt_ token, an MCP or ChatGPT login, or a web app session. Every token that belongs to the same Fere account shares one budget. People on the same office or mobile network do not use up each other’s budget.
The default can change. When you are limited,
Retry-After tells you how long to wait. Trust that number over the table.
Tool calls made from inside a Fere code sandbox have their own budget, so they do not use up the account’s budget.
rate_limited: wait, then continue
HTTP 429. The response includes Retry-After, a whole number of seconds (at least 1) until the next window starts.
What to do:
- Wait at least
Retry-Afterseconds, then send the same request again. Retry once, not in a tight loop. - Do not register a new AgentDoor key or sign in again to get a new budget. Every token for the account shares the same budget.
- If you poll prices, positions or PnL, poll less often.
A 429 with a plain message body
The edge in front of the API also limits requests per client IP, whether or not they are signed in. It is set well above normal use and is there to stop floods. When you hit it, the 429 has a different body:
Retry-After is still there, in whole seconds. Treat this response the same way as rate_limited: wait at least Retry-After seconds, then retry once.
These responses also carry RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, X-RateLimit-Limit-Minute and X-RateLimit-Remaining-Minute. They describe the IP’s budget, not the account’s, and they can appear on successful responses too. On an account rate_limited response you may get two of each RateLimit-* header, one for the IP and one for the account, often joined into one value such as 600, 600. Retry-After is only ever sent once. Use it to decide when to retry, and read detail.error.code only when the body has one.
Schedule limits
A schedule runs a chat query or strategy for you on a timer, for example “every morning at 8, summarise BTC news”. You can create one from chat, through the MCP or over the API. Each account can have a limited number of schedules running at once.
Need more? Contact us and we can raise the limit for your account.
Each run of a schedule uses credits, so starting a schedule also needs enough credits for one run. The same two checks apply whenever a schedule starts: when you create it, resume it or activate it.
schedule_limit_reached: stop one first
HTTP 409. The account already has as many running schedules as its limit allows. Through the API, the body looks like this:
insufficient_credits: top up first
HTTP 402, with detail.error.code set to insufficient_credits. The body has the same shape as above, and details.detail.error is also insufficient_credits. The account does not hold enough credits for one run of the schedule.
What to do: top up your credits, then try again.
If the account runs out of credits later, Fere stops all its schedules, and runs that were already waiting to start do not run. Top up, then resume the schedules you want.
Sign-up and token limits
The AgentDoor sign-up and token routes (/v1/auth/register, /v1/auth/verify and /v1/auth/token) have their own limit, per client IP, because no account exists yet. See Agent API authentication.
