10 lines
247 B
Python
10 lines
247 B
Python
from fastapi import APIRouter, status
|
|
|
|
router = APIRouter(tags=["health"])
|
|
|
|
|
|
@router.get("/health", status_code=status.HTTP_200_OK)
|
|
def health_check():
|
|
"""Health check endpoint to verify the API is running."""
|
|
return {"status": "healthy"}
|