Skip to the documentation
API

Delete a knowledge item

Gone for good, with its file and its passages.

DELETE/knowledge/{id}

Runs the real call on your workspace.

DELETE /knowledge/{id}

Gone for good, with its file and its passages.

Example

Needs knowledge:write. The AI stops using the item at once. There is no undo.

curl
curl -X DELETE "$OE/knowledge/kb_8c1f4a2b9d7e3f60a5c7b21d" -H "$AUTH"
Response
{ "object": "knowledge_item", "id": "kb_8c1f4a2b9d7e3f60a5c7b21d", "deleted": true }

A 404 on your own second attempt after a lost response means the first one worked.

Reference