---
title: "Changes to Create an analytics view"
method: POST
path: "/analytics/views"
---

# Changes to Create an analytics view

`POST /analytics/views`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 8 of 149 revisions.

- **2026-09-22** `c42250b855e4` — 2 warning
- **2026-09-21** `ca8fb37253e5` — 1 info
- **2026-09-18** `0fb60b40c570` — 1 breaking
- **2026-09-15** `306accd8ee26` — 4 breaking, 3 info
- **2026-09-15** `cb3984fd3acb` — 11 breaking, 24 warning, 24 info
- **2026-09-14** `5f9d16cd8235` — 1 info
- **2026-09-14** `7b140458b57e` — 1 breaking
- **2026-09-12** `aeb807837043` — 1 info

## Changes

- **2026-09-22** `c42250b855e4` — 2 warning
  - removed the request property `definition/name`
  - removed the optional property `definition/name` from the response with the `201` status
- **2026-09-21** `ca8fb37253e5` — 1 info
  - endpoint added
- **2026-09-18** `0fb60b40c570` — 1 breaking
  - api path removed without deprecation
- **2026-09-15** `306accd8ee26` — 4 breaking, 3 info
  - the request property `definition/metrics` became required
  - the request property `definition/shape` became required
  - the request property `definition/variables/items/type` became required
  - the `definition/metrics` request property's minItems was increased to `1`
  - the response property `definition/metrics` became required for the status `201`
  - the response property `definition/shape` became required for the status `201`
  - the response property `definition/variables/items/type` became required for the status `201`
- **2026-09-15** `cb3984fd3acb` — 11 breaking, 24 warning, 24 info
  - request property `definition/filters/items/op` was restricted to a list of enum values
  - request property `definition/metrics/items/` was restricted to a list of enum values
  - request property `definition/sort/items/dir` was restricted to a list of enum values
  - request property `definition/time/grain` was restricted to a list of enum values
  - request property `definition/variables/items/type` was restricted to a list of enum values
  - the `definition/filters/items/value` request property type changed from `object` to `array`
  - the `definition/time/range` request property type changed from `object` to `string`
  - the `definition/variables/items/default` request property type changed from `object` to `array`
  - the `definition/filters/items/value` response's property type changed from `object` to `array` for status `201`
  - the `definition/time/range` response's property type changed from `object` to `string` for status `201`
  - the `definition/variables/items/default` response's property type changed from `object` to `array` for status `201`
  - added the new `after` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `asc` enum value to the `definition/sort/items/dir` response property for the response status `201`
  - added the new `before` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `boolean` enum value to the `definition/variables/items/type` response property for the response status `201`
  - added the new `contains` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `date_range` enum value to the `definition/variables/items/type` response property for the response status `201`
  - added the new `day` enum value to the `definition/time/grain` response property for the response status `201`
  - added the new `desc` enum value to the `definition/sort/items/dir` response property for the response status `201`
  - added the new `enum` enum value to the `definition/variables/items/type` response property for the response status `201`
  - added the new `eq` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `event_count` enum value to the `definition/metrics/items/` response property for the response status `201`
  - added the new `gt` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `gte` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `hour` enum value to the `definition/time/grain` response property for the response status `201`
  - added the new `in` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `lt` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `month` enum value to the `definition/time/grain` response property for the response status `201`
  - added the new `not_contains` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `not_in` enum value to the `definition/filters/items/op` response property for the response status `201`
  - added the new `number` enum value to the `definition/variables/items/type` response property for the response status `201`
  - added the new `string` enum value to the `definition/variables/items/type` response property for the response status `201`
  - added the new `string_list` enum value to the `definition/variables/items/type` response property for the response status `201`
  - added the new `usage_quantity` enum value to the `definition/metrics/items/` response property for the response status `201`
  - added the new `week` enum value to the `definition/time/grain` response property for the response status `201`
  - added the new `after` enum value to the request property `definition/filters/items/op`
  - added the new `asc` enum value to the request property `definition/sort/items/dir`
  - added the new `before` enum value to the request property `definition/filters/items/op`
  - added the new `boolean` enum value to the request property `definition/variables/items/type`
  - added the new `contains` enum value to the request property `definition/filters/items/op`
  - …19 more
- **2026-09-14** `5f9d16cd8235` — 1 info
  - endpoint added
- **2026-09-14** `7b140458b57e` — 1 breaking
  - api path removed without deprecation
- **2026-09-12** `aeb807837043` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/flexprice/apis/flexprice-api/docs/analytics/views/post.md) · [API](https://skmtc.dev/flexprice/apis/flexprice-api.md) · [Page](https://skmtc.dev/flexprice/apis/flexprice-api/changes/analytics/views/post)
