Hanzo
OpenapiReference

Looks keys up against the reference plane.

Looks keys up against the reference plane.

POST /v1/reference/resolve

Addresshttps://api.hanzo.ai/v1/reference/resolve
MethodPOST
OperationriskResolveReference
AuthAuthorization: Bearer $HANZO_API_KEY

Looks keys up against the reference plane.

Your organisation's own overrides are consulted FIRST and win outright; the shared baseline answers everything they do not cover. Every answer names the version that produced it, when that version was current and whether it is stale, so a decision can record exactly what it consulted.

Read Refusal before reading Hit. A set that has never loaded, one held by the component that screens against it, and one whose source needs a licence we do not hold all answer with a refusal — and a miss on a refusing set means nothing is known, not that the key is clean.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
keysbodystring[]Keys are the values to look up, at most 100 per call: email addresses or domains, IP addresses, card prefixes, user-agent strings, autonomous system numbers,…
setsbodystring[]Sets narrows which sets to consult.

Response

StatusBodyMeaning
200ResolveReferenceOutok

200 body — 23 fields.

FieldInTypeAlwaysDescription
answersbodyReferenceAnswer[]Answers is one entry per (set, key) consulted.
answers[].agebodystringAge is how old that is, as a duration.
answers[].asOfbodystringAsOf is when the oldest contributing publisher was current, RFC 3339.
answers[].frombodystringFrom is override or baseline — which plane answered.
answers[].hitbodybooleanHit is whether the key is a member. It is meaningful ONLY when Refusal is empty: false with a refusal means the set could not be consulted, which is not the…
answers[].keybodystringKey is the key as asked.
answers[].matchedbodystringMatched is the member that covered the key, which for a domain or a network is the enclosing entry rather than the key itself.
answers[].refusalbodystringRefusal is why the set could not be consulted, when it could not: never loaded, held elsewhere, or a source we hold no licence for.
answers[].scorebodynumberScore is the published risk weight where the source expresses one.
answers[].setbodystringSet is the set consulted.
answers[].stalebodybooleanStale is whether the set is past its freshness bound.
answers[].valuebodyobjectValue is what the publisher says about the member — class, operator, scheme, region.
answers[].value.*bodystring
answers[].verdictbodystringVerdict is the tenant's own allow or deny, present only for an override.
answers[].versionbodystringVersion is the exact baseline version consulted, composed of each contributing publisher and its content digest.
consultedbodyReferenceVersion[]Consulted names the version of every set that took part, so a decision can record precisely what it leaned on.
consulted[].asOfbodystringAsOf is when the oldest of them was current, RFC 3339.
consulted[].refusalbodystringRefusal is why it could not be consulted, when it could not.
consulted[].setbodystringSet is the set.
consulted[].stalebodybooleanStale is whether it is past its freshness bound.
consulted[].versionbodystringVersion is every contributing publisher and its content digest.
refusedbodystring[]Refused names the consulted sets that could not answer at all.
stalebodystring[]Stale names the consulted sets past their freshness bound.

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