---
title: "Changes to Create Metric"
method: POST
path: "/console/v1/metrics"
---

# Changes to Create Metric

`POST /console/v1/metrics`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 41 revisions.

- **2026-10-08** `ec3b5876c9c7`: 2 info
- **2026-08-06** `3f82db6f3870`: 10 breaking, 14 warning
- **2026-05-06** `12807c4641b5`: 2 info
- **2026-04-30** `a073d405c663`: 1 warning, 3 info

## Changes

- **2026-10-08** `ec3b5876c9c7`: 2 info
  - added the new optional request property `localMetric`
  - added the optional property `allOf[subschema #2]/data/localMetric` to the response with the `201` status
- **2026-08-06** `3f82db6f3870`: 10 breaking, 14 warning
  - removed the enum value `undefined` of the request property `type`
  - the `warehouseNative/cupedAttributionWindow` request property type changed from `number` to `integer`, and format from `double` to `int64`
  - the `warehouseNative/customRollUpEnd` request property type changed from `number` to `integer`, and format from `double` to `int64`
  - the `warehouseNative/customRollUpStart` request property type changed from `number` to `integer`, and format from `double` to `int64`
  - the `warehouseNative/funnelCalculationWindow` request property type changed from `number` to `integer`, and format from `double` to `int64`
  - the `warehouseNative/loadingWindow` request property type changed from `number` to `integer`, and format from `double` to `int64`
  - the `warehouseNative/metricBakeDays` request property type changed from `number` to `integer`, and format from `double` to `int64`
  - the `warehouseNative/retentionEnd` request property type changed from `number` to `integer`, and format from `double` to `int64`
  - the `warehouseNative/retentionLength` request property type changed from `number` to `integer`, and format from `double` to `int64`
  - removed the required property `allOf[subschema #2]/data/owner/name` from the response with the `201` status
  - the `warehouseNative/logTransformBase` request property's exclusiveMinimum was set to `true`
  - the `warehouseNative/retentionEnd` request property's exclusiveMinimum was set to `true`
  - the `warehouseNative/retentionLength` request property's exclusiveMinimum was set to `true`
  - the `warehouseNative/percentile` request property's max was set to `1.00`
  - the `warehouseNative/cupedAttributionWindow` request property's min was set to `0.00`
  - the `warehouseNative/customRollUpEnd` request property's min was set to `0.00`
  - the `warehouseNative/customRollUpStart` request property's min was set to `0.00`
  - the `warehouseNative/funnelCalculationWindow` request property's min was set to `0.00`
  - the `warehouseNative/loadingWindow` request property's min was set to `0.00`
  - the `warehouseNative/logTransformBase` request property's min was set to `0.00`
  - the `warehouseNative/metricBakeDays` request property's min was set to `0.00`
  - the `warehouseNative/percentile` request property's min was set to `0.00`
  - the `warehouseNative/retentionEnd` request property's min was set to `0.00`
  - the `warehouseNative/retentionLength` request property's min was set to `0.00`
- **2026-05-06** `12807c4641b5`: 2 info
  - added the optional property `allOf[subschema #2]/data/scheduledReloadDays` to the response with the `201` status
  - added the optional property `allOf[subschema #2]/data/scheduledReloadHour` to the response with the `201` status
- **2026-04-30** `a073d405c663`: 1 warning, 3 info
  - added the new `latest_value` enum value to the `allOf[subschema #2]/data/type` response property for the response status `201`
  - added the new optional request property `percentile`
  - added the new `latest_value` enum value to the request property `type`
  - added the optional property `allOf[subschema #2]/data/percentile` to the response with the `201` status

---

[Operation](https://skmtc.dev/statsig/apis/console-api/docs/console/v1/metrics/post.md) - [API](https://skmtc.dev/statsig/apis/console-api.md) - [Page](https://skmtc.dev/statsig/apis/console-api/changes/console/v1/metrics/post)
