โ† API reference
Query / surfaces

analyzeWorkspaceSource

Analyze Workspace XML and Lua without saving, executing handlers or querying business data. Requires Workspace authoring permission.

Arguments

sourceXMLString!

Workspace XML source to analyze without saving it.

serverLuaString!

Server Lua source to type-check alongside the XML.

Returns WorkspaceAuthoringAnalysis!

Scalar fields at a glance

languageString!
componentsString!
โ†— View the complete WorkspaceAuthoringAnalysis type

Explore in a view

Journeys and Workspaces
View exact SDL
"""
Analyze Workspace XML and Lua without saving, executing handlers or querying business data. Requires Workspace authoring permission.
"""
analyzeWorkspaceSource(
  """Workspace XML source to analyze without saving it."""
  sourceXML: String!
  """Server Lua source to type-check alongside the XML."""
  serverLua: String!
): WorkspaceAuthoringAnalysis! @topic(names: ["surfaces"])

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