Skip to main content

routes

HTTP routes for the core domain.

Liveness: the one route that belongs to no domain.

Module​

Functions​

health​

def health(request: Request) ‑> HealthStatus:

Report liveness and the API version, for connection and version checks.

Arguments

  • request: The incoming request, used to reach the app's version.

Returns {"status": "ok"}, the API contract version this server implements, and the pid of the process serving it.