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

# Reindex Batch

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

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.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/718de1c0d866/schema)
