Paperjet/backend/app/api/v1/health.py
Elijah c545d4b17d
Some checks failed
Automated Container Build / build-and-push (push) Failing after 3s
CI / Backend (Python) (push) Failing after 28s
CI / Frontend (TypeScript) (push) Failing after 5m8s
Initial commit with Phase 0 Scaffolding
2026-06-10 18:28:17 -07:00

13 lines
326 B
Python

"""Health check endpoint — unauthenticated."""
from fastapi import APIRouter
from app.config import settings
router = APIRouter(tags=["health"])
@router.get("/health")
def health_check() -> dict[str, str]:
"""Return service health status and version."""
return {"status": "ok", "version": settings.APP_VERSION}