---
title: "Changes to Update Metric"
method: PATCH
path: "/v0/platform/metrics/{id}"
---

# Changes to Update Metric

`PATCH /v0/platform/metrics/{id}`

> Every recorded change to this operation, newest first.
> 120 revisions in range; 1 not diffed.

## Timeline

Changed in 7 of 120 revisions.

- **2026-10-08** `b410556fa83b`: 7 breaking, 1 info
- **2026-10-08** `5f40f1064bf0`: 1 breaking, 7 info
- **2026-09-23** `cb12d1ef42f6`: 7 breaking, 1 info
- **2026-06-22** `187d6a5259c6`: 1 info
- **2026-06-22** `03ea93e2f608`: 13 breaking, 9 warning, 9 info
- **2026-05-13** `5ab598c4815c`: 2 info
- **2026-03-22** `ebe9ac1e419a`: 2 info

## Changes

- **2026-10-08** `b410556fa83b`: 7 breaking, 1 info
  - added `#/components/schemas/MetricObject, #/components/schemas/MetricParentObject` to the response body `oneOf` list for the response status `200`
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `added_by` from the response with the `200` status
  - removed the required property `created_at` from the response with the `200` status
  - removed the required property `data` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `name` from the response with the `200` status
  - added response discriminator for the response status `200`
- **2026-10-08** `5f40f1064bf0`: 1 breaking, 7 info
  - the response's body type changed from no type to `object` for status `200`
  - removed response discriminator for the response status `200`
  - removed `#/components/schemas/MetricObject, #/components/schemas/MetricParentObject` from the response body `oneOf` list for the response status `200`
  - added the required property `added_by` to the response with the `200` status
  - added the required property `created_at` to the response with the `200` status
  - added the required property `data` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `name` to the response with the `200` status
- **2026-09-23** `cb12d1ef42f6`: 7 breaking, 1 info
  - added `#/components/schemas/MetricObject, #/components/schemas/MetricParentObject` to the response body `oneOf` list for the response status `200`
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `added_by` from the response with the `200` status
  - removed the required property `created_at` from the response with the `200` status
  - removed the required property `data` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `name` from the response with the `200` status
  - added response discriminator for the response status `200`
- **2026-06-22** `187d6a5259c6`: 1 info
  - the endpoint scheme security `JWT` was added to the API
