Skip to main content

Returns

Returns a list of Evaluation objects.

Example

evaluations = galtea.evaluations.list(session_id=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.
status
str | list[str]
default:"None"
Filter by evaluation status(es). Valid values are 'PENDING', 'SUCCESS', 'FAILED'.
from_created_at
str | int
default:"None"
Filter evaluations created at or after this timestamp. Accepts ISO 8601 string (e.g., '2024-01-01T00:00:00Z') or Unix timestamp in seconds. Can be used independently or together with to_created_at.
to_created_at
str | int
default:"None"
Filter evaluations created at or before this timestamp. Accepts ISO 8601 string (e.g., '2024-12-31T23:59:59Z') or Unix timestamp in seconds. Can be used independently or together with from_created_at.
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
default:"0"
Number of evaluations to skip before starting to collect results. Use for pagination.Default: 0 (start from the beginning)
limit
int
default:"1000"
Maximum number of evaluations to return in a single request.Default: 1000