Tasks
GET /1/tasks/:taskId — check whether a queued write has been applied.
Requires the same key type that produced the task (a write or admin key).
When you get a taskId
A write only returns a taskId on the rare overflow path, when the primary answered with backpressure and the write was accepted onto a queue instead of applied directly. Most writes never produce a task, because most writes apply immediately.
Response
Example
Polling
Poll with backoff rather than tightly — an overflow task typically applies within seconds. If you need a hard guarantee that a specific write is visible before your own next step, prefer minDataVersion on a subsequent search once you have the task's dataVersion, rather than polling this endpoint in a request's critical path.