← API reference
Mutation / admin

runArchiveJob

Run an archive job immediately, regardless of its schedule or isEnabled flag. Enqueues the work and returns a PENDING ArchiveExecution to poll; the run itself happens asynchronously. Requires an authenticated user and archiveJob:execute permission.

Arguments

TypeID (prefix arj) of the archive job to run now.

Returns RunArchiveJobPayload!

Explore in a view

Administration and IAM
View exact SDL
"""
Run an archive job immediately, regardless of its schedule or isEnabled flag. Enqueues the work and returns a PENDING ArchiveExecution to poll; the run itself happens asynchronously. Requires an authenticated user and archiveJob:execute permission.
"""
runArchiveJob(
  """TypeID (prefix `arj`) of the archive job to run now."""
  id: ArchiveJobID!
): RunArchiveJobPayload! @topic(names: ["admin"])

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