← API reference
Query / admin

listArchiveJobs

List the tenant's archive jobs as a cursor-paginated connection, filtered and sorted in the database. Requires archiveJob:list permission.

Arguments

firstInt

Number of items from the start of the page. Defaults to 100; values above 100 are rejected.

afterString

Cursor to start after — an ArchiveJobEdge.cursor value from a previous page. Resumes the listing at the row following that cursor, under the same filter and sort.

Optional name / slug / isEnabled filters. Omit to list every archive job in the tenant.

Ordering rules; only the first is applied. Omit to order by creation time, newest first.

Returns ArchiveJobConnection!

Scalar fields at a glance

totalCountInt
↗ View the complete ArchiveJobConnection type

Explore in a view

Administration and IAM
View exact SDL
"""
List the tenant's archive jobs as a cursor-paginated connection, filtered and sorted in the database. Requires archiveJob:list permission.
"""
listArchiveJobs(
  """
  Number of items from the start of the page. Defaults to 100; values above 100 are rejected.
  """
  first: Int
  """
  Cursor to start after — an `ArchiveJobEdge.cursor` value from a previous page. Resumes the listing at the row following that cursor, under the same `filter` and `sort`.
  """
  after: String
  """
  Optional name / slug / isEnabled filters. Omit to list every archive job in the tenant.
  """
  filter: ArchiveJobFilterInput
  """
  Ordering rules; only the first is applied. Omit to order by creation time, newest first.
  """
  sort: [ArchiveJobSortInput!]
): ArchiveJobConnection! @topic(names: ["admin"])

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