{"slug":"api-zfinia-com-x402-v1-error-budget-audit-20f076","title":"Measure an error budget against real counts, with exact decimal arithmetic rathe","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/error-budget-audit","category":"code","description":"Measure an error budget against real counts, with exact decimal arithmetic rather than floating point. Reports the budget exhausted or mostly consumed, the objective not met, and a burn rate per interval above the sustainable one. A budget that rounds to fewer than one event is reported as carrying ","price_listed":0.22,"price_asked":0.22,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":5500,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"intervals":[{"good":7000,"start":"2026-09-07T00:00:00Z","total":7000},{"good":6965,"start":"2026-09-14T00:00:00Z","total":7000},{"good":6997,"start":"2026-09-21T00:00:00Z","total":7000},{"good":6998,"start":"2026-09-28T00:00:00Z","total":7000}],"objective":"99.9","window_days":28},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"intervals":{"items":{"additionalProperties":false,"properties":{"good":{"minimum":0,"type":"integer"},"start":{"type":["string","number"]},"total":{"minimum":0,"type":"integer"}},"required":["start","good","total"],"type":"object"},"maxItems":10000,"minItems":1,"type":"array"},"objective":{"type":["string","number"]},"window_days":{"maximum":365,"minimum":1,"type":"integer"}},"required":["objective","window_days","intervals"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.22,"price_match":true,"latency_ms":5500,"error":null}],"description_full":"Measure an error budget against real counts, with exact decimal arithmetic rather than floating point. Reports the budget exhausted or mostly consumed, the objective not met, and a burn rate per interval above the sustainable one. A budget that rounds to fewer than one event is reported as carrying no information, since any failure is then a breach. Intervals are sorted by start, so the order supplied does not change the answer.","last_updated":"2026-10-04T08:32:02.656Z","schemes":["exact"]}