provider Agents Platform POST /v1/convai/knowledge-base
@utdk/elevenlabs /v1/convai/knowledge-base
Add To Knowledge Base
Uploads a file or reference a webpage to use as part of the shared knowledge base
agent_id query
string
xi-api-key header
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.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
addDocumentationToKnowledgeBase
POST/v1/convai/knowledge-base
Uploads a file or reference a webpage to use as part of the shared knowledge base

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.addDocumentationToKnowledgeBase()