Skip to main content

Returns

Returns a list of Evaluation objects.

Example

# List evaluations for a session
session_evaluations = galtea.evaluations.list(session_id="YOUR_SESSION_ID")

Parameters

session_id
str | list[str]
default:"None"
The ID or IDs of the session(s) for which you want to list evaluations.
version_id
str
default:"None"
The ID of the version for which you want to list evaluations.
test_case_id
str | list[str]
default:"None"
The ID or IDs of the test case(s) for which you want to list evaluations.
test_id
str | list[str]
default:"None"
The ID or IDs of the test(s) for which you want to list evaluations.
metric_id
str | list[str]
default:"None"
The ID or IDs of the metric(s) for which you want to list evaluations.
sort_by_created_at
string
Sort evaluations by creation date. Valid values are “asc” and “desc”.
sort_by_score
string
Sort evaluations by score. Valid values are “asc” and “desc”.
offset
int
The number of evaluations to skip before starting to collect the result set.
limit
int
The maximum number of evaluations to return.
I