latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Test

Sample random tests with prioritization

Returns a random sample of test variant IDs, prioritizing tests with recent passing runs, then tests with any recent runs, then all other tests in the workspace. For tests with runs, returns the latest variant that has passing runs, or else latest with any runs. Tests are associated with applications via their test run history.

get/test/journeys/sample

Query parameters

organization_idstring required

The organization/workspace ID to sample tests from

application_idstring

Optional application ID to filter tests (filters by test runs with this application_id)

sample_sizeinteger

Number of test IDs to return (1-100)

Response

Array of sampled test variant IDs

test_idsstring[]

Array of sampled test IDs, prioritized by recent test run results