---
title: "Get the size of a folder in image store"
method: GET
path: "/ImageStore/{contentPath}/$/FolderSize"
tags: ["ImageStore"]
---

# Get the size of a folder in image store

`GET /ImageStore/{contentPath}/$/FolderSize`

Gets the total size of file under a image store folder, specified by contentPath. The contentPath is relative to the root of the image store.

## Path parameters

- `contentPath` string, required

## Query parameters

- `api-version` '6.5', required
- `timeout` integer

## Response `200`

A successful operation will return 200 status code and the requested folder size in image store.

- FolderSizeInfo — Information of a image store folder size
  - `StoreRelativePath` string — The remote location within image store. This path is relative to the image store root.
  - `FolderSize` string — The size of folder in bytes.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/service-fabric-client-apis.md) · [All operations](https://skmtc.net/azure/apis/service-fabric-client-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/service-fabric-client-apis/versions/6df9f2f4d542/schema)
