yera.ui.fastapi_routes.health

Expose the local server's liveness endpoint.

Symbols

def register_health_routes — Register the JSON liveness endpoint at ``GET /health``.

register_health_routes

register_health_routes(
    app: FastAPI,
) → None

Register the JSON liveness endpoint at GET /health.

The endpoint confirms that the HTTP application is responsive. It does not inspect app runtimes, providers, or external services.

Parameters

app
type: FastAPI

FastAPI application receiving the route.