Andy Dyer
12/19/2023, 3:39 PM2,000 per minute for Pro accounts
so I doubt we are hitting it unless we have hidden hanging flows somewhereBianca Hoch
12/19/2023, 3:59 PMFor the rate limits, any call the is made to the flow_run, task_run, and flow endpoints counts towards the limit. This includes task/flow run state changes, task/flow run creation, deletion, cancellation, etc.
It bears mentioning that the 429 errors are automatically retried by the client a certain number of times. Retries can also be set to a configurable number (see here ), which can help with managing smaller spikes in requests. However, consistent high volumes of requests would consume a lot of bandwidth, and retries wouldn't be of much help on that front. At that point, you may consider spreading out the number of flow runs and task runs that run at a given time.
You can add sleeps to your tasks, or set concurrency limits to avoid bumping into the rate limit.
• Work pool concurrency
• Task run concurrency
Bianca Hoch
12/19/2023, 4:01 PMBianca Hoch
12/19/2023, 4:03 PMAndy Dyer
12/19/2023, 4:08 PM