Skip to content

hiveguard health

Check whether the HiveGuard server is reachable and healthy.

Terminal window
hiveguard health

Output:

✓ HiveGuard is healthy (http://localhost:8000)
status: ok
version: 0.3.0

No authentication required. Useful in startup scripts and Docker health checks:

HEALTHCHECK --interval=30s --timeout=5s \
CMD hiveguard health || exit 1

If the server is unreachable, exits with code 1:

Error: Could not connect to HiveGuard at http://localhost:8000
(Connection refused)