Files
ledgerdock/backend/app/api/routes_health.py
2026-02-21 09:44:18 -03:00

14 lines
283 B
Python

"""Health and readiness endpoints for orchestration and uptime checks."""
from fastapi import APIRouter
router = APIRouter(prefix="/health", tags=["health"])
@router.get("")
def health() -> dict[str, str]:
"""Returns service liveness status."""
return {"status": "ok"}