Skip to content

VercelDeployment

Defined in: deployments/deployments.ts:10

A Vercel deployment as the API returns it.

optional createdAt?: 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.


optional meta?: 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: VercelDeploymentState

Defined in: deployments/deployments.ts:16

Where the deployment is in its lifecycle.


optional target?: 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.