Skip to content
Hoody.com

The Health Monitoring API exposes lightweight endpoints for inspecting the runtime state of a Hoody Code instance and detecting available updates. Use these endpoints to wire uptime probes, build operational dashboards, or run periodic version checks without affecting the user’s session or heartbeat activity.

All endpoints are served from the container-scoped host assigned to the Hoody Code instance.

Returns standardized service health status, including process identifiers, memory usage, file descriptor count, and the remote peer IP of the caller. This endpoint does not count toward heartbeat activity, so health checks will not keep Hoody Code artificially alive when the user has otherwise gone idle.

This endpoint takes no parameters.

Terminal window
curl -X GET "https://acme-prod-cnt-7a3f9b-code-1.us-east-1.containers.hoody.icu/api/v1/code/health"
FieldTypeRequiredDescription
statusstringYesService status. Always "ok" when the endpoint responds.
servicestringYesService identifier. Always "hoody-code".
builtstring | nullYesISO 8601 build timestamp (mtime of the compiled entry file), or null if unavailable.
startedstringYesISO 8601 timestamp when the process started.
memoryobject | nullYesProcess memory snapshot. Contains rss (integer, bytes) and heap (integer | null, V8 heap used in bytes).
fdsinteger | nullYesOpen file descriptor count (from /proc/self/fd), or null if unavailable.
pidintegerYesProcess ID.
ipstringYesRemote peer IP (req.socket.remoteAddress, never X-Forwarded-For).
userAgentstring | nullYesRequest User-Agent header.

Checks whether a newer Hoody Code release is available on GitHub. The server polls the GitHub releases API every 6 hours and surfaces a notification at most once per week. Update checks can be disabled server-side with the --disable-update-check flag.

This endpoint takes no parameters.

Terminal window
curl -X GET "https://acme-prod-cnt-7a3f9b-code-1.us-east-1.containers.hoody.icu/api/v1/code/update/check"
FieldTypeRequiredDescription
currentstringNoCurrent installed version (for example, "4.0.0").
lateststringNoLatest available version (for example, "4.1.0").
updateAvailablebooleanNotrue when latest is newer than current; otherwise false.