apicheats.dev openai/llms.txt Raw .md
GET

GET /evals/{eval_id}/runs/{run_id}/output_items — OpenAI API

OpenAI API key (required); https://api.openai.com/v1

OpenAI API

Get eval run output items

Base URL
https://api.openai.com/v1
Auth
Authorization: Bearer <OPENAI_API_KEY>
Last verified
2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 302 tokens · Vary: Accept

Critical gotchas

The Responses API is the primary interface for new text and tool workflows; Chat Completions remains a separate compatibility API.

Audio transcription uploads use multipart form data rather than a JSON request body.

cURL

curl -X GET 'https://api.openai.com/v1/evals/eval-id/runs/run-id/output_items?after=example-after&limit=20&status=fail&order=asc' \  -H "Authorization: Bearer $OPENAI_API_KEY"

Parameters

Name In Type Required Description
eval_id path string Yes The ID of the evaluation to retrieve runs for.
run_id path string Yes The ID of the run to retrieve output items for.
after query string No Identifier for the last output item from the previous pagination request.
limit query integer No Number of output items to retrieve.
status query string No Filter output items by status. Use `failed` to filter by failed output items or `pass` to filter by passed output items.
order query string No Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`.

Response 200 OK

{
  "object": "list",
  "data": [
    {
      "object": "eval.run.output_item",
      "id": "string",
      "run_id": "string",
      "eval_id": "string",
      "created_at": 0,
      "status": "string",
      "datasource_item_id": 0,
      "datasource_item": {},
      "results": [
        {
          "name": "string",
          "type": "string",
          "score": 0,
          "passed": true,
          "sample": {}
        }
      ],
      "sample": {
        "input": [
          {
            "role": "[recursive or deeply nested schema]",
            "content": "[recursive or deeply nested schema]"
          }
        ],
        "output": [
          {
            "role": "[recursive or deeply nested schema]",
            "content": "[recursive or deeply nested schema]"
          }
        ],
        "finish_reason": "string",
        "model": "string",
        "usage": {
          "total_tokens": 0,
          "completion_tokens": 0,
          "prompt_tokens": 0,
          "cached_tokens": 0
        },
        "error": {
          "code": "string",
          "message": "string"
        },
        "temperature": 0,
        "max_completion_tokens": 0,
        "top_p": 0,
        "seed": 0
      }
    }
  ],
  "first_id": "string",
  "last_id": "string",
  "has_more": true
}
Get a free OpenAI API key → sponsored

Affiliate link - we may earn a commission, at no extra cost to you.