"""Health endpoint routes."""

from fastapi import APIRouter

router = APIRouter()


def healthz() -> dict[str, str]:
    """Return a simple health status payload."""
    return {"status": "ok"}


@router.get("/healthz")
def healthz_route() -> dict[str, str]:
    """Route wrapper for health status payload."""
    return healthz()
