Skip to main content
All methods are static. They call the configured Gotenberg endpoint from Chromiumly.configure(). Every method accepts an optional trace argument (custom request id, mapped to the Gotenberg-Trace header — see Request tracing).

getHealth(trace?)

Get the JSON health report from GET /health.

headHealth(trace?)

Run a lightweight health check with HEAD /health. Returns an empty buffer on success.

getVersion(trace?)

Get the Gotenberg version from GET /version.

getDebug(trace?)

Get debug data from GET /debug.
This endpoint is available only when Gotenberg enables debug data.

getPrometheusMetrics(trace?)

Get Prometheus metrics from GET /prometheus/metrics.