backend / app /routes /health.py
bastienp's picture
feat(security): add an API-Key Mechanism
d60934b
raw
history blame
264 Bytes
from fastapi import APIRouter, status
router = APIRouter(
prefix="/health",
tags=["chat"]
)
@router.get("", status_code=status.HTTP_200_OK)
async def health_check():
return {
"status": "healthy",
"message": "Service is running"
}