Trillet AI logo

Delete Knowledge Base

Delete a knowledge base and detach it from every flow that uses it.

DELETEhttps://api.trillet.ai/v1/api/knowledgebase/{id}

The knowledge base is soft-deleted: it disappears from the API and the dashboard straight away, and it is removed from the settings of every call flow and message flow that used it, so agents stop searching it.

Deleting a knowledge base does not erase its uploaded files or search index. They are kept so support can restore the knowledge base. If you need the content itself removed, contact support.

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

idstringrequired

The unique identifier of the knowledge base to delete.

Response

204 No Content, with no body.

Errors

StatusBodyWhen
400{"message": "X-Workspace-ID header is required"}No x-workspace-id
500{"message": "..."}Anything else

Last updated on