---
title: "POST /kvdbs/{alias}/compact"
method: POST
path: "/kvdbs/{alias}/compact"
tags: ["kvdb"]
---

# POST /kvdbs/{alias}/compact

`POST /kvdbs/{alias}/compact`

Create a KVDB compaction request.

## Response `202`

Created

## Other responses

- `404` — Not Found

## Changes

- **2022-11-04** `0b067d9f2c08` — 1 info
  - added the media type `application/problem+json` for the response with the status `404`
- **2022-10-04** `905263e69b48` — 1 breaking
  - removed the media type `application/problem+json` for the response with the status `404`

[Change history](https://skmtc.dev/hse-project/apis/hse-rest-api/changes/kvdbs/:alias/compact/post.md)

---

[API](https://skmtc.dev/hse-project/apis/hse-rest-api.md) · [All operations](https://skmtc.dev/hse-project/apis/hse-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hse-project/hse-rest-api/revisions/35114e72c580/schema)
