โ† API reference
Query / scripting

getScriptByName

Fetch a script by name. Requires script:read permission.

Arguments

nameString!

Script name to fetch

Returns ScriptState

Scalar fields at a glance

nameString!
contentString!
createdAtISO8601!
updatedAtISO8601!
โ†— View the complete ScriptState type

Explore in a view

Scripting
View exact SDL
"""Fetch a script by name. Requires script:read permission."""
getScriptByName(
  """Script name to fetch"""
  name: String!
): ScriptState @topic(names: ["scripting"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.