---
title: "Add partial slab"
method: POST
path: "/bus/slabs/partial"
tags: ["bus"]
---

# Add partial slab

`POST /bus/slabs/partial`

Adds data to a partial slab.

## Query parameters

- `minshards` integer, required — The number of data shards a piece of an object gets erasure-coded into
- `totalshards` integer, required — The number of total data shards a piece of an object gets erasure-coded into

## Response `200`

Successfully added partial slab

- object
  - `slabs` SlabSlice[]
    - `slab` Slab — A slab of data to migrate
      - `health` number, float
      - `encryptionKey` string — The encryption key used to encrypt the slab's shards
      - `minShards` integer — The number of data shards the slab is split into
    - `offset` integer
    - `limit` integer
  - `slabBufferMaxSizeSoftReached` boolean — Whether the slab buffer soft limit was reached

## Other responses

- `400` — Malformed request
- `500` — Internal server error

## Changes

- **2025-01-23** `c38282599c5a` — 3 breaking, 1 warning, 1 info
  - for the `query` request parameter `minshards`, the type/format was changed from `integer`/`` to `integer`/`uint8`
  - for the `query` request parameter `totalshards`, the type/format was changed from `integer`/`` to `integer`/`uint8`
  - the `slabs/items/slab/minShards` response's property type/format changed from `integer`/`uint8` to ``/`` for status `200`
  - for the `query` request parameter `totalshards`, the min was set to `2.00`
  - …1 more
- **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/post.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)
