---
title: "Retrieve quality metric values associated with a test run"
method: GET
path: "/workspaces/{workspace_id}/reports/qualityMetricsSummary"
tags: ["Report"]
---

# Retrieve quality metric values associated with a test run

`GET /workspaces/{workspace_id}/reports/qualityMetricsSummary`

Used to retrieve quality metrics for a test run

## Path parameters

- `workspace_id` string, required

## Query parameters

- `aggregation_run_id` string, required
- `group_id` string, required
- `metric_types` string[], required

## Response `200`

Quality metric for the associated context

- AggregateMetricResult
  - `quality_metric_values` AggregateMetric[] — Quality metrics for the associated context
    - `entry_time` integer — The time of the step group aggregation
    - `created_time` integer — The time of the row being created in Spanner
    - `workspace_id` string — ID for the workspace
    - `application_id` string — ID for the associated application, if any
    - `environment_id` string — ID for the associated environment, if any
    - `aggregation_entity_type` 'deployment' | 'plan' | 'test' | 'flow' | 'custom_step_group' — Level of aggregation of a step group and associated metric
    - `aggregation_run_id` string — Run ID for the entity used in this aggregation
    - `aggregation_invariant_id` string — Invariant ID for entity associated with the run ID
    - `aggregation_id` string — ID for entity associated with the run ID
    - `group_entity_type` 'test' | 'flow' | 'custom_step_group' — Type of grouping that is aggregated
    - `group_invariant_id` string — Invariant ID for the associated grouping
    - `group_id` string — ID for the associated grouping
    - `group_complete` boolean — Whether this aggregate is for complete group values or incomplete group values
    - `metric_type` 'page_speed_index' | 'step_execution_time' | 'response_time' — The metric type that is being aggregated
    - `metric_sum` number, double — The sum of the metric values of each step
    - `metric_min` number, double — The min of the metric values of each step
    - `metric_max` number, double — The max of the metric values of each step
    - `metric_average` number, double — The average of the metric values of each step
    - `count_groups` integer — The number of group values that are combined in this aggregate
    - `count_steps` integer — The number of steps that are grouped in this aggregate
    - `count_steps_interactive` integer — The number of interactive steps that are grouped in this aggregate
    - `journey_run_id` string — ID for the test run, if relevant
    - `journey_id` string — ID for the test associated with the run, if relevant
    - `incomplete` boolean — True if the aggregated values are based on an incomplete set of measurements
    - `aggregate_measurement_id` string — ID for the measurement that initiated the aggregation
    - `expected_atomic_ids` string[] — The list of IDs that need to be aggregated for a complete metric
    - `included_atomic_ids` string[] — The IDs that are a part of the current aggregation

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unexpected error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
