TestRun

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

Changed on

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

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/journeyRuns/workspace/{workspace_id}/aggregate
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

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)

distinct_plansinteger

Distinct plans (by plan_id) that produced a test run in range. Optional.

distinct_testsinteger

Distinct tests (by journey_invariant_id) that ran in range. Optional.

Changes

    • breaking

      the response property // became optional for the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status