11 lines
332 B
Python
11 lines
332 B
Python
from fastapi import APIRouter, status
|
|
from typing import Dict, Any
|
|
from helpers.health_helpers import check_system_status
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/api/health", status_code=200)
|
|
async def health_check() -> Dict[str, Any]:
|
|
"""Check system health status"""
|
|
status_info = check_system_status()
|
|
return status_info |