---
title: "Gets the container stats"
method: GET
path: "/containers/{id}/stats"
tags: ["containers"]
---

# Gets the container stats

`GET /containers/{id}/stats`

Gets the container stats by id

## Path parameters

- `id` string, required

## Query parameters

- `stream` boolean, required

## Response `200`

OK

## Other responses

- `404` — Stats not found
- `500` — Failed to get stats

---

[API](https://skmtc.dev/vmware/apis/port-layer-api.md) · [All operations](https://skmtc.dev/vmware/apis/port-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vmware/port-layer-api/revisions/5fff0b8814c7/schema)
