API Playground

Test your RAG queries with your API key

Get your API key from the Dashboard

Select a KB to search your uploaded documents, or leave empty to use the default assistant

Try these examples:

API Reference

POST https://rag.runstate.dev/api/rag/query

Headers:
  X-API-Key: rag_xxxxxxxxxxxx
  Content-Type: application/json

Body:
{
  "query": "Your question here"
}