Skip to content

Use these endpoints to check the daemon’s health, retrieve runtime status for individual programs or the full program set, and fetch recent log output for debugging.


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://daemon.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://daemon.hoody.com/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://daemon.hoody.com/api/v1/daemon/status/1?port=8080&include_stats=true"

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://daemon.hoody.com/api/v1/daemon/programs/1/logs?type=stdout&lines=50&port=8080"