Query / workflows · scripting
getTemplateByHandle
Fetch a template by handle. Requires template:read permission.
Arguments
handleString!Template handle to fetch
Returns TemplateState
Scalar fields at a glance
idTemplateID!handleString!kindTemplateKind!contentString!descriptionStringcurrentVersionIdTemplateVersionIDExplore in a view
View exact SDL
"""Fetch a template by handle. Requires template:read permission."""
getTemplateByHandle(
"""Template handle to fetch"""
handle: String!
): TemplateState @topic(names: ["workflows", "scripting"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.