provider Evals GET /evals/{eval_id}/runs
@utdk/openai /evals/{eval_id}/runs
Get a list of runs for an evaluation.
eval_id path required
The ID of the evaluation to retrieve runs for.
string
after query
Identifier for the last run from the previous pagination request.
string
limit query
Number of runs to retrieve.
integer
order query
Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`.
enum: asc, desc
status query
Filter runs by status. One of `queued` | `in_progress` | `failed` | `completed` | `canceled`.
enum: queued, in_progress, completed, canceled…

Try it

Authentication
Configure credentials for OpenAI API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getevalruns
GET/evals/{eval_id}/runs

Parameters

required

The ID of the evaluation to retrieve runs for.

Identifier for the last run from the previous pagination request.

Number of runs to retrieve.

Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`.

Filter runs by status. One of `queued` | `in_progress` | `failed` | `completed` | `canceled`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import openai from '@utdk/openai';

await openai.getevalruns({
  "limit": 20,
  "order": "asc"
})