← API reference
Query / jobs

listCapabilities

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

Arguments

firstInt

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

lastInt

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

afterString

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

beforeString

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.

Returns CapabilityConnection!

Scalar fields at a glance

totalCountInt
↗ View the complete CapabilityConnection type

Explore in a view

Production Floor
View exact 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"])

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