API client

This commit is contained in:
valenti 2026-04-16 12:13:47 -04:00
parent b8bd410eeb
commit 11bd3e2d3f

View File

@ -127,6 +127,13 @@ async def unhandled_exception_handler(request: Request, exc: Exception):
api_v1 = APIRouter(prefix=settings.normalized_api_prefix) api_v1 = APIRouter(prefix=settings.normalized_api_prefix)
@api_v1.get("/health", include_in_schema=False)
async def prefixed_health():
return {"status": "ok"}
api_v1.include_router(auth.router) api_v1.include_router(auth.router)
api_v1.include_router(checks.router) api_v1.include_router(checks.router)
api_v1.include_router(reports.router) api_v1.include_router(reports.router)