โ† API reference
Query / scripting

listScriptVersions

A script's history, newest first. Requires script:read permission.

Arguments

scriptIdScriptID!

Script whose history to list

firstInt

Number of versions from the start

afterString

Cursor to start after

Returns ScriptVersionConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete ScriptVersionConnection type

Explore in a view

Scripting
View exact SDL
"""A script's history, newest first. Requires script:read permission."""
listScriptVersions(
  """Script whose history to list"""
  scriptId: ScriptID!
  """Number of versions from the start"""
  first: Int
  """Cursor to start after"""
  after: String
): ScriptVersionConnection! @topic(names: ["scripting"])

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