List the cases of a judged eval suite version
const url = 'https://example.com/v1/eval-suites/example/versions/example/cases?limit=25';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/eval-suites/example/versions/example/cases?limit=25' \ --header 'Authorization: Bearer <token>'Cursor-paginated, in the order the cases were stored (newest judged run first).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”EvalSuiteId — stable string chosen by the caller (e.g. acme.drafting-accuracy).
Semver version string of the eval suite (e.g. 1.2.0).
Query Parameters
Section titled “Query Parameters”1..100. Default 25.
Where the previous page ended: its nextCursor, as it came. A runtime that seals cursors takes one only for the same list, filters and caller, within a day; otherwise 400 bad-input, and the list starts again without it. Absent → first page.
Responses
Section titled “Responses”Page of cases.
object
One case of a judged eval suite: a copy of a judged run with its items’ judgments summed up.
object
The judged run’s id.
What a judged run ran: an agent at a version, or a flow at a version.
object
What a judged run needs besides its input to be replayed, captured when it was first judged. For an agent turn: the conversation before it, what its retrievals returned, and the decision at its session approval gate. For a flow run: its tool calls with their results. For both: the env values its tools were sent.
object
The conversation’s messages before the turn, oldest first (at most the last 200).
Whether older messages were left out of history.
What the turn’s retrievals returned.
Messages of earlier conversations the turn recalled (intents over conversations), as quoted to the model.
The reviewer’s decision at the turn’s session approval gate, when the turn waited on one. A replay of the turn follows it.
object
The reviewer’s reason for a rejection.
For a flow run: what it did, kept at its first judgment so it can be replayed. Every tool call it made with its result (at its tool nodes, in its agent steps’ turns and in its sub-flows), at most 500, and its agent steps.
object
object
The run that made it: the flow run, a sub-flow’s, or an agent step’s turn.
The tool node that made it, or the agent step whose turn did.
The loop iteration, in a loop body.
object
What the step’s turn retrieved.
Messages of earlier conversations the step’s turn recalled.
More calls were made than were kept.
The env values each tool’s calls were sent (needsSpec.env), by tool id: its first call’s, as the run recorded them. A replay sends them to a read-only tool it runs live, so the tool reads the config the run saw, not today’s. Absent for a run from before env was recorded.
object
object
When the judged run is a comparison’s replay: the run it re-ran, stamped at its first judgment. A test set built from judgments leaves replays out.
The judgments of one item of a case’s output, summed up.
object
How many judgments said yes.
How many judgments said no.
The weight behind “yes” (an unclassified judgment counts 1).
The weight behind all judgments of the item.
The same weights, counting only judgments recorded while their class was restricted (Judgment.restricted), for a comparison weighted restricted-only. Absent from a test set built before restrictions.
object
The reasons given, newest first.
object
The judgment’s class, when it had one.
Set when the judgment was recorded while its class was restricted (Judgment.restricted).
An erasure cleared this case (a person’s words were erased): input and output are null, items empty, and eval runs leave it out (counted as erased).
Opaque cursor. Treat as opaque on the client.
Example
{ "data": [ { "subject": { "kind": "agent" }, "items": [ { "reasons": [ { "verdict": "yes", "restricted": true } ] } ], "erased": true } ]}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 eval suite with that id.
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" }}