Evals

Get eval run output items

Changed on

Get a list of output items for an evaluation run.

get/evals/{eval_id}/runs/{run_id}/output_items

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/evals/{eval_id}/runs/{run_id}/output_items
  • Auth
    HTTP bearer

Path parameters

eval_idstring required

The ID of the evaluation to retrieve runs for.

run_idstring required

The ID of the run to retrieve output items for.

Query parameters

afterstring

Identifier for the last output item from the previous pagination request.

limitinteger

Number of output items to retrieve.

status'fail' | 'pass'

Filter output items by status. Use failed to filter by failed output items or pass to filter by passed output items.

order'asc' | 'desc'

Sort order for output items by timestamp. Use asc for ascending order or desc for descending order. Defaults to asc.

Response

A list of output items for the evaluation run

object'list' required

The type of this object. It is always set to "list".

first_idstring required

The identifier of the first eval run output item in the data array.

last_idstring required

The identifier of the last eval run output item in the data array.

has_moreboolean required

Indicates whether there are more eval run output items available.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the /// response's property type changed from object to no type for status

    • breaking

      removed the required property //// from the response with the status

    • breaking

      removed the required property //// from the response with the status

    • info

      added subschema #2 to the /// response property anyOf list for the response status