v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Knowledge Base

Delete a knowledge base

Delete a knowledge base.

400 is returned when the knowledge base is still linked to an agent: "This knowledge base is connected to an agent. Please detach it from the agent before deleting." Detach the KB from all agents (via agent config) before attempting deletion.

delete/knowledgebase/{id}

Path parameters

idstring required

The ID of the knowledge base

Response

Knowledge base deleted successfully

statusboolean

Example response

{
  "status": true
}