Statistical Anomaly Attribution
getRootCauseLocalizationRanks which sensors most likely drove a reported anomaly by z-score deviation from each sensor's own baseline, given a caller-supplied telemetry window. Fully deterministic, no LLM, no trained model. Statistical approximation inspired by Oswal et al. 2025 (kernel SHAP + TCAE) — not a SHAP/TCAE reimplementation. Price: $0.15 USDC per call via x402 on Base mainnet. An unpaid call returns an x402 PaymentRequired challenge; retry the identical call with the signed payload in _meta["x402/payment"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | How many ranked sensors to return | |
| window | Yes | URL-encoded JSON array, max 20 entries: [{sensor_id, values[], baseline_mean?, baseline_stddev?}] | |
| anomaly_event_id | No | Optional correlation ID, echoed back unchanged |