Skip to content
Hoody.com

These endpoints expose health and version-update information for a running Hoody Code instance. They are designed for liveness probes, dashboards, and tooling that needs to know whether a newer Hoody Code release is available.

  • The health probe is intentionally skipped from the activity-heartbeat counter, so repeated polling does not keep Hoody Code artificially alive.
  • The update check queries GitHub releases every six hours and surfaces the result on demand.

Returns the standardized service health status, including process, runtime, and memory information. This endpoint does not count towards heartbeat activity, making it safe to call from liveness probes without extending the container’s idle window.

This endpoint takes no parameters.

{
"status": "ok",
"service": "hoody-code",
"built": "2026-04-13T14:30:00Z",
"started": "2026-04-13T15:00:00Z",
"memory": {
"rss": 134217728,
"heap": 29360128
},
"fds": 47,
"pid": 1,
"ip": "198.51.100.42",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36"
}
FieldTypeDescription
statusstringService status. Always "ok" when the endpoint returns successfully.
servicestringService identifier. Always "hoody-code".
builtstring | nullISO 8601 build timestamp (mtime of the compiled entry file), or null if unavailable.
startedstringISO 8601 timestamp when the process started.
memoryobject | nullProcess memory snapshot. Contains rss (resident set size in bytes) and heap (V8 heap used in bytes, nullable).
fdsinteger | nullOpen file descriptor count (from /proc/self/fd), or null if unavailable.
pidintegerProcess ID.
ipstringRemote peer IP (req.socket.remoteAddress). Never reads X-Forwarded-For.
userAgentstring | nullValue of the request User-Agent header.
Terminal window
curl https://{projectId}-{containerId}-code-1.{server}.containers.hoody.com/api/v1/code/health

Returns whether a newer Hoody Code release is available. The endpoint queries the GitHub releases API unless update checks were disabled at startup with --disable-update-check. Checks are throttled to once every six hours and a notification is surfaced at most once per week.

This endpoint takes no parameters.

{
"current": "4.0.0",
"latest": "4.1.0",
"updateAvailable": true
}
FieldTypeDescription
currentstringCurrently running Hoody Code version.
lateststringLatest Hoody Code version published on GitHub.
updateAvailablebooleantrue when latest is newer than current.
Terminal window
curl https://{projectId}-{containerId}-code-1.{server}.containers.hoody.com/api/v1/code/update/check