Vercel Deployments icon

Vercel Deployments

Manage Vercel deployments via the Vercel REST API

List Deployment Events

AI-generated

Summary

Fetches the build events/logs for a single Vercel deployment by calling GET /v2/deployments/{idOrUrl}/events on the Vercel API.

Inputs

  • deploymentIdOrUrl (required) — The deployment ID or URL. It is URL-encoded and inserted into the request path. Evaluated per input item.

Output shape

One output item per input item, with the Vercel API response as the item's JSON. The events endpoint typically returns the build log events for the deployment.

The source applies no filtering or pagination, and sends no parameters other than a teamId query string. teamId comes from the credential, or from a 'teamIdOverride' parameter that the node reads but does not declare in its UI. If continue-on-fail is enabled, a failed item returns {error: message} instead of stopping the workflow. Each output item is paired to its input item.

Examples

Example 1: Retrieve build logs for a failed deployment to diagnose the error

Operation: List Deployment Events; Deployment ID or URL: {{$json.deploymentId}} (e.g. from a Get Deployment or List Deployments step)

Example 2: Fetch events for a deployment by its URL

Operation: List Deployment Events; Deployment ID or URL: my-app-abc123.vercel.app

Links

Discussion