---
title: "Get resource usage history"
method: GET
path: "/services/resources/history"
tags: ["system"]
---

# Get resource usage history

`GET /services/resources/history`

Returns historical data for system resources. Developer, manager, or admin only.

## Query parameters

- `remoteNode` string
- `duration` string

## Response `200`

A successful response

- ResourceHistory
  - `cpu` MetricPoint[]
    - `timestamp` integer, required — Unix timestamp
    - `value` number, double, required
  - `memory` MetricPoint[]
    - `timestamp` integer, required — Unix timestamp
    - `value` number, double, required
  - `disk` MetricPoint[]
    - `timestamp` integer, required — Unix timestamp
    - `value` number, double, required
  - `load` MetricPoint[]
    - `timestamp` integer, required — Unix timestamp
    - `value` number, double, required
  - `memoryTotalBytes` integer — Total physical memory in bytes
  - `memoryUsedBytes` integer — Used physical memory in bytes
  - `diskTotalBytes` integer — Total disk space in bytes
  - `diskUsedBytes` integer — Used disk space in bytes

## Other responses

- `default` — Generic error response

## Changes

- **2026-07-23** (v1) `75b8e91aaf57` — 3 warning
  - added the new `conflict` enum value to the `code` response property for the response status `default`
  - added the new `human_task_resume_failed` enum value to the `code` response property for the response status `default`
  - added the new `payload_too_large` enum value to the `code` response property for the response status `default`
- **2026-05-24** (v1) `8a2d5d3e9608` — 1 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `default`
- **2026-04-30** (v1) `50e1d517afc1` — 1 info
  - removed the `rate_limited` enum value from the `code` response property for the response status `default`

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/services/resources/history/get.md)

---

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