---
title: "Changes to Get database consumption metrics"
method: GET
path: "/projects/{id}/databases/{databaseName}/stats"
---

# Changes to Get database consumption metrics

`GET /projects/{id}/databases/{databaseName}/stats`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 24 revisions.

- **2026-10-07** `23e7875e7c4c`: 1 info
- **2026-09-19** `3a6f365f3f35`: 6 breaking, 17 info
- **2026-08-27** `bb44e98aba2e`: 12 breaking, 7 warning
- **2026-07-27** `bb52784e098a`: 3 info

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 6 breaking, 17 info
  - added the new path request parameter `databaseName`
  - added the new path request parameter `id`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `404`
  - the response's body type changed from no type to `object` for status `503`
  - added the optional property `branches` to the response with the `200` status
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `503` status
  - added the optional property `granularity` to the response with the `200` status
  - added the optional property `time_range` to the response with the `200` status
  - added the required property `active_time_seconds` to the response with the `200` status
  - added the required property `backup_storage_bytes` to the response with the `200` status
  - added the required property `compute_time_seconds` to the response with the `200` status
  - added the required property `current_storage_bytes` to the response with the `200` status
  - added the required property `current_storage_mb` to the response with the `200` status
  - added the required property `data_transfer_bytes` to the response with the `200` status
  - added the required property `data_written_bytes` to the response with the `200` status
  - added the required property `error` to the response with the `400` status
  - added the required property `error` to the response with the `404` status
  - added the required property `error` to the response with the `503` status
  - added the required property `storage_bytes` to the response with the `200` status
- **2026-08-27** `bb44e98aba2e`: 12 breaking, 7 warning
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `404`
  - the response's body type changed from `object` to no type for status `503`
  - removed the required property `active_time_seconds` from the response with the `200` status
  - removed the required property `compute_time_seconds` from the response with the `200` status
  - removed the required property `data_transfer_bytes` from the response with the `200` status
  - removed the required property `data_written_bytes` from the response with the `200` status
  - removed the required property `error` from the response with the `400` status
  - removed the required property `error` from the response with the `404` status
  - removed the required property `error` from the response with the `503` status
  - removed the required property `storage_bytes` from the response with the `200` status
  - deleted the `path` request parameter `databaseName`
  - deleted the `path` request parameter `id`
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `code` from the response with the `404` status
  - removed the optional property `code` from the response with the `503` status
  - removed the optional property `granularity` from the response with the `200` status
  - removed the optional property `time_range` from the response with the `200` status
- **2026-07-27** `bb52784e098a`: 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `503` status

---

[Operation](https://skmtc.dev/kong/apis/volcano-api/docs/projects/:id/databases/:databaseName/stats/get.md) - [API](https://skmtc.dev/kong/apis/volcano-api.md) - [Page](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/databases/:databaseName/stats/get)
