---
title: "Get Prediction Confidence"
method: POST
path: "/api/v1/arbiters/predictions/confidence"
---

# Get Prediction Confidence

`POST /api/v1/arbiters/predictions/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.

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Request body

- GetConfidenceRequest
  - `arbiter_repo` string, required
  - `prediction_id` string, nullable
  - `messages` object[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/modaic-ai/apis/modaic-api.md) · [All operations](https://skmtc.net/modaic-ai/apis/modaic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modaic-ai/modaic-api/versions/43a90513ac59/schema)
