OpenAI Evals API

Manage and run evals in the OpenAI platform.

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /evals List evaluations in a project · List evals #
Ask an LLM
“Which evals have I set up in this project?”
“Can I sort my evaluations by when they were last updated?”
Tell an agent
List the evaluations in my project.
Show my evals ordered by {order_by}.
POST /evals Create an evaluation · Create eval #
Ask an LLM
“How do I define an eval to test how well a model performs on my data?”
“What do I need to specify when setting up a new evaluation's grading criteria?”
Tell an agent
Create an eval named {name} with data source config {data_source_config} and testing criteria {testing_criteria}.
Set up a new evaluation using graders {testing_criteria} over data shaped like {data_source_config}.
GET /evals/{eval_id} Retrieve an evaluation · Get an eval #
Ask an LLM
“What testing criteria does one of my evals use?”
“Can I look up the configuration of an eval by its ID?”
Tell an agent
Get eval {eval_id}.
Show the testing criteria and data source config of eval {eval_id}.
POST /evals/{eval_id} Rename or retag an evaluation · Update an eval #
Ask an LLM
“Can I rename an evaluation after I've created it?”
“Which properties of an existing eval am I allowed to change?”
Tell an agent
Rename eval {eval_id} to {name}.
Update the metadata on eval {eval_id} to {metadata}.
DELETE /evals/{eval_id} Delete an evaluation · Delete an eval #
Ask an LLM
“How do I remove an evaluation I no longer need?”
“Can I delete an entire eval definition by ID?”
Tell an agent destructive · confirm first
Delete eval {eval_id}.
Permanently remove the evaluation {eval_id} and its definition.
GET /evals/{eval_id}/runs List the runs of an evaluation · Get eval runs #
Ask an LLM
“What runs have been executed against one of my evals?”
“Can I see only the eval runs that failed or were canceled?”
Tell an agent
List the runs for eval {eval_id}.
Show runs of eval {eval_id} with status {status}.
POST /evals/{eval_id}/runs Start an evaluation run · Create eval run #
Ask an LLM
“How do I kick off a run to test a model against an existing eval?”
“Can I choose which data source and model config an eval run uses?”
Tell an agent
Start a run of eval {eval_id} using data source {data_source}.
Kick off an eval run named {name} on eval {eval_id} with data source {data_source}.
GET /evals/{eval_id}/runs/{run_id} Check an evaluation run · Get an eval run #
Ask an LLM
“Has my eval run finished, and what were the results?”
“Can I fetch one evaluation run to see its status and scores?”
Tell an agent
Get run {run_id} of eval {eval_id}.
Show the status and results of eval run {run_id} on {eval_id}.
POST /evals/{eval_id}/runs/{run_id} Cancel an ongoing evaluation run · Cancel eval run #
Ask an LLM
“Can I stop an eval run that's still going?”
“How do I cancel an evaluation run I started with the wrong config?”
Tell an agent destructive · confirm first
Cancel eval run {run_id} on eval {eval_id}.
Stop the ongoing run {run_id} of evaluation {eval_id}.
DELETE /evals/{eval_id}/runs/{run_id} Delete an evaluation run · Delete eval run #
Ask an LLM
“Can I delete a single run from an eval while keeping the eval itself?”
“What's the way to clean up old eval runs I don't need?”
Tell an agent destructive · confirm first
Delete eval run {run_id} from eval {eval_id}.
Remove the old run {run_id} but keep evaluation {eval_id}.
GET /evals/{eval_id}/runs/{run_id}/output_items List output items from an evaluation run · Get eval run output items #
Ask an LLM
“Which individual test cases passed or failed in an eval run?”
“Can I list just the failed output items from a run?”
Tell an agent
List the output items of run {run_id} on eval {eval_id}.
Show the {status} output items from eval run {run_id} of {eval_id}.
GET /evals/{eval_id}/runs/{run_id}/output_items/{output_item_id} Retrieve one output item from an evaluation run · Get an output item of an eval run #
Ask an LLM
“What did the model output and how was it graded for one specific test case?”
“Can I inspect a single eval output item by its ID?”
Tell an agent
Get output item {output_item_id} from run {run_id} of eval {eval_id}.
Show the grading details for output item {output_item_id} in eval run {run_id} on {eval_id}.

Documentation

📖
Documentation
https://platform.openai.com/docs/assistants/overview
📖
Documentation
https://platform.openai.com/docs/api-reference/assistants
📖
Documentation
https://platform.openai.com/docs/guides/text-to-speech
📖
Documentation
https://platform.openai.com/docs/api-reference/audio
📖
Documentation
https://platform.openai.com/docs/guides/speech-to-text
📖
Documentation
https://developers.openai.com/api/docs/guides/audio/
📖
Documentation
https://developers.openai.com/api/docs/guides/voice-agents/
📖
Documentation
https://platform.openai.com/docs/api-reference/chat
📖
Documentation
https://platform.openai.com/docs/guides/embeddings
📖
Documentation
https://platform.openai.com/docs/api-reference/embeddings
📖
Documentation
https://platform.openai.com/docs/api-reference/files
📖
Documentation
https://platform.openai.com/docs/guides/fine-tuning
📖
Documentation
https://platform.openai.com/docs/api-reference/fine-tuning
📖
Documentation
https://platform.openai.com/docs/guides/images
📖
Documentation
https://platform.openai.com/docs/api-reference/images
📖
Documentation
https://platform.openai.com/docs/guides/image-generation
📖
Documentation
https://platform.openai.com/docs/guides/images-vision
📖
Documentation
https://platform.openai.com/docs/models
📖
Documentation
https://platform.openai.com/docs/api-reference/models
📖
Documentation
https://platform.openai.com/docs/assistants/how-it-works/managing-threads-and-messages
📖
Documentation
https://platform.openai.com/docs/api-reference/threads
📖
Documentation
https://platform.openai.com/docs/api-reference/completions

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openai:openai-evals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

openai-evals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAI Evals API
  description: The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
  version: 2.3.0
  termsOfService: https://openai.com/policies/terms-of-use
  contact:
    name: OpenAI Support
    url: https://help.openai.com/
  license:
    name: MIT
    identifier: MIT
servers:
- url: https://api.openai.com/v1
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (228 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/openai/refs/heads/main/openapi/openai-evals-api-openapi.yml