Cancel knowledge base ingestion
POST/knowledge-bases/:kb_id/cancel-ingestion
Stops the ingestion tasks that have not finished for a knowledge base. Chunks already written for those files are discarded, while files that finished indexing keep their chunks and stay searchable. Returns 404 when the knowledge base has no ingestion in progress.
Request
Responses
- 200
- 401
- 404
Ingestion was cancelled.
Your API key is missing or invalid.
The knowledge base has no ingestion task in progress.
Was this page helpful?