Hanzo
OpenapiLabel

The closed vocabularies and the precedence rule that resolves a conflict

Publishes the closed vocabularies and the precedence rule that resolves a conflict between two sources.

GET /v1/label/vocabulary

Addresshttps://api.hanzo.ai/v1/label/vocabulary
MethodGET
OperationriskLabelVocabulary
AuthAuthorization: Bearer $HANZO_API_KEY

Publishes the closed vocabularies and the precedence rule that resolves a conflict between two sources.

A precedence rule nobody can read is a rule nobody can audit or dispute, and the whole defensibility of a contested label rests on being able to say why one assertion beat another. The order returned here is derived from the same declaration the resolver reads — it is not a description of it.

Request

GET /v1/label/vocabulary takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200riskLabelVocabularyok

200 body — 5 fields.

FieldInTypeAlwaysDescription
dispositionsbodystring[]Dispositions is the closed set a write's disposition must be drawn from, published in full so a caller can validate a batch before filing it instead of…
kindsbodystring[]Kinds, Dispositions and Sources are the closed vocabularies.
precedencebodystring[]Precedence is the sources in the order that resolves a conflict, strongest first.
retentionbodyintegerRetention is the platform floor in days: no tenant may dispose of a label younger than this, because a label can be the input to an adverse action.
rulebodystring[]Rule states the tie-breaks below rank, in order, so a caller reading a contested resolution can reproduce it.

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.


Label API · All Hanzo APIs · Interactive reference

How is this guide?

On this page