Skip to main content

domain

Retrieve a single domain by ID or name.

domain(
id: Int
name: String
): Domain

Example

query ($id: Int, $name: String, $after: String, $first: Int) {
domain(id: $id, name: $name) {
active
certificate {
active
beginsTimestamp
certificateId
commonName
created
csr
expiresTimestamp
hasCertificate
san
valid
}
certificates(after: $after, first: $first) {
nextCursor
total
}
createdAt
dns {
hasVIPHeaders
ip
isVIP
}
emailDeliverabilityLastCheckedAt
environment {
active
appId
backupPolicyId
backupsSqlDumpTool
branch
createdAt
currentCommit
datacenter
dbOperationInProgress
defaultDomain
deploymentStrategy
id
isDBPartitioningEnabled
isFedramp
isHipaa
isK8sResident
isLiveBackupCopyAllowed
isMultisite
isOnLatestCode
isSubdirectoryMultisite
launchModeEndAt
launched
name
repo
type
uniqueLabel
wpcliStrategy
}
hasSSL
id
isDefault
isDkimValid
isDmarcValid
isLetsEncrypt
isPrimary
isSpfValid
isVerified
letsEncryptCompatibility {
actionable
code
domain
explanation
isDNSIssue
isFatal
title
}
letsEncryptStatus {
broken
errorMessage
expirationDate
failCount
lastErrorDateTime
name
retryDate
}
name
verificationCode
wildcard
}
}

Arguments

domain.id ● Int scalar common

The domain ID.

domain.name ● String scalar common

The domain name.

Type

Domain object common

A domain for an environment