Hanzo AI
OpenapiSpace

List health

Health reports whether this deployment can serve spaces, drives and files.

GET /v1/space/health

Addresshttps://api.hanzo.ai/v1/space/health
MethodGET
Operationget_space_health
AuthAuthorization: Bearer $HANZO_API_KEY

Health reports whether this deployment can serve spaces, drives and files.

It is a REAL probe rather than a constant: 200 when object-store credentials are present, so the store is reachable in principle, and 503 with the reason when they are not. It is deliberately NOT gated — liveness has to be probe-able without a token — so it is the one operation here that names no space and bills nothing.

Request

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

Response

StatusBodyMeaning
200space.spaceHealthok
503space.spaceHealthservice unavailable
defaultproblem-detailsrefused

200 body — 5 fields.

FieldInTypeAlwaysDescription
errorbodystringError is why the probe is degraded, in plain words.
presignbodybooleanPresign is whether upload and download URLs can be minted, which needs a PUBLIC endpoint on top of the credentials.
readybodybooleanReady is whether this deployment can serve drive and file operations at all: true only when object-store credentials are configured.
servicebodystringService names the subsystem this probe is for.
statusbodystringStatus is "ok" when the store is reachable in principle, "degraded" when it is not.

Failure carries the platform error shape — see Errors.

Examples

hanzo space health

Space API · All Hanzo APIs · Interactive reference

How is this guide?

On this page