Skip to main content

Returns

Returns a list of Session objects.

Example

# List all sessions for a specific version
sessions = galtea.sessions.list(version_id="YOUR_VERSION_ID")

Parameters

version_id
string | list[string]
The ID or IDs of the version(s) to filter sessions by.
test_case_id
string | list[string]
The ID or IDs of the test case(s) to filter sessions by.
custom_id
string | list[string]
The custom ID or IDs to filter sessions by.
test_id
string | list[string]
The ID or IDs of the test(s) to filter sessions by.
sort_by_created_at
string
Sort sessions by creation date. Valid values are “asc” and “desc”.
At least one of the 3 parameters (filters) described above must be passed to the method
offset
int
The number of sessions to skip before starting to collect the result set.
limit
int
The maximum number of sessions to return.