Skip to content
Console(opens in a new tab)

ListSearchInputInput

The search settings of a list, for `createList` and `updateList`.

Match. This input describes the records that you want to find. You pass it to CreateListInput.searchInput and UpdateListInput.searchInput.

The search settings of a list, for createList and updateList. The API stores these settings together with the search selection of the mutation.

Field Type Part Description
entityType EntityType Subject The type of entity that each record of the list represents. The createList mutation does not support PERSON. One of BRAND, OPERATING_LOCATION, LEGAL_ENTITY, PERSON, ADDRESS, RECORD. See the values.
conditions ListConditionsInput Condition The filter, sort, and limit settings of the search.
prompt String Match A plain-language description of the businesses that the list includes.
matchThreshold Float Match The minimum match confidence, from 0 to 1, that an input row must reach. Only an ENRICHMENT list accepts this field.
Value Meaning
BRAND
OPERATING_LOCATION
LEGAL_ENTITY
PERSON
ADDRESS
RECORD Returns one Record holding the gov-archive records the search finds: page them with its records connection and total them with count(field: "records"). With dataLayer GROUNDED (the default), these are the records resolved to the entities the searchInput matches: persons if it has a person with a first or last name, otherwise legal entities if it has a name, otherwise addresses if it has only an address with a street1. With UNGROUNDED, the GROUNDED records come first, then all other gov-archive records found for the searchInput.

This intent writes, so the reference does not run it against production data. No response is shown.

mutation {
createList(input: {
name: "Texas grocery brands"
listType: LIST_GENERATION
searchInput: {
entityType: BRAND
prompt: "Grocery store brands in Texas"
}
}) {
list { id name createdTimestamp }
search {
... on Brand {
id
names(first: 1) { edges { node { name } } }
}
}
}
}