---
title: "get statistic"
method: GET
path: "/api/v1/buckets/{bucket}/metrics/{stat}"
tags: ["Metrics"]
---

# get statistic

`GET /api/v1/buckets/{bucket}/metrics/{stat}`

## Path parameters

- `bucket` string, required
- `stat` string, required

## Response `200`

successful operation

- object
  - `status` string
  - `data` object
    - `bucket` string
    - `metrics` object
      - `stat` union[]
        - union
          - number
          - string

## Other responses

- `400` — Bad Request
- `401` — Missing authentication
- `404` — Not Found
- `409` — Conflict
- `500` — server does not response

## Changes

- **2023-10-24** `5f75211258f8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/liara-cloud/apis/object-storage-api-documentaion/changes/api/v1/buckets/:bucket/metrics/:stat/get.md)

---

[API](https://skmtc.dev/liara-cloud/apis/object-storage-api-documentaion.md) · [All operations](https://skmtc.dev/liara-cloud/apis/object-storage-api-documentaion/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/liara-cloud/object-storage-api-documentaion/revisions/b0ca12d806de/schema)
