Skip to main content
DELETE
/
agents
/
{agentId}
/
kb
/
{docId}
Delete a KB doc
curl --request DELETE \
  --url https://eu-cloudflare.vg-stuff.com/agents/{agentId}/kb/{docId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>"
}
This action is irreversible. Deleting a KB document permanently removes:
  • The document metadata
  • All associated text chunks
  • Vector embeddings from the database
The agent will no longer be able to reference this document’s content when answering questions.
To temporarily disable a document without deleting it, consider using tags to filter it out during retrieval instead.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required
docId
string
required

Response

Successful response

success
boolean
required
message
string
required