Skip to content
Console(opens in a new tab)

createList

Saves a new list from a search input and the fields to export.

Intent. This intent is a write. It stores something and returns the stored record.

Saves a new list from a search input and the fields to export. Select fields under search in the payload to set the columns of the list. The account must have a pricing plan and available credits.

createList(input: CreateListInput!): CreateList

Returns CreateList.

A CreateListInput. Its fields, and the part each one belongs to, are on its own page.

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