Swagger Petstore - OpenAPI 3.0
GET/evals/{eval_id}/runs/{run_id}/output_items

List evaluation run output items

Lists all output items produced by an evaluation run with optional filtering and pagination. Use status to filter by pass or fail results, order to control sort direction, and after with limit for cursor-based pagination. Each output item contains the data source item, model sample, and grading results.

6 parameters
eval_idstringrequired
The unique identifier of the evaluation whose run output items to retrieve.
run_idstringrequired
The unique identifier of the run whose output items to retrieve.
afterstringoptional
Cursor identifier from the previous response's `last_id` field for pagination. Omit for the first page.
limitintegeroptional
Number of output items to retrieve per page. Defaults to 20 if omitted.
Default:20
statusstringoptional
Filter output items by result status: fail for failed items or pass for passed items. Omit to retrieve items of all statuses.
Allowed:failpass
orderstringoptional
Sort order by creation timestamp: asc for ascending or desc for descending. Defaults to asc if omitted.
Allowed:ascdescDefault:asc

2 status codes
200Returns a paginated list of evaluation run output item objects with metadata including first and last identifiers and a flag indicating whether more results are available.
objectstringrequired
The type of this object. It is always set to "list".
Allowed:listDefault:list
dataarray<EvalRunOutputItem>required
An array of eval run output item objects.
first_idstringrequired
The identifier of the first eval run output item in the data array.
last_idstringrequired
The identifier of the last eval run output item in the data array.
has_morebooleanrequired
Indicates whether there are more eval run output items available.
429Returned when the request rate limit is exceeded.
errorobjectrequired

Error handling

eval_id and run_id must both identify existing resources. status must be fail or pass if provided. order must be asc or desc. A 429 is returned when the request rate limit is exceeded.