{"release":"v1","network":"eip155:8453","chargeable":true,"request":{"product":"risk-state","method":"POST","path":"/api/v1/quant/risk-state","content_type":"application/json","example_input":{"values":[100,101,99,103,102,104]},"input_schema":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"},"minItems":5,"maxItems":5000}},"required":["values"]},"free_quote":{"method":"POST","path":"/api/v1/quote","body":{"product_id":"risk-state","input":{"values":[100,101,99,103,102,104]}}},"docs":"/docs.md","openapi":"/openapi.json","output":{"example":{"regime":"moderate","volatility":0.019,"max_drawdown":-0.0198,"sample_count":6}},"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=risk-state","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":"risk-state","input":{"values":[100,101,99,103,102,104]}},"purpose":"Validate product selection and input structure without initiating payment."},{"step":"request_unsigned","method":"POST","path":"/api/v1/quant/risk-state","content_type":"application/json","body_example":{"values":[100,101,99,103,102,104]},"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/risk-state","content_type":"application/json","body_example":{"values":[100,101,99,103,102,104]},"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."]}