---
title: "Storage usage of the project"
method: GET
path: "/rest/api/v1/projects/{projectId}/files/quota"
tags: ["File API"]
---

# Storage usage of the project

`GET /rest/api/v1/projects/{projectId}/files/quota`

## Request

- Base URL: `https://api.metacopier.io`
- URL: `https://api.metacopier.io/rest/api/v1/projects/{projectId}/files/quota`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/metacopier/apis/metacopier-api/docs/rest/api/v1/projects/:projectId/files/quota/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `projectId` string, uuid, required

## Response `200`

OK

- FileQuotaDTO: Storage usage of a project
  - `limitBytes` integer: Hard limit per project.
  - `usedBytes` integer: Bytes used across every non-deleted version of every type.
  - `usedBytesByType` object: Usage per file type.

## Changes

- **2026-09-27** `71cbb8caf61e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/metacopier/apis/metacopier-api/changes/rest/api/v1/projects/:projectId/files/quota/get.md)

---

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