Health endpoint

GET /health reports whether MongoDB, Qdrant, mem0 (when relevant), and core configuration are healthy enough to serve traffic.

Request correlation

HTTP middleware adds x-correlation-id so you can tie a browser or API request to backend logs and downstream calls.

Logging

Structured logging is initialized from src/configs/logging_config.py. Set log level per environment (quieter in production, more verbose when debugging).

Extending observability

Document your metrics stack (Prometheus, Datadog, cloud vendor agents, and so on) and dashboards here as you adopt them in production or pilot environments.