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

> Get the user represented by a connected Vercel account.

`getCurrentVercelUser` returns Vercel's current-user response for the connected account.

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

export default automation("Get Vercel user", () => {
  const current = getCurrentVercelUser({})
  current.user.id
})
```

The only input is optional `account`. The output includes Vercel's complete typed `user` object, including identity, profile, and account fields available to the token.
