micahmikes_95356
09/04/2025, 8:43 PMAI Evy
09/04/2025, 8:43 PMAI Evy
09/04/2025, 8:43 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const knowledgeBaseResponse = await client.knowledgeBase.retrieve('kb_1234567890') ;
console.log(knowledgeBaseResponse.knowledge_base_id) ;
[(2) ]()
Using the Python SDK:
python
from retell import Retell
client = Retell(
api_key="YOUR_RETELL_API_KEY",
)
[(3) ]()
Key requirements for creating a Knowledge Base:
- Authentication header with format "Bearer YOUR_API_KEY" [(4) ]()
- Knowledge base name must be less than 40 characters
- File uploads are limited to 25 files, with each file limited to 50MB
- URLs must be valid URLs
Make sure you're using proper authentication and following the parameter requirements outlined in the API reference . If you continue experiencing issues with direct API calls (not through the documentation interface) , you may want to contact support for further assistance.AI Evy
09/04/2025, 8:43 PMAI Evy
09/04/2025, 8:43 PM