ba1ba2f4b919

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

Get current container storage

Latest stored writable-layer and volume size for a specific container (null if none recorded)

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

Path parameters

containerIdstring required

Exact container display name recorded by Sentinel

Response

Current container storage (or null)

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"
}