---
title: "Read a node's desired state since a cursor (long-poll)"
method: GET
path: "/internal/nodes/{node_id}/state"
tags: ["Nodes"]
---

# Read a node's desired state since a cursor (long-poll)

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

## 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}/state`
- Auth: none declared

## Path parameters

- `node_id` integer, required

## Query parameters

- `since` string, nullable
- `wait_secs` integer, nullable

## Response `200`

Changes since the cursor, or the whole view

- object

## Other responses

- `400`: Invalid cursor
- `401`: Unauthorized
- `404`: Node not found
- `500`: Internal server error
- `503`: The workload plane is not running

## Changes

- **2026-10-28** `b8d51a990805`: 1 info
  - endpoint added

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