Skip to main content
DELETE
/
agents
/
{agentId}
/
kb
/
{docId}
Delete a KB doc
curl --request DELETE \
  --url https://eu-gcp-api.vg-stuff.com/v3/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

The unique identifier of the agent

docId
string
required

The unique identifier of the KB document to delete

Response

Successful response

success
boolean
required

Indicates if the deletion was successful

message
string
required

Response message confirming deletion