---
title: "Retrieve the quality metric of the entity over time"
method: POST
path: "/workspaces/{workspace_id}/reports/qualityMetricOverTime"
tags: ["Report"]
---

# Retrieve the quality metric of the entity over time

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

Used to retrieve the entity quality metric over time

## Path parameters

- `workspace_id` string, required

## Query parameters

- `journey_invariant_id` string
- `entity_invariant_id` string, required
- `metric_type` 'page_speed_index' | 'step_execution_time' | 'response_time', required
- `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 entity over time.

- QualityMetricOverTimeResult
  - `quality_metric_over_time` QualityMetricOverTime[] — Quality metric over time for the associated context, env, and app
    - `entry_time` integer — the time of the metric being calculated (in epoch milliseconds)
    - `journey_run_id` string — the journey run id associated with the metric
    - `quality_metric` number, double — the quality metric value associated with the entity (in epoch milliseconds)
  - `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)
