Hanzo
OpenapiSecurity

Reports that the scanning subsystem is serving and how many secret-detection…

Reports that the scanning subsystem is serving and how many secret-detection rules the engine holds.

GET /v1/security/health

Addresshttps://api.hanzo.ai/v1/security/health
MethodGET
Operationget_security_health
AuthAuthorization: Bearer $HANZO_API_KEY

Reports that the scanning subsystem is serving and how many secret-detection rules the engine holds.

It has no external dependency — the answer is ok whenever the findings store opened — so it measures this process rather than anything downstream. It reads no tenant: a prober that sends no principal is answered, not refused.

Request

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

Response

StatusBodyMeaning
200rulesetok

200 body — 2 fields.

FieldInTypeAlwaysDescription
rulesbodyintegerRules is how many detection rules the engine holds.
statusbodystringStatus is "ok" whenever the findings store opened.

Failure carries the platform error shape — see Errors.

Examples

hanzo security health

Security API · All Hanzo APIs · Interactive reference

How is this guide?

On this page