- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Selection
ListSearchInput
Fields of ListSearchInput and how to reach it.
Selection. This type is a selection. An intent returns it, and you choose which of its fields come back.
The schema carries no description for this type.
Where it appears
Section titled “Where it appears”No connection leads here from a primary entity.
List.searchInputListMaterialization.searchInput
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
entityType |
EntityType! |
The type of entity that each record of the list represents. One of BRAND, OPERATING_LOCATION, LEGAL_ENTITY, PERSON, ADDRESS, RECORD. See the values. |
conditions |
ListConditions |
The filter, sort, and limit settings of the search. |
prompt |
String |
A plain-language description of the businesses that the list includes. |
query |
String |
The GraphQL selection that the API saved from the search field of createList or updateList. It sets the attributes of each record. |
entityType values
Section titled “entityType values”| 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. |
Example
Section titled “Example”query { lists { edges { node { searchInput { entityType prompt query } } } }}Response, as returned:
{ "data": { "lists": { "edges": [ { "node": { "searchInput": { "entityType": "OPERATING_LOCATION", "prompt": "", "query": "... on OperatingLocation {id names(first: 1) {edges {node {name}}} addresses(first: 1) {edges {node {fullAddress}}} phoneNumbers(first: 1) {edges {node {phoneNumber}}} websites(first: 1) {edges {node {website}}} brands(first: 1) {edges {node {industryEnigma: industries(first: 1 conditions: {filter: {EQ: [\"industryType\", \"enigma_industry_description\"]}}) {edges {node {industryDesc}}} industryNaics: industries(first: 1 conditions: {filter: {EQ: [\"industryType\", \"naics_2022_code\"]}}) {edges {node {industryCode industryDesc industryType}}} id names(first: 1) {edges {node {name}}} websites(first: 1) {edges {node {website}}} cardRevenueAmount12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_revenue_amount\"]}]}}) {edges {node {periodStartDate periodEndDate projectedQuantity}}} cardRevenueYoyGrowth12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_revenue_yoy_growth\"]}]}}) {edges {node {periodStartDate periodEndDate projectedQuantity}}}}}} operatingStatuses(first: 1) {edges {node {operatingStatus lastObservedDate}}} cardRevenueAmount12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_revenue_amount\"]}]}}) {edges {node {periodStartDate periodEndDate projectedQuantity}}} cardRevenueYoyGrowth12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_revenue_yoy_growth\"]}]}}) {edges {node {periodStartDate periodEndDate projectedQuantity}}}}" } } }, { "node": { "searchInput": { "entityType": "OPERATING_LOCATION", "prompt": null, "query": "... on OperatingLocation {id names(first: 1) {edges {node {name}}} addresses(first: 1) {edges {node {streetAddress1 streetAddress2 city state zip}}} websites(first: 1) {edges {node {website}}} phoneNumbers(first: 1) {edges {node {phoneNumber}}}}" } } }, { "node": { "searchInput": { "entityType": "OPERATING_LOCATION", "prompt": "", "query": "... on OperatingLocation {id addresses(first: 1) {edges {node {city firstObservedDate fullAddress h3Index latitude longitude state streetAddress1 streetAddress2 zip deliverabilities(first: 1) {edges {node {virtual}}} legalEntities(first: 1) {edges {node {bankruptcies(first: 1) {edges {node {caseNumber chapterType}}}}}}}}} websites(first: 1) {edges {node {brands(first: 1) {edges {node {legalEntities(first: 1) {edges {node {roles(first: 1) {edges {node {externalUrls}}}}}}}}}}}}}" } } }, { "node": { "searchInput": { "entityType": "BRAND", "prompt": null, "query": "... on Brand {id names(first: 5) {edges {node {name}}} websites(first: 1) {edges {node {website onlinePresences(first: 1) {edges {node {hasOnlineSales}}}}}} isMarketables(first: 1) {edges {node {isMarketable}}} reviewCountTotal: sum(field: \"operatingLocations.reviewSummaries.reviewCount\") reviewScoreAvg: avg(field: \"operatingLocations.reviewSummaries.reviewScoreAvg\") reviewsLastObservedDate: maxDateTime(field: \"operatingLocations.reviewSummaries.lastObservedDate\") industryEnigma: industries(first: 1 conditions: {filter: {AND: [{EQ: [\"industryType\", \"enigma_industry_description\"]}]}}) {edges {node {industryCode industryType industryDesc}}} industryNaics: industries(first: 2 conditions: {filter: {AND: [{EQ: [\"industryType\", \"naics_2022_code\"]}]}}) {edges {node {industryCode industryDesc}}} usesAdyen: countDistinct(field: \"operatingLocations.technologiesUseds.technology\") usesBraintree: countDistinct(field: \"operatingLocations.technologiesUseds.technology\") usesClover: countDistinct(field: \"operatingLocations.technologiesUseds.technology\") usesPaypal: countDistinct(field: \"operatingLocations.technologiesUseds.technology\") usesShopify: countDistinct(field: \"operatingLocations.technologiesUseds.technology\") usesSquare: countDistinct(field: \"operatingLocations.technologiesUseds.technology\") usesStripe: countDistinct(field: \"operatingLocations.technologiesUseds.technology\") usesToast: countDistinct(field: \"operatingLocations.technologiesUseds.technology\") cardRevenueAmount1m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_revenue_amount\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {periodStartDate periodEndDate projectedQuantity}}} cardRevenueAmount3m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_revenue_amount\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {periodStartDate periodEndDate projectedQuantity}}} cardRevenueAmount12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_revenue_amount\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {periodStartDate periodEndDate projectedQuantity}}} cardRevenueGrowth3mRateSa: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_revenue_yoy_growth\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardRevenuePriorPeriodGrowth3m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_revenue_prior_period_growth\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardRevenueYoyGrowth12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_revenue_yoy_growth\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionCount1m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_transactions_count\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionCount3m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_transactions_count\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionCount12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_transactions_count\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionPresence1m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"has_transactions\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionPresence3m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"has_transactions\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionPresence12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"has_transactions\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability12mDailyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_daily_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability12mDaysPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_days_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability12mMonthlyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_monthly_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability12mMonthsPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_months_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability12mWeeklyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_weekly_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability12mWeeksPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_weeks_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability1mDailyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_daily_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability1mDaysPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_days_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability1mMonthlyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_monthly_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability1mMonthsPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_months_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability1mWeeklyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_weekly_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability1mWeeksPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_weeks_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability3mDailyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_daily_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability3mDaysPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_days_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability3mMonthlyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_monthly_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability3mMonthsPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_months_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability3mWeeklyCoverageRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_weekly_coverage\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardTransactionsStability3mWeeksPresent: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_transactions_stability_weeks_present\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} legalEntities(first: 1) {edges {node {legalEntityType: registeredEntities(first: 1 conditions: {filter: {AND: [{NE: [\"registeredEntityType\"]}]}}) {edges {node {registeredEntityType}}} registeredEntities(first: 1) {edges {node {registrations(first: 1) {edges {node {issueDate fileNumber homeJurisdictionState jurisdictionType status}}}}}} ein: tins(first: 1 conditions: {filter: {AND: [{EQ: [\"tinType\", \"EIN\"]}, {NE: [\"tin\"]}, {EQ: [\"tinType\", \"EIN\"]}, {EQ: [\"rank\", \"0\"]}]}}) {edges {node {tin}}}}}} refunds12mRevenueRatioGrowthRate: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"refunds_revenue_ratio_growth_rate\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} refunds3mRevenueRatioGrowthRate: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"refunds_revenue_ratio_growth_rate\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} refunds3mRevenueRatioGrowthRateSa: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"refunds_revenue_ratio_growth_rate_sa\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} formationYear: min(field: \"legalEntities.registeredEntities.formationYear\") totalLocationCount: count(field: \"operatingLocations.id\") totalOpenLocationCount: count(field: \"operatingLocations.id\") cardNotPresentRevenueAmount12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_not_present_revenue_amount\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardNotPresentRevenueRatio: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_not_present_revenue_ratio\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} operatingLocations(first: 1) {edges {node {roles(first: 1) {edges {node {legalEntities(first: 1) {edges {node {persons(first: 1) {edges {node {names(first: 1) {edges {node {firstName lastName}}}}}}}}} jobFunction managementLevel jobTitle}}}}}} averageTransactionSize12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"avg_transaction_size\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} averageTransactionSize1m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"avg_transaction_size\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} averageTransactionSize3m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"avg_transaction_size\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardCustomersAverageDailyCount12m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"12m\"]}, {EQ: [\"quantityType\", \"card_customers_average_daily_count\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardCustomersAverageDailyCount1m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"1m\"]}, {EQ: [\"quantityType\", \"card_customers_average_daily_count\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}} cardCustomersAverageDailyCount3m: cardTransactions(first: 1 conditions: {filter: {AND: [{EQ: [\"period\", \"3m\"]}, {EQ: [\"quantityType\", \"card_customers_average_daily_count\"]}, {EQ: [\"periodEndDate\", \"2025-09-30\"]}, {NOT: [{NE: [\"platformBrandId\"]}]}]}}) {edges {node {projectedQuantity}}}}" } } }, …}