> ## 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.

# Approve rolling release stage

> Approves the next stage of a manual rollout.

`vercel.approveRollingReleaseStage` approves the next stage of a manual rollout.

```ts automations/approve-rolling-release-stage.automation.ts theme={null}
import { automation } from "automate.ax"
import { vercel } from "automate.ax/vercel"

export default automation("Approve rolling release stage", () => {
  vercel.approveRollingReleaseStage({
    canaryDeploymentId: "dpl_1",
    idOrName: "prj_1",
    nextStageIndex: 1,
    teamId: "team_1",
  })
})
```

## Input

* `canaryDeploymentId`: the deployment being advanced.
* `idOrName`: the Vercel project ID or name.
* `nextStageIndex`: the zero-based rollout stage to activate.
* `teamId`: the owning team ID when the project belongs to a team.

## Output

Returns `{ rollingRelease }`. Read `result.rollingRelease` for Vercel's updated rolling-release document; it is `null` when no rolling release exists.

## Provider behavior

This action requires a Vercel access-token connection. It changes production traffic and is not replay-safe. Vercel rejects a stage that does not follow the rollout's current stage.
