List a cluster's nodes
Returns a cluster's nodes as a cursor-paginated page, each with its pool, registration state and Ready condition; filter to one pool with nodePoolId. A legacy API key needs clusters:read.
Required permission
Requires the kubernetes.read permission. See Permissions for the roles and API key permissions that include it.
Command line
The orl CLI wraps this endpoint:
orl kube node list <id>apiKeyAuthorizationBearer <token>OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
id*stringlimit?integerItems per page.
1 <= value <= 10020cursor?stringnodePoolId?stringOnly the nodes of this pool.
Page of nodes
application/json- response
items*array<>nextCursor?stringOpaque; pass back to continue. Absent means no more pages.
curl -X GET 'https://api.openrelay.inc/v1/kubernetes/clusters/string/nodes'{ "items": [ { "id": "string", "nodePoolId": "string", "registrationStatus": "registered", "kubernetesStatus": "Ready" } ], "nextCursor": "string"}Scale a node pool POST
Sets the pool's node count and answers 202 with the pool. Scaling down removes nodes and whatever runs on them, draining each one first. A cluster that is creating, deleting or failed answers 409 INVALID_CLUSTER_STATE; a failed cluster has no control plane to join. A legacy API key needs clusters:write.
Get a node GET
Returns one node of the cluster: its registration and Ready state, its name in the cluster once it joins, the host's public IP and, on a GPU host, its GPUs. A legacy API key needs clusters:read.