A judging rule's results
const url = 'https://example.com/v1/projects/example/judging-rules/example/results';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/projects/example/judging-rules/example/results \ --header 'Authorization: Bearer <token>'By the rule’s version and the agent’s: the runs it queued (open, judged, dismissed, erased), the ones its maxOpen skipped, and the live judgments on them, with their class-weighted yes share and a count by class. Never pooled with another rule’s, or across a rule’s versions: each is a sample of its own when. Needs read on the project.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ProjectId — opaque branded string.
Query Parameters
Section titled “Query Parameters”Only runs queued from this time on.
Responses
Section titled “Responses”The results.
object
By the rule’s version and the agent’s, newest rule version first: two versions of a rule are two sampling designs, never pooled.
One rule version’s runs of one agent version. added = open + judged + dismissed + erased.
object
null: a flow run, or one from before versions were recorded.
Runs the rule matched and sampled but didn’t queue, because maxOpen were waiting, even when another rule queued them. Non-zero: the queued runs lean toward quiet times. added + skippedByCap = every run the rule matched and sampled.
Live judgments on the queued runs: each is one person’s verdict on one item of a run’s output.
The yes share of those judgments, each weighted by its class (unclassified: 1). null with none.
The same judgments by class, unweighted.
object
null: unclassified.
Examplegenerated
{ "ruleId": "example", "since": "2026-04-15T12:00:00Z", "groups": [ { "ruleVersion": 1, "agentVersion": "example", "added": 1, "open": 1, "judged": 1, "dismissed": 1, "erased": 1, "skippedByCap": 1, "judgments": 1, "yesShare": 1, "byClass": [ { "judgeClassId": "example", "judgments": 1, "yes": 1 } ] } ]}Missing / malformed / expired / revoked bearer token.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}No such rule (judging-rule-not-found).
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}