{"openapi":"3.1.0","info":{"title":"Methodus API","version":"0.1.0","description":"Cartesian reasoning primitives for AI agents by Zeb3 Labs. Paid per call with x402 v2 (USDC, eip155:84532)."},"servers":[{"url":"https://zeb3labs.com/api/methodus/v1"}],"paths":{"/doubt":{"post":{"operationId":"doubt","summary":"Doubt (standard depth)","description":"Cartesian doubt check (Descartes, Discourse on Method, Part II precept 1): classifies each step of a reasoning trace as evident, inferred, assumed or prejudiced; returns unstated assumptions, evidence gaps, a verdict (evident/probable/doubtful/precipitate) and confidence. Paid: $0.020 USDC per call via x402.","x-x402":{"scheme":"exact","price_usdc":"0.020","network":"eip155:84532"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"claim":{"type":"string","minLength":1,"maxLength":4000},"trace":{"default":[],"maxItems":40,"type":"array","items":{"type":"string","minLength":1,"maxLength":2000}},"evidence":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":2000}}},"required":["claim"],"additionalProperties":false}}}},"responses":{"200":{"description":"Review result; PAYMENT-RESPONSE header carries the settlement","content":{"application/json":{"schema":{"allOf":[{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"restatement":{"type":"array","items":{"type":"string"},"description":"The claim restated as one or more simple propositions; compound claims are split"},"precipitancy":{"type":"boolean","description":"True when the claim jumps to a conclusion the trace does not reach"},"steps":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"0-based index into the trace; -1 for a step the claim relies on that the trace omits"},"text":{"type":"string"},"class":{"type":"string","enum":["evident","inferred","assumed","prejudiced"]},"why":{"type":"string"}},"required":["index","text","class","why"],"additionalProperties":false},"description":"Every trace step classified exactly once, plus unstated steps the claim depends on"},"assumptions":{"type":"array","items":{"type":"object","properties":{"statement":{"type":"string"},"would_make_evident":{"type":"string"}},"required":["statement","would_make_evident"],"additionalProperties":false},"description":"Assumed or prejudiced items, each with what would make it evident"},"evidence_gaps":{"type":"array","items":{"type":"string"}},"verdict":{"type":"string","enum":["evident","probable","doubtful","precipitate"]},"confidence":{"type":"number","description":"Integer 0–100: confidence in the verdict, not in the claim"},"rationale":{"type":"string","description":"Two to four sentences tying the verdict to the gaps"}},"required":["restatement","precipitancy","steps","assumptions","evidence_gaps","verdict","confidence","rationale"],"additionalProperties":false},{"type":"object","properties":{"method_hash":{"type":"string","description":"keccak256(input ‖ output ‖ rubric_version ‖ model)"},"rubric_version":{"type":"string"},"model":{"type":"string"},"eval_score":{"type":"number"},"eval_pass":{"type":"boolean"},"cost_usdc":{"type":"string"}}}]}}}},"400":{"description":"Schema error (not charged)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment required: PAYMENT-REQUIRED header holds the x402 requirements"},"413":{"description":"Input over the standard ceiling (not charged)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"503":{"description":"Models unavailable or payments not configured (not charged)"}}}},"/catalog":{"get":{"operationId":"catalog","summary":"Free price table and schemas","responses":{"200":{"description":"Catalog"}}}}}}