Trust Centers
Reindex the RAG knowledge base
Manually reindex one document (body.documentId set) or every document in the trust center's RAG knowledge base (body.documentId omitted). Worker enforces stale-version protection so racing this with doc edits is safe.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Format
uuidprojectId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/knowledge-base/reindex" \ -H "Content-Type: application/json" \ -d '{}'{ "trustCenterId": "string", "enqueuedCount": 0}