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