AutomationQu Query

listTemplates

Topics: Scripting Workflows

List templates with pagination and filtering. Requires template:list permission.

Returns

TemplateConnection!

Arguments

first

IntOptional

Number of items from the start

last

IntOptional

Number of items from the end

after

StringOptional

Cursor to start after

before

StringOptional

Cursor to start before

Filter criteria

Sort order

Exact field SDL
"""
List templates with pagination and filtering. Requires template:list permission.
"""
listTemplates(
  """Number of items from the start"""
  first: Int
  """Number of items from the end"""
  last: Int
  """Cursor to start after"""
  after: String
  """Cursor to start before"""
  before: String
  """Filter criteria"""
  filter: TemplateFilterInput
  """Sort order"""
  sort: [TemplateSortInput!]
): TemplateConnection! @topic(names: ["workflows", "scripting"])

Declared on Query. Access is checked by the platform for each operation.