---
title: "GET /{resourceUri}/providers/Microsoft.Insights/metricBaselines"
method: GET
path: "/{resourceUri}/providers/Microsoft.Insights/metricBaselines"
tags: ["Baseline", "Metric"]
---

# GET /{resourceUri}/providers/Microsoft.Insights/metricBaselines

`GET /{resourceUri}/providers/Microsoft.Insights/metricBaselines`

**Lists the metric baseline values for a resource**.

## Path parameters

- `resourceUri` string, required

## Query parameters

- `metricnames` string
- `metricnamespace` string
- `timespan` string
- `interval` string, duration
- `aggregation` string
- `sensitivities` string
- `$filter` string
- `resultType` 'Data' | 'Metadata'

## Parameters

- `../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

Successful request to get the list of metric baseline values.

- MetricBaselinesResponse — A list of metric baselines.
  - `value` SingleMetricBaseline[] — The list of metric baselines.
    - `id` string, required — The metric baseline Id.
    - `type` string, required — The resource type of the metric baseline resource.
    - `name` string, required — The name of the metric for which the baselines were retrieved.
    - `properties` MetricBaselinesProperties, required — The response to a metric baselines query.
      - `timespan` string, required — The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested.
      - `interval` string, duration, required — The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made.
      - `namespace` string — The namespace of the metrics been queried.
      - `baselines` TimeSeriesBaseline[], required — The baseline for each time series that was queried.
        - `aggregation` string, required — The aggregation type of the metric.
        - `dimensions` MetricSingleDimension[] — The dimensions of this time series.
          - `name` string, required — Name of the dimension.
          - `value` string, required — Value of the dimension.
        - `timestamps` string[], required — The list of timestamps of the baselines.
        - `data` SingleBaseline[], required — The baseline values for each sensitivity.
          - `sensitivity` 'Low' | 'Medium' | 'High', required — the sensitivity of the baseline.
          - `lowThresholds` number[], required — The low thresholds of the baseline.
          - `highThresholds` number[], required — The high thresholds of the baseline.
        - `metadataValues` BaselineMetadata[] — The baseline metadata values.
          - `name` string, required — Name of the baseline metadata.
          - `value` string, required — Value of the baseline metadata.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/monitormanagementclient-10.md) · [All operations](https://skmtc.net/azure/apis/monitormanagementclient-10/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/monitormanagementclient-10/revisions/4057d7680bd0/schema)
