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

# Get contract sector roots

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

Returns the sector roots of the contract from the database. These are not necessarily the same as the sector roots from the contract on the host.

## Path parameters

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

## Response `200`

Contract sector roots

- Hash256[]

## Changes

- **2024-12-18** `922f156353c9` — 1 info
  - api tag `bus` added
- **2024-12-17** `acbb46c060cb` — 1 info
  - endpoint added
- **2024-12-09** `f062c35d8f47` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/bus/contract/:id/roots/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/184a3d5207da/schema)
