provider Agents Platform POST /v1/convai/knowledge-base/text
@utdk/elevenlabs /v1/convai/knowledge-base/text
Create Text Document
Create a knowledge base document containing the provided text.
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
createTextDocumentRoute
POST/v1/convai/knowledge-base/text
Create a knowledge base document containing the provided text.

Input

required

Text content to be added to the knowledge base.

A custom, human-readable name for the document.

If set, the created document or folder will be placed inside the given folder.

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.createTextDocumentRoute()