Skip to main content
Sync state is stored per pipeline and per stream. It is used for incremental and CDC syncs.

Get Sync State

GET /organizations/:organizationId/pipelines/:id/sync-state Returns the current sync state. For incremental sync, this includes the cursor value. For CDC, it includes the CDC position (LSN, binlog position, etc.). Response: { success: true, data: { state: { ... }, ... } }

Reset Sync State

DELETE /organizations/:organizationId/pipelines/:id/sync-state Clears the sync state. The next run will start from the beginning (full sync behaviour for incremental; from current log position for CDC). Response: { success: true, message: "Sync state reset" }

When to Reset

  • Schema changed (cursor column, table structure).
  • Data correction in source.
  • Destination was truncated or dropped.
  • Troubleshooting repeated failures.