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

# Get latest contract revision

`GET /contract/{id}/revision`

## Path parameters

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

## Response `200`

Latest contract revision

- Revision
  - `contractID` string — A unique identifier for a file contract
  - `missedHostValue` string — An unsigned amount of Hastings, the smallest unit of currency in Sia. 1 Siacoin (SC) equals 10^24 Hastings (H).
  - `renterFunds` string — An unsigned amount of Hastings, the smallest unit of currency in Sia. 1 Siacoin (SC) equals 10^24 Hastings (H).
  - `revisionNumber` integer — The revision number of the contract
  - `size` integer — The size of the contract in bytes

## 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/revision/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)
