Neeraj N
11/08/2025, 6:35 AMkapa.ai
11/08/2025, 6:35 AMyaml paginator: type: "DefaultPaginator" page_size_option: type: "RequestOption" inject_into: "request_parameter" field_name: "page_size" pagination_strategy: type: "PageIncrement" page_size: 5000 page_token_option: type: "RequestOption" inject_into: "request_parameter" field_name: "page" This configuration will request up to 5,000 records per page. If you want to ingest only the first 5,000 records in total, you should ensure your sync stops after the first page or implement logic in your connector to halt after reaching your desired record count. Note that Airbyte itself does not provide a built-in "limit" parameter for total records per sync; you must handle this via pagination or custom connector logic. If you are using an API that supports limiting the total number of records, you can set the page size accordingly and only fetch the first page. If you are using the Connector Builder UI, you can similarly configure the page size and starting page, and Airbyte will handle the pagination for you, fetching records in batches of your specified size until all data is retrieved or your custom logic stops the sync[Pagination Strategies](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/pagination#pagination-strategies). If you need to sample only a small number of records for testing, there is currently no built-in way in Airbyte to limit the total number of records returned in a sync via the UI or API, but you can achieve this by configuring your source or API to return only the desired number of records per request, or by customizing your connector logic[Forum Post: Limit connection sync records returned](https://discuss.airbyte.io/t/4082). In summary: - Set the page size to 5,000 in your connector's pagination configuration. - If you want to ingest only 5,000 records total, ensure your connector or API only returns one page, or implement logic to stop after the first page. Let me know if you need an example for a specific connector or API!