Hanzo
OpenapiRisk

The feature catalogue: what the model reads, and what your surface carries

Features is the feature catalogue in its two honest lenses.

GET /v1/risk/features

Addresshttps://api.hanzo.ai/v1/risk/features
MethodGET
OperationriskFeatures
AuthAuthorization: Bearer $HANZO_API_KEY

Features is the feature catalogue in its two honest lenses.

The MODEL lens is the governed inventory: one entry per dimension of the model space, each carrying the typology it serves, the supervisor's own words for the indicator, and the published standard those words come from — so a coverage claim is checkable rather than asserted. It is the same for every organisation.

The SURFACE lens is what THIS organisation's own event surface actually carries, measured over the window: how many of its buckets carry each dimension at all, and what the dimension reads where it is present. A dimension present in no bucket is BLIND, and saying so is the difference between no risk and no data.

Request

1 field.

FieldInTypeRequiredDescription
daysqueryintegerDays is how far back to measure the organisation's own coverage, 1 to 400.

Response

StatusBodyMeaning
200riskCatalogok

200 body — 30 fields.

FieldInTypeAlwaysDescription
gapbodystringGap says why a lens could not be measured, when that is the case.
modelbodyriskModelFeature[]Model is the governed inventory: one entry per dimension of the model space, each carrying the typology it serves and the published standard that asks for it.
model[].blindbodyintegerBlind is how often this dimension took that neutral value for THIS organisation.
model[].citationbodystringCitation is where those words come from, so the claim is checkable rather than asserted.
model[].indicatorbodystringIndicator is the supervisor's own words for the thing being looked for.
model[].namebodystringName is the dimension.
model[].neutralbodynumberNeutral is the value the coordinate takes when the data cannot support it.
model[].severitybodystringSeverity is how much weight an alert on it carries.
model[].typologybodystringTypology is the pattern this dimension detects.
model[].unitbodystringUnit is how to read the raw number, which is what turns a coordinate into a sentence an investigator can put in a file.
model[].windowbodystringWindow is the sliding aggregate it reads.
networkbodyriskBand[]Network is the published cross-organisation baseline over the same window, so the surface above has something to be read AGAINST.
network[].daybodystring (date-time)Day is the day the band covers.
network[].dimbodystringDim is the dimension, named as this API publishes it.
network[].kindbodystringKind is the subject kind it was computed over.
network[].nbodyintegerN is how many subject-days went into it.
network[].orgsbodyintegerOrgs is how many organisations contributed, each weighted exactly one vote whatever its size.
network[].q10bodynumberQ10 is the quiet end of the network's day: a tenth of contributing organisations sit at or below it.
network[].q50bodynumberQ50 is the network's median day.
network[].q90bodynumberQ90 is the busy end: a tenth of contributing organisations sit at or above it.
surfacebodyriskOrgFeature[]Surface is what this organisation's own event surface carries, per dimension, measured over the window.
surface[].blindbodybooleanBlind is true when the dimension is present in no bucket at all: this organisation's surface does not carry it, and saying so is the difference between no risk…
surface[].bucketsbodyintegerBuckets is how many five-minute buckets of this organisation's surface were measured.
surface[].maxbodynumberMax is the largest value it reached in the window.
surface[].meanbodynumberMean is the dimension's average where it was present.
surface[].namebodystringName is the dimension as this API publishes it.
surface[].presentbodyintegerPresent is in how many of them the dimension carried a value at all.
surface[].sourcebodystringSource names the plane it is rolled up from, so a dimension that reads zero everywhere traces to a plane the organisation does not use rather than to a defect.
surface[].unitbodystringUnit is how to read the numbers below.
tenantbodystringTenant is whose surface was measured.

Failure carries the platform error shape — see Errors.

Examples

hanzo risk features

Risk API · All Hanzo APIs · Interactive reference

How is this guide?

On this page