curl --request GET \
--url https://api.openai.com/v1/evals \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"object": "eval",
"id": "<string>",
"name": "Chatbot effectiveness Evaluation",
"data_source_config": {
"type": "custom",
"schema": "{\n \"type\": \"object\",\n \"properties\": {\n \"item\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\"type\": \"string\"},\n },\n \"required\": [\"label\"]\n }\n },\n \"required\": [\"item\"]\n}\n"
},
"testing_criteria": "eval",
"created_at": 123,
"metadata": {},
"share_with_openai": true
}
],
"first_id": "<string>",
"last_id": "<string>",
"has_more": true
}
List evaluations for a project.
curl --request GET \
--url https://api.openai.com/v1/evals \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"object": "eval",
"id": "<string>",
"name": "Chatbot effectiveness Evaluation",
"data_source_config": {
"type": "custom",
"schema": "{\n \"type\": \"object\",\n \"properties\": {\n \"item\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\"type\": \"string\"},\n },\n \"required\": [\"label\"]\n }\n },\n \"required\": [\"item\"]\n}\n"
},
"testing_criteria": "eval",
"created_at": 123,
"metadata": {},
"share_with_openai": true
}
],
"first_id": "<string>",
"last_id": "<string>",
"has_more": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Identifier for the last eval from the previous pagination request.
Number of evals to retrieve.
Sort order for evals by timestamp. Use asc
for ascending order or desc
for descending order.
asc
, desc
Evals can be ordered by creation time or last updated time. Use
created_at
for creation time or updated_at
for last updated time.
created_at
, updated_at
A list of evals
An object representing a list of evals.
Was this page helpful?