---
title: "Get CPU usage history"
method: GET
path: "/api/cpu/history"
tags: ["System Metrics"]
---

# Get CPU usage history

`GET /api/cpu/history`

Retrieve historical CPU usage data with optional date range filtering

## Query parameters

- `from` string, date-time
- `to` string, date-time

## Response `200`

Historical CPU usage data

- HistoricalCPUUsage[]
  - `time` string — Unix timestamp in milliseconds
  - `percent` string — CPU usage percentage
  - `human_friendly_time` string, date-time — ISO 8601 formatted timestamp (only in debug mode)

## Other responses

- `400` — Bad request - invalid parameters
- `401` — Unauthorized - missing or invalid authentication token
- `500` — Internal server error

---

[API](https://skmtc.net/coollabsio/apis/sentinel-api.md) · [All operations](https://skmtc.net/coollabsio/apis/sentinel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/sentinel-api/versions/0dc1c558eb88/schema)
