Skip to content
Hoody.com

The agent service exposes a small set of operational endpoints used by the platform, observability tooling, and external API consumers. This page covers the standardized health check, the Prometheus metrics scrape, the live OpenAPI 3.1 document (JSON and YAML), and the interactive API documentation UI. The health endpoint is the only unauthenticated route in the service; the others must be reached through the Hoody proxy.

All endpoints live under the agent’s container-scoped subdomain:

https://{projectId}-{containerId}-agent-1.{server}.containers.hoody.icu

Standardized health check. Returns the kit-wide 9-field health payload. This is the only unauthenticated route in the agent; the response is always HTTP 200 JSON.

This endpoint takes no parameters.

Terminal window
curl https://{projectId}-{containerId}-agent-1.{server}.containers.hoody.icu/api/v1/agent/health

Prometheus metrics. Returns the text exposition of the hoody_agent_* series, suitable for scraping by a Prometheus server.

This endpoint takes no parameters.

Terminal window
curl https://{projectId}-{containerId}-agent-1.{server}.containers.hoody.icu/api/v1/agent/metrics

Live-generated OpenAPI 3.1 document with Hoody x-* extensions. Fully namespaced; no bare alias. Returned as JSON.

This endpoint takes no parameters.

Terminal window
curl https://{projectId}-{containerId}-agent-1.{server}.containers.hoody.icu/api/v1/agent/openapi.json

Live-generated OpenAPI 3.1 document in YAML. The info block is pinned to the top of the document. Fully namespaced; no bare alias.

This endpoint takes no parameters.

Terminal window
curl https://{projectId}-{containerId}-agent-1.{server}.containers.hoody.icu/api/v1/agent/openapi.yaml

Interactive API documentation UI. Returns the rendered HTML page that can be opened in a browser. May be disabled on some deployments.

This endpoint takes no parameters.

Terminal window
curl https://{projectId}-{containerId}-agent-1.{server}.containers.hoody.icu/api/v1/agent/docs