dasmi-75ujpv/endpoints/health.get.py
2025-03-16 03:02:23 +01:00

12 lines
217 B
Python

from fastapi import APIRouter
router = APIRouter()
@router.get("/health")
async def health_check():
"""Health check endpoint"""
return {
"status": "ok",
"message": "Service is healthy"
}