Returns
Returns a list of TestCase objects for the given dataset.Example
Parameters
The ID or IDs of the dataset you want to get the test cases from.
Deprecated alias:
test_id.Languages to filter test cases by. Accepts BCP-47 language tags — a bare ISO 639-1 code (
"es") or a code with a region subtag ("es-MX").The list of expected tools to filter by. It will retrieve test cases that contain exactly the same specified tools or more.
Filter test cases 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.Filter test cases 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.Number of test cases to skip before starting to collect results. Use for pagination.Default:
0 (start from the beginning)Whether to include superseded (legacy) test-case revisions in the results.Default:
True — a family’s older revisions are returned alongside its current active revision, matching the API. Set to False to return only the active head of each revision family.Case-insensitive substring filter applied across the test case input JSON values. Only test cases whose input contains this substring (when cast to text) are returned.
At least one of the 2 filter parameters (
dataset_id, id) described above must be passed to the method