listWorkCenters
Topics: Jobs
List the tenant's work centers as a paginated connection, with optional filtering and sorting. Requires workCenter:list permission.
Returns
WorkCenterConnection!Arguments
Return the first N work centers after the cursor (forward pagination).
Return the last N work centers before the cursor (backward pagination).
Opaque cursor from a previous page's edge; results start after it.
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.
Exact field 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"])Declared on Query. Access is checked by the platform for each operation.