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
400
ids is missing or empty.
application/json
401
The API key is missing or invalid.
application/json
404
None of the IDs were found.
application/json
429
Rate limit exceeded. Wait and retry.
application/json
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