v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-0318386446.4 KB

Get Prediction Confidence

Synchronous online confidence scoring keyed by request body.

Lets a caller score a fresh messages payload against an arbiter without first persisting a prediction. If prediction_id is provided, the server also writes a versioned predictions row in-process with the new embedding + confidence (Modal returns the embedding; head + calibrator + CH insert happen server-side). Returns the score as a float.

post/api/v1/arbiters/predictions/confidence

Headers

authorizationstring nullable

Cookies

modaic_sessionstring nullable

Request body

arbiter_repostring required
prediction_idstring nullable
messagesobject[] required

Response

Successful Response

{"stackTrail":"paths:/api/v1/arbiters/predictions/confidence:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}