File size: 251 Bytes
970eef1
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from fastapi import APIRouter

router = APIRouter(tags=["health"])

@router.get("/health")
async def health_check():
    """
    Check if the API is running properly
    
    Returns:
        Dictionary with status
    """
    return {"status": "ok"}