2025-05-17 03:38:38 +00:00

13 lines
291 B
Python

from typing import Dict
from fastapi import APIRouter
router = APIRouter()
@router.get("/", response_model=Dict[str, str])
def health_check() -> Dict[str, str]:
"""
Health check endpoint.
Returns a successful response if the API is running.
"""
return {"status": "ok"}