DriftEvents


GET /{o}/{p}/envs/{envName}/drift-events

List drift events

List drift events in this environment with optional status/kind/entity/time filtering.

Auth: Bearer token required · Permission: data:read

Path parameters

NameTypeDescription
ostring
pstring
envNamestring

Responses

StatusDescriptionSchema
200Drift eventsDriftEventList

GET /{o}/{p}/envs/{envName}/drift-events/count

Count open drift events

Auth: Bearer token required · Permission: data:read

Path parameters

NameTypeDescription
ostring
pstring
envNamestring

Responses

StatusDescriptionSchema
200Open drift-event countDriftCount

GET /{o}/{p}/envs/{envName}/drift-events/{id}

Get a drift event by id

Auth: Bearer token required · Permission: data:read

Path parameters

NameTypeDescription
ostring
pstring
envNamestring
idstring

Responses

StatusDescriptionSchema
200The drift eventDriftEvent
404Drift event not foundError

POST /{o}/{p}/envs/{envName}/drift-events/{id}/accept

Accept a drift event

Promote the observed (actual) value into the catalog for the drifted field. Never touches real infrastructure.

Auth: Bearer token required · Permission: data:write

Path parameters

NameTypeDescription
ostring
pstring
envNamestring
idstring

Responses

StatusDescriptionSchema
200Accepted drift eventDriftEvent
404Open drift event not foundError

POST /{o}/{p}/envs/{envName}/drift-events/{id}/reapply

Mark a drift event for re-apply

Record intent to push the catalog value back to actual. The actual reapply flows through the apply pipeline; this only records intent.

Auth: Bearer token required · Permission: data:write

Path parameters

NameTypeDescription
ostring
pstring
envNamestring
idstring

Responses

StatusDescriptionSchema
200Reapply intent recordedDriftReapplyResult
404Open drift event not foundError

POST /{o}/{p}/envs/{envName}/drift-events/{id}/snooze

Snooze a drift event

Snooze the drift event for untilSeconds (default 1 day, capped at 30 days).

Auth: Bearer token required · Permission: data:write

Path parameters

NameTypeDescription
ostring
pstring
envNamestring
idstring

Request body (application/json)

FieldTypeDescription
untilSecondsinteger

Responses

StatusDescriptionSchema
200Snoozed drift eventDriftEvent
404Open drift event not foundError

Schemas

DriftCount

FieldTypeDescription
countinteger(required)

DriftEvent

FieldTypeDescription
idstring(uuid)(required)
projectIdstring,null(required)
envIdstring(uuid)(required)
entityIdstring(uuid)(required)
entityNamestring,null(required)
entityTypeNamestring,null(required)
fieldPathstring(required)
catalogValueobject
actualValueobject
sourcestring(required)
statusopen | accepted | reapplied | snoozed(required)
snoozedUntilstring,null(required)
detectedAtstring(required)
updatedAtstring(required)

DriftEventList

Type: DriftEvent[]

DriftReapplyResult

FieldTypeDescription
driftEventDriftEvent(required)
entityobject,null(required)

Error

FieldTypeDescription
errorstring(required)
codestring