curl "https://api.ravan.ai/api/v1/rag/document?org_id=1268c1f0-19f3-47db-aefb-c16a7c3ace6e&doc_id=pricing_page" \ -H "X-Api-Key: YOUR_API_KEY"
{ "success": true, "message": "Document retrieved successfully", "data": { "org_id": "1268c1f0-19f3-47db-aefb-c16a7c3ace6e", "kb_id": "product_docs", "doc_id": "pricing_page", "text": "Contact our sales team for usage-based pricing details.", "metadata": {"category": "pricing"}, "status": "indexed", "created_at": "2026-03-20T10:30:00Z" } }
Retrieve a specific document from a knowledge base by its document ID.
Organization ID
Document ID
Successful response