---
title: "Get Metric Property"
description: "How to call Get Metric Property (GET /api/metric-properties/{id}) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-01-15/reference/get_metric_property"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_metric_property"
operationId: "get_metric_property"
method: "GET"
endpoint: "https://a.klaviyo.com/api/metric-properties/{id}"
authentication: "privateKey"
scopes: ["metrics:read"]
rateLimits: {"burst":"1/s","steady":"15/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
jsonApi: {"include":["metric"],"fields":{"metric-property":["label","property","inferred_type","sample_values"],"metric":["name","created","updated","integration"]},"additionalFields":{"metric-property":["sample_values"]}}
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/metrics/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/get_metrics.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_metric.md","https://developers.klaviyo.com/en/v2025-01-15/reference/query_metric_aggregates.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flows_triggered_by_metric.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_ids_for_flows_triggered_by_metric.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_properties_for_metric.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_property_ids_for_metric.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_metric_for_metric_property.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_metric_id_for_metric_property.md"]
---

# Get Metric Property

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/get_metric_property

```http
GET https://a.klaviyo.com/api/metric-properties/{id}
```

Get a metric property with the given metric property ID.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `metrics:read`
- Rate limits: Burst: `1/s`, Steady: `15/m`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/metric-properties/925e385b52fb405715f3616c337cc65c' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15'
```

## Path parameters

- `id` (string, required): The ID of the metric property Example: `925e385b52fb405715f3616c337cc65c`

## Query parameters

- `additional-fields[metric-property]` (string[]): Request additional fields not included by default in the response. Supported values: 'sample_values' Allowed values: `sample_values`
- `fields[metric-property]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `label`, `property`, `inferred_type`, `sample_values`
- `fields[metric]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `name`, `created`, `updated`, `integration`
- `include` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `metric`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-01-15`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `metric-property`
  - `attributes` (object, required)
    - `label` (string, required): The label for this metric property Example: `Categories`
    - `property` (string, required): The property for this metric property Example: `Categories`
    - `inferred_type` (string, required): Inferred type for this metric property Example: `List`
  - `relationships` (object)
    - `metric` (object)
      - `data` (object): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (object): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
  - `id` (string, required): The ID of the metric property Example: `925e385b52fb405715f3616c337cc65c`
  - `links` (object, required)
    - `self` (string<uri>, required)
- `included` (object[])
  - `type` (string, required): Allowed values: `metric`
  - `id` (string, required): The Metric ID
  - `attributes` (object, required)
    - `name` (string, nullable): The name of the metric
    - `created` (string, nullable): Creation time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)
    - `updated` (string, nullable): Last updated time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)
    - `integration` (object, nullable): The integration associated with the event
  - `links` (ObjectLinks, required): Same fields as the first ObjectLinks above.

#### Example response body

```json
{
  "data": {
    "type": "metric-property",
    "attributes": {
      "label": "Categories",
      "property": "Categories",
      "inferred_type": "List"
    },
    "relationships": {
      "metric": {
        "data": {
          "type": "metric",
          "id": "string"
        },
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    },
    "id": "925e385b52fb405715f3616c337cc65c",
    "links": {
      "self": "https://www.example.com"
    }
  },
  "included": [
    {
      "type": "metric",
      "id": "string",
      "attributes": {
        "name": "string",
        "created": "string",
        "updated": "string",
        "integration": {}
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ]
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
