Search

Get reindex status

Poll the progress of a Typesense reindex with the TypeScript SDK.

GET/search/reindex

Use blnk.Search.getReindexStatus to check search reindex progress.

Call the method

const response = await blnk.Search.getReindexStatus();

This method takes no arguments.

Track reindex progress

Poll until response.data.status is completed. Compare processed_records to total_records to estimate remaining work.

Response

{
  "status": "in_progress",
  "phase": "indexing_transactions",
  "total_records": 2145709,
  "processed_records": 2145709,
  "started_at": "2026-02-12T12:13:10.448612096Z"
}
FieldTypeDescription
statusstringCurrent state, in_progress or completed.
phasestringCurrent phase, for example indexing_transactions, or done when complete.
total_recordsnumberTotal number of records to index.
processed_recordsnumberNumber of records processed so far.
started_atstringTimestamp when the reindex began.
completed_atstringTimestamp when the reindex finished. Only present once status is completed.
errorsobject[]Array of error messages. Only present when an error occurs.