ProductionQu Query

listCapabilities

Topics: Jobs

List the capabilities visible to the caller's tenant — the tenant's own capabilities plus any non-tenant-scoped ones. Requires capability:list permission.

Returns

CapabilityConnection!

Arguments

first

IntOptional

Forward page size: maximum edges to return after the after cursor. Defaults to 25, may not exceed 100, and cannot be combined with last.

last

IntOptional

Backward page size: maximum edges to return before the before cursor. Defaults to 25, may not exceed 100, and cannot be combined with first.

after

StringOptional

Opaque cursor from a previous edge; pages forward from just after it in the requested sort order. Cannot be combined with before.

before

StringOptional

Opaque cursor from a previous edge; pages backward from just before it in the requested sort order. Cannot be combined with after.

Predicates narrowing the result set. Omit to list every visible capability.

Ordering terms. Only the first term is applied, and both its field and direction are honoured. Defaults to createdAt descending.

Exact field SDL
"""
List the capabilities visible to the caller's tenant — the tenant's own capabilities plus any non-tenant-scoped ones. Requires capability:list permission.
"""
listCapabilities(
  """
  Forward page size: maximum edges to return after the after cursor. Defaults to 25, may not exceed 100, and cannot be combined with last.
  """
  first: Int
  """
  Backward page size: maximum edges to return before the before cursor. Defaults to 25, may not exceed 100, and cannot be combined with first.
  """
  last: Int
  """
  Opaque cursor from a previous edge; pages forward from just after it in the requested sort order. Cannot be combined with before.
  """
  after: String
  """
  Opaque cursor from a previous edge; pages backward from just before it in the requested sort order. Cannot be combined with after.
  """
  before: String
  """
  Predicates narrowing the result set. Omit to list every visible capability.
  """
  filter: CapabilityFilterInput
  """
  Ordering terms. Only the first term is applied, and both its field and direction are honoured. Defaults to createdAt descending.
  """
  sort: [CapabilitySortInput!]
): CapabilityConnection! @topic(names: ["jobs"])

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