provider Agents Platform POST /v1/convai/knowledge-base/url
@utdk/elevenlabs /v1/convai/knowledge-base/url
Create Url Document
Create a knowledge base document generated by scraping the given webpage.
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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createUrlDocumentRoute
POST/v1/convai/knowledge-base/url
Create a knowledge base document generated by scraping the given webpage.

Input

required

URL to a page of documentation that the agent will have access to in order to interact with users.

A custom, human-readable name for the document.

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

Whether to enable auto-sync for this URL document.

Whether to automatically remove the document if the URL becomes unavailable. Only applicable when auto-sync is enabled.

Enter a gateway URL above to enable sending.

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

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.createUrlDocumentRoute({
  "enable_auto_sync": false,
  "auto_remove": false
})