Skip to content

NetlifyDeploy

Defined in: deploys/deploys.ts:13

Netlify deploy. state is a free-form string in Netlify’s own API (no published enum) — known values seen in practice: new, building, uploading, uploaded, preparing, prepared, processing, ready, error, retrying, current.

branch: string | null

Defined in: deploys/deploys.ts:27

The branch the deploy was built from, or null.


created_at: string

Defined in: deploys/deploys.ts:31

When the deploy was created, as an ISO timestamp.


deploy_url: string

Defined in: deploys/deploys.ts:25

The URL of this specific deploy.


optional error_message?: string | null

Defined in: deploys/deploys.ts:29

Why the deploy failed, when it did.


id: string

Defined in: deploys/deploys.ts:15

The deploy’s id.


site_id: string

Defined in: deploys/deploys.ts:17

The id of the site the deploy belongs to.


ssl_url: string

Defined in: deploys/deploys.ts:23

The site’s HTTPS URL.


state: string

Defined in: deploys/deploys.ts:19

The deploy’s state, a free-form string.


url: string

Defined in: deploys/deploys.ts:21

The site’s URL.