Hanzo
OpenapiCommerce

Answers ok whenever the commerce subsystem is mounted.

Answers ok whenever the commerce subsystem is mounted.

GET /v1/commerce/health

Addresshttps://api.hanzo.ai/v1/commerce/health
MethodGET
Operationget_commerce_health
AuthAuthorization: Bearer $HANZO_API_KEY

Answers ok whenever the commerce subsystem is mounted. It is registered before the module embed boots, so it keeps answering even when the embed failed and every business route serves the fail-closed 503 — which is the point: it reports that the process is reachable, never that the money plane is healthy. Unauthenticated: a probe that needs a credential is a probe that reports the credential.

A named handler, not a closure, so zipdoc can lift this prose into the registry.

Request

GET /v1/commerce/health takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200livenessok

200 body — 2 fields.

FieldInTypeAlwaysDescription
servicebodystringService names the answering subsystem; it is always commerce.
statusbodystringStatus is always ok: mounted is the only state that can answer.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Commerce API · All Hanzo APIs · Interactive reference

How is this guide?

On this page