Skip to main content
GET
Get node metrics

Overview

Returns one node’s utilisation over a trailing window; the read behind morph compute metrics and the dashboard’s metrics card. points are percent of the whole node per bucket: GPU busy time, GPU memory, CPU and RAM. gpus is each GPU as it reads now, with its memory, temperature and power. A node has metrics when metrics is true on it in Get Compute Reservation. minutes is one of 5, 15, 30, 60, 180, 360, 720, 1440, 2880, 10080 or 43200, and defaults to 360.

Authorizations

Authorization
string
header
required

Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.

Path Parameters

id
string<uuid>
required

Identifies the reservation to read metrics for. Id of the reservation the node belongs to.

Example:

"b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74"

Query Parameters

node
string
required

The node to read. A node name from the reservation.

Example:

"node-01"

minutes
integer

How far back to read. The trailing window in minutes: one of 5, 15, 30, 60, 180, 360, 720, 1440, 2880, 10080, 43200. Defaults to 360.

Example:

360

Response

The node’s utilisation.

Utilisation of one node over a trailing window.

node
string
required

The node read.

Example:

"node-01"

minutes
integer
required

The trailing window, in minutes.

Example:

360

points
object[]
required

One entry per bucket of the window, oldest first, each a percent of the whole node. A value is null where the node sent no reading. Buckets widen with the window so a series stays near 90 points, and are never under 60 seconds.

Example:
gpus
object[]
required

Each GPU as it reads now: its last sample in the past five minutes. Empty when none reported.

Example: