cURL
curl --request POST \ --url https://api.ravan.ai/api/v1/rag/query \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "org_id": "<string>", "kb_id": "<string>", "query": "<string>" } '
{ "success": true, "message": "<string>", "data": { "results": [ { "text": "<string>", "score": 123, "doc_id": "<string>", "metadata": {} } ] } }
Query Knowledge Base.
Documentation IndexFetch the complete documentation index at: https://docs.ravan.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.ravan.ai/llms.txt
Use this file to discover all available pages before exploring further.
Show data
Show result item
Organization ID
Knowledge Base ID
Search query
Successful response
Show child attributes