automate.getExecution returns one execution with every context’s decoded events, emitted outputs, actions, and durable logical attempts.
automations/get-execution.automation.ts
automation accepts an imported automation descriptor, exact ID, or unique deployed description. executionId accepts the execution’s ID or the ID of any context in it; either returns the whole execution, with the same summary fields as List executions.
contexts lists the execution’s contexts, earliest first, each with its parentContextIds, status, timestamps, and failure. Every action, event, and output names its contextId. Each action includes status, replay safety, maximum attempts, normalized failure, and attempts ordered by logical ordinal. Attempts contain status, start and completion times, nullable retry time, and normalized failure. Event payloads, action outputs, and emitted output data are decoded before the action returns.
The complete result is treated as sensitive because stored execution payloads can contain customer data. The action requires project:read.