Search
Get reindex status
Poll the progress of a Typesense reindex with the TypeScript SDK.
GET
Get reindex status
Use
blnk.Search.getReindexStatus to check search reindex progress.
Track reindex progress
Poll until
response.data.status is completed. Compare processed_records to total_records to estimate remaining work.Response
200 OK
| Field | Type | Description |
|---|---|---|
status | string | Current state, in_progress or completed. |
phase | string | Current phase, for example indexing_transactions, or done when complete. |
total_records | number | Total number of records to index. |
processed_records | number | Number of records processed so far. |
started_at | string | Timestamp when the reindex began. |
completed_at | string | Timestamp when the reindex finished. Only present once status is completed. |
errors | object[] | Array of error messages. Only present when an error occurs. |
Related docs
How reindexing works
When and why to rebuild the index.
Check reindex progress
HTTP request and response schema.