Skip to main content
POST
Transition a cluster through the lifecycle state machine

Authorizations

x-api-key
string
header
required

Path Parameters

cluster_id
string<uuid>
required

Body

application/json

Body for POST /clusters/{cluster_id}/status.

target_cluster_id is required when to_status='merged' and ignored otherwise. The state-machine enforcement lives in GapClusterLifecycleService; this schema only constrains the wire shape.

to_status
enum<string>
required
Available options:
acknowledged,
in_progress,
fixed,
reopened,
merged,
archived
note
string | null
Maximum string length: 1000
target_cluster_id
string<uuid> | null

Required when to_status == 'merged'; ignored otherwise.

Response

Successful Response

Wire shape for a successful lifecycle mutation.

Mirrors ClusterTransitionResult from the lifecycle service with enum statuses flattened to their string values for SDK ergonomics.

cluster_id
string<uuid>
required
from_status
string
required
to_status
string
required
actor_user_id
string<uuid> | null
required
event_id
string<uuid> | null
required