provider Agents Platform GET /v1/convai/knowledge-base/search
@utdk/elevenlabs /v1/convai/knowledge-base/search
Search Knowledge Base Content
Fuzzy text search over knowledge base document content
query query required
The search query text
string
page_size query
How many documents to return at maximum. Can not exceed 100, defaults to 30.
integer
types query
If present, the endpoint will return only documents of the given types.
cursor query
Used for fetching next page. Cursor is returned in the response.
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.

searchKnowledgeBaseContentRoute
GET/v1/convai/knowledge-base/search
Fuzzy text search over knowledge base document content

required

The search query text

How many documents to return at maximum. Can not exceed 100, defaults to 30.

If present, the endpoint will return only documents of the given types.

Used for fetching next page. Cursor is returned in the response.

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.searchKnowledgeBaseContentRoute({
  "page_size": 30
})