Skip to main content

Returns

Returns a list of Test objects for the given product.

Example

tests = galtea.tests.list(product_id=product_id, limit=10)

Parameters

product_id
string | list[string]
required
The ID or IDs of the product(s) for which you want to list tests.
from_created_at
str | int
default:"None"
Filter tests 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 tests 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 tests by creation date. Valid values are “asc” and “desc”.
offset
int
default:"0"
Number of tests to skip before starting to collect results. Use for pagination.Default: 0 (start from the beginning)
limit
int
default:"1000"
Maximum number of tests to return in a single request.Default: 1000