---
title: "Changes to Get Layer Viz Stats"
method: GET
path: "/api/v1/map/{layer_id}/viz-stats"
---

# Changes to Get Layer Viz Stats

`GET /api/v1/map/{layer_id}/viz-stats`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 30 revisions.

- **2026-09-12** `604ea84d0ff7` — 1 warning
- **2026-08-08** `ba2b8d962161` — 7 breaking, 1 info

## Changes

- **2026-09-12** `604ea84d0ff7` — 1 warning
  - deleted the `query` request parameter `token`
- **2026-08-08** `ba2b8d962161` — 7 breaking, 1 info
  - added `#/components/schemas/NumericVizStats, #/components/schemas/CategoricalVizStats` 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 `breaks` from the response with the `200` status
  - removed the required property `count` from the response with the `200` status
  - removed the required property `geometry_kind` from the response with the `200` status
  - removed the required property `max` from the response with the `200` status
  - removed the required property `min` from the response with the `200` status
  - added response discriminator for the response status `200`

---

[Operation](https://skmtc.dev/maia-analytics/apis/maia-api/docs/api/v1/map/:layer_id/viz-stats/get.md) · [API](https://skmtc.dev/maia-analytics/apis/maia-api.md) · [Page](https://skmtc.dev/maia-analytics/apis/maia-api/changes/api/v1/map/:layer_id/viz-stats/get)
