Query / scripting
listLuaSamples
List the platform's Lua sample scripts. Metadata only — fetch source with getLuaSample. Every sample is type-checked and executed by tests. Requires script:read.
Arguments
roleLuaScriptRoleOnly samples for this scripting role (default: all)
tierLuaSampleTierOnly samples of this tier (default: all)
Returns [LuaSampleSummary!]!
Scalar fields at a glance
idString!titleString!descriptionString!roleLuaScriptRole!tierLuaSampleTier!apis[String!]!Explore in a view
View exact SDL
"""
List the platform's Lua sample scripts. Metadata only — fetch source with getLuaSample. Every sample is type-checked and executed by tests. Requires script:read.
"""
listLuaSamples(
"""Only samples for this scripting role (default: all)"""
role: LuaScriptRole
"""Only samples of this tier (default: all)"""
tier: LuaSampleTier
): [LuaSampleSummary!]! @topic(names: ["scripting"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.