{"inputSchema":{"type":"object","properties":{"calibration_scores":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"maxItems":1000,"minItems":1},"alpha":{"type":"number","minimum":0.000001,"maximum":0.999999},"candidates":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":64,"minLength":1},"score":{"type":"number","minimum":0,"maximum":1}},"required":["label","score"],"additionalProperties":false},"maxItems":200,"minItems":1}},"required":["calibration_scores","alpha","candidates"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"const":"caller-supplied data"},"data":{"type":"object","properties":{"calibration_count":{"type":"integer","minimum":0,"maximum":1000000000000},"rank":{"type":"integer","minimum":0,"maximum":1000000000000},"threshold":{"type":["number","null"]},"selected_labels":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":200,"minItems":0},"unbounded_threshold":{"type":"boolean"}},"required":["calibration_count","rank","threshold","selected_labels","unbounded_threshold"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string"},"maxItems":5}},"additionalProperties":true},"requestExample":{"calibration_scores":[0.1,0.2,0.3,0.4,0.5],"alpha":0.2,"candidates":[{"label":"class_A","score":0.3},{"label":"class_B","score":0.7}]},"usageGuide":["Scores and full candidate label universe supplied by caller, lower scores are better. Rank beyond n means unbounded and selects all; exchangeability/calibration are not verified and coverage is not certified."],"price_usdc":"0.005"}