---
title: "reindex doc"
method: PUT
path: "/admin/kb/{kb_id}/document/reindex"
tags: ["document"]
---

# reindex doc

`PUT /admin/kb/{kb_id}/document/reindex`

## Path parameters

- `kb_id` integer, required

## Request body

- SvcDocReindexReq
  - `ids` integer[]

## Response `200`

OK

- ContextResponse
  - `data` unknown
  - `err` string
  - `msg` string
  - `success` boolean
  - `trace_id` string

## Changes

- **2026-07-17** `29abcc05d9fd` — 1 info
  - endpoint added
- **2025-12-26** `4207addadff2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/chaitin/apis/koalaqa-api/changes/admin/kb/:kb_id/document/reindex/put.md)

---

[API](https://skmtc.dev/chaitin/apis/koalaqa-api.md) · [All operations](https://skmtc.dev/chaitin/apis/koalaqa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/koalaqa-api/revisions/29abcc05d9fd/schema)
