---
title: "Get contract size"
method: GET
path: "/contract/{id}/size"
---

# Get contract size

`GET /contract/{id}/size`

## Path parameters

- `id` string, required — A unique identifier for a file contract

## Response `200`

Contract size information

- ContractSize
  - `prunable` integer — The amount of data that can be pruned from a contract
  - `size` integer — The total size of a contract

## Other responses

- `400` — Contract not found
- `500` — Internal server error

## Changes

- **2024-12-16** `ce856efcdea2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/contract/:id/size/get.md)

---

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