Vercel Env Variables icon

Vercel Env Variables

Manage Vercel environment variables via the Vercel REST API

List Env Variables

AI-generated

Summary

Lists environment variables for a Vercel project via GET /v9/projects/{project}/env, optionally decrypting values. Returns the raw Vercel API response for each input item.

Inputs

  • projectIdOrName (required) — Vercel project ID or name; URL-encoded into the request path.
  • limit — Maximum number of env vars to return (1–100, default 20). Sent as the limit query parameter. No pagination is performed.
  • decryptEnv — If true, sends decrypt=true so Vercel returns decrypted values where permitted. Default false.

Output shape

One output item per input item, with the Vercel API JSON response in json (typically an object containing an envs array of variables with IDs, keys, types, targets, etc.). Items are paired to their input item.

The id of each variable is what Update/Delete operations need. Only a single page is fetched, so projects with more variables than the limit are truncated. The team ID from the credential is added as a teamId query parameter when set (the source also reads an undeclared teamIdOverride parameter, defaulting to empty). On error, throws a NodeApiError, or with Continue On Fail outputs {error: message} for that item. The node runs once per input item, so multiple input items cause repeated identical calls.

Examples

Example 1: Retrieve all env vars for a project to find an ID before updating one

Operation: List Env Variables; Project ID or Name: my-app; Limit: 100; Decrypt: false

Example 2: Audit actual values of variables in a project

Operation: List Env Variables; Project ID or Name: prj_abc123; Limit: 50; Decrypt: true

Links

Discussion