---
title: "Get slabs for migration"
method: POST
path: "/bus/slabs/migration"
tags: ["bus"]
---

# Get slabs for migration

`POST /bus/slabs/migration`

Returns slabs that need to be migrated based on health cutoff.

## Request body

- object
  - `healthCutoff` number — The health cutoff at which slabs are returned for migration
  - `limit` integer — Maximum number of slabs to return

## Response `200`

Successfully retrieved slabs for migration

- object
  - `slabs` object[]
    - `encryptionKey` string — 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.
    - `health` number — Current health of the slab

## Other responses

- `400` — Malformed request
- `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)
