NewDeploy your app free on Nyas · Start free, pay as you go, recharge any timeDeploy your app free on Nyas→

RAG API

Search your documents from your own product.

Add documents or web pages with one call, ask questions with another. Answers come back with their sources.

How it works

  1. Ingest

    Send documents or web page URLs. They are split, indexed and stored in the background; check progress any time.

  2. Search

    Send a question. An answer streams back, built from the most relevant passages and the documents they came from.

  3. Answer

    Show it in your own product: a help centre, a search box, an assistant that cites its sources.

The API

Runs on Nyas cloud. Access and pricing are set up with you.

POST /api/data/ingest      # a file or a URL; returns an ingest id
GET  /api/data/ingest/{id} # progress of that ingest
POST /api/search/stream    # a question; streams an answer with sources

Who it is for

  • Products with many customers

    Give each customer search over their own documents inside your product, without running a vector database yourself.

  • Teams with a lot of documents

    Policies, contracts, manuals: searchable in plain language, with the source next to every answer.

Questions

  • What can I ingest?

    Documents (PDF, Word, Excel, PowerPoint, text and CSV) and web pages by URL. Ingestion runs in the background and you can check its status.

  • How does my application call it?

    One endpoint adds documents or URLs, another searches them. Results come back with the source they were found in.

  • How does it relate to Anchor?

    Anchor is the memory your Formulate agents share: lessons from your reviews. The RAG API is for your own product: search over documents you upload.

  • Can it run in my own cloud?

    It runs on Nyas cloud today. If you need it in your own cloud, talk to us.

Your AI team, ready today.

No card · 500 free credits · First results in minutes

Book a demo →