Swagger Petstore - OpenAPI 3.0
GET/evals

List evaluations

Lists evaluations for a project with optional filtering and sorting. Use limit to control page size, after for cursor-based pagination, and order_by to sort by creation or update time.

4 parameters
afterstringoptional
Cursor identifier from the previous response to retrieve the next page of results.
limitintegeroptional
Number of evaluations to retrieve per page. Defaults to 20 when omitted.
Default:20
orderstringoptional
Sort direction: `asc` for ascending or `desc` for descending. Defaults to `asc` when omitted.
Allowed:ascdescDefault:asc
order_bystringoptional
Field to sort by: `created_at` for creation time or `updated_at` for last modified time. Defaults to `created_at` when omitted.
Allowed:created_atupdated_atDefault:created_at

2 status codes
200Returns a paginated list of evaluation objects with metadata including first and last IDs and whether more results are available.
objectstringrequired
The type of this object. It is always set to "list".
Allowed:listDefault:list
dataarray<Eval>required
An array of eval objects.
first_idstringrequired
The identifier of the first eval in the data array.
last_idstringrequired
The identifier of the last eval in the data array.
has_morebooleanrequired
Indicates whether there are more evals available.
429Returned when the request rate limit is exceeded.
errorobjectrequired

Error handling

A 429 is returned when the request rate limit is exceeded. limit must be a positive integer if provided. order must be either asc or desc, and order_by must be either created_at or updated_at.