> ## Documentation Index
> Fetch the complete documentation index at: https://ai-development-environment.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# BuildScriptExecutionProgressInput

> A live update for an existing script execution in a build.



**Kind**: `input`

## Fields

**`phase`**: `String!` (required)

Script phase: PRE_BUILD or POST_BUILD.

---

**`position`**: `Int!` (required)

Zero-based position of the script in the build snapshot.

---

**`status`**: `String!` (required)

Execution status: RUNNING, SUCCEEDED, FAILED, TIMED_OUT, or CANCELLED.

---

**`exitCode`**: `Int`

Exit code once execution finishes, if available.

---

**`durationMs`**: `Int`

Execution duration in milliseconds, if available.

---

**`causedBuildFailure`**: `Boolean`

Whether this script failure caused the build to fail.

---

**`outputRelativePath`**: `String`

Relative path to the script output within the build artifact directory.

---

**`error`**: `String`

Error reported by the script, if any.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.