API reference · Knowledge
Delete a document
DELETE
https://goblins-call-api.onrender.com/v1/knowledge/documents/:idRemoves the document, everything taken from it and its file. Agents that named it no longer have it on their next call.
Needs a workspace API key.
Path parameters
idstringRequiredThe document’s ID, such as kd_4b1f0c9d2e7a6f53.
Errors
404No document in your workspace has that ID.
Every request can also answer 401, 429 and 500: see Errors.
curl -X DELETE "https://goblins-call-api.onrender.com/v1/knowledge/documents/kd_4b1f0c9d2e7a6f53" \
-H "Authorization: Bearer $CRACKLE_API_KEY"Response · 200 OK
{
"ok": true,
"id": "kd_4b1f0c9d2e7a6f53"
}