v172

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0826148911.7 MB
Knowledge Bases

Deletes a datasource

Deletes a datasource from a knowledge base. Deleting a datasource will remove it from the knowledge base and all associated chunks. This action is irreversible and cannot be undone.

delete/v2/knowledge/{knowledge_id}/datasources/{datasource_id}

Path parameters

knowledge_idstring required

The unique identifier of the knowledge base

The unique identifier of the knowledge base

datasource_idstring required

The unique identifier of the datasource.

The unique identifier of the datasource.

Response

Datasource successfully deleted