---
title: "Get object statistics"
method: GET
path: "/bus/stats/objects"
tags: ["bus"]
---

# Get object statistics

`GET /bus/stats/objects`

Returns statistics about objects in a bucket.

## Query parameters

- `bucket` string — The name of the bucket.

## Response `200`

Successfully retrieved object statistics

- object
  - `numObjects` integer — Number of objects
  - `numUnfinishedObjects` integer — Number of unfinished objects
  - `minHealth` number — Minimum health of all objects
  - `totalObjectsSize` integer — Size of all objects
  - `totalUnfinishedObjectsSize` integer — Size of all unfinished objects
  - `totalSectorsSize` integer — Uploaded size of all objects
  - `totalUploadedSize` integer — Uploaded size of all objects including redundant sectors

## Other responses

- `500` — Internal server error

## Changes

- **2024-12-18** `922f156353c9` — 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `500`
  - api tag `bus` added
- **2024-12-17** `c47444f72328` — 1 info
  - endpoint added
- **2024-12-09** `f062c35d8f47` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/bus/stats/objects/get.md)

---

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