Knowledge Bases
Reindex a document
Re-run ingestion for a document that failed or whose source changed.
POST
Reindex Document
Use this when a document’s
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.
Reindexing replaces the document’s extracted content in place - the document id does not change,
and any agent using this knowledge base keeps working throughout.
Authorizations
Path Parameters
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.
Reindex Document