from fastapi import APIRouter router = APIRouter(prefix="/health", tags=["health"]) @router.get("", summary="Health check") def health() -> dict[str, str]: return {"status": "ok"}