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

# Get deployment events

> Gets a bounded page of build events and logs for one deployment.

`vercel.getDeploymentEvents` gets a bounded page of build events and logs for one deployment.

```ts automations/get-deployment-events.automation.ts theme={null}
import { automation } from "automate.ax"
import { vercel } from "automate.ax/vercel"

export default automation("Get deployment events", () => {
  vercel.getDeploymentEvents({
    deployment: "dpl_1",
    teamId: "team_1",
  })
})
```

## Input

* `deployment`: included in the runnable example and checked by the callable's TypeScript contract.
* `teamId`: included in the runnable example and checked by the callable's TypeScript contract.

Optional filters, pagination controls, request bodies, and provider enums remain visible in editor autocomplete. Unknown keys are rejected by TypeScript instead of being silently discarded.

## Output

Returns the typed response from the corresponding Vercel operation. Public request and response fields use camelCase.

## Provider behavior

OAuth installations default `teamId` to the installed team; access-token connections must identify the intended scope when Vercel requires it. Automate.ax may retry this read safely. Vercel validates identifiers, permissions, and state transitions and returns its provider error when the request is not allowed.
