---
title: "GET /kvdbs/{alias}/csched"
method: GET
path: "/kvdbs/{alias}/csched"
tags: ["kvdb"]
---

# GET /kvdbs/{alias}/csched

`GET /kvdbs/{alias}/csched`

Get information about all current KVDB compaction jobs.

## Query parameters

- `pretty` boolean

## Response `200`

OK

- object[] — All current compaction jobs running within this KVDB.
  - `cnid` integer
  - `node` integer
  - `job` integer
  - `action` integer
  - `rule` integer
  - `qnum` integer
  - `busy` integer
  - `kvsets` integer
  - `allocated_length_mb` integer
  - `compacted_length_mb` integer
  - `pcap` integer
  - `compc` integer
  - `dgen` integer
  - `hblocks` integer
  - `kblocks` integer
  - `vblocks` integer
  - `root_allocated_length_mb` integer
  - `leaf_allocated_length_mb` integer
  - `leaf_compacted_length_mb` integer
  - `wmesg` string
  - `progress` integer
  - `time` string
  - `thread_name` string

## Other responses

- `400` — Bad Request
- `404` — Not Found

## Changes

- **2022-11-04** `0b067d9f2c08` — 2 info
  - added the media type `application/problem+json` for the response with the status `404`
  - added the non-success response with the status `400`
- **2022-10-27** `c0792b13cb8a` — 1 info
  - added the optional property `items/progress` to the response with the `200` status
- **2022-10-04** `905263e69b48` — 1 breaking, 1 warning, 1 info
  - removed the media type `application/problem+json` for the response with the status `404`
  - removed the optional property `items/progress` from the response with the `200` status
  - removed the non-success response with the status `400`

[Change history](https://skmtc.dev/hse-project/apis/hse-rest-api/changes/kvdbs/:alias/csched/get.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)
