Reindex a document
Re-run ingestion for a document that failed or whose source changed.
status is failed, or when the content behind its source_url has
changed and you want the knowledge base to pick up the new version.
Responds 202 and re-runs ingestion in the background. Poll
GET /v1/knowledge-bases/{kb_id} until the document reads
processed; if it fails again, error_message carries the reason.
Authorizations
Your API key as a Bearer token, e.g. Authorization: Bearer vk_….
Path Parameters
The knowledge base's id, from POST/GET /v1/knowledge-bases.
The document's id, as the knowledge base read lists it.
Response
Accepted — the document is queued for reprocessing.
One piece of content in a knowledge base, as the public API promises it.
status is the ingestion state — adding a document returns 202 and processing happens in the
background, so a client polls the KB until this reads processed.
The document's id.
The name we stored it under.
Where it was fetched from, for a URL-sourced document.
What kind of file it is.
Where ingestion got to — pending, processing, processed, or failed. Ingestion is asynchronous: the upload returns 202 and the document is not searchable until this reads processed. On failed, error_message says why.
Why ingestion failed, if it did.
When it was uploaded (UTC, ISO 8601).
When its status last changed (UTC, ISO 8601).