cURL
curl --request GET \ --url https://api.example.com/v1/voiceai/knowledge-base/rag-index \ --header 'x-api-key: <api-key>'
{ "total_used_bytes": 123, "total_max_bytes": 123, "models": [ { "model": "e5_mistral_7b_instruct", "used_bytes": 123 } ] }
Provides total size and other information of RAG indexes used by knowledgebase documents
API key for programmatic access
Successful Response
Response model for GET /rag-index endpoint. Provides total size and other information of RAG indexes.
Total bytes used
Maximum bytes allowed
Usage per model
Show child attributes