Server

Get storage

Retrieve the current storage utilization information of the server.

get/server/storage

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/server/storage
  • Auth: one of:
    • HTTP bearer
    • API key in cookie immich_access_token
    • API key in header x-api-key

Response

diskAvailablestring required

Available disk space (human-readable format)

diskAvailableRawinteger required

Available disk space in bytes

diskSizestring required

Total disk size (human-readable format)

diskSizeRawinteger required

Total disk size in bytes

diskUsagePercentagenumber double required

Disk usage percentage (0-100)

diskUsestring required

Used disk space (human-readable format)

diskUseRawinteger required

Used disk space in bytes

Changes

No recorded changes to this operation across all 50 revisions of this API.