get_flow_instance_block
Input, output and error of one execution of a block in a run. One of two ways to call: (1) blockExecutionKey from get_flow_instance (failure.blockExecutionKey, steps[].failedIterations[].blockExecutionKey); (2) instanceKey (from list_flow_instances) with nodeId and optional iteration (default 0, position inside the innermost loop). When several executions share that nodeId and iteration (nested loops) the result is matches [{ match, startedAt, failed, blockExecutionKey }]; repeat the call with match or a blockExecutionKey. Do not mix the two ways. Result: success, error { message, httpCode, errorCode }, input, output, retryAttempts (attempt, at, httpStatus, transportErrorType, errorMessage, delayBeforeNextMs, responseBody); way (2) also returns nodeId, iteration, startedAt, durationMs. Data is returned as recorded. Long values are shortened; truncated lists { path, kind, originalSize } for each cut. path (the same syntax as expressions, e.g. output.items.[3].body, output.items.[last]; paths start with input, output or retryAttempts; copy them from truncated[]) returns only that branch in full detail. maxChars (2000..60000, default 30000) is the size budget of the response. A block with no executions in the run returns executed: false; an iteration it did not run returns executed: false with ranIterations. A run whose data is too large returns its structure with tooLarge: true. olderRunsHiddenByPlan: true replaces the result when the run is not visible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| match | No | ||
| nodeId | No | ||
| maxChars | No | ||
| iteration | No | ||
| instanceKey | No | ||
| workspaceId | Yes | ||
| blockExecutionKey | No |