GET
GET /evals/{eval_id}/runs/{run_id}/output_items/{output_item_id} — OpenAI API
OpenAI API key (required); https://api.openai.com/v1
OpenAI APIGet an output item of an eval run
- 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
→ 216 tokens · Vary: Accept
→ 216 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/output-item-id' \ -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_item_id | path | string | Yes | The ID of the output item to retrieve. |
Response 200 OK
{
"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": "string",
"content": "string"
}
],
"output": [
{
"role": "string",
"content": "string"
}
],
"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
}
} Get a free OpenAI API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.