- **2026-06-22** `03ea93e2f608`: 13 breaking, 9 warning, 9 info
  - request property `data/anyOf[subschema #1: Contract Call Metric]/target/anyOf[subschema #1: Asset ID Target]/type` was restricted to a list of enum values
  - request property `data/anyOf[subschema #2: Read Object Metric]/target/anyOf[subschema #1: Asset ID Target]/type` was restricted to a list of enum values
  - request property `data/anyOf[subschema #4: Transfer Metric]/from/target/items/anyOf[subschema #1: Asset Tag Target]/type` was restricted to a list of enum values
  - request property `data/anyOf[subschema #4: Transfer Metric]/from/target/items/anyOf[subschema #2: Asset ID Target]/type` was restricted to a list of enum values
  - request property `data/anyOf[subschema #4: Transfer Metric]/to/target/items/anyOf[subschema #1: Asset Tag Target]/type` was restricted to a list of enum values
  - request property `data/anyOf[subschema #4: Transfer Metric]/to/target/items/anyOf[subschema #2: Asset ID Target]/type` was restricted to a list of enum values
  - request property `data/anyOf[subschema #6: Event Metric]/target/anyOf[subschema #1: Asset ID Target]/type` was restricted to a list of enum values
  - request property `data/anyOf[subschema #7: Read Data Account Metric]/target/anyOf[subschema #1: Asset ID Target]/type` was restricted to a list of enum values
  - request property `data/anyOf[subschema #8: Instruction Metric]/target/anyOf[subschema #1: Asset ID Target]/type` was restricted to a list of enum values
  - the `type` request property const value changed from `tag` to `asset_tag`
  - the `type` request property const value changed from `tag` to `asset_tag`
  - the `type` response property const value changed from `tag` to `asset_tag` for the status `200`
  - the `type` response property const value changed from `tag` to `asset_tag` for the status `200`
  - added the new `asset_id` enum value to the `data/anyOf[subschema #1: Contract Call Metric]/target/anyOf[subschema #1: Asset ID Target]/type` response property for the response status `200`
  - added the new `asset_id` enum value to the `data/anyOf[subschema #2: Read Object Metric]/target/anyOf[subschema #1: Asset ID Target]/type` response property for the response status `200`
  - added the new `asset_id` enum value to the `data/anyOf[subschema #4: Transfer Metric]/from/target/items/anyOf[subschema #2: Asset ID Target]/type` response property for the response status `200`
  - added the new `asset_id` enum value to the `data/anyOf[subschema #4: Transfer Metric]/to/target/items/anyOf[subschema #2: Asset ID Target]/type` response property for the response status `200`
  - added the new `asset_id` enum value to the `data/anyOf[subschema #6: Event Metric]/target/anyOf[subschema #1: Asset ID Target]/type` response property for the response status `200`
  - added the new `asset_id` enum value to the `data/anyOf[subschema #7: Read Data Account Metric]/target/anyOf[subschema #1: Asset ID Target]/type` response property for the response status `200`
  - added the new `asset_id` enum value to the `data/anyOf[subschema #8: Instruction Metric]/target/anyOf[subschema #1: Asset ID Target]/type` response property for the response status `200`
  - added the new `asset_tag` enum value to the `data/anyOf[subschema #4: Transfer Metric]/from/target/items/anyOf[subschema #1: Asset Tag Target]/type` response property for the response status `200`
  - added the new `asset_tag` enum value to the `data/anyOf[subschema #4: Transfer Metric]/to/target/items/anyOf[subschema #1: Asset Tag Target]/type` response property for the response status `200`
  - added the new `asset_id` enum value to the request property `data/anyOf[subschema #1: Contract Call Metric]/target/anyOf[subschema #1: Asset ID Target]/type`
  - added the new `asset_id` enum value to the request property `data/anyOf[subschema #2: Read Object Metric]/target/anyOf[subschema #1: Asset ID Target]/type`
  - added the new `asset_id` enum value to the request property `data/anyOf[subschema #4: Transfer Metric]/from/target/items/anyOf[subschema #2: Asset ID Target]/type`
  - added the new `asset_id` enum value to the request property `data/anyOf[subschema #4: Transfer Metric]/to/target/items/anyOf[subschema #2: Asset ID Target]/type`
  - added the new `asset_id` enum value to the request property `data/anyOf[subschema #6: Event Metric]/target/anyOf[subschema #1: Asset ID Target]/type`
  - added the new `asset_id` enum value to the request property `data/anyOf[subschema #7: Read Data Account Metric]/target/anyOf[subschema #1: Asset ID Target]/type`
  - added the new `asset_id` enum value to the request property `data/anyOf[subschema #8: Instruction Metric]/target/anyOf[subschema #1: Asset ID Target]/type`
  - added the new `asset_tag` enum value to the request property `data/anyOf[subschema #4: Transfer Metric]/from/target/items/anyOf[subschema #1: Asset Tag Target]/type`
  - added the new `asset_tag` enum value to the request property `data/anyOf[subschema #4: Transfer Metric]/to/target/items/anyOf[subschema #1: Asset Tag Target]/type`
- **2026-05-13** `5ab598c4815c`: 2 info
  - added `#/components/schemas/SolanaAccountInfoReadMetric, #/components/schemas/SolanaInstructionMetric` to the `data` request property `anyOf` list
  - added `#/components/schemas/SolanaAccountInfoReadMetric, #/components/schemas/SolanaInstructionMetric` to the `data` response property `anyOf` list for the response status `200`
- **2026-03-22** `ebe9ac1e419a`: 2 info
  - the endpoint scheme security `APIKey` was added to the API
  - the endpoint scheme security `ClientID` was added to the API

---

[Operation](https://skmtc.dev/blockaid-official/apis/blockaid-api/docs/v0/platform/metrics/:id/patch.md) - [API](https://skmtc.dev/blockaid-official/apis/blockaid-api.md) - [Page](https://skmtc.dev/blockaid-official/apis/blockaid-api/changes/v0/platform/metrics/:id/patch)
