---
title: "Get all the specified metrics for the performance test run"
method: GET
path: "/performanceTestRun/{performance_test_run_id}/metrics"
tags: ["TestRun"]
---

# Get all the specified metrics for the performance test run

`GET /performanceTestRun/{performance_test_run_id}/metrics`

Get a metric over time for a given

## Path parameters

- `performance_test_run_id` string, required

## Query parameters

- `metric_types` string[], required
- `metric_aggregation` 'step' | 'test', required
- `start_time` integer, required
- `end_time` integer, required
- `functional_test_invariant_id` string
- `functional_test_step_id` string
- `runner_id` string
- `time_interval` integer
- `smoothing` boolean
- `limit` integer
- `cursor` string

## Response `200`

The performance test run metric result

- PerformanceRunMetricResultList — All the metrics for a network entry
  - `metrics` PerformanceRunMetricResult[]
    - `metric_type` string — The type of metric being returned
    - `time_series` PerformanceRunMetricValue[]
      - `bucket_counts` integer[] — Counts per bucket if applicable (distribution)
      - `bucket_mean` number, double — The mean value if applicable (distribution)
      - `count` integer — The count if applicable (non-distribution)
      - `endTime` integer
    - `time_interval` integer — Size of the time intervals
    - `distribution_buckets` integer[] — Buckets used for the metric if applicable (distribution)
    - `cursor` string — The cursor for paging

## Other responses

- `401` — User not authenticated
- `403` — User not authorized
- `404` — Performance test run not found for specified identifier
- `default` — Unknown 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)
