ba1ba2f4b919

latestOpenAPI 3.0.3Apache-2.0raw.githubusercontent.com2026-08-10211632.9 KB
Container Metrics

Get container storage history

Historical writable-layer and volume sizes for a specific container

get/api/container/{containerId}/disk/history

Path parameters

containerIdstring required

Exact container display name recorded by Sentinel

Query parameters

fromstring date-time

Start date in ISO 8601 format (UTC timezone). If not provided, defaults to 1970-01-01T00:00:00Z.

tostring date-time

End date in ISO 8601 format (UTC timezone). If not provided, defaults to current time.

Response

Container storage history

timestring

Unix timestamp in milliseconds

writableLayerinteger

Docker writable-layer size in bytes (SizeRw)

volumesTotalinteger

Summed size in bytes of the container's volume/bind mounts

human_friendly_timestring date-time

ISO 8601 formatted timestamp (only in debug mode)

Example response

[
  {
    "time": "1700000000000",
    "writableLayer": 12000000,
    "volumesTotal": 340000000,
    "human_friendly_time": "2024-01-15T10:00:00Z"
  }
]