File size: 453 Bytes
ba52031
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
Core API endpoints for debug-env.
Handles health checks and service status information.
"""

import logging

from fastapi import APIRouter

logger = logging.getLogger(__name__)

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


@router.get("/health")
async def health_check():
    """
    Health check endpoint for service monitoring.

    Returns basic service status and availability information.
    """
    return {"status": "healthy", "service": "debug-env"}