operations
Request operation cancellation
Requests cancellation of an in-flight operation. Cancellation is asynchronous: successful requests return the current operation envelope while the owning resource settles into a terminal result. Replaying the request with the same Idempotency-Key is supported. If the operation has already reached a terminal state, cancellation is rejected with 409 Conflict (code 7006) because it conflicts with the current state.
An accepted request has no fixed cancellation-completion deadline. Keep following GET or WAIT until the Operation is terminal; a WAIT timeout does not stop cancellation. Cancelling an Install update restores and confirms the last successful version before reporting CANCELLED; if restoration cannot be confirmed, the Operation and Install fail with rollback-unconfirmed. Cancelling Install creation deletes the Install: it first settles active writes and removes its Route and workload, then destroys its secrets and releases admission. CANCELLED is reported only after that cleanup completes. This can exceed three minutes: workload-removal acknowledgement alone allows a fifteen-minute grace period, and unavailable external services can delay required cleanup further. A deletion cannot be cancelled.
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"
Optional optimistic concurrency token for clients that track the latest operation revision.
Required string length: 1 - 64
Example: "WzQ1Njc="
Response
Cancellation requested; operation transition is in progress
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: cluster.join_token.revoke
Required string length: 1 - 53
Required string length: 1 - 54
Pattern: ^[a-z0-9]{6}$
Populated only when done && state === "SUCCEEDED". Discriminated by type.
Available options: cluster.join_token.revoke
Required string length: 1 - 54
Pattern: ^[a-z0-9]{6}$
Populated when state is FAILED or CANCELLED.
Latest error from any failed step. Populated even mid-flight; cleared when the step succeeds on retry.