---
title: "Changes to Update a billable metric"
method: PATCH
path: "/api/v1/metrics/{metric_id}"
---

# Changes to Update a billable metric

`PATCH /api/v1/metrics/{metric_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 54 revisions.

- **2026-03-31** (v1) `ee465c53a423`: 2 breaking, 6 info
- **2026-03-27** (v1) `de35c02bb0d2`: 3 warning, 1 info
- **2026-03-20** (v1) `51c7018cc5ef`: 1 info
- **2025-07-09** (v1) `dece17f86f99`: 1 breaking

## Changes

- **2026-03-31** (v1) `ee465c53a423`: 2 breaking, 6 info
  - removed `subschema #2, subschema #3` from the `segmentation_matrix/oneOf[#/components/schemas/MetricSegmentationMatrix]/` request property `oneOf` list
  - added `#/components/schemas/DoubleSegmentationMatrix, #/components/schemas/LinkedSegmentationMatrix` to the `segmentation_matrix/oneOf[#/components/schemas/MetricSegmentationMatrix]/` response property `oneOf` list for the response status `200`
  - added `DOUBLE, LINKED` discriminator mapping keys to the `segmentation_matrix/oneOf[#/components/schemas/MetricSegmentationMatrix]/` request property
  - request discriminator property name changed for `segmentation_matrix/oneOf[#/components/schemas/MetricSegmentationMatrix]/` request property from `discriminator` to `type`
  - added `#/components/schemas/DoubleSegmentationMatrix, #/components/schemas/LinkedSegmentationMatrix` to the `segmentation_matrix/oneOf[#/components/schemas/MetricSegmentationMatrix]/` request property `oneOf` list
  - added `DOUBLE, LINKED` discriminator mapping keys to the `segmentation_matrix/oneOf[#/components/schemas/MetricSegmentationMatrix]/` response property for the response status `200`
  - response discriminator property name changed for `segmentation_matrix/oneOf[#/components/schemas/MetricSegmentationMatrix]/` response property from `discriminator` to `type` for the response status `200`
  - removed `subschema #2, subschema #3` from the `segmentation_matrix/oneOf[#/components/schemas/MetricSegmentationMatrix]/` response property `oneOf` list for the response status `200`
- **2026-03-27** (v1) `de35c02bb0d2`: 3 warning, 1 info
  - added the new `TOO_MANY_REQUESTS` enum value to the `code` response property for the response status `400`
  - added the new `TOO_MANY_REQUESTS` enum value to the `code` response property for the response status `401`
  - added the new `TOO_MANY_REQUESTS` enum value to the `code` response property for the response status `404`
  - added the non-success response with the status `429`
- **2026-03-20** (v1) `51c7018cc5ef`: 1 info
  - endpoint added
- **2025-07-09** (v1) `dece17f86f99`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/meteroid-oss/apis/meteroid/docs/api/v1/metrics/:metric_id/patch.md) - [API](https://skmtc.dev/meteroid-oss/apis/meteroid.md) - [Page](https://skmtc.dev/meteroid-oss/apis/meteroid/changes/api/v1/metrics/:metric_id/patch)
