Skip to main content
DELETE
/
delete-knowledge-base
/
{knowledge_base_id}
JavaScript
import Retell from 'retell-sdk';

const client = new Retell({
  apiKey: process.env['RETELL_API_KEY'], // This is the default and can be omitted
});

await client.knowledgeBase.delete('kb_1234567890');
{
  "status": "error",
  "message": "API key is missing or invalid."
}

Documentation Index

Fetch the complete documentation index at: https://docs.retellai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"

Path Parameters

knowledge_base_id
string
required

The knowledge base id to delete.

Example:

"kb_1234567890"

Response

No Content