---
title: "Get metrics history"
method: GET
path: "/api/metrics/history"
tags: ["Admin - Metrics"]
---

# Get metrics history

`GET /api/metrics/history`

Returns historical metrics data including CPU and RAM usage over time. Data is cached for 60 seconds.

## Query parameters

- `limit` integer

## Response `200`

Successful operation

- object[]
  - `id` integer — Record ID
  - `timestamp` integer — Unix timestamp in milliseconds
  - `cpu_percent` number, float — CPU usage percentage
  - `ram_percent` number, float — RAM usage percentage
  - `ram_total_mb` number, float — Total RAM in MB
  - `ram_used_mb` number, float — Used RAM in MB
  - `ram_free_mb` number, float — Free RAM in MB

## Other responses

- `500` — Server error

---

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