---
title: "GET /state/data"
method: GET
path: "/state/data"
tags: ["state"]
---

# GET /state/data

`GET /state/data`

Returns local uploading directory stats.

## Response `200`

Ok

- DataStatsResponse
  - `totalSize` integer, required
  - `objectNumber` integer, required
  - `tempDirSize` integer
  - `tempDownloads` integer
  - `pendingDirSize` integer
  - `pendingObjects` integer

## Changes

> 16 revisions in range; 1 could not be searched.

- **2023-11-21** `49c80effe1b1` — 2 info
  - added the optional property `pendingDirSize` to the response with the `200` status
  - added the optional property `pendingObjects` to the response with the `200` status
- **2021-12-17** `442811c13fe1` — 2 warning
  - removed the optional property `pendingDirSize` from the response with the `200` status
  - removed the optional property `pendingObjects` from the response with the `200` status

[Change history](https://skmtc.dev/joystream/apis/storage-node-api/changes/state/data/get.md)

---

[API](https://skmtc.dev/joystream/apis/storage-node-api.md) · [All operations](https://skmtc.dev/joystream/apis/storage-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/joystream/storage-node-api/revisions/c0bd5ec75039/schema)
