Node pools
Resize a node pool
Adds Machines or drains and deletes nodes, newest first, until the pool has node_count nodes.
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"
Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.
Required string length: 1 - 64
Example: "create-prod-2026-05-07"
The etag of the resource version the client last read. Required on writes when the resource exposes an etag field. Mismatch returns 409 ABORTED with the current etag in the error metadata.
Required string length: 1 - 256
Example: "42"
A DNS label of at most 40 characters, unique in the Cluster. Every node of the pool carries it as the label akua.dev/node-pool.
Pattern: ^[a-z](?:[-a-z0-9]{0,38}[a-z0-9])?$
Example: "default"
Body
Number of nodes the pool keeps, 0 to 10 at launch.
Required range: 0 <= x <= 10
Response
Size change accepted
Required string length: 2 - 192
Required string length: 1 - 53
Required string length: 1 - 54
Domain entity collection the operation acts on.
Available options: install, repository_change_request, repository, workspace, machine, cluster, node_pool, package, sandbox, opencode
Prefixed ID of the entity this operation acts on. Prefix matches owner_type (ws_, mch_, clu_, pkg_, inst_, rcr_, repo_, sbx_, oc_); a node pool is clu_<id>/node_pools/<node pool id>.
ID of the chained parent operation, when present.
Required string length: 2 - 192
Lifecycle state. Past-participle terminal states per AIP-216.
Available options: RUNNING, SUCCEEDED, FAILED, CANCELLED
True iff state is a terminal value.
Deep link to the dashboard view of this operation's owning resource when available, otherwise the operation detail page.
Maximum string length: 2048
Example: "https://akua.dev/installs/inst_j572abc123def456?tab=operations"
Available options: node_pool.create, node_pool.set_size, node_pool.delete
Required string length: 1 - 53
Required string length: 1 - 54
Required string length: 1 - 40
The size the Operation moves the pool to; null for a deletion.
Populated only when done && state === "SUCCEEDED". Discriminated by type.
Available options: node_pool.create, node_pool.set_size, node_pool.delete
Required string length: 1 - 54
Required string length: 1 - 40
Populated when state is FAILED or CANCELLED.
Latest error from any failed step. Populated even mid-flight; cleared when the step succeeds on retry.