{"release":"v1","network":"eip155:8453","chargeable":true,"request":{"product":"anomaly-scan","method":"POST","path":"/api/v1/quant/anomaly","content_type":"application/json","example_input":{"values":[10,10.2,9.9,10.1,18]},"input_schema":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":5000}},"required":["values"]},"free_quote":{"method":"POST","path":"/api/v1/quote","body":{"product_id":"anomaly-scan","input":{"values":[10,10.2,9.9,10.1,18]}}},"docs":"/docs.md","openapi":"/openapi.json","output":{"example":{"count":5,"anomalies":[{"index":4,"value":18,"z_score":1.99,"mad_score":53.96}]}},"success_semantics":{"http":"2xx","settlement_header":"PAYMENT-RESPONSE","note":"A successful paid call returns the product JSON and x402 settlement evidence."},"recommended_next":[{"step":"review_request","method":"GET","path":"/api/v1/request-guide?product_id=anomaly-scan","purpose":"Confirm method, schema, example input, output example and payment flow before spending."},{"step":"validate_free","method":"POST","path":"/api/v1/quote","body_example":{"product_id":"anomaly-scan","input":{"values":[10,10.2,9.9,10.1,18]}},"purpose":"Validate product selection and input structure without initiating payment."},{"step":"request_unsigned","method":"POST","path":"/api/v1/quant/anomaly","content_type":"application/json","body_example":{"values":[10,10.2,9.9,10.1,18]},"expect":"HTTP 402 with PAYMENT-REQUIRED"},{"step":"authorize_exact_requirement","when":"HTTP 402","instruction":"Use an x402-compatible buyer to authorize exactly the returned PAYMENT-REQUIRED requirement. Never send funds manually from documentation and never disclose a seed phrase or private key."},{"step":"retry_paid_request","method":"POST","path":"/api/v1/quant/anomaly","content_type":"application/json","body_example":{"values":[10,10.2,9.9,10.1,18]},"required_header":"PAYMENT-SIGNATURE"},{"step":"accept_delivery","success_condition":"HTTP 2xx and PAYMENT-RESPONSE present","instruction":"Treat the purchase as complete only when the product response and settlement evidence are both returned."}]},"payment_flow":["Send the documented unsigned request.","Receive HTTP 402 with PAYMENT-REQUIRED.","Authorize the exact USDC requirement with an x402-compatible buyer.","Retry the same method/path/body with PAYMENT-SIGNATURE.","Treat the purchase as complete only after HTTP 2xx and PAYMENT-RESPONSE settlement proof."]}