Close menu
Explore Plans
Mobile menu Close menu
Netlify

Site details

Pro plus icon Look up details about a Netlify site, including its URL, last deploy state, and custom domain.

Developer info

API endpoint slug
netlify.site_details
Runtime method
performQuery("netlify.site_details"}

Query fields

Site Dropdown list

Label
Site
Helper text
Select a Netlify site.
Slug
site_id
Required
true
Can have default value
false

Ingredients

Site

Slug
site_id
Filter code
Netlify.siteDetails.SiteId
Type
String
Example
abc12345-6789-0abc-def0-123456789abc

Site name

Slug
site_name
Filter code
Netlify.siteDetails.SiteName
Type
String
Example
my-cool-site

Site url

Slug
site_url
Filter code
Netlify.siteDetails.SiteUrl
Type
Web URL
Example
https://my-cool-site.netlify.app

Custom domain The custom domain configured for the site. Empty if none.

Slug
custom_domain
Filter code
Netlify.siteDetails.CustomDomain
Type
String
Example
www.example.com

Last deploy state State of the most recent deploy: "ready", "error", "building", etc.

Slug
last_deploy_state
Filter code
Netlify.siteDetails.LastDeployState
Type
String
Example
ready

Updated at

Slug
updated_at
Filter code
Netlify.siteDetails.UpdatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00