Knowledge base

Delete knowledge base entry by ID

Permanently removes a specific knowledge base entry and its associated vector database entry. Use this endpoint when you need to remove outdated or incorrect training data from your replica's knowledge base. This operation cannot be undone, and the entry will no longer be available for retrieval during conversations with your replica. In most cases, the deletion is completed immediately. However, in some scenarios, part of the deletion process may be delayed. This means that while the request has been accepted and the deletion process has started, some associated data may remain temporarily available and will be removed within 24 hours.

delete/v1/replicas/{replicaUUID}/knowledge-base/{knowledgeBaseID}

Request

  • Base URL: https://api.sensay.io
  • URL: https://api.sensay.io/v1/replicas/{replicaUUID}/knowledge-base/{knowledgeBaseID}
  • Auth: one of:
    • API key in header X-ORGANIZATION-SECRET
    • API key in header X-ORGANIZATION-SECRET and API key in header X-USER-ID and API key in header X-USER-ID-TYPE

Path parameters

knowledgeBaseIDnumber nullable required

The unique identifier of the knowledge base entry

Example:12345
replicaUUIDstring uuid required

The replica unique identifier (UUID)

Example:03db5651-cb61-4bdf-9ef0-89561f7c9c53

Headers

X-API-Versionstring
Example:2025-03-25

Response

The knowledge base entry was deleted successfully.

successboolean required

Indicates the status of the request

Changes

No recorded changes to this operation across all 1 revision of this API.