Turn Your Documents Into
an AI Assistant

API-first RAG service. Upload docs, query with AI, get answers with sources.

Try API Demo

No credit card required • 100 free queries/month

api-request.js
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 }]
}

How It Works

Three simple steps to AI-powered document search

STEP 1

Upload Documents

Upload PDFs, docs, or text files. We automatically chunk and embed your content for optimal retrieval.

STEP 2

Query with AI

Ask questions in natural language via our simple API. Our AI finds the most relevant information from your docs.

STEP 3

Get Answers with Sources

Receive accurate answers with citation sources. Know exactly where each piece of information came from.

Built For Every Use Case

Power your applications with intelligent document search

Customer Support Bot

Build AI chatbots that answer customer questions using your support docs and FAQs.

Internal Knowledge Base

Help employees find information instantly across company wikis and documentation.

Product Documentation

Let users search through your product docs and get instant, accurate answers.

Legal/Compliance Search

Search through contracts, policies, and legal documents with AI precision.

Simple, Transparent Pricing

Start free, scale as you grow

Free

$0 /month
  • 100 queries/month
  • 1MB storage
  • 1 Knowledge Base
  • Community support

Starter

$19 /month
  • 1,000 queries/month
  • 50MB storage
  • 3 Knowledge Bases
  • Email support
POPULAR

Pro

$49 /month
  • 10,000 queries/month
  • 500MB storage
  • 10 Knowledge Bases
  • Priority support

Business

$99 /month
  • Unlimited queries
  • 5GB storage
  • Unlimited Knowledge Bases
  • Dedicated support + SLA

Try the API

Ask a question and see RAG in action

Try these examples:

Ready to Build Your AI Knowledge Base?

Start with 100 free queries. No credit card required.