Knowledge Bases

Cancel knowledge base 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.

post/knowledge-bases/{kb_id}/cancel-ingestion

Request

  • Base URL: https://console.hyperstack.cloud/ai/api/v1
  • URL: https://console.hyperstack.cloud/ai/api/v1/knowledge-bases/{kb_id}/cancel-ingestion
  • Auth: API key in header api_key

Path parameters

kb_idinteger required

Numeric ID of the knowledge base. Call the List knowledge bases API to retrieve the id of an existing knowledge base.

Response

Ingestion was cancelled.

statusstring

Always success when ingestion is cancelled.

messagestring

Confirmation that ingestion was cancelled.

Changes

No recorded changes to this operation across all 1 revision of this API.