---
title: "Retrieve calculated metric functions"
method: GET
path: "/{globalCompanyId}/calculatedmetrics/functions"
tags: ["Calculated Metrics"]
---

# Retrieve calculated metric functions

`GET /{globalCompanyId}/calculatedmetrics/functions`

## Path parameters

- `globalCompanyId` string, required

## Query parameters

- `locale` string

## Headers

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

## Response `200`

successful operation

- CalcMetricFunction[]
  - `id` string — Calculated Metric Function ID
  - `category` string — Calculated Metric Function category
  - `persistable` boolean — If a Calculated Metric Function is persistable
  - `name` string — Calculated Metric Function name
  - `namespace` string — Calculated Metric Function namespace
  - `description` string — Calculated Metric Function description
  - `exampleKey` string — Calculated Metric Function example key
  - `example` string — Calculated Metric Function example
  - `definition` CalcMetricFunctionDef
    - `func` string
    - `parameters` CalcMetricFunctionParameter[]
      - `func` string
      - `name` string
      - `type` string
      - `friendlyNameKey` string
      - `descKey` string
      - `friendlyName` string
      - `description` string
      - `default-value` object
    - `formula` object
    - `version` integer[]

## Other responses

- `500` — External API error; Calculated metric functions retrieval failed

## 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/calculatedmetrics/functions/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)
