Understanding 'RATE_LIMITED' action

Summary

Explanation of the ‘RATE_LIMITED’ action in the API documentation.


Question

Hey, does anyone knows what this action ‘RATE_LIMITED’ does? I could not find anything in the docs.



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["rate-limited", "action", "api", "documentation"]

Code is the best place to check :wink:
https://github.com/airbytehq/airbyte/blob/647a3e8243e9ef1d53d94ac5302172c300b7064e/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py#L537-L542|http.py#L537-L542
https://github.com/airbytehq/airbyte/blob/647a3e8243e9ef1d53d94ac5302172c300b7064e/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http_client.py#L327-L356|http_client.py#L327-L356

Thank you <@U05JENRCF7C>
not sure if I fully understand it though.
Am I right that the difference between retry and rate_limited is that the latter is waiting a specific time until it retries to respect the limit?
Will it receive the threshold from the api automatically and respect it?

Use different backoff strategy, if your API returns something in headers