Docs
Live demo
GET/api/v2/drift/target-snapshots
drift:readAPI token

Retrieve one drift state snapshot per target

Responses

200

OK

ListDriftTargetSnapshotsResponse · 2 fields
5 fields
target_idstring
20 fields

Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.

terminalbooleanrequired

Whether this operation has finished.

outcomestring (entity.OperationOutcome)required

Final operation result, or null while the operation is active.

successfailurecancelledpartial
can be null
substatestring (entity.OperationSubstate)required

Qualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.

rollback_in_progressrolled_backneeds_repairoutcome_unknowninterruptedrequires_approvalholds_lockawaiting_confirmationexpiredtimed_outrescheduled
can be null
created_atstring
created_bystring
errorstring
finished_atstring
idstring
instance_idstring
target_idstring
open_state_completenessstring
open_state_modestring
started_atstring

Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.

queuedrunningfinished
updated_atstring
verification_statestring
warningsarray of string
latest_completed_runDriftRunResponse
20 fields

Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.

terminalbooleanrequired

Whether this operation has finished.

outcomestring (entity.OperationOutcome)required

Final operation result, or null while the operation is active.

successfailurecancelledpartial
can be null
substatestring (entity.OperationSubstate)required

Qualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.

rollback_in_progressrolled_backneeds_repairoutcome_unknowninterruptedrequires_approvalholds_lockawaiting_confirmationexpiredtimed_outrescheduled
can be null
created_atstring
created_bystring
errorstring
finished_atstring
idstring
instance_idstring
target_idstring
open_state_completenessstring
open_state_modestring
started_atstring

Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.

queuedrunningfinished
updated_atstring
verification_statestring
warningsarray of string
has_running_checkboolean
has_failed_since_last_completedboolean
generated_atstring

Common errors: 401 403 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close