Skip to main content
POST
/
search
/
reindex
Start reindex
curl --request POST \
  --url http://localhost:5001/search/reindex \
  --header 'X-blnk-key: <api-key>'
Use blnk.Search.startReindex to rebuild the search index.
blnk.Search.startReindex
const response = await blnk.Search.startReindex({ batch_size: 1000 });
FieldDescription
batch_sizeRecords processed per batch. Omit the argument to use the Core default. Must be a positive integer when set.

Response shape

202 Accepted
{
  "message": "Reindex operation started",
  "progress": {
    "status": "in_progress",
    "phase": "indexing_transactions",
    "total_records": 2145709,
    "processed_records": 0,
    "started_at": "2026-02-12T12:13:10.448612096Z"
  }
}
FieldDescription
messageConfirmation that the reindex job started.
progressInitial progress snapshot with status, phase, total_records, processed_records, and started_at.

How reindexing works

When and why to rebuild the index.

Start Typesense reindex

HTTP request and response schema.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.