14 lines
243 B
Python
14 lines
243 B
Python
"""Health check routes."""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter(tags=["health"])
|
|
|
|
|
|
@router.get("/healthz")
|
|
async def healthcheck() -> dict[str, str]:
|
|
"""Return a simple health check response."""
|
|
|
|
return {"status": "ok"}
|
|
|