Skip to content
Console(opens in a new tab)

LegalEntityHeadcount

The reported number of employees at this legal entity, as a min/max range.

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

The reported number of employees at this legal entity, expressed as an inclusive [headcount_min, headcount_max] range. When multiple sources report headcount for the same legal entity, the range is the intersection of all observed ranges.

Shortest path from a primary entity: Brand → legalEntities → LegalEntity → headcounts → LegalEntityHeadcount.

Field Label Type Description
id ID UUID! The unique identifier of this object.
firstObservedDate First Observed Date String The earliest date of a source record that supports this attribute or relationship. The source date is, for example, the date when Enigma collected the record or when the source last updated it. Most values have a date, a time, and a UTC offset, but some have the date only.
lastObservedDate Last Observed Date String The latest date of a source record that supports this attribute or relationship. It uses the same source dates and the same format as firstObservedDate.
rank Rank Int Determines the display order of the attribute, with lower values shown first
headcountMin Minimum Headcount String headcount lower bound
headcountMax Maximum Headcount String headcount upper bound
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.
internalLegalEntityId String The internalId of the legal entity that this attribute describes.

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
legalEntities(first: 1) {
edges { node {
headcounts(first: 1) {
edges { node {
id
firstObservedDate
lastObservedDate
rank
headcountMin
} }
}
} }
}
}
}
}

Response, as returned:

{
"data": {
"search": [
{
"id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a",
"legalEntities": {
"edges": [
{
"node": {
"headcounts": {
"edges": [
{
"node": {
"id": "00000018-0000-6765-0000-0a8000000000",
"firstObservedDate": "2025-04-30 14:56:11+00",
"lastObservedDate": "2025-10-17 03:16:28+00",
"rank": 0,
"headcountMin": "10001"
}
}
]
}
}
}
]
}
}
]
}
}