Skip to main content

types.ExecutionStatus

compute_state object

ComputeState is the actual state of the execution on the node

details object

Details is a map of additional details about the state.

property name*string
messagestring

Message is a human readable message describing the state.

state_typetypes.ExecutionStateType (string)

StateType is the current state of the object.

Possible values: [pending, starting, running, degraded, complete, failed, lost, stopping, stopped]

created_atstring

CreatedAt is when the execution was created

desired_state object

DesiredState is what state the execution should be in

details object

Details is a map of additional details about the state.

property name*string
messagestring

Message is a human readable message describing the state.

state_typetypes.ExecutionDesiredState (string)

StateType is the current state of the object.

Possible values: [pending, running, stopped]

details object

Details contains structured metadata about the current execution state (e.g., error codes, hints, component info from lib/errors)

property name*string
next_execution_idstring

NextExecutionID is used for tracking and triggering the next execution, such as during an update

previous_execution_idstring

PreviousExecutionID is used for tracking the previous execution in a sequence

revisioninteger

Revision is incremented on any change to the execution (state changes, status updates, etc.)

updated_atstring

UpdatedAt is when the execution was last updated

types.ExecutionStatus
{
"compute_state": {
"details": {},
"message": "string",
"state_type": "pending"
},
"created_at": "string",
"desired_state": {
"details": {},
"message": "string",
"state_type": "pending"
},
"details": {},
"next_execution_id": "string",
"previous_execution_id": "string",
"revision": 0,
"updated_at": "string"
}