Risk
Package risk is HANZO RISK's model plane: the per-organisation feature surface and the per-organisation models trained on it.
Package risk is HANZO RISK's model plane: the per-organisation feature surface and the per-organisation models trained on it.
| Base URL | https://api.hanzo.ai |
| Operations | 31 |
| Auth | Authorization: Bearer $HANZO_API_KEY |
risk
GET /v1/risk/datasets/{name}/export
Read a version's rows back, one page at a time
Reads a published version's rows back, one bounded page at a time, in the version's own stable row order.
Only a published version can be exported. Rows written by an attempt that never completed are inert — no register row names them — and they are disposed of with the dataset.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | yes | Name is the dataset, from the path. |
version | query | integer | — | Version is the version to read. |
split | query | string | — | Split narrows to train, val or test. |
offset | query | integer | — | Offset is where the page starts, in the version's own row order (by id, which is derived from the row and therefore… |
limit | query | integer | — | Limit is how many rows to return. |
GET /v1/risk/datasets/{name}/lineage
Show where a version's rows came from, and whether that can still be demonstrated
Shows where a version's rows came from and whether that can still be demonstrated.
The answer is MEASURED, not recalled: the plane asks the source the same bounded question again and compares it to the fingerprint taken when the version was built. Anything but exact agreement is reported as drift — the source is fed by a rollup that runs behind the events, so "it holds more now" is the ordinary case and it means re-running the spec would not reproduce this version. An admitted gap is actionable; an unfalsifiable claim is not.
IT IS A PRICED, BOUNDED READ, because it is the same statement a materialisation is charged for: an exact distinct-count over up to 400 days of this org's feature surface. It takes the org's ONE source-scan slot, so a tenant looping it spends one scan and not a thousand; it counts against the plane's ceiling, so the fleet's warehouse is bounded too; and it runs under this plane's own deadline rather than the caller's patience.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | yes | Name is the dataset, from the path. |
version | query | integer | — | Version is the version to trace. |
POST /v1/risk/datasets/{name}/materialize
Materialise the declared version into immutable rows
Builds the declared version into immutable rows and answers 202 as soon as the attempt is on record.
It never holds the request open for the work: a materialisation is a bounded warehouse scan, and letting an HTTP client's timeout be a data plane's timeout is how one tenant's retry loop becomes everyone's outage. ONE materialisation runs per org at a time; a second is refused rather than queued, because a queue admits the same work later and the honest answer to "again" while one is running is that one is running.
Only a DECLARED version is admitted. A published version is immutable, and a version whose earlier attempt did not complete is never re-attempted — that would union two runs' rows under one number and make the digest a lie. In both cases the answer is to declare a new version, which is what a second run over a moving source honestly is.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | yes | Name is the dataset, from the path. |
GET /v1/risk/datasets/{name}
Describe every version of one dataset
Dataset describes every version of one dataset, newest first — the whole history, because the point of a version is that the older ones are still there and a model fitted last quarter cites one of them.
A name this org does not own answers 404, exactly as an unknown name does, so a probe learns nothing about another tenant's datasets.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | yes | Name is the dataset, from the path. |
DELETE /v1/risk/datasets/{name}
Dispose of one dataset and every version of it
Disposes of one dataset and every version of it: the rows are dropped and the register is marked with what went.
This is the ONLY expiry in this plane. Neither table carries a TTL, deliberately: a table TTL is a fleet-wide clock no tenant can hold longer or shorten, which is the opposite of a retention decision belonging to the tenant whose records they are. The drop is a partition drop on (org, dataset), so the tenant is the first component of the thing being dropped and a disposal cannot be spelled across one.
The BYTES are what goes. The register keeps one disposed row per version — the
name, the number, the spec, the digest and who disposed of it when — for two
reasons: a retention obligation is answered by a record of the deletion, not by
silence; and version numbers must stay monotone, so that after orders is
disposed of and declared again the next version is 4 and not 1. A number that
could be reused would make every citation of orders v3 ambiguous forever.
It is not reversible and there is no soft state in between. A version a model cited has no rows once this returns, and every read of it says so.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | yes | Name is the dataset, from the path. |
GET /v1/risk/datasets
List this org's datasets
Datasets lists this org's datasets, each with its newest version. An org that has declared none gets an empty list; a store that cannot be reached gets a refusal, never an empty list, because the two read identically and only one of them is true.
POST /v1/risk/datasets
Declare the next version of a dataset
Declares the next version of a dataset from a bound query over this org's own feature surface.
It mints a VERSION and writes no rows: a version is declared, then materialised once, then never rewritten. Version numbers are monotone and never reused, so "version 3 of signups" means one thing forever — which is the whole reason a model can cite one.
The window is bounded by the source's retention, the horizon by a year, the rows by the plane's cap, and the number of datasets and versions per org by their own limits. Every refusal names which bound it hit.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
cuts | string[] | — | Cuts are the two RFC 3339 instants dividing train | val | test. Omit them to take 70% and 85% of the window by time. |
dims | string[] | — | Dims are the coordinates to carry, by published name. Empty takes the whole surface. |
from | string | — | From and To bound the event window, half-open, RFC 3339. |
horizon | integer | — | Horizon is how many days a row must have aged before it may be admitted. |
kind | string | — | Kind narrows to one subject kind — person, session or account. |
name | string | — | Name identifies the dataset across its versions: lower-case letters, digits and hyphens, starting with a letter. |
rows | integer | — | Rows caps the materialisation. |
seed | string | — | Seed decides WHICH subjects are admitted when the window holds more rows than the cap allows. |
to | string | — |
GET /v1/risk/features
The feature catalogue: what the model reads, and what your surface carries
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.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
days | query | integer | — | Days is how far back to measure the organisation's own coverage, 1 to 400. |
GET /v1/risk/health
Whether the risk model plane can actually work right now
Reports whether the per-organisation model plane is genuinely usable: that the plane was built, that the per-organisation stores can be written, and whether the event surface the feature plane is rolled up from is reachable. It is a REAL probe, not status theatre.
200 only when the plane can work. Otherwise 503 CARRYING THE REPORT — which part failed and the real error — and that body is why this is not a typed op: a typed op reaches a non-2xx by returning an error, and the envelope that produces would drop exactly the detail the probe exists to deliver.
An unreachable event surface is REPORTED and is not a failure. Scoring reads in-memory aggregates and never the warehouse, so a warm that cannot run degrades how much history a model has seen and does not stop it deciding.
It also reports how many organisations' models are resident, how many have been evicted to hold that bound, and how many of the resident ones are at their own aggregate bound. Eviction is lossless — learned state is written to that organisation's own store first and its aggregates rebuild from its own record — so a climbing count is a capacity signal, not a loss. A STRAINED model is different: it has started forgetting its own least-recently-active subjects, and each forgotten subject reads as inactive until it is active again. That is a control degrading, and it is reported here because it is otherwise silent.
It answers about the process, not about a tenant: it takes no organisation and names none.
GET /v1/risk/labels/coverage
How much of the window has matured, and how much of that is judged
Reports how much of a window has matured and how much of that is judged, per source.
It is the gate on training. A supervised fit over a window whose judged count is near zero produces a number, and the number is meaningless; this op is what lets that be stated before the fit rather than discovered after it.
It reads the RECORD plane and folds every assertion at that event's OWN as-of, so the counts obey exactly the leakage rule a materialisation would. It counts only what was ASSERTED: what share of the whole event STREAM carries a label is a question about the feature plane's denominator and is not answerable here.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
from | query | string | — | From and To bound the EVENT window, half-open, RFC 3339. |
to | query | string | — | |
horizon | query | integer | — | Horizon is the maturity horizon in days the coverage is measured under. Unstated takes 120. |
POST /v1/risk/labels/dispose
Dispose of this tenant's expired assertions, whole records only
Applies this tenant's retention, and only this tenant's.
It is bounded three ways, each a compliance property rather than a convenience. It refuses a boundary younger than the platform floor, because a label can be the input to an adverse action and five years is what the retention ledger holds such a record for. It never touches a record under litigation hold. And it disposes of whole records rather than redacting fields.
It removes the derived columnar copy BEFORE the record, and refuses the whole disposal if the warehouse cannot be reached. The other order would leave rows in the warehouse that nothing can identify any more, which is a disposal that did not happen and says it did.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
before | string | — | Before disposes of assertions WRITTEN before this instant, RFC 3339. |
POST /v1/risk/labels/hold
Place or release a litigation hold on named records
Places or releases a litigation hold on named records.
A hold is a fact about the RECORD, not about the world: it says retention may
not dispose of this row, and it asserts nothing about what happened. So it is
not a field on an assertion and it is not folded into the content digest —
carried there it was silently a no-op on any record that already existed, since
re-filing the same assertion with a hold flag produced the same digest, the
insert was ignored, and the caller was answered duplicate while the hold it
asked for was never placed. This op is the one way a hold moves, in either
direction, and the move is written to the audit log.
Every named id is this tenant's or is nothing. The statement runs against the tenant's own file, which holds no other tenant's rows and has no column that could name one.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
hold | boolean | — | Hold is the state to put them in: true places the hold, false releases it. |
ids | string[] | — | IDs are the content digests of the records, as returned by the write and by the read. |
POST /v1/risk/labels/resolve
Resolve the label in force for named events, as of each event's own horizon
Answers, for each named event, which assertion was in force AS OF that event's own horizon — and what disagreed with it.
This is the join surface: the dataset materialiser calls it to attach ground truth to training rows, and the evaluator calls it to score a past decision against what was knowable when the decision had to be made. One mechanism for both, so a model can never be trained under one leakage rule and scored under another.
Three answers are distinct and all three are honest: a resolved label, an event that has not matured, and a matured event nobody has judged. The last is never reported as unproductive.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
horizon | integer | — | Horizon is how many days an event must age before it may be resolved at all, and it is the whole of the no-leakage… |
now | string | — | Now moves the observation instant BACKWARDS, RFC 3339. |
subjects | riskLabelEvent[] | — | Subjects are the exact events being judged. |
GET /v1/risk/labels/vocabulary
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.
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.
GET /v1/risk/labels
Read the assertions this tenant has recorded
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.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
kind | query | string | — | Kind and Subject narrow to one entity. |
subject | query | string | — | |
source | query | string | — | Source narrows to one asserter — the read that answers "what has commerce told us", separately from "what has an… |
from | query | string | — | From and To bound the EVENT time, half-open, RFC 3339. |
to | query | string | — | |
limit | query | integer | — | Limit caps the page. |
POST /v1/risk/labels
Assert ground truth about events
Records a batch of ground truth against the entities it judges.
Each assertion carries TWO times — when the judged event happened, and when the assertion became knowable — and both are required. The second is what keeps a chargeback that landed in June out of a model that had to decide in February.
It is idempotent on the CONTENT of an assertion, so a webhook that redelivers is safe. It never overwrites: a source that corrects itself later files a NEW assertion, which wins from the moment it became knowable and leaves every earlier observation instant seeing exactly what it saw.
The asserter is stamped from the validated credential and is not a body field.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
labels | riskLabelFact[] | — | Labels is the batch. Each member is judged on its own: one refusal does not discard the rest, because a webhook… |
POST /v1/risk/learn
Teach your organisation's own model from its own events
Learn records a batch of events into the caller organisation's own aggregates and lets its model learn from them. It answers how many it learned from.
IT DOES NOT SCORE, AND THAT IS THE POINT. An observation is a value you record; learning is a transformation over observations; a verdict is a query against the result. This op is the first two. [ops.score] is the third, it is pure, and it is the ONE door to a verdict. They were one call, which meant you could not record without training and could not train without being answered — and the model ran twice over every event to produce a verdict the response carried and no caller read.
TO OBSERVE AND JUDGE, COMPOSE THE TWO, and mind the order. Score FIRST, then learn: the score is then the model's opinion of an event it has not yet learned from, which is the question worth asking. The other order answers for a model that has already absorbed the event it is judging.
This is the training path, and there is no job behind it: the model IS a set of mass counters over half-space trees, so learning is an increment and the model is current the instant the last event lands. Nothing from any other organisation is in it, and nothing from this organisation leaves it.
A RETRY IS INERT. The record deduplicates on the event id you send, and an event already in it moves nothing, costs nothing and is not counted — so a client that timed out can send the same batch again and its model holds what it holds. Without an id of your own there is nothing to converge on: two identical bodies are two events.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
events | riskEvent[] | — | Events are the things that happened, oldest first. |
GET /v1/risk/policy
Your organisation's decision-regime history, and which version is in force
Policy reports the caller organisation's own decision-regime history: every distinct regime it has adopted, which version is in force, and what retention has taken.
WHY IT EXISTS. Every score cites the version it was decided under ([riskScoreOut.Policy]), and the threshold that score was measured against is derived from the appetite that version states. Restate the appetite and, without this record, every earlier decision becomes unreconstructible — the cut it was judged by no longer exists anywhere. An adverse decision that cannot be explained against the policy in force when it was taken cannot be defended.
It covers ONE organisation. The history is on that organisation's own shelf, so another's versions are not filtered out of the answer — they are not in the file the answer is read from.
PUT /v1/risk/policy
State the decision regime: the appetite, the sample, and whether the model is live
States the decision regime the caller organisation's model decides under: how much of its own stream may be sent for examination, how much of the rest is sampled to measure what was missed, and whether the model may change an outcome at all.
The appetite is the decision a model is not permitted to make for itself: its output is a probability, so how likely it is to MISS something is a matter of policy that has to be stated, measured and reviewed rather than absorbed into a constant. The alert threshold is derived from it as a quantile of the scores actually observed, which is what keeps its meaning as the distribution drifts.
It is DURABLE BEFORE IT IS IN FORCE. The regime is recorded as a new version on the organisation's own shelf before anything in memory moves, so a policy that cannot be written down is refused rather than answered from state the next rollout would silently undo.
ARMING IS AN ADMIN ACT AND TUNING IS NOT. Setting live requires an admin of
this organisation; stating the appetite and the sample is self-service for any
member. Taking the model live decides whether it may change an OUTCOME at all —
a payment frozen, a grant refused — for every customer this organisation has,
and that is a decision an organisation takes rather than one of its members.
A RESTATEMENT OF THE REGIME IN FORCE MINTS NOTHING and answers the version already in force. Compare the version you receive with the version you had: unchanged means the numbers were the same, which is why there is no flag for it.
Learned state survives the change. The model's identity covers its SHAPE — the inventory and the geometry — and not its appetite, so restating policy unlearns nothing. It also does not REPORT the learned state: what the model is is read from the model.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
live | boolean | — | Live turns the model out of shadow. It defaults to FALSE on every call, so going live is always an explicit act and… |
review | number | — | Review is the share of the stream that may be sent for examination, in (0, 0.5]. |
sample | number | — | Sample is the share of below-the-line events retained for review, in [0, 1]. |
GET /v1/risk/reference/{set}
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.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
set | path | string | yes | |
after | query | string | — | After pages the override listing: the last key of the previous page. |
limit | query | integer | — | Limit caps the override listing: default 200, maximum 1000. |
PUT /v1/risk/reference/{set}
Writes your organisation's own allow and deny entries over a set.
Idempotent on the key: writing the same entry twice is one entry, and writing it again replaces the verdict and the note. The whole batch is one transaction, so a batch that would cross the per-set bound writes nothing rather than half of itself — a half-applied deny list is worse than a refused one, because nobody can tell which half applied.
Your entries are held in your organisation's own store and are never visible to another organisation, and they never change what any other organisation sees. The shared baseline is not writable from here at all.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
set | path | string | yes |
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
entries | ReferenceOverrideIn[] | — | Entries are the overrides to write, up to 1000 per call. |
DELETE /v1/risk/reference/{set}
Removes one of your organisation's overrides.
It removes an entry your organisation wrote, never a baseline member: the published set is not writable from here, so a removal can only ever restore the baseline's own answer.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
set | path | string | yes | |
key | query | string | — |
POST /v1/risk/reference/refresh
Takes a new version of one set. SuperAdmin only.
It is platform work, not tenant work: it writes the shared baseline every organisation reads, so it is gated to the platform's own identity. Nothing here can write an organisation's overrides, and nothing an organisation sends can reach this route.
Idempotent. A version is the content digest of what was taken, so refreshing an unchanged publisher writes no rows and reports unchanged. Resumable: a run that died half-way is continued from where it stopped rather than restarted.
A set whose source needs a licence we do not hold is refused with the reason, rather than being quietly skipped.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
force | boolean | — | Force accepts a take whose size moved past the change bound. |
receipts | ReferenceReceipt[] | — | Receipts are supplied by the component that holds the membership, for a set of kind attest. |
set | string | — | Set is the set to refresh. |
POST /v1/risk/reference/resolve
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 body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
keys | string[] | — | Keys are the values to look up, at most 100 per call: email addresses or domains, IP addresses, card prefixes,… |
sets | string[] | — | Sets narrows which sets to consult. |
GET /v1/risk/reference
Lists every set this plane publishes, with its version and how fresh it is.
Read the Stale and Refused lists first: they are the two ways this plane can be quietly wrong, and they are reported rather than inferred. A set in Refused answers nothing — it has never loaded, it is held by another component, or it names a source we hold no licence for.
POST /v1/risk/score
Score one event against your organisation's own model
Score judges one event against the caller organisation's OWN model and learns nothing from it. It is how a candidate is tried against real behaviour before anything depends on the answer, and it is the model's analogue of testing a rule.
Because it records nothing, the aggregates it reads do not include the event: the numbers are the organisation's history as it stands. A model still warming declines with a reason rather than answering zero, because silence must never read as a clean result.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
event | riskEvent | — | Event is the thing to judge. |
GET /v1/risk/search/{id}
Read back one exhaustive search
Reads back one search run: every shape tried over this organisation's own history, best first, and the one that fit.
A run another organisation started is simply not there — the same 404 an unknown id gives, so the read is not a probe oracle.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | ID is the run, taken from the path. A run another organisation started is simply not there — the same answer an unknown… |
POST /v1/risk/search
Search exhaustively for the model shape that fits your own history
Search runs an exhaustive search for the model shape that best fits the caller organisation's own history, and answers 202 with the run to read back.
Every candidate is replayed over that organisation's OWN feature surface in its own sandbox — its own aggregates, its own model, neither of them the live one — so a run cannot move a live threshold and cannot see another organisation's data. The result is the learning curve for each shape and the one that fit best, ranked on how closely it honoured the stated appetite, whether it warmed at all, whether it saturated, and how much of the coordinate space it left blind.
An empty history is REFUSED rather than reported as zero alerts, because "no alerts" is exactly what a quiet model looks like.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
days | integer | — | Days is how much of the organisation's own history to replay, 1 to 400. |
POST /v1/risk/state/model
Publish your organisation's model as a named, immutable value
Publishes your organisation's model as a NAMED VALUE, so a decision taken today can be reconstructed tomorrow and a change made today can be undone.
It answers with a NAME and not with the state. The masses stay on your organisation's own encrypted store and are referred to by an address computed from their own content: the shape, the geometry seed, the position in the window, the threshold, the masses themselves as IEEE-754 bits, and the fold watermark behind them. That is what makes the value nameable without making the caller its custodian.
IT IS IDEMPOTENT ON THE VALUE. A model that has not changed publishes to the name it already has and mints nothing, reporting minted=false — so publishing at every boundary that matters is free. Ten values are retained per organisation, bounded in BYTES rather than in rows, and the oldest is disposed of past that.
A model that has learned nothing is refused: planted is not learned, and a value that reproduces nothing is not a value.
It is POST and PUT on one address because they are one plane's two verbs over one kind of thing: POST mints a value from the model in force, PUT puts a value in force. They were /v1/risk/state/snapshot and /v1/risk/state/restore — two addresses named after the operation rather than after the thing, which is how a reader ends up asking what the difference between a snapshot and a value is.
PUT /v1/risk/state/model
Put one of your organisation's own published model values in force
Puts one of your organisation's OWN PUBLISHED VALUES in force, by name — which is what an instant rollback is, what promoting a challenger is, and what installing the shape a search found is.
IT TAKES AN ADDRESS AND NEVER STATE. The masses are read from your own store, so nothing about your model has to be held by whatever is making this call. That closes the sharpest edge the previous shape had: a body of counters is something a caller can COMPOSE, and a region filled until activity inside it reads as ordinary is a model that has been shaped rather than learned. The engine's mass invariant was the only thing standing between a composed body and the model; with an address there is no body to compose.
IT ADOPTS THE SHAPE, NOT ONLY THE MASSES. A value records the model space its masses were taken in, and a value whose space differs from the one in force REPLANTS your model into that space before restoring them. That is what makes POST /v1/risk/search actionable: a search answers with the shape that fits your own history best and publishes it fitted, and its address is what you name here. Before this, a winning shape was advice nobody could take — the adoption path refused every shape change, and a winner is a different shape by definition.
WHAT ADOPTING A SEARCHED SHAPE COSTS, SAID PLAINLY: the value a search fits has learned the window the search replayed and nothing older, so installing it trades history for fit. Your appetite is untouched — that is your policy record's, with its own versions — and so is the geometry, which stays your own.
An address your organisation has not published is NOT FOUND. That includes one another organisation published, and it is not a lookup that failed: the store is per organisation and the address is a name, never an authority.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
address | string | — | Address is one of YOUR organisation's own published values (GET /v1/risk/state reports them, and a search reports the… |
GET /v1/risk/state
Report your organisation's model: what it learned, and what it realised
State reports the caller organisation's own model: what it has learned, whether it is live or still in shadow, the threshold in force, the appetite it stated beside the share it actually realised, every refusal by reason, every feature that read blind, and how much of the organisation's own event surface has been folded in.
It covers ONE organisation. A caller cannot learn another's volumes, alert rate or behaviour from it, because the state is read out of a model that holds only its own.
How is this guide?
Responses
Package ai is Hanzo AI — the model API on /v1 (/v1/chat/completions, /v1/messages, /v1/models and the rest of hanzoai/ai's surface) — mounted into a cloud binary with the money, ingest and telemetry…
Router
Package ai is Hanzo AI — the model API on /v1 (/v1/chat/completions, /v1/messages, /v1/models and the rest of hanzoai/ai's surface) — mounted into a cloud binary with the money, ingest and telemetry…