getWorkspace

Topics: Surfaces

Fetch a single workspace by ID, if the caller may see it.

Returns

Workspace

Arguments

id

WorkspaceID!Required

TypeID of the workspace to fetch (prefix wks). Returns null when it does not exist or the caller may not see it.

Exact field SDL
"""Fetch a single workspace by ID, if the caller may see it."""
getWorkspace(
  """
  TypeID of the workspace to fetch (prefix `wks`). Returns null when it does not exist or the caller may not see it.
  """
  id: WorkspaceID!
): Workspace @topic(names: ["surfaces"])

Declared on Query. Access is checked by the platform for each operation.