Skip to content

CodePipelineEngineOutput

One call a step made to its coding tool: the exit code and both output streams, recorded whether it succeeded or failed. Read them to find out why a step failed.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
sequenceintegerThe call’s number within the step, starting at 1 and counting across every retry and resume.
dateUtcdatetimeWhen the call was made, in UTC.
purposestring | nullWhat the call was for: the step’s own prompt, the structured-output question, a repair pass, and so on. It tells a failed step apart from a failed side call.
returnCodeintegerThe coding tool’s exit code. -2147483648 means it was stopped before it exited: see terminationReason.
stdOutstring | nullWhat the coding tool wrote to standard output.
stdErrstring | nullWhat the coding tool wrote to standard error.
internalErrorstring | nullA failure around the coding tool rather than from it, such as it failing to start or being stopped.
terminationReasonstring | nullWhy the coding tool was stopped, when it didn’t exit by itself: "Timeout", "Inactivity", "Cancelled" or "EngineLaunchFailure". Null when it exited normally.
isTruncatedbooleanWhether stdOut or stdErr was shortened because it was very large. The start and the end are kept, so the error and any stack trace survive.
{
"sequence": 0,
"dateUtc": "2026-10-26T12:00:00.0000000Z",
"purpose": "...",
"returnCode": 0,
"stdOut": "...",
"stdErr": "...",
"internalError": "...",
"terminationReason": "...",
"isTruncated": false
}