---
title: "Reindex Batch"
method: POST
path: "/api/kb/reindex-batch/{batch_id}"
tags: ["Knowledge Base"]
---

# Reindex Batch

`POST /api/kb/reindex-batch/{batch_id}`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/kb/reindex-batch/{batch_id}`
- Auth: HTTP bearer

Re-index all documents in a batch.

Fetches all documents from the batch and indexes their extracted data.
Useful after schema changes or when KB was not available during processing.

## Path parameters

- `batch_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
