Report

Query account quality metrics over a date range

Changed on

Retrieve daily test-run and plan-run quality metrics (total/passed/failed/stopped/retried counts) across workspaces in an account. Backed by the precomputed workspace_quality_metric_daily fact table, populated daily by the event-metric-aggregator cron. Only accessible by company admins.

get/accounts/{account_id}/reports/qualityMetrics/daily

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/accounts/{account_id}/reports/qualityMetrics/daily
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

account_idstring required

Account ID to query

Query parameters

metric_namesstring

Comma-separated list of metric names to return (e.g. test_runs_executed, plan_runs_executed). When omitted, returns all metrics with data in the date range.

start_datestring

Inclusive start date (YYYY-MM-DD). Defaults to 30 days before end_date.

end_datestring

Inclusive end date (YYYY-MM-DD). Defaults to yesterday (most recent fully-aggregated day).

workspace_idsstring

Optional comma-separated list of workspace IDs to scope results within the account.

Response

Quality metric series for the account over the date range

account_idstring

The account ID

start_datestring date

Inclusive start of the date range (YYYY-MM-DD)

end_datestring date

Inclusive end of the date range (YYYY-MM-DD)

Changes

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status