---
title: "Scavenge a node"
method: POST
path: "/admin/scavenge"
tags: ["Admin"]
---

# Scavenge a node

`POST /admin/scavenge`

Scavenge reclaims disk space by rewriting database chunks, minus the events to delete, and then deleting the old chunks.

## Query parameters

- `threads` integer
- `threshold` integer
- `throttlePercent` integer
- `syncOnly` boolean

## Response `200`

OK

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/kurrent-io/apis/http-api.md) · [All operations](https://skmtc.net/kurrent-io/apis/http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kurrent-io/http-api/versions/b7fd712e809c/schema)
