Skip to main content
GET
Gate a deploy on an eval run

Authorizations

Authorization
string
header
required

Your workspace API key, e.g. sk_sovereign_..., sent as Authorization: Bearer <key>.

Path Parameters

id
string
required

Query Parameters

min_win_rate
number

Comparison runs: every candidate's win-rate CI lower bound must clear this.

Required range: 0 <= x <= 1
min_pass_rate
number

Criterion runs: every model's corrected pass-rate CI lower bound must clear this (falls back to the observed interval when the judge was never aligned — the check notes it).

Required range: 0 <= x <= 1
min_assertion_pass_rate
number

Every model's all-assertions pass rate (exact) must clear this.

Required range: 0 <= x <= 1
model
string

Restrict the checks to one model.

noninferiority_margin
number

The certified switch test: on a criterion run whose baseline was the incumbent's stored production answers, each candidate's corrected pass-rate CI lower bound must reach the incumbent arm's corrected rate minus this margin (0.05 = provably within 5 points at worst). Requires corrected rates on both arms, which only a calibrated judge produces; there is no observed-rate fallback, so an uncalibrated judge cannot certify a switch.

Required range: 0 <= x <= 1

Response

Every requested check passed.

pass
boolean
status
string

The run's status at evaluation time.

reason
string | null

Set when the gate could not evaluate (run not DONE, no thresholds given).

checks
object[]