<@U04SE163WC8> where would I usually configure the...
# ask-ai
y
@kapa.ai where would I usually configure the limit&offset of for the api request?
u
In Airbyte, you would typically configure the limit and offset for the API request in the Connector Builder. The Offset Increment pagination mode in the Connector Builder does this for you. You just need to decide on a
limit
value to set and configure how the limit and offset are injected into the HTTP requests. Most APIs accept these values as query parameters. Here is an example of how you could apply the Pagination configurations in the Connector Builder: - Mode:
Offset Increment
- Limit:
2
- Inject limit into outgoing HTTP request: - Inject into:
request_parameter
- Field name:
limit
- Inject offset into outgoing HTTP request: - Inject into:
request_parameter
- Field name:
offset
This would cause your connector to make the following requests to the API in order to paginate through all of its data:
Copy code
GET <https://api.example.com/products?limit=2&offset=0>   GET <https://api.example.com/products?limit=2&offset=2>   GET <https://api.example.com/products?limit=3&offset=4>
For more details, you can refer to the [Airbyte documentation on Offset Increment](https://docs.airbyte.com/connector-development/connector-builder-ui/pagination#offset-increment).