{"uid":"cap_FtxtejLMMg4GxWxeAY-X_","slug":"calibration-court-recalibrate-fbf2d0f5","name":"Calibration Court Recalibrate","description":"Paid (x402, USDC on Base). Map a model's raw probability to an empirically calibrated one using resolved outcomes on the ledger. Refuses wit","url":"https://calibration-court.onrender.com/api/v1/recalibrate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prob":{"type":"number","maximum":1,"minimum":0},"model":{"type":"string"},"task_type":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ch2kUAe_B06q2f0K4GtPl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Maps a model's raw output probability to an empirically calibrated probability using resolved outcomes stored on the ledger","exampleAgentPrompt":"My GPT-4 binary classifier returned a raw probability of 0.82 for a fraud detection task — can you recalibrate that score using resolved ledger outcomes for model 'gpt-4' and task type 'fraud_detection'?","exampleUseCases":[{"title":"Fixing overconfident fraud classifier","prompt":"My fraud detection model outputs a confidence of 0.91 but I know it tends to be overconfident — can you recalibrate that raw probability for model 'xgboost-fraud-v2' on task type 'fraud_detection' so I get a more realistic estimate?"},{"title":"Calibrating medical diagnosis probability","prompt":"I have a raw model probability of 0.67 from our diagnostic classifier called 'med-bert' on a binary_classification task — recalibrate it against resolved outcomes so I can trust the number before showing it to a clinician."},{"title":"Improving prediction market confidence score","prompt":"Before I submit this forecast, can you take the raw probability of 0.55 from model 'llama-forecaster' for task type 'event_prediction' and run it through calibration so the score reflects actual historical accuracy?"}],"resultDescription":"A calibrated probability value (between 0 and 1) that has been adjusted based on empirically resolved outcomes stored on the ledger, replacing the raw model-output probability with one that better reflects real-world frequencies for that model and task type.","failureModes":["No resolved outcome data available for the specified model and task_type combination — endpoint may refuse or return an error","Raw probability out of [0,1] range — validation error","Unknown or unsupported model identifier — endpoint refuses the request","Insufficient historical calibration data for reliable adjustment","Payment failure via x402 — request rejected before processing"],"whenToPreferThis":"Use this endpoint when you have a raw probability from a specific ML model and want it adjusted to reflect empirical accuracy rather than the model's uncalibrated confidence. Ideal when deploying models in high-stakes contexts (medical, financial, forecasting) where calibration error is costly, and when resolved ground-truth outcomes for the model are available on the ledger. Prefer this over generic isotonic fitting endpoints when you do not have your own labelled outcome pairs and want to leverage shared resolved outcomes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:32:47.714Z","isFirstParty":false,"canonicalSlug":"calibration-court-recalibrate-fbf2d0f5"}