Skip to main content

types.JobStatus

created_atstring

CreatedAt is the time when the job was created

revisioninteger

Revision is a per-job monotonically increasing revision number that is incremented on each update to the job's state or specification. This includes both user-initiated changes (which also increment Version) and system-initiated changes (status updates, state transitions, etc.). Revision >= Version always.

rollout object

Rollout contains the runtime state of the active rollout. Empty (zero State) when no rollout is in progress.

canary_nodesstring[]

Canary tracking (runtime state)

canary_promotedboolean
completed_atstring

When rollout finished (zero if in progress)

current_waveinteger

Progress tracking

failed_nodesinteger

Nodes that failed

rollback_to_versioninteger

RollbackToVersion is the stable version to rollback to when a rollout halts. For Create: 0 (no previous version - cannot rollback) For Update: last version with completed rollout (stable version to fallback to) For Rollback: version being rolled back from

started_atstring

Timestamps

total_nodesinteger

Target nodes for this rollout

total_wavesinteger
typetypes.RolloutType (string)

Type indicates what triggered this rollout

Possible values: [create, update, restart, rollback]

updated_nodesinteger

Nodes successfully updated

state object

State represents the current state of the job

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.JobStateType (string)

StateType is the current state of the object.

Possible values: [``, pending, queued, deploying, running, rollout_paused, rollout_failed, degraded, completed, failed, stopped, deleted]

updated_atstring

UpdatedAt is the time when the job was last updated

versioninteger

Version is a per-job monotonically increasing version number that is incremented on each job specification update. Version tracks changes to the job specification (user-defined fields like runtime, deployment settings, etc.). Compare with Revision which tracks ANY change including status updates.

types.JobStatus
{
"created_at": "string",
"revision": 0,
"rollout": {
"canary_nodes": [
"string"
],
"canary_promoted": true,
"completed_at": "string",
"current_wave": 0,
"failed_nodes": 0,
"rollback_to_version": 0,
"started_at": "string",
"total_nodes": 0,
"total_waves": 0,
"type": "create",
"updated_nodes": 0
},
"state": {
"details": {},
"message": "string",
"state_type": ""
},
"updated_at": "string",
"version": 0
}