---
title: "Retrieve the performance of the test suite over time averaged per step"
method: POST
path: "/workspaces/{workspace_id}/reports/testSuitePerformanceOverTime"
tags: ["Report"]
---

# Retrieve the performance of the test suite over time averaged per step

`POST /workspaces/{workspace_id}/reports/testSuitePerformanceOverTime`

Used to retrieve the test suite performance per step over time

## Path parameters

- `workspace_id` string, required

## Query parameters

- `timezone` string
- `limit` integer
- `cursor` string

## Request body

- TestSuiteFilterOptions
  - `application_ids` string[] — Application IDs to filter by
  - `environment_ids` string[] — Environment IDs to filter by
  - `triggering_resource_ids` string[] — Triggering resource IDs to filter by
  - `test_name` string — Test name to filter by (partial match)
  - `test_type` 'api' | 'browser' | 'performance' | 'mobile' — Type of test
  - `browser` string — The browser for the run
  - `execution_source` 'mabl_cloud' | 'external' | 'mabl_local' | 'mabl_agent' — Where the test lives
  - `mobile_platform` 'android' | 'ios' — The mobile platform associated with this object
  - `test_labels` string[] — Test labels to filter by
  - `plan_labels` string[] — Plan labels to filter by
  - `start_time` integer — The start time of the time period
  - `end_time` integer — The end time of the time period

## Response `200`

Performance of the test suite over time. Note count_runs in the result is count of steps in this case.

- AggregateMetricDailyTrendResult
  - `quality_metric_values` AggregateMetricDailyTrend[] — Each daily quality metric for the associated context, env, and app
    - `workspace_id` string — Id for the workspace
    - `application_id` string — Id for the application
    - `environment_id` string — Id for the environment
    - `metric_date` integer — The date timestamp for the metric aggregation
    - `metric_type` string — The metric type that is being aggregated daily
    - `metric_daily_min` number, double — The min of the metric values of each step
    - `metric_daily_max` number, double — The max of the metric values of each step
    - `metric_daily_average` number, double — The average of the metric values of each step
    - `aggregation_type` string — The type associated with the context of aggregation
    - `aggregation_id` string — The id associated with the context of aggregation
    - `group_type` string — The type associated with the group being aggregated
    - `group_id` string — The id associated with the group being aggregated
    - `group_complete` boolean — Represents whether the groups aggregated are complete or not.
    - `count_runs` integer — The number of individual group metric values combined for this aggregation
    - `min_test_run_id` string — The test run id associated with the min metric value
    - `max_test_run_id` string — The test run id associated with the min metric value
  - `cursor` string — Cursor used for pagination

## 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)
