Klineo/Docs
Open app ↗

API schemas

Anomaly

All API schemas

object — Additional properties rejected

Field Required at this level Type Description and constraints
detectorVersion Yes Constant robust-mad-v1 —
subject Yes object Additional properties rejected
subject.kind Yes Constant VAULT —
subject.vaultId Yes string —
evaluatedAt Yes string Format: date-time
currentObservation Yes object Additional properties rejected
currentObservation.capturedAt Yes string Format: date-time
currentObservation.value Yes SignedAtomicAmount —
currentObservation.evidenceHash Yes Hash —
inputHash No Hash —
derivationHash No Hash —
sourceProvider No object Additional properties rejected
sourceProvider.providerId Yes string —
sourceProvider.providerResourceVersion Yes Hash —
sourceProvider.providerAttestationHash Yes Hash —
sourceProvider.observedAt Yes string Format: date-time
sourceProvider.payloadHash Yes Hash —
sourceProvider.signature Yes string Content encoding: base64
kind Yes string Allowed: LIQUIDITY_DISAPPEARANCE, ONE_SIDED_FLOW, INACTIVE_RANGE, STABLECOIN_DEPEG, ORACLE_DISAGREEMENT, INVENTORY_ACCUMULATION, EXCESSIVE_TURNOVER, MANIPULATION_INDICATOR, SIMULATED_REALIZED_DIVERGENCE
detected Yes boolean —
severity Yes string Allowed: INFO, WARNING, CRITICAL
median Yes SignedAtomicAmount —
medianAbsoluteDeviation Yes AtomicAmount —
deviationMultiplesPips Yes integer Minimum: 0; Maximum: 9007199254740991
coveragePips Yes Pips —
explanation Yes string —
responses Yes Array of string Min items: 1; Max items: 5
evidenceHashes Yes Array of Hash Max items: 256

Nested required fields apply when their parent object or matching union branch is present. Named types link to their complete schema.

Exact definition: #/components/schemas/Anomaly in the OpenAPI contract.