Actions8
List Deployment Files
AI-generatedSummary
Lists the files in a Vercel deployment by sending a GET request to the Vercel API's /v6/deployments/{id}/files endpoint. It runs once per input item and returns the API response as that item's JSON.
Inputs
- deploymentIdOrUrl (required) — The deployment ID or URL. It is URL-encoded and placed into the request path. It is evaluated per input item, so it can be an expression.
Output shape
One output item per input item. Its json is the Vercel API response for the deployment's file listing, which is typically the file tree with file IDs. Each output item is paired to its input item.
The source declares no pagination. The file IDs in the output can be passed to the Get Deployment File operation. The request sends a teamId query parameter taken from the credential's team ID, or from a 'teamIdOverride' parameter. That override is read in code but is not declared in this node's properties, so it will usually be empty. The request uses the credential's base URL, which defaults to https://api.vercel.com. If 'Continue On Fail' is enabled, a failed item returns json {error: message} instead of stopping the workflow.
Examples
Example 1: Inspect the files of a specific deployment before fetching one of them.
Operation: List Deployment Files; Deployment ID or URL: dpl_abc123. Then pass a returned file ID to Get Deployment File.
Example 2: List the files of the deployment produced by a previous node.
Deployment ID or URL: ={{ $json.id }} (for example, taken from a Create Deployment or List Deployments output).
