Agents Platform

Delete Knowledge Base Document Or Folder

Changed on

Delete a document or folder from the knowledge base.

delete/v1/convai/knowledge-base/{documentation_id}

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/convai/knowledge-base/{documentation_id}
  • Auth
    none declared

Path parameters

documentation_idstring required

The id of a document from the knowledge base. This is returned on document addition.

Example:21m00Tcm4TlvDq8ikWAM

Query parameters

forceboolean

If set to true, the document or folder will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents. For non-empty folders, this will also delete all child documents and folders.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

unknown required

Changes

    • info

      api operation id Delete_knowledge_base_document_v1_convai_knowledge_base__documentation_id__delete removed and replaced with delete_knowledge_base_document

    • info

      api tag Agents Platform added

    • info

      api tag Conversational AI removed

    • info

      added the new optional query request parameter force

    • info

      endpoint added