The agent service exposes operational endpoints for monitoring and observability: a standardized health check for liveness probes and uptime monitors, a Prometheus metrics endpoint for scraping time-series data, and a version endpoint that reports the HTTP API contract version, build version, session protocol version, and capability list. All three endpoints are served directly by the container agent.
Returns the kit-wide 9-field health payload. The response is the gateway’s own health payload; nothing here comes from the daemon. Always returns HTTP 200 with status: "ok".
Returns the HTTP API contract version (api_version), the build version, the session protocol version, the gateway’s realm pin (pinned_realm), and the capability list (one row per feature a client may depend on, each with supported (this build knows it) and available (its route or event is mounted here)). Answered by the gateway alone; no daemon call is involved. The response carries Cache-Control: no-store so a proxy never serves a stale capability list across a deploy.
Per-request working-directory scope: the .hoody project layer / record cwd / tool and workflow cwd. Required by routes that resolve a cwd (for example POST /todos; todos.create also accepts a body cwd).
X-Hoody-Config-Dir
header
string
No
Per-request --config-dir override selecting which on-disk .hoody install a stateless read/write resolves (HoodyPaths).
X-Hoody-Container
header
string
No
Per-request bound remote container (omitted = local). Rejected with 400 on routes with no container dimension.