GET/evals

List evaluations

Lists evaluations for a project. Use after to continue from a previous result and set order and order_by to control how evaluations are sorted.

4 parameters
afterstringoptional
Identifier of the last evaluation from the previous pagination request.
limitintegeroptional
Number of evaluations to retrieve. Defaults to 20 when omitted.
Default:20
orderstringoptional
Sort direction by timestamp: `asc` or `desc`. Defaults to `asc` when omitted.
Allowed:ascdescDefault:asc
order_bystringoptional
Timestamp field used for sorting: `created_at` or `updated_at`. Defaults to `created_at` when omitted.
Allowed:created_atupdated_atDefault:created_at

2 status codes
200Returns a list of evaluation objects with the first and last evaluation IDs and a `has_more` flag for pagination.
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 exceeds a rate limit.
errorobjectrequired

Error handling

A 429 is returned when the request exceeds a rate limit. order must be asc or desc, and order_by must be created_at or updated_at; limit defaults to 20 when omitted.