---
title: "Get latest contract revision"
method: GET
path: "/bus/contract/{id}/revision"
tags: ["bus"]
---

# Get latest contract revision

`GET /bus/contract/{id}/revision`

Returns the latest revision of the contract with the specified ID.

## 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

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

---

[API](https://skmtc.net/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.net/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/versions/184a3d5207da/schema)
