listWorkspaces

Topics: Surfaces

List the caller's visible workspace library (own personal + their teams' + instance).

Returns

WorkspaceConnection!

Arguments

first

IntOptional

Page size, 0 to 100 (default 25). A value outside that range returns a PAGE_SIZE_NEGATIVE or PAGE_SIZE_EXCEEDED error.

after

StringOptional

Cursor from a previous page's endCursor; results resume after it. An unresolvable cursor is ignored and the first page is returned.

Optional criteria (handle, computed status) narrowing the visible workspaces.

Ordering terms; only the first is applied. Defaults to UPDATED_AT / DESC.

Exact field SDL
"""
List the caller's visible workspace library (own personal + their teams' + instance).
"""
listWorkspaces(
  """
  Page size, 0 to 100 (default 25). A value outside that range returns a PAGE_SIZE_NEGATIVE or PAGE_SIZE_EXCEEDED error.
  """
  first: Int
  """
  Cursor from a previous page's `endCursor`; results resume after it. An unresolvable cursor is ignored and the first page is returned.
  """
  after: String
  """
  Optional criteria (handle, computed status) narrowing the visible workspaces.
  """
  filter: WorkspaceFilterInput
  """
  Ordering terms; only the first is applied. Defaults to UPDATED_AT / DESC.
  """
  sort: [WorkspaceSortInput!]
): WorkspaceConnection! @topic(names: ["surfaces"])

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