Skip to content

Check whether the server still owes this vault sync work

GET
/sync/quiescence
curl --request GET \
--url https://api.engram.page/sync/quiescence \
--header 'Authorization: Bearer <token>'

The vault’s change_seq plus how many CRDT updates still await their checkpoint. A client whose catch-up cursor has reached change_seq while both counts are 0 has seen every change the server will make on its own.

Sync quiescence

Media typeapplication/json
SyncQuiescenceResponse
object
change_seq
required

Current per-vault sequence watermark.

integer
pending_checkpoints
required

Scheduled or running checkpoint jobs for this vault’s notes.

integer
pending_crdt_updates
required

CRDT updates stored but not yet folded into their note by a checkpoint.

integer

Example generated

{
"change_seq": 1,
"pending_checkpoints": 1,
"pending_crdt_updates": 1
}