Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
API ReferenceComputeKubernetes

List Kubernetes clusters

The organization's managed Kubernetes clusters, newest first, in cursor pages of summaries with each cluster's status, health, and node and Ready counts. 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 cluster list
GET
/v1/kubernetes/clusters

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Query Parameters

limit?integer

Items per page.

Range1 <= value <= 100
Default20
cursor?string

Response Body

Page of clusters

application/json
  1. response
items*array<>
nextCursor?string

Opaque; pass back to continue. Absent means no more pages.

Example Request
curl -X GET 'https://api.openrelay.inc/v1/kubernetes/clusters'
Example Response
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "status": "creating",      "health": "healthy",      "kubernetesVersion": "string",      "workerCount": 0,      "healthyWorkerCount": 0,      "createdAt": "string"    }  ],  "nextCursor": "string"}