GET
GET /evals — OpenAI API
OpenAI API key (required); https://api.openai.com/v1
OpenAI APIList evals
- 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
→ 245 tokens · Vary: Accept
→ 245 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?after=example-after&limit=20&order=asc&order_by=created_at' \ -H "Authorization: Bearer $OPENAI_API_KEY"
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| after | query | string | No | Identifier for the last eval from the previous pagination request. |
| limit | query | integer | No | Number of evals to retrieve. |
| order | query | string | No | Sort order for evals by timestamp. Use `asc` for ascending order or `desc` for descending order. |
| order_by | query | string | No | Evals can be ordered by creation time or last updated time. Use `created_at` for creation time or `updated_at` for last updated time. |
Response 200 OK
{
"object": "list",
"data": [
{
"object": "eval",
"id": "string",
"name": "Chatbot effectiveness Evaluation",
"data_source_config": {
"type": "custom",
"schema": {
"type": "object",
"properties": {
"item": {
"type": "object",
"properties": {
"label": {
"type": "string"
}
},
"required": [
"label"
]
}
},
"required": [
"item"
]
}
},
"testing_criteria": [
{
"type": "label_model",
"name": "string",
"model": "string",
"input": [
"[recursive or deeply nested schema]"
],
"labels": [
"[recursive or deeply nested schema]"
],
"passing_labels": [
"[recursive or deeply nested schema]"
]
}
],
"created_at": 0,
"metadata": {}
}
],
"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.