Qu Query

getTemplate

Topics: Scripting Workflows

Fetch a template by ID. Requires template:read permission.

Returns

TemplateState

Arguments

id

TemplateID!Required

Template ID to fetch

Exact field SDL
"""Fetch a template by ID. Requires template:read permission."""
getTemplate(
  """Template ID to fetch"""
  id: TemplateID!
): TemplateState @topic(names: ["workflows", "scripting"])

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