โ† API reference
Query / jobs

listWorkCenters

List the tenant's work centers as a paginated connection, with optional filtering and sorting. Requires workCenter:list permission.

Arguments

firstInt

Return the first N work centers after the cursor (forward pagination).

lastInt

Return the last N work centers before the cursor (backward pagination).

afterString

Opaque cursor from a previous page's edge; results start after it.

beforeString

Opaque cursor from a previous page's edge; results end before it.

Criteria narrowing which work centers are returned; omit for all of them.

Ordering terms. The first term's direction drives keyset pagination (defaults to newest-created first); any further terms are secondary sorts.

Returns WorkCenterConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete WorkCenterConnection type

Explore in a view

Production Floor
View exact SDL
"""
List the tenant's work centers as a paginated connection, with optional filtering and sorting. Requires workCenter:list permission.
"""
listWorkCenters(
  """Return the first N work centers after the cursor (forward pagination)."""
  first: Int
  """
  Return the last N work centers before the cursor (backward pagination).
  """
  last: Int
  """Opaque cursor from a previous page's edge; results start after it."""
  after: String
  """Opaque cursor from a previous page's edge; results end before it."""
  before: String
  """
  Criteria narrowing which work centers are returned; omit for all of them.
  """
  filter: WorkCenterFilterInput
  """
  Ordering terms. The first term's direction drives keyset pagination (defaults to newest-created first); any further terms are secondary sorts.
  """
  sort: [WorkCenterSortInput!]
): WorkCenterConnection! @topic(names: ["jobs"])

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