Skip to main content
POST
Grade an eval run with LLM as Judge

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Path Parameters

projectId
string
required

ID of the hosted project that contains the server.

runId
string
required

Eval run ID, as returned by POST /eval-runs.

Body

application/json

Optional. A bodyless POST grades with the suite's own config.

force
boolean

Re-grade a run that already has a result. SPENDS AGAIN. Must be a real boolean — "false" is rejected rather than read as consent.

enable
boolean

Grade this run even though the judge was off when it ran. A per-RUN answer, not a suite edit: grading reads the config pinned when the run was created, so enabling the judge on the suite does not reach an already-recorded run.

model
string

Judge model for this run only.

threshold
number

Pass threshold for this run only.

Required range: 0 <= x <= 1

Response

Scheduled.

runId
string
required
projectId
string
required
status
enum<string>
required
Available options:
pending