---
title: "Get the current hardware stats"
method: GET
path: "/admin/hardwarestats"
tags: ["Internal", "Admin"]
---

# Get the current hardware stats

`GET /admin/hardwarestats`

## Response `200`

Current hardware stats

- object
  - `message` string
  - `healthPercentage` integer
  - `representation` integer
  - `healthy` boolean
  - `disk` TimestampedValue[]
    - `time` string, date-time
    - `value` number, double
  - `memory` TimestampedValue[]
    - `time` string, date-time
    - `value` number, double
  - `cpu` TimestampedValue[]
    - `time` string, date-time
    - `value` number, double

## Other responses

- `400` — Bad request
- `401` — Basic auth failure
- `default` — Unexpected error

## Changes

- **2024-07-02** `618b7ae59cc5` — 1 info
  - endpoint added
- **2021-09-23** `02fef72d775b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/owncast/apis/owncast-apis/changes/admin/hardwarestats/get.md)

---

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