← API reference
CANONICAL TYPE REFERENCE

WorkspaceSortField

Field a listWorkspaces result is ordered by. Defaults to UPDATED_AT (descending).

HANDLE

Order by the tenant-unique handle, giving a stable alphabetical listing — the handle is derived from the definition's id, so it does not move as the workspace is edited.

CREATED_AT

Order by when the workspace record was first created, i.e. when its first version was authored; not the creation time of any individual version.

UPDATED_AT

Order by the last change to the workspace record — a new or edited draft, a publish, or a scope or team-assignment change. The default when no sort term is given, newest first.

View exact SDL
"""
Field a `listWorkspaces` result is ordered by. Defaults to UPDATED_AT (descending).
"""
enum WorkspaceSortField {
  """
  Order by the tenant-unique handle, giving a stable alphabetical listing — the handle is derived from the definition's id, so it does not move as the workspace is edited.
  """
  HANDLE
  """
  Order by when the workspace record was first created, i.e. when its first version was authored; not the creation time of any individual version.
  """
  CREATED_AT
  """
  Order by the last change to the workspace record — a new or edited draft, a publish, or a scope or team-assignment change. The default when no sort term is given, newest first.
  """
  UPDATED_AT
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.