---
title: "Changes to Preview Metric Expression"
method: POST
path: "/api/v1/metrics/preview"
---

# Changes to Preview Metric Expression

`POST /api/v1/metrics/preview`

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

## Timeline

Changed in 1 of 28 revisions.

- **2026-09-03** `d65b8fefae34` — 3 breaking

## Changes

- **2026-09-03** `d65b8fefae34` — 3 breaking
  - added the pattern `^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$` to the request property `expression/oneOf[subschema #2: ConstantNode]/value/anyOf[subschema #2]/`
  - added the pattern `^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$` to the request property `expression/oneOf[subschema #3: BinaryNode]/left/oneOf[subschema #2: ConstantNode]/value/anyOf[subschema #2]/`
  - added the pattern `^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$` to the request property `expression/oneOf[subschema #3: BinaryNode]/right/oneOf[subschema #2: ConstantNode]/value/anyOf[subschema #2]/`

---

[Operation](https://skmtc.dev/getanana/apis/cleon-api/docs/api/v1/metrics/preview/post.md) · [API](https://skmtc.dev/getanana/apis/cleon-api.md) · [Page](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/metrics/preview/post)
