Vercel Projects icon

Vercel Projects

Manage Vercel projects via the Vercel REST API

Get Project

AI-generated

Summary

Fetches a single Vercel project by ID or name via GET /v9/projects/{idOrName} and returns the project object as the item's JSON.

Inputs

  • projectIdOrName (required) — The Vercel project ID or name. URL-encoded and placed in the request path. Can be an expression to vary per input item.

Output shape

One output item per input item, whose JSON is the Vercel API project response (settings, framework, build config, etc.). Each is paired to its input item.

Uses the vercelApi credential's access token and base URL (default https://api.vercel.com). If the credential has a team ID, it is sent as the teamId query parameter. The source reads a 'teamIdOverride' parameter (default empty) that isn't shown in this operation's declared properties. On error, with Continue On Fail enabled the item is { error: message }; otherwise the node throws a NodeApiError.

Examples

Example 1: Look up a project's configuration before deploying or updating it.

Operation: Get Project; Project ID or Name: my-site

Example 2: Enrich a list of project names coming from a previous node.

Operation: Get Project; Project ID or Name: {{ $json.name }}

Links

Discussion