my--7lr4xq/endpoints/health.get.py
2025-03-28 20:10:13 +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"
}