QueryMind Documentation
Retrieval-augmented answers, grounded in your documents
Explore the docs and guides to integrate QueryMind: ingestion, retrieval, streaming answers and an embeddable widget, with a REST API and a single bearer key.
API reference for document ingestion, hybrid retrieval, reranking and streaming chat, with quickstarts, a concepts guide and the full endpoint contract.
Last updated: October 30, 2026
Read the quickstart or jump straight to POST /projects/{project_id}/chat/stream.
How does QueryMind work?
QueryMind is retrieval-augmented generation as a service. It indexes your content, retrieves the passages that matter for each question, and answers from those passages alone. Every answer names the documents it used.
You can use it in three ways, suited to different needs. The chat widget is a script tag that puts an assistant on your site with no frontend work. The REST API exposes ingestion, chat and configuration so you can build your own interface. The dashboard is where you upload documents, watch indexing, read conversations and manage keys.
What you never manage: chunking parameters, embedding calls, vector stores, reranking models. The pipeline runs on every request, and its stages are documented in Concepts so you can reason about why an answer came out the way it did.
One engine sits behind all three surfaces. A document uploaded from the dashboard is immediately available to the widget and to the API, because they share the same index: there is nothing to sync and no second pipeline to keep in step.
Choose your path
Three entries, depending on what you already know.
Quickstart
Index a document, ask a question, read the SSE stream. Five minutes.
Concepts
Tenants, chunks, the five-stage pipeline, reranking and sessions.
API Reference
Every route, the SSE event shapes, the error codes.
Make your first request
Create a key, upload a document, ask a question. No SDK required: plain HTTP and a bearer header.
Create an API key
documents:write and chat:write. The plaintext is shown once: copy it then.Upload a document
1curl -X POST "https://api.querymindx.tech/api/upload?project=$QM_PROJECT_ID" \2 -H "Authorization: Bearer $QM_API_KEY" \3 -F "file=@handbook.pdf"?project= is required: without it the document is written into the account's default project, not the one your key is scoped to.
Ask a question
1curl -N https://api.querymindx.tech/projects/$QM_PROJECT_ID/chat/stream \2 -H "Authorization: Bearer $QM_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{"question":"What is the notice period?"}'-N disables curl buffering so fragments appear as they arrive. The final done event carries the sources.
The Quickstart covers the same request with a client that parses the stream, and the API reference lists every event and error.
What can I build?
The engine is the same; what changes is the surface you expose.
Four questions decide the surface. Find your row, then follow the link: every one of them ends at the same index.
| You want to… | Surface | What to index | Start here |
|---|---|---|---|
| Answer visitors on your docs or site | Website widget | Docs site, help centre | Website Widget |
| Put the same answers inside your own UI | REST API | Same corpus, no second pipeline | API Reference |
| Let coding agents search your docs | MCP server | Docs, API specs | MCP server |
| Search internal runbooks and contracts | REST API, private key | Files, private project | Projects & visibility |
Connectors for GitHub, Slack, Notion and databases are documented but not implemented. Files and websites are the two ingestion paths that exist today: see Connectors.
