GetDeploymentRequest

August 5, 2026 ยท View on GitHub

Example Usage

import { GetDeploymentRequest } from "@vercel/sdk/models/getdeploymentgitsourcedeploymentsresponsetype.js";

let value: GetDeploymentRequest = {
  idOrUrl: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ",
  withGitRepoInfo: "true",
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
};

Fields

FieldTypeRequiredDescriptionExample
idOrUrlstring:heavy_check_mark:The unique identifier or hostname of the deployment.dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ
withGitRepoInfostring:heavy_minus_sign:When true, the response includes the gitSource object with the commit SHA, branch name, and connected repository metadata. Defaults to false.true
teamIdstring:heavy_minus_sign:The Team identifier to perform the request on behalf of.team_1a2b3c4d5e6f7g8h9i0j1k2l
slugstring:heavy_minus_sign:The Team slug to perform the request on behalf of.my-team-url-slug