REST API Overview

FastAPI backend with auto-generated OpenAPI documentation.

Base URL defaults to http://127.0.0.1:8000 in local development. Set NEXT_PUBLIC_API_URL in the frontend to match your deployment.

Interactive reference

When the backend is running, use Swagger UI at /docs or ReDoc at /redoc for live schema exploration.
GET/health

Liveness probe — returns service status.

API sections

Authentication

Agent-scoped routes require the X-Agent-Access-Token header. See Authentication for issuance and reissue flows.