Get disk utilization
get
/v1/projects/{ref}/config/disk/utilThe fine-grained token must include the following permissions to access this endpoint:
- infra_disk_config_read
Path parameters
- refRequiredstring
Project ref
Response codes
- 200
- 401
- 403
- 429
- 500
Response (200)
{ "timestamp": "lorem", "metrics": { "fs_size_bytes": 42, "fs_avail_bytes": 42, "fs_used_bytes": 42 }}{ "type": "object", "properties": { "timestamp": { "type": "string" }, "metrics": { "type": "object", "properties": { "fs_size_bytes": { "type": "number" }, "fs_avail_bytes": { "type": "number" }, "fs_used_bytes": { "type": "number" } }, "required": [ "fs_size_bytes", "fs_avail_bytes", "fs_used_bytes" ] } }, "required": [ "timestamp", "metrics" ]}