Skip to content
Console(opens in a new tab)

CreateList

Fields of CreateList 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.

No connection leads here from a primary entity.

Field Type Description
list List The new list.
search SearchUnion The selection that sets the attributes of each record in the list. The API saves this selection as searchInput.query. It does not return data in this field.

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 } } }
}
}
}
}