EndpointsList Clusters

clusters

List Clusters

Lists the Clusters of the selected Workspace, newest first.

GET/clusters
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53

Example: "ws_j572abc123def4"

cursorstring

Pagination cursor from a previous response's next_cursor.

limitintegerdefault:50

Items per page (1-100, default 50)

Required range: 1 <= x <= 100

Response

application/json

Clusters, newest first

dataobject[]required
child attributes
data.idstringrequired

Required string length: 3 - 54

data.html_urlstring<uri>required

Maximum string length: 2048

data.workspace_idstringrequired

Required string length: 2 - 53

data.namestringrequired

A DNS label, unique in the Workspace.

Required string length: 1 - 63

Pattern: ^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$

Example: "shop"

data.kindenum<string>required

Available options: hosted, attached

data.region_idstring | nullrequired

The Region of a hosted Cluster; null for an attached one.

Required string length: 3 - 54

data.stateenum<string>required

provisioning: the hosted control plane starts. awaiting_node: join a server with a join token. awaiting_agent: install the agent (attached) or wait for it. configuring: the baseline is placed. disconnected: the agent stopped calling; workloads keep running.

Available options: provisioning, awaiting_node, awaiting_agent, configuring, ready, degraded, disconnected, failed, deleting, deleted

data.capabilitiesenum<string>[]required

The StorageClasses Akua runs here and an Install can use, from its healthy storage capabilities. OUTPUT_ONLY. No class is the cluster default: an Install names one on every volume, the one asked for or the one Akua picks.

child attributes

A Kubernetes StorageClass name.

Required string length: 1 - 253

Pattern: ^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?(?:\.[a-z0-9](?:[-a-z0-9]*[a-z0-9])?)*$

Example: "local-path"

node_local: the volume lives on the disk of the node its first Pod ran on, fastest and fixed to that node. network: the volume attaches over the network and follows its Pod to another node.

Available options: node_local, network

data.ready_nodesintegerrequired

Required range: x >= 0

data.conditionsobject[]required

What needs attention now; empty when nothing does. Reasons:

  • agent-enrollment-conflict (error): the Kubernetes UID is already bound to another Cluster. Delete the previous Cluster in its owning instance, wait for completed deletion, then run this Cluster’s install command again. Deleting the local identity Secret alone does not release that binding.
  • node-bootstrap-unconfirmed (info): the first node and in-cluster agent are not confirmed. Names each Machine latest guest-reported stage when available; otherwise no report has arrived. A RUNNING Machine does not establish guest bootstrap success.
  • bootstrap-failed (error): a Machine guest reported bootstrap failure, with its safe step and exit code.
  • agent-offline (warning): the agent is not connected; workloads keep running and nothing new rolls out until it reconnects.
  • updater-behind (warning): the updater has run another release than the agent for 30 minutes, so no agent release is offered. Remedy run-agent-install on an attached Cluster; none on a hosted one, whose agent and updater Akua re-applies.
  • needs-customer-upgrade (warning): the offered agent release changes objects outside the access you granted, so it was not applied. Remedy customer-upgrade names the missing permissions and the helm upgrade command.
  • bundle-too-large (warning): the offered agent release is too large to deliver or to keep as a rollback copy, so it was not applied.
  • update-rolled-back, baseline-degraded (warning): a capability release failed its health gate and was rolled back, or a capability is not healthy; see the Cluster’s capabilities. A list shows baseline-degraded from the Cluster state only; update-rolled-back appears when the Cluster is read on its own.
  • When state is failed, one error whose reason says why: control-plane-unready, enrollment-expired, agent-unsupported, baseline-failed, baseline-rollback-failed, cleanup-unconfirmed, node-removal-failed or agent-bundle-failed.

Maximum array length: 32 elements

child attributes

Kebab-case reason; the resource documents the reasons it reports.

Maximum string length: 64

Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Example: "agent-offline"

data.conditions.severityenum<string>required

error: the resource failed; the condition says why. warning: it is limited or held until the person acts or it recovers. info: worth knowing, nothing to do.

Available options: error, warning, info

Safe to show the person as is.

Maximum string length: 512

data.conditions.remedyobject | nullrequired

What the person can do; null when nothing they do helps.

data.conditions.remedy.kindenum<string>required

Available options: free-capacity

data.conditions.remedy.metricenum<string>required

Available options: kaas/clusters, compute/machines, compute/cpu, compute/memory, compute/machines_concurrency, compute/managed_vm_trial, agents/turns_concurrency, agents/sandboxes, agents/sandboxes_running, agents/retained_filesystem_lifetime, codemode/executions, api/secrets_access, api/secrets_write, domain_routing/preview_hostnames, domain_routing/custom_domains, source_control/repositories

Maximum string length: 256

Unix timestamp (seconds) when this condition last changed.

Required range: x >= 0

data.operation_idstringrequired

The latest Operation: the create, or the deletion once requested.

Required string length: 2 - 192

data.connectorobjectrequired
child attributes
data.connector.statusenum<string>required

pending: installed or enrolled, no contact yet.

Available options: pending, connected, offline, revoked

The release it runs.

Unix timestamp (seconds)

Required range: x >= 0

data.created_atintegerrequired

Unix timestamp (seconds)

Required range: x >= 0

data.etagstringrequired
has_morebooleanrequired

True if more items exist after this page.

next_cursorstring | nullrequired

Opaque cursor for the next page, or null if no more pages.