Skip to main content

Delete a knowledge base (and its documents)

DELETE 

/v1/knowledge-bases/:kb_id

Permanently delete a knowledge base along with every document and embedding chunk it holds.

This cannot be undone, and any workflow node or agent skill pointing at the knowledge base will start reporting it as missing. Delete individual documents instead if you only want to prune content. System and shared knowledge bases cannot be deleted.

Requires the knowledge:write scope.

Request

Responses

Successful Response