---
title: "Get partial slab"
method: GET
path: "/bus/slabs/partial/{key}"
tags: ["bus"]
---

# Get partial slab

`GET /bus/slabs/partial/{key}`

Retrieves a portion of a slab's data.

## Path parameters

- `key` string, required — A key used to encrypt and decrypt data. The key is either a regular key (key) or a salted key (skey). The latter requires a seed to be used for encryption and decryption.

## Query parameters

- `offset` integer, required — Offset within the slab
- `length` integer, required — Number of bytes to retrieve

## Response `200`

Successfully retrieved partial slab data

## Other responses

- `400` — Malformed request
- `404` — Slab not found
- `500` — Internal server error

## Changes

- **2024-12-18** `922f156353c9` — 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `500`
  - api tag `bus` added
- **2024-12-17** `e8ca82ef1fcf` — 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/slabs/partial/:key/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)
