---
title: "GET /fleet-metric/{metricName}"
method: GET
path: "/fleet-metric/{metricName}"
---

# GET /fleet-metric/{metricName}

`GET /fleet-metric/{metricName}`

Gets information about the specified fleet metric.

Requires permission to access the [DescribeFleetMetric](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

## Path parameters

- `metricName` string, required

## Response `200`

Success

- DescribeFleetMetricResponse
  - `metricName` string — The name of the fleet metric to describe.
  - `queryString` string — The search query string.
  - `aggregationType` object — The type of the aggregation query.
    - `name` 'Statistics' | 'Percentiles' | 'Cardinality', required — The name of the aggregation type.
    - `values` AggregationTypeValue[] — A list of the values of aggregation types.
  - `period` integer — The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
  - `aggregationField` string — The field to aggregate.
  - `description` string — The fleet metric description.
  - `queryVersion` string — The query version.
  - `indexName` string — The name of the index to search.
  - `creationDate` string, date-time — The date when the fleet metric is created.
  - `lastModifiedDate` string, date-time — The date when the fleet metric is last modified.
  - `unit` 'Seconds' | 'Microseconds' | 'Milliseconds' | 'Bytes' | 'Kilobytes' | 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Bits' | 'Kilobits' | 'Megabits' | 'Gigabits' | 'Terabits' | 'Percent' | 'Count' | 'Bytes/Second' | 'Kilobytes/Second' | 'Megabytes/Second' | 'Gigabytes/Second' | 'Terabytes/Second' | 'Bits/Second' | 'Kilobits/Second' | 'Megabits/Second' | 'Gigabits/Second' | 'Terabits/Second' | 'Count/Second' | 'None' — Used to support unit transformation such as milliseconds to seconds. The unit must be supported by <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">CW metric</a>.
  - `version` integer — The version of the fleet metric.
  - `metricArn` string — The ARN of the fleet metric to describe.

## Other responses

- `480` — InvalidRequestException
- `481` — ThrottlingException
- `482` — UnauthorizedException
- `483` — ServiceUnavailableException
- `484` — InternalFailureException
- `485` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/iot.md) · [All operations](https://skmtc.net/aws/apis/iot/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iot/versions/deef5c4b09f0/schema)
