Skip to main content
GET
/
v8
/
deployments
/
{id}
/
files
/
{fileId}
getDeploymentFileContents
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  await vercel.deployments.getDeploymentFileContents({
    id: "<id>",
    fileId: "<id>",
    teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
    slug: "my-team-url-slug",
  });


}

run();

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required
fileId
string
required

Query Parameters

path
string
teamId
string
Example:
slug
string
Example:

Response