Harel Trabelsi
06/18/2026, 7:22 AMkapa.ai
06/18/2026, 7:22 AMdocker exec -ti airbyte-db psql -U docker -d airbyte
Then run:
SELECT * FROM state;
This returns a table with the connection_id, the state JSON (which includes the cursor field and its latest value), and timestamps for when it was created/updated. [Incremental Data Sync Tutorial]
What the State Contains The state JSON typically looks like this:
{
"state": {
"streams": [
{
"cursor": "2022-09-02T07:55:58.324989",
"stream_name": "table_one",
"cursor_field": [
"updated_at"
],
"stream_namespace": "public"
}
]
}
}
The cursor value shown is what will be used as the starting point for the next incremental sync â only records with a cursor value greater than or equal to this value will be fetched. [Incremental Data Sync Tutorial]
> â ī¸ Note: You can also edit the connection state via the UI to change the starting point for the next sync, but this should be done with extreme care as incorrect edits can break your syncs. [Manage Connection State] đ 0 button đ 0 button âšī¸ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.