Initial commit
This commit is contained in:
13
backend/app/api/routes_health.py
Normal file
13
backend/app/api/routes_health.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""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"}
|
||||
Reference in New Issue
Block a user