project-p4nu47/endpoints/health.get.py
2025-03-27 07:28:31 +00: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"
}