Skip to content
Console(opens in a new tab)

WebsiteContent

The state of the website at a particular time.

Selection. This type is a selection. You reach it through a connection, and you choose which of its fields come back.

The state of the website at a particular time.

We make a request to each website in our database at least every ninety days. Each website_content object represents what we learned on one of those requests.

This attribute has a historical dimension which is represented by the rank property:

  • Rank = 0: Data from the most recent website request.
  • Higher ranks (1, 2, etc.): Data from earlier website requests (higher ranks represent earlier requests)

This structure allows us to answer questions such as

  • when did this website become unavailable and begin returning 404 errors?
  • when did this website switch it’s favicon (which may indicate a rebranding or acquisition)?

Shortest path from a primary entity: Brand → websites → Website → websiteContents → WebsiteContent.

Field Label Type Description
id ID UUID! The unique identifier of this object.
firstObservedDate First Observed Date String The earliest date of a request to the website that returned this content. Requests from the first collection in March 2024 have no recorded date, so their value is 2024-03-16 00:00:00.
lastObservedDate Last Observed Date String The latest date of a request to the website that returned this content. Requests from the first collection in March 2024 have no recorded date, so their value is 2024-03-16 00:00:00.
rank Rank Int Determines the display order of the attribute, with lower values shown first
httpStatusCode HTTP Status Code String The HTTP status code returned by the request (e.g. 200, 404, etc.)
faviconUrl Favicon URL String The url from which the website’s favicon was served.
faviconImage Favicon Image String A binary representation of the website’s favicon that was returned from the HTTP request.
websiteAvailability Website Availability String Whether the website responded when Enigma requested it. The values are Available, Redirect, Unavailable, and Unknown. Enigma sets Available for HTTP status 200, Redirect for 300 to 399, and Unavailable for 400 or higher. Some blocked responses, such as a 403 from a website that recently returned 200, get Unknown or Available.
internalId String A numeric identifier that Enigma assigns to this object when it builds its data. On most attribute objects, id is the UUID form of this number.
internalWebsiteContentId String A numeric identifier that Enigma assigns to this website content when it builds its data.

Each one is a connection: read it through edges { node { … } }, page it with first, and narrow it with conditions.

Field Leads to Description
websites Website A website associated with a business. Default first: 100.

Every record of this type answers count, countDistinct, has, sum, min, max, avg, collect, minDateTime, maxDateTime. Each takes field and an optional conditions. See Selection.

query {
search(searchInput: {
entityType: BRAND
name: "Safeway"
conditions: { limit: 1 }
}) {
... on Brand {
id
websites(first: 1) {
edges { node {
websiteContents(first: 1) {
edges { node {
id
firstObservedDate
lastObservedDate
rank
httpStatusCode
} }
}
} }
}
}
}
}

Response, as returned:

{
"data": {
"search": [
{
"id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a",
"websites": {
"edges": [
{
"node": {
"websiteContents": {
"edges": [
{
"node": {
"id": "00000416-0009-3b04-0000-0b8000000000",
"firstObservedDate": "2026-09-02 11:16:16.68",
"lastObservedDate": "2026-09-02 11:16:16.68",
"rank": 0,
"httpStatusCode": "200"
}
}
]
}
}
}
]
}
}
]
}
}