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

# Get memory usage history

`GET /api/memory/history`

Retrieve historical memory usage data with optional date range filtering

## Query parameters

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

## Response `200`

Historical memory usage data

- HistoricalMemoryUsage[]
  - `time` string — Unix timestamp in milliseconds
  - `total` integer — Total memory in bytes
  - `available` integer — Available memory in bytes
  - `used` integer — Used memory in bytes
  - `usedPercent` number, float — Memory usage percentage
  - `free` integer — Free memory in bytes
  - `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/351740053ed5/schema)
