GetDeploymentsResponseBody
July 24, 2026 ยท View on GitHub
Example Usage
import { GetDeploymentsResponseBody } from "@vercel/sdk/models/getdeploymentsop.js";
let value: GetDeploymentsResponseBody = {
pagination: {
count: 20,
next: 1540095775951,
prev: 1540095775951,
},
deployments: [
{
createdAt: 6246.82,
readyState: "CANCELED",
uid: "dpl_2euZBFqxYdDMDG1jTrHFnNZ2eUVa",
name: "docs",
projectId: "<id>",
url: "docs-9jaeg38me.vercel.app",
created: 1609492210000,
defaultRoute: "/docs",
deleted: 1609492210000,
undeleted: 1609492210000,
softDeletedByRetention: true,
source: "cli",
state: "READY",
type: "LAMBDAS",
creator: {
uid: "eLrCnEgbKhsHyfbiNR7E8496",
email: "example@example.com",
username: "johndoe",
githubLogin: "johndoe",
gitlabLogin: "johndoe",
},
target: "production",
buildingAt: 1609492210000,
ready: 1609492210000,
inspectorUrl:
"https://vercel.com/acme/nextjs/J1hXN00qjUeoYfpEEf7dnDtpSiVq",
errorCode: "BUILD_FAILED",
errorMessage:
"The Deployment has been canceled because this project was not affected",
oomReport: "out-of-memory",
},
],
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
pagination | models.Pagination | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. |
deployments | models.Deployments[] | :heavy_check_mark: | N/A |