> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Abort Actor build

> Stops a running Apify Actor build.

`apify.abortActorBuild` stops a running Apify Actor build.

## Example

```ts automations/apify-abort-actor-build.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { apify } from "automate.ax/apify"

export default automation("Abort Actor build", () => {
  onHttpRequest({ scope: "automation" })

  apify.abortActorBuild({ buildId: "build-id" })
})
```

## Inputs

`buildId` is the Actor build ID.

## Output

Returns the updated Actor build.

Aborting changes provider state and may be unsafe to repeat after an uncertain response.
