Skip to main content
Use this walkthrough when another service, frontend, worker, or non-Python client needs to call Ragrails over HTTP.

What you will run

A FastAPI server with endpoints for ingestion, chunking, embedding, storage, retrieval, pipelines, chat, and streaming.

1. Install server extras

Choose the vector database stack you need:
Set provider credentials before starting the server:

2. Start the server

REST API
For local development:
REST API
The server listens on http://127.0.0.1:8000 by default.

3. Smoke test

Then run a small pipeline request:

Common endpoints

Production checklist

  • Put the service behind your auth layer, gateway, and rate limits.
  • Use managed vector storage or persistent volumes for production indexes.
  • Keep API keys in environment variables or your secret manager.
  • Generate typed clients from /v1/openapi.json.
  • Prefer streaming endpoints for long crawls and responsive chat UIs.
  • Add request logging and audit logging around ingestion, chat, and tool-using workflows.

Next steps