Stacks

RecordEngineEvent

Records a single engine event sent from the Pulumi CLI during a stack update. Engine events represent individual resource operations or diagnostic messages. For better performance, consider using RecordEngineEventBatch to send multiple events in a single request. Returns 400 if no event data is provided, or 404 if the update does not exist. Requires update token authentication.

post/api/stacks/{orgName}/{projectName}/{stackName}/preview/{updateID}/events

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/stacks/{orgName}/{projectName}/{stackName}/preview/{updateID}/events
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

updateIDstring required

The update ID

Request body

cancelEventAppCancelEvent

CancelEvent is emitted when the user initiates a cancellation of the update in progress, or the update successfully completes.

policyLoadEventAppPolicyLoadEvent

PolicyLoadEvent is emitted when a policy starts loading

sequenceinteger required

Sequence is a unique, and monotonically increasing number for each engine event sent to the Pulumi Service. Since events may be sent concurrently, and/or delayed via network routing, the sequence number is to ensure events can be placed into a total ordering.

  • No two events can have the same sequence number.
  • Events with a lower sequence number must have been emitted before those with a higher sequence number.
timestampinteger required

Timestamp is a Unix timestamp (seconds) of when the event was emitted.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.