API-first RAG service. Upload docs, query with AI, get answers with sources.
No credit card required • 100 free queries/month
const response = await fetch('https://rag.runstate.dev/api/rag/query', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
query: 'What is our refund policy?'
})
});
// Response with sources
{
"answer": "Our refund policy allows returns within 30 days...",
"sources": [{ "document": "policies.pdf", "score": 0.94 }]
}
Three simple steps to AI-powered document search
Upload PDFs, docs, or text files. We automatically chunk and embed your content for optimal retrieval.
Ask questions in natural language via our simple API. Our AI finds the most relevant information from your docs.
Receive accurate answers with citation sources. Know exactly where each piece of information came from.
Power your applications with intelligent document search
Build AI chatbots that answer customer questions using your support docs and FAQs.
Help employees find information instantly across company wikis and documentation.
Let users search through your product docs and get instant, accurate answers.
Search through contracts, policies, and legal documents with AI precision.
Start free, scale as you grow
Ask a question and see RAG in action
Try these examples:
Start with 100 free queries. No credit card required.