---
title: "GET /internal/nodes/{node_id}/resources"
method: GET
path: "/internal/nodes/{node_id}/resources"
tags: ["Workload Placement"]
---

# GET /internal/nodes/{node_id}/resources

`GET /internal/nodes/{node_id}/resources`

## Request

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

## Path parameters

- `node_id` integer, required

## Response `200`

The node's capacity, reservation and what is placed on it

- NodeResourcesResponse
  - `node_id` integer, required: `0` is the control plane.
  - `resource_policy` 'best_effort' | 'enforced', required: Whether the scheduler counts reservations against a node's capacity.
  - `system_reserved` SystemReserved, required: The capacity Temps keeps for itself on a node: a scheduling deduction, not a CPU priority (ADR-055 §5).
    - `cpu_millis` integer, required
    - `memory_mb` integer, required
  - `system_reserved_is_default` boolean, required: Whether `system_reserved` is the default for the node's role. The defaults are ADR-055 §5 estimates, not measurements.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Node not found
- `500`: Storage failed

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-28** `b8d51a990805`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/internal/nodes/:node_id/resources/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)
