GET STARTED
Skip to main content

assetDetails (query)

Retrieve details about all of a single asset's properties.

Requirements and considerations

  • The assetDetails query has no limit on the amount of element paths that can be requested at one time.
  • Can only be used to retrieve the data for a single asset at a time.

Get an asset's details

query GetAssetDetails($siteId: ID!, $key: ID!) {
orgSite(id: $siteId) {
assetDetails(key: $key) {
#assetDetails fields
}
}
}

Arguments

FIELDSTYPEDESCRIPTION
idID!ID of the site.
keyStringUnique identifier of an asset.

Possible returns

FIELDSTYPEDESCRIPTION
assetDetailsassetDetailsPossible asset details fields. For the full list, see assetDetails.