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

# GET /kvdbs/{alias}/mclass/{mclass}

`GET /kvdbs/{alias}/mclass/{mclass}`

Get information about a media class.

## Query parameters

- `pretty` boolean

## Response `200`

OK

- object
  - `allocated_bytes` integer
  - `used_bytes` integer
  - `path` 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-04** `905263e69b48` — 1 breaking, 1 info
  - removed the media type `application/problem+json` for the response with the status `404`
  - removed the non-success response with the status `400`

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