[feature] Add /api/health endpoint for monitoring #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
GET /api/healthreturns Express-style 404: "Cannot GET /api/health".There is no programmatic way to check if the API server and agent services
are running.
Solution
Add a
/api/health(or/api/status) endpoint that returns:Acceptance Criteria
GET /api/healthreturns 200 with JSON statusFiles
Reported By
Perplexity Comet automated browser test, 2026-03-19
PR #12 created.
Added static
/api/health/index.jsonendpoint returning JSON status with services, uptime, and version fields. The build script (scripts/build.py) regenerates it on eachmake buildwith a timestamped version.Since this is a static site with no backend yet,
agent_loopandwebsocketreportfalse— these will become dynamic once tower-hermes is implemented.