← API reference
Mutation / surfaces

createWorkspaceVersion

Create a new draft version of a workspace. Always mints a new version rather than amending an open draft, so several drafts may be open at once. Owner for PERSONAL, else workspace:write.

Arguments

The workspace to extend and the definition for its new draft.

Returns WorkspaceVersionPayload!

Explore in a view

Journeys and Workspaces
View exact SDL
"""
Create a new draft version of a workspace. Always mints a new version rather than amending an open draft, so several drafts may be open at once. Owner for PERSONAL, else workspace:write.
"""
createWorkspaceVersion(
  """The workspace to extend and the definition for its new draft."""
  input: CreateWorkspaceVersionInput!
): WorkspaceVersionPayload! @topic(names: ["surfaces"])

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