Hanzo
OpenapiLabel

Read the assertions this tenant has recorded

Reads the assertions this tenant has recorded, newest event first.

GET /v1/label

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

Reads the assertions this tenant has recorded, newest event first.

It reads the RECORD — the tenant's own store — and not the columnar copy, so what it returns is what would be produced in an audit. Narrow it by entity, by asserter, or by event window.

Request

6 fields.

FieldInTypeRequiredDescription
kindquerystringKind and Subject narrow to one entity.
subjectquerystring
sourcequerystringSource narrows to one asserter — the read that answers "what has commerce told us", separately from "what has an analyst told us".
fromquerystringFrom and To bound the EVENT time, half-open, RFC 3339.
toquerystring
limitqueryintegerLimit caps the page.

Response

StatusBodyMeaning
200riskLabelsOutok

200 body — 15 fields.

FieldInTypeAlwaysDescription
countbodyintegerCount is how many this page holds.
labelsbodyriskLabelRecord[]Labels is the page, newest event first.
labels[].atbodystringAt is when the judged EVENT happened, RFC 3339 in UTC, truncated to the second.
labels[].bybodystringBy is the identity that asserted, stamped server-side at the write.
labels[].confidencebodynumberConfidence is the filer's own confidence in [0,1] — 1 for a processor chargeback, less for an analyst's hunch.
labels[].dispositionbodystringDisposition is what was concluded, from the closed set: productive — the event led somewhere, escalated, reported or charged back; unproductive — judged…
labels[].evidencebodystringEvidence is the pointer to the record this conclusion came from: a dispute id, a case id, a decision id.
labels[].holdbodybooleanHold is true while a litigation hold is on this record: retention will not dispose of it, at any age.
labels[].idbodystringID is the assertion's content digest — SHA-256 over every semantic field, rendered hex — computed server-side and never supplied.
labels[].kindbodystringKind is what the subject IS, from the closed set: account, agent, merchant, payout, person, session or transaction.
labels[].knowablebodystringKnowable is when THIS PLANE could first have answered with the assertion: the later of Seen and the server clock at the write, derived server-side.
labels[].seenbodystringSeen is when the FILER said the assertion became knowable.
labels[].sourcebodystringSource is WHO asserted, from the closed set: chargeoff, dispute, case, refund, review or sample.
labels[].subjectbodystringSubject is the entity that was judged, named in the TENANT'S OWN namespace and at most 512 bytes.
labels[].wrotebodystringWrote is the server clock at the write.

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