airbyte_trigger_clear
Remove synced data and reset cursors for specific streams in an Airbyte connection, preparing them for a clean re-sync without re-reading from source.
Instructions
Clear destination data for one or more streams in a connection.
Uses the internal Configuration API (POST /connections/clear) to remove synced data for the selected streams and reset their cursors. Unlike a refresh, a clear does not re-read from source — run a sync afterward to backfill data.
Requires a self-managed Airbyte deployment where the Configuration API (/api/v1) is accessible. NOT available on Airbyte Cloud.
When to Use: - Remove stale or incorrect destination data for specific streams. - Prepare streams for a clean re-sync after schema or config changes. - Clear affected streams after approving non-breaking schema changes.
When NOT to Use: - On Airbyte Cloud (internal API not available). - If you want to re-read source data without deleting first, use airbyte_trigger_refresh instead. - If the connection is already running a job, wait for it to finish.
Returns: The created clear/reset job with its job ID and initial status.
Examples: Clear a single stream: params = { "connection_id": "a1b2c3d4-...", "streams": [{"name": "oe-trailer"}] } Clear multiple streams: params = { "connection_id": "a1b2c3d4-...", "streams": [ {"name": "oe-trailer"}, {"name": "arinvitm", "namespace": "public"} ] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |