← API reference
Mutation / surfaces

createWorkspace

Create a new workspace. PERSONAL is self-service; TEAM/INSTANCE require workspace:write.

Arguments

The definition for the new workspace plus optional scope / team assignments.

Returns WorkspacePayload!

Explore in a view

Journeys and Workspaces
View exact SDL
"""
Create a new workspace. PERSONAL is self-service; TEAM/INSTANCE require workspace:write.
"""
createWorkspace(
  """
  The definition for the new workspace plus optional scope / team assignments.
  """
  input: CreateWorkspaceInput!
): WorkspacePayload! @topic(names: ["surfaces"])

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