VercelDeployment
Defined in: deployments/deployments.ts:10
A Vercel deployment as the API returns it.
Properties
Section titled “Properties”createdAt?
Section titled “createdAt?”
optionalcreatedAt?:number
Defined in: deployments/deployments.ts:25
When the deployment was created, in milliseconds since the epoch (the list endpoint returns it).
id:
string
Defined in: deployments/deployments.ts:12
The deployment id.
optionalmeta?:Record<string,string|undefined>
Defined in: deployments/deployments.ts:23
Metadata on the deployment: what Vercel attaches for a Git deployment (githubCommitRef, the branch or ref it was
built from) and whatever the creator set through deployments.create()’s meta.
readyState
Section titled “readyState”readyState:
VercelDeploymentState
Defined in: deployments/deployments.ts:16
Where the deployment is in its lifecycle.
target?
Section titled “target?”
optionaltarget?:VercelDeploymentTarget|null
Defined in: deployments/deployments.ts:18
The environment the deployment was built for; absent or null for a preview.
url:
string
Defined in: deployments/deployments.ts:14
The deployment’s generated hostname, without a scheme.