← API reference
Mutation / surfaces

createWorkspaceVersionSnapshot

Create an immutable source snapshot for reviewed publication. Parent edits create another draft instead of changing this version. Uses native Workspace authorization and validation.

Arguments

Parent workspace and reviewed source snapshot to persist as a new immutable draft version.

Returns WorkspaceVersionPayload!

Explore in a view

Journeys and Workspaces
View exact SDL
"""
Create an immutable source snapshot for reviewed publication. Parent edits create another draft instead of changing this version. Uses native Workspace authorization and validation.
"""
createWorkspaceVersionSnapshot(
  """
  Parent workspace and reviewed source snapshot to persist as a new immutable draft version.
  """
  input: CreateWorkspaceVersionInput!
): WorkspaceVersionPayload! @topic(names: ["surfaces"])

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