v14
latestOpenAPI 3.0.32026-08-04377889.4 MBList deployments
List deployments under the authenticated user or team. If a deployment hasn't finished uploading (is incomplete), the url property will have a value of null.
Query parameters
Name of the deployment.
Name of the deployment.
Gets the deployment created after this Date timestamp. (default: current time)
Gets the deployment created after this Date timestamp. (default: current time)
Maximum number of deployments to list from a request.
Maximum number of deployments to list from a request.
Filter deployments from the given ID or name.
Filter deployments from the given ID or name.
Filter deployments from the given project IDs. Cannot be used when projectId is specified.
Filter deployments from the given project IDs. Cannot be used when projectId is specified.
[ "prj_123", "prj_456" ]
Filter deployments based on the environment.
Filter deployments based on the environment.
Gets the deployment created before this Date timestamp. (default: current time)
Gets the deployment created before this Date timestamp. (default: current time)
Filter out deployments based on users who have created the deployment.
Filter out deployments based on users who have created the deployment.
Get Deployments created after this JavaScript timestamp.
Get Deployments created after this JavaScript timestamp.
Get Deployments created before this JavaScript timestamp.
Get Deployments created before this JavaScript timestamp.
Filter deployments based on their state (BUILDING, ERROR, INITIALIZING, QUEUED, READY, CANCELED, BLOCKED)
Filter deployments based on their state (BUILDING, ERROR, INITIALIZING, QUEUED, READY, CANCELED, BLOCKED)
Filter deployments based on their rollback candidacy
Filter deployments based on their rollback candidacy
Filter deployments based on the branch name
Filter deployments based on the branch name
Filter deployments based on the SHA
Filter deployments based on the SHA
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Response
Example response
{
"pagination": {
"count": 20,
"next": 1540095775951,
"prev": 1540095775951
},
"deployments": [
{
"uid": "dpl_2euZBFqxYdDMDG1jTrHFnNZ2eUVa",
"name": "docs",
"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"
}
]
}