provider Agents Platform GET
/v1/convai/knowledge-base/{documentation_id}/chunks @utdk/elevenlabs
/v1/convai/knowledge-base/{documentation_id}/chunks Get All Rag Chunks For A Document
Get all RAG chunks for a specific knowledge base document.
- documentation_id path required
- The id of a document from the knowledge base. This is returned on document addition.
- string
- embedding_model query required
- The embedding model used to retrieve the chunk.
- enum: e5_mistral_7b_instruct, multilingual_e5_large_instruct
- page_size query
- How many documents to return at maximum. Can not exceed 100, defaults to 30.
- integer
- 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
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.getDocumentationChunksFromKnowledgeBase({
"embedding_model": "e5_mistral_7b_instruct",
"page_size": 30
})