Delete from knowledge base
Removes documents from a knowledge base
Also available to AI agents and over MCP as a tool.
Parameters
Section titled “Parameters”kbId
Knowledge base · string · required
by
By · string · optional · default documentId · one of documentId, externalId, metadata
documentId
Document id · string · optional
Shown when by is documentId.
externalId
External id · string · optional
Shown when by is externalId.
filter
Filter · json · optional
Shown when by is metadata.
Outputs
Section titled “Outputs”main