<@U04S8PLJWMT> While configuring a new connection ...
# ask-ai
m
@kapa.ai While configuring a new connection from an API source, in post mode, for the sync mode, i only have an option of Full refresh. I want to do an incremental refresh. Why only full refresh available ?
k
Airbyte only shows Incremental as a sync mode when the stream and connector support it. From the protocol side, a stream must: 1. Support the
incremental
source sync mode (
supported_sync_modes
must include
incremental
). [[Configured stream](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#configuredairbytestream)] 2. Have a cursor field that can be used to determine “new or updated since last sync” (e.g., a timestamp or incrementing ID). [[Configured stream](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#configuredairbytestream)] For HTTP/API connectors built with the Connector Builder: - Incremental sync requires that: - Records expose a suitable cursor field (top-level datetime or similar), and - The API allows records to be filtered by that cursor. [[Incremental builder](https://docs.airbyte.com/platform/1.8/connector-development/connector-builder-ui/incremental-sync)] - In the Builder UI you must configure: - Cursor field - Datetime format - API time filtering capabilities - Start datetime / End datetime - How to inject start/end time into the HTTP request (query/body, etc.). [[Incremental builder](https://docs.airbyte.com/platform/1.8/connector-development/connector-builder-ui/incremental-sync)] If those requirements are not satisfied (for example, the API doesn’t support time-based filtering, or you haven’t configured cursor and time filtering in the builder), the stream will only expose Full refresh in the connection UI. [[Sync modes](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes); [Configured stream](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#configuredairbytestream)] So in your case, “only Full refresh” typically means: - The underlying stream/connector does not declare
incremental
support, or - For a custom API in the Builder, incremental cursor and time-filter settings have not been (or cannot be) configured based on what the API supports. If you share whether this is a prebuilt source (which one) or a custom Builder definition, you can then check whether its stream supports
incremental
and, for Builder, adjust the incremental section accordingly.