---
title: "Fetch the most-recent value of every metric on a node."
method: GET
path: "/nodes/{id}/metrics/latest"
tags: ["Metrics"]
---

# Fetch the most-recent value of every metric on a node.

`GET /nodes/{id}/metrics/latest`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/nodes/{id}/metrics/latest`
- Auth: HTTP bearer

Node `0` is the synthetic control-plane node. This is what the server
monitoring page reads for its "Used: X / Limit: Y" headlines
(`node.memory_used_bytes`, `node.disk_total_bytes`, …) and for the
cumulative `*_bytes_total` I/O counters, without having to fetch a full
range for each series.

## Path parameters

- `id` integer, required

## Response `200`

Map of metric name to latest value

- object

## Other responses

- `401`: Unauthorized
- `500`: Internal server error
- `503`: Metrics store not available

## Changes

- **2026-09-11** `cac7526901ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/nodes/:id/metrics/latest/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
