---
title: "Get stats for volume with specified id."
method: GET
path: "/osd-volumes/stats/{id}"
tags: ["volume", "stats"]
---

# Get stats for volume with specified id.

`GET /osd-volumes/stats/{id}`

## Path parameters

- `id` string, required

## Response `200`

volume set response

- Stats — Stats is a structure that represents last collected stats for a volume
  - `bytes_used` integer — BytesUsed
  - `interval_ms` integer — Interval in ms during which stats were collected
  - `io_ms` integer — Time spent doing IOs ms
  - `io_progress` integer — IOs curently in progress
  - `read_bytes` integer
  - `read_ms` integer — Time spent in reads in ms
  - `reads` integer — Reads completed successfully
  - `write_bytes` integer
  - `write_ms` integer — Time spent in writes in ms
  - `writes` integer — Writes completed successfully

## Changes

- **2017-12-05** `d79082f863d1` — 1 info
  - api tag `stats` added

[Change history](https://skmtc.dev/libopenstorage/apis/osd-api/changes/osd-volumes/stats/:id/get.md)

---

[API](https://skmtc.dev/libopenstorage/apis/osd-api.md) · [All operations](https://skmtc.dev/libopenstorage/apis/osd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/libopenstorage/osd-api/revisions/d79082f863d1/schema)
