---
title: "Admin-only: rebuild every command palette index from Postgres. Use after seeding or if indexes drift."
method: POST
path: "/internal/command-palette/reindex"
tags: ["Command Palette"]
---

# Admin-only: rebuild every command palette index from Postgres. Use after seeding or if indexes drift.

`POST /internal/command-palette/reindex`

Admin-only: rebuild every command palette index from Postgres. Use after seeding or if indexes drift.

## Response `200`

Success

- CommandPaletteReindexResponse
  - `success` boolean, required — Indicates if the request was successful
  - `data` object, required
    - `indexed` object, required — Map of index name → document count indexed in this run

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/banqzinc/apis/quidkey-api.md) · [All operations](https://skmtc.net/banqzinc/apis/quidkey-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/banqzinc/quidkey-api/revisions/f86d2bdbcb08/schema)
