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

> Get one Vercel deployment by ID or hostname.

`getVercelDeployment` gets complete information for one deployment.

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

export default automation("Inspect Vercel deployment", () => {
  const deployment = getVercelDeployment({
    deployment: "dpl_123",
    includeGitRepository: true,
  })
  deployment.url
})
```

`deployment` accepts an ID or hostname. `includeGitRepository` defaults to `false`; enable it for connected repository, branch, and commit metadata. Optional `teamId` overrides the OAuth installation team. The output is Vercel's complete typed deployment object.
