Hanzo
OpenapiReference

Reference describes one set and lists your org's overrides in it.

Reference describes one set and lists your org's overrides in it.

GET /v1/reference/{set}

Addresshttps://api.hanzo.ai/v1/reference/{set}
MethodGET
OperationriskReference
AuthAuthorization: Bearer $HANZO_API_KEY

Reference describes one set and lists your org's overrides in it.

The set half is public data about a published list — its version, its publishers, their licences and how current each one is. The overrides half is yours alone: it is read from your organisation's own store, and no other organisation's entries can appear in it.

Request

3 fields.

FieldInTypeRequiredDescription
setpathstringyes
afterquerystringAfter pages the override listing: the last key of the previous page.
limitqueryintegerLimit caps the override listing: default 200, maximum 1000.

Response

StatusBodyMeaning
200ReferenceOutok

200 body — 29 fields.

FieldInTypeAlwaysDescription
nextbodystringNext is the key to page from, empty when this is the last page.
overridesbodyReferenceOverride[]Overrides is YOUR org's entries over that baseline, in key order.
overrides[].atbodystringAt is when it was written, RFC 3339.
overrides[].bybodystringBy is who wrote it.
overrides[].keybodystringKey is the member this organisation is speaking about.
overrides[].notebodystringNote is why, in the operator's own words.
overrides[].verdictbodystringVerdict is allow or deny.
setbodyReferenceSet
set.agebodystringAge is how long ago that was.
set.asOfbodystringAsOf is when the OLDEST contributing publisher was current, RFC 3339.
set.keysbodyintegerKeys is how many members the baseline carries.
set.kindbodystringKind is how the baseline comes to exist: fetch (downloaded from a publisher), local (computed here), attest (held by the component that screens against it,…
set.matchbodystringMatch is how a key is tested: exact, domain, net, digits, pattern or range.
set.maxAgebodystringMaxAge is how old this set may be before it is stale.
set.overridesbodyintegerOverrides is how many entries YOUR org has laid over this baseline.
set.refusalbodystringRefusal names why the set cannot be relied on, when it cannot: never loaded, held elsewhere, or a licence we do not hold.
set.setbodystringSet is the name this set is addressed by.
set.sourcesbodyReferenceSource[]Sources is each contributing publisher, its licence and its own freshness.
set.sources[].asOfbodystringAsOf is when this publisher was current, RFC 3339.
set.sources[].basisbodystringBasis is the KIND of permission this publisher's data reaches you under: licence (an explicit grant), registry (the registry of record publishing for anyone to…
set.sources[].keysbodyintegerKeys is how many members this publisher contributed.
set.sources[].originbodystringOrigin is exactly where it was taken from, so it can be taken again.
set.sources[].refusalbodystringRefusal is why this publisher's last take failed, if it did.
set.sources[].sourcebodystringSource is the publisher.
set.sources[].termsbodystringTerms is the CITATION that basis points at — the licence identifier, the registry, or the operator publication.
set.sources[].versionbodystringVersion is the content digest of what this publisher last supplied.
set.stalebodybooleanStale is whether it is past that bound.
set.versionbodystringVersion is the exact baseline consulted — every contributing publisher and its content digest.
set.whatbodystringWhat the set holds, in one sentence.

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.


Reference API · All Hanzo APIs · Interactive reference

How is this guide?

On this page