latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Test

Retrieve a set of latest test versions by query and branch

Used to query tests. The secondary filters (include_labels, exclude_labels, include_test_case_ids, author_id, application_id) are applied in memory after the workspace's tests are fetched and combine as a logical AND, so when any of them is supplied the endpoint returns up to limit matching tests from a full scan and the returned cursor reflects that underlying scan rather than the filtered set. test_type is different: it is applied at the datastore layer via the test-type index (so a type-only query is a seek, not a full scan) and combines as a logical AND with the in-memory filters. credentials_id takes a separate path: it takes precedence over and is mutually exclusive with all other filters.

get/test/journeys

Query parameters

organization_idstring required

The organization id to query

include_labelsstring[]

at least one label must be matched, if supplied, otherwise all tests considered

exclude_labelsstring[]

any matching labels will exclude entity from matching, if supplied, otherwise all tests considered

include_test_case_idsstring[]

at least one id must be matched, if supplied

branchstring

mabl branch to retrieve tests for

branch_changes_onlyboolean

Run ONLY tests MODIFIED on above mabl branch

author_idstring

filter results by mabl user ID of author

credentials_idstring

filter results to tests whose latest version references this credentials id

application_idstring

filter results to tests whose training application is this application id

test_typestring

filter results to tests of this type (browser, api, performance, or mobile); applied at the datastore layer via the test-type index

limitinteger

The limit to use for pagination

cursorstring

The cursor to use for pagination

Response

Array of tests matching the query

cursorstring

Cursor used for pagination