---
title: "Get system storage"
method: GET
path: "/api/admin/system/storage"
tags: ["Admin"]
---

# Get system storage

`GET /api/admin/system/storage`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/admin/system/storage`
- Auth: API key in cookie `hk_token`

Returns configured data paths, shared and tenant database sizes, backup path, spam cache path, disk capacity fields when available, and the shared database's DuckDB memory breakdown.

## Response `200`

System storage

- SystemStorage
  - `backup_path` string
  - `data_path` string
  - `disk_available_bytes` integer
  - `disk_total_bytes` integer
  - `duckdb_memory` DuckDBMemoryStat[]
    - `memory_bytes` integer
    - `tag` string
    - `temporary_storage_bytes` integer
  - `shared_db_bytes` integer
  - `shared_db_path` string
  - `spam_cache_path` string
  - `tenant_db_count` integer
  - `tenant_dbs` TenantDBInfo[]
    - `bytes` integer
    - `is_default` boolean
    - `name` string
    - `path` string
    - `tenant_id` string, uuid

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
