Hanzo
OpenapiTrust

Lists every control your organization publishes, with the counts.

Lists every control your organization publishes, with the counts.

GET /v1/trust/controls

Addresshttps://api.hanzo.ai/v1/trust/controls
MethodGET
Operationget_trust_controls
AuthAuthorization: Bearer $HANZO_API_KEY

Lists every control your organization publishes, with the counts.

A control names what it asserts, the mechanism behind it, the repository and file where that mechanism is enforced, how it is verified, and the framework clauses it maps to. Status is automated, partial or absent — and an absent one still names the clause it would satisfy, which is a roadmap, while never moving a coverage number.

Request

GET /v1/trust/controls takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200controlListok

200 body — 8 fields.

FieldInTypeAlwaysDescription
absentbodyintegerAbsent is how many the organization does not have.
automatedbodyintegerAutomated is how many run with nobody in the loop.
controlsbodyany[]Controls is every control, opaque because the organization owns its shape.
partialbodyintegerPartial is how many run but do not cover their whole claim.
statementbodystringStatement is the counts as one sentence, safe to quote.
totalbodyintegerTotal is how many controls this organization publishes.
unverifiedbodyintegerUnverified is how many rest on somebody having read the source rather than on a test or an audit row.
versionbodystringVersion is the embedded inventory's version.

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.


Trust API · All Hanzo APIs · Interactive reference

How is this guide?

On this page