Klineo/Docs
Open app ↗

API schemas

AnomalyDetectionRequest

All API schemas

object — Additional properties rejected

Field Required at this level Type Description and constraints
subject Yes object Additional properties rejected
subject.kind Yes Constant VAULT —
subject.vaultId Yes string Min length: 3; Max length: 160
kind Yes string Allowed: LIQUIDITY_DISAPPEARANCE, ONE_SIDED_FLOW, INACTIVE_RANGE, STABLECOIN_DEPEG, ORACLE_DISAGREEMENT, INVENTORY_ACCUMULATION, EXCESSIVE_TURNOVER, MANIPULATION_INDICATOR, SIMULATED_REALIZED_DIVERGENCE
observations Yes Array of object Min items: 1; Max items: 10000
observations[].capturedAt Yes string Format: date-time
observations[].value Yes SignedAtomicAmount —
observations[].evidenceHash Yes Hash —
currentObservation Yes object Additional properties rejected
currentObservation.capturedAt Yes string Format: date-time
currentObservation.value Yes SignedAtomicAmount —
currentObservation.evidenceHash Yes Hash —
minimumObservations Yes integer Minimum: 5; Maximum: 10000
thresholdMadMultiples Yes integer Minimum: 2; Maximum: 100
providerEvidence Yes object Additional properties rejected
providerEvidence.providerId Yes string Min length: 3; Max length: 160
providerEvidence.providerResourceVersion Yes Hash —
providerEvidence.providerAttestationHash Yes Hash —
providerEvidence.observedAt Yes string Format: date-time
providerEvidence.payloadHash Yes Hash —
providerEvidence.signature Yes string Pattern: ^[A-Za-z0-9+/]{80,700}={0,2}$
reason Yes string Min length: 3; Max length: 500

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/AnomalyDetectionRequest in the OpenAPI contract.