Skip to content
Hoody.com

The health endpoint provides a liveness probe for the daemon. It returns a standardized 9-field response and is unauthenticated — useful for load balancers and uptime monitors.

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://prj-ctnr-daemon-1.us-east-1.containers.hoody.icu/api/v1/daemon/health"

The status endpoints expose the runtime state of every program managed by the daemon. You can fetch all programs at once or drill down to a specific program by ID. For port-range programs, you can request a particular port instance.

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://prj-ctnr-daemon-1.us-east-1.containers.hoody.icu/api/v1/daemon/status"

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. Adds a stats field with pid, started_at, cpu_percent, memory_rss_bytes, process_count, and per-process breakdown. Allowed values: "true", "false".
Terminal window
curl -X GET "https://prj-ctnr-daemon-1.us-east-1.containers.hoody.icu/api/v1/daemon/status/1?include_stats=true"

The logs endpoint returns the tail of a program’s stdout or stderr log file. For port-range programs, specify the port query parameter to target a specific instance.

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://prj-ctnr-daemon-1.us-east-1.containers.hoody.icu/api/v1/daemon/programs/1/logs?type=stdout&lines=50"