Skip to main content
GET
Preview a failed-cases rerun

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.

Response

The rerun selection.

runId
string
required
suiteId
string
required
scope
enum<string>
required
Available options:
failed_cases
sourceStatus
string
required
sourceTerminal
boolean
required

false while the source run is still executing or grading.

totalCaseCount
integer
required
selectedCaseCount
integer
required
selectedCaseIds
string[]
required
reasons
object
required

Qualifying trials by the most specific reason: failed, evaluator_error, timed_out, execution_failed, setup_failed, pending.

excluded
object
required

Trials that did not qualify: passed, cancelled, skipped.

rerunnable
boolean
required

The source run finished and at least one case qualifies.