From 406ea8365a8be078a99fa8723cb575d1b8b1dc4b Mon Sep 17 00:00:00 2001 From: bot-backend Date: Sat, 30 May 2026 12:15:06 +0000 Subject: [PATCH] feat(health): expose app version in GET /health (#717) (#719) Co-authored-by: bot-backend Co-committed-by: bot-backend --- backend/app/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/app/main.py b/backend/app/main.py index 93ec4b83..1648033b 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -172,4 +172,8 @@ app.include_router(ping.router, prefix="/api/v1", tags=["ping"]) @app.get("/health") async def health() -> dict[str, str]: - return {"status": "ok", "environment": settings.environment} + return { + "status": "ok", + "environment": settings.environment, + "version": app.version, + }