Skip to content
Hoody.com

These endpoints report the health of the daemon itself and the runtime status of every program it manages. Use them to build dashboards, liveness probes, alerting, and log inspection into supervised processes. All endpoints live on the container’s daemon hostname; the health probe is unauthenticated while the status and log endpoints require an authenticated HoodyClient.

Returns the standardized 9-field health response. Unauthenticated. Always returns HTTP 200 with Content-Type: application/json when the service is up.

This endpoint takes no parameters.

Terminal window
curl -X GET 'https://{projectId}-{containerId}-daemon-1.{server}.containers.hoody.com/api/v1/daemon/health'

Retrieves the current runtime status of all configured programs. Returns information about whether each program is running, stopped, or in another state, along with process details for running programs.

This endpoint takes no parameters.

Terminal window
curl -X GET 'https://{projectId}-{containerId}-daemon-1.{server}.containers.hoody.com/api/v1/daemon/status' \
-H 'Authorization: Bearer <token>'

Retrieves the current runtime status of a specific program by ID. For port-range programs, returns all running instances unless a specific port is requested via query parameter. Returns detailed process information including PID and uptime.

NameInTypeRequiredDescription
idpathintegerYesUnique numeric identifier of the program
portqueryintegerNoFilter to specific port instance (for port-range programs only)
include_statsquerystringNoInclude resource stats (CPU, memory, process tree) for running programs. Accepts the literal strings "true" or "false". WHERE the stats land depends on the program: a standard program gets a top-level stats; a port-range program gets one stats per instance, on the instance itself (instance.stats, or instances[].stats), never at the top level. Each carries pid, started_at, cpu_percent, memory_rss_bytes, process_count and a per-process breakdown.
Terminal window
curl -X GET 'https://{projectId}-{containerId}-daemon-1.{server}.containers.hoody.com/api/v1/daemon/status/1?include_stats=true' \
-H 'Authorization: Bearer <token>'

Retrieve the last N lines from a program’s stdout or stderr log file.

NameInTypeRequiredDescription
idpathintegerYesProgram ID
typequerystringNoLog stream: stdout or stderr. Default: "stdout"
linesqueryintegerNoNumber of lines to return from end of file. Default: 100
portqueryintegerNoPort number (required for port-range programs)
Terminal window
curl -X GET 'https://{projectId}-{containerId}-daemon-1.{server}.containers.hoody.com/api/v1/daemon/programs/1/logs?type=stderr&lines=50' \
-H 'Authorization: Bearer <token>'