Skip to main content
The OpenSRE backend serves one HTTP API (FastAPI, gateway/web/webapp.py). All routes live on a single port (default 8000). To drive the agent in-process from your own code instead, see the Python API. In production, always call the API over HTTPS — deploy behind a TLS-terminating load balancer (the backend is Terraform-managed, separately from this repo). In production, terminate TLS at a load balancer or reverse proxy in front of the application.

Authentication

Health

Alert intake

Enqueue an alert for background handling. Returns 202:
Required field: text. Optional fields: alert_name, severity, source, received_at. Request bodies larger than 1 MiB return 413. Queued alerts are picked up by the agent’s alert inbox — the interactive shell surfaces them with /alerts, and chat gateways deliver them to the paired channel.

Status codes