---
title: "Changes to Get container stats based on resource usage"
method: GET
path: "/containers/{id}/stats"
---

# Changes to Get container stats based on resource usage

`GET /containers/{id}/stats`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

- **2026-02-24** `6df97b60796c`: 1 breaking, 3 info
- **2026-02-14** `31f80d10d31a`: 3 breaking, 3 info
- **2026-02-09** `831637d06c77`: 3 info

## Changes

- **2026-02-24** `6df97b60796c`: 1 breaking, 3 info
  - removed the media type `application/json` for the response with the status `200`
  - api tag `Container` added
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
- **2026-02-14** `31f80d10d31a`: 3 breaking, 3 info
  - for the `query` request parameter `one-shot`, default value `false` was removed
  - for the `query` request parameter `stream`, default value `true` was removed
  - the `networks` response's property type changed from no type to `object` for status `200`
  - api tag `Container` removed
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `500`
- **2026-02-09** `831637d06c77`: 3 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `404`
  - added the media type `application/json` for the response with the status `500`

---

[Operation](https://skmtc.dev/hexlet/apis/docker-engine-api/docs/containers/:id/stats/get.md) - [API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) - [Page](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/containers/:id/stats/get)
