#I am unable to delete a knowledgebase document. I've already detached it from the agent.

1 messages · Page 1 of 1 (latest)

hardy cragBOT
#
AI-generated Answer for gogetter7

Short answer: the dashboard won’t let you delete a document if any agent still depends on it. To remove it anyway, use the API’s force delete.

What to do

  • In the dashboard, open the document and check the “Agents” tab to confirm there are no dependent agents. If any are listed, remove the document from those agents first. (elevenlabs.io)
  • If you want to delete it regardless of dependencies, call:
    DELETE /v1/convai/knowledge-base/:documentation_id?force=true
    This removes the document and detaches it from all dependent agents. (elevenlabs.io)
  • If you’re unsure which agent still references it, query:
    GET /v1/convai/knowledge-base/:documentation_id/dependent-agents
    to list any remaining dependencies. (elevenlabs.io)

Relevant docs:

  • Knowledge base dashboard behavior and dependencies. (elevenlabs.io)
  • Delete knowledge base document endpoint (force parameter). (elevenlabs.io)
  • Changelog announcing force delete support (June 1, 2025). (elevenlabs.io)
  • Dependent agents API to verify references. (elevenlabs.io)

Sources:
Knowledge base dashboard | ElevenLabs Documentation
Delete knowledge base document | ElevenLabs Documentation
Get dependent agents | ElevenLabs Documentation
Knowledge base dashboard | ElevenLabs Documentation
Delete knowledge base document | ElevenLabs Documentation
June 1, 2025 | ElevenLabs Documentation
Get dependent agents | ElevenLabs Documentation

twilit magnet
#

What is the difference in the workflow between connecting an edge to a tool from an agent instead of assigning a tool to the agent in the tool tab??