""" Health check handler Provides health check endpoints for the API """ from fastapi import APIRouter from app.config import get_settings from datetime import datetime router = APIRouter() @router.get("/health") async def health_check(): """Health check endpoint""" settings = get_settings() return { "status": "healthy", "service": "Gitea Webhook Ambassador", "version": settings.version, "timestamp": datetime.utcnow().isoformat() }