For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete Q&A documents

Removes Q&A pairs from your AI agents' knowledge. IDs that don't exist are ignored.

delete
Authorizations
api_keystringRequired

Your business's Cekat API key, from Settings → Developers & API in the Cekat dashboard (https://chat.cekat.ai/developers?section=apikeys). Available on the Business and Enterprise plans.

Body
idsstring · uuid[] · min: 1Required
Responses
200

Q&A deleted. data.ids lists what was deleted.

application/json
successbooleanOptional
messagestringOptional
delete/api/documents
DELETE /api/documents HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "ids": [
    "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
  ]
}
{
  "success": true,
  "message": "text",
  "data": {
    "ids": [
      {
        "id": "text",
        "question": "text",
        "answer": "text"
      }
    ]
  }
}

Last updated