---
title: "retrieve metrics"
method: GET
path: "/report/metrics"
tags: ["Report"]
---

# retrieve metrics

`GET /report/metrics`

Get a set of metrics

## Query parameters

- `organization_id` string, required
- `metric_type` string, required
- `metric_id` string, required
- `start` integer, required
- `end` integer

## Response `200`

The stats for this metric.

- MetricsSummary — Summary of one or more individual metric points
  - `metric_id` string — Specific identifier for this metrics, regardless of point in time. Exact value depends on metric type
  - `metric_type` string — Specific type/class of metric
  - `organization_id` string — organization this metric is for
  - `appliction_id` string — appication this metric is for
  - `environment_id` string — environment this metric is for
  - `points` MetricsSummaryPoints[] — instances of the metric at a point in time
    - `interval_type` 'event' | 'day' | 'hour' — Description of the interval type
    - `interval_start` integer — interval start time
    - `interval_end` integer — interval end time
    - `execution_count` integer — Count of executions
    - `failed_count` integer — Count of failures
    - `passed_count` integer — Count of passes
    - `raw_value` integer — Raw value used in anomaly detection
    - `tests_passing` integer — Count of passes
    - `tests_failing` integer — Count of passes
    - `scripts_passing` integer — Count of passes
    - `scripts_failing` integer — Count of passes
    - `run_time_sum_squared` integer — Count of passes
    - `run_time_sum` integer — Count of passes

## Other responses

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