<@U04S8PLJWMT>, In the low-code source connector h...
# ask-ai
n
@kapa.ai, In the low-code source connector how can I add time delay between api calls
k
You can throttle requests in a low-code (declarative) source by configuring an API Budget in the manifest (or via the Connector Builder UI’s Global Configuration). Define policies that enforce a fixed or moving window of allowed calls; the framework will insert the necessary delays between requests. Example (YAML snippet):
Copy code
yaml api_budget:   type: "HTTPAPIBudget"   ratelimit_reset_header: "X-RateLimit-Reset"   ratelimit_remaining_header: "X-RateLimit-Remaining"   status_codes_for_ratelimit_hit: [429]   policies:     - type: "MovingWindowCallRatePolicy"       rates:         - limit: 100           interval: "PT1M"   # up to 100 calls per minute       matchers:         - method: "GET"           url_base: "https://api.example.com"           url_path_pattern: "^/users"
Use FixedWindowCallRatePolicy for “X calls per Y hours/minutes” or MovingWindowCallRatePolicy for rolling limits; you can also specify UnlimitedCallRatePolicy where no throttling is needed. If the API exposes rate headers, HTTPAPIBudget will auto-adjust using remaining/reset values. In the Builder UI, set this under Global Configuration → API Budgets ([Rate limiting (API Budget)](https://docs.airbyte.com/platform/next/connector-development/config-based/understanding-the-yaml-file/rate-limit-api-budget), [Low-code overview](https://docs.airbyte.com/platform/next/connector-development/config-based/low-code-cdk-overview)).