provider Agents Platform POST /v1/convai/knowledge-base/{documentation_id}/rag-index
@utdk/elevenlabs /v1/convai/knowledge-base/{documentation_id}/rag-index
Compute Rag Index.
In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.
documentation_id path required
The id of a document from the knowledge base. This is returned on document addition.
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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

ragIndexStatus
POST/v1/convai/knowledge-base/{documentation_id}/rag-index
In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.

Parameters

required

The id of a document from the knowledge base. This is returned on document addition.

Input

required

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.ragIndexStatus({
  "model": "e5_mistral_7b_instruct"
})