---
title: "Get current disk usage for the control-plane server"
method: GET
path: "/settings/disk-status"
tags: ["Settings"]
---

# Get current disk usage for the control-plane server

`GET /settings/disk-status`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/settings/disk-status`
- Auth: HTTP bearer

Returns live disk usage for the monitored path along with any disks that
meet or exceed the configured alert threshold. Read-only — does not send
notifications. Used by the dashboard to surface a low-disk-space warning.

## Response `200`

Current disk usage and threshold alerts

- DiskSpaceCheckResult: Result of a disk space check
  - `alerts` DiskSpaceAlert[], required: Disks that meet or exceed the threshold
    - `available_bytes` integer, required: Available space in bytes
    - `available_human` string, required: Human-readable available space
    - `mount_point` string, required: Mount point of the disk
    - `threshold_percent` integer, required: Configured threshold percentage
    - `usage_percent` number, double, required: Current usage percentage
  - `checked_at` string, date-time, required: Timestamp of the check (ISO 8601, UTC)
  - `disks` DiskInfo[], required: List of all monitored disks
    - `available_bytes` integer, required: Available space in bytes
    - `file_system` string, required: File system type (e.g., "ext4", "apfs")
    - `mount_point` string, required: Mount point of the disk
    - `total_bytes` integer, required: Total space in bytes
    - `usage_percent` number, double, required: Usage percentage (0-100)
    - `used_bytes` integer, required: Used space in bytes
  - `enabled` boolean, required: Whether disk space monitoring is enabled in settings
  - `threshold_percent` integer, required: Configured alert threshold percentage (0-100)

## Other responses

- `401`: Unauthorized
- `500`: Internal server error

## Changes

- **2026-05-30** `b72341d12f63`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/settings/disk-status/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
