latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

TestRun

Aggregate test run counts for a workspace (fast Spanner aggregation)

Returns total test runs, counts grouped by status, and the top failing tests in the workspace. Optional filters: environment_id, application_id, start_time range. Mirrors aggregateWorkspacePlanRuns at the test-run level.

get/journeyRuns/workspace/{workspace_id}/aggregate

Path parameters

workspace_idstring required

The workspace (organization) id

Query parameters

environment_idstring
application_idstring
min_start_timeinteger

Inclusive lower bound on start_time (epoch ms)

max_start_timeinteger

Inclusive upper bound on start_time (epoch ms)

top_tests_limitinteger

Max top failing tests to return. Default 10, max 50. 0 skips the top-tests query entirely.

Response

Aggregated workspace test run statistics

total_test_runsinteger required
scan_completeboolean required

True when aggregate counts cover the full filter (always true for this endpoint)

top_tests_exhaustiveboolean required

True when every failing test in range contributed to top_tests_by_failed_runs (no top-N truncation occurred)