---
title: "Retrieve a metric by ID"
method: GET
path: "/{globalCompanyId}/metrics/{id}"
tags: ["Metrics"]
---

# Retrieve a metric by ID

`GET /{globalCompanyId}/metrics/{id}`

## Path parameters

- `globalCompanyId` string, required
- `id` string, required

## Query parameters

- `rsid` string, required
- `locale` string
- `expansion` string[]

## Headers

- `Authorization` string, required
- `x-api-key` string, required

## Response `200`

successful operation

- AnalyticsMetric
  - `id` string
  - `title` string
  - `name` string
  - `type` 'STRING' | 'INT' | 'DECIMAL' | 'CURRENCY' | 'PERCENT' | 'TIME' | 'ENUM' | 'ORDERED_ENUM'
  - `extraTitleInfo` string
  - `category` string
  - `categories` string[]
  - `support` string[]
  - `allocation` boolean
  - `precision` integer
  - `calculated` boolean
  - `segmentable` boolean
  - `description` string
  - `polarity` 'positive' | 'negative'
  - `helpLink` string
  - `allowedForReporting` boolean
  - `tags` Tag[]
    - `id` integer — the tag id
    - `name` string — the tag name
    - `description` string — the tag description
    - `components` TaggedComponent[] — the list of components that have been tagged with this tag
      - `componentType` string
      - `componentId` string
      - `tags` string[]

## Other responses

- `400` — Invalid JSON input
- `403` — Insufficient access to perform operation
- `500` — Unexpected internal server error

## Changes

- **2025-08-07** `f13c80692287` — 1 warning
  - deleted the `header` request parameter `x-gw-ims-org-id`
- **2025-08-06** `f49e893a6c2b` — 1 breaking
  - added the new required `header` request parameter `x-gw-ims-org-id`
- **2022-05-10** `dcd4514630c4` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/adobe/apis/adobe-analytics-apis/changes/:globalCompanyId/metrics/:id/get.md)

---

[API](https://skmtc.dev/adobe/apis/adobe-analytics-apis.md) · [All operations](https://skmtc.dev/adobe/apis/adobe-analytics-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adobe/adobe-analytics-apis/revisions/b2e01ce0f30a/schema)
