ProductionQu Query

getTaskEvents

Topics: Jobs

Fetch the audit trail for a task, paginated. Requires task:read permission.

Returns

TaskEventConnection!

Arguments

taskId

TaskID!Required

Task ID to fetch events for

first

IntOptional

Number of items from the start

after

StringOptional

Cursor to start after

Exact field SDL
"""
Fetch the audit trail for a task, paginated. Requires task:read permission.
"""
getTaskEvents(
  """Task ID to fetch events for"""
  taskId: TaskID!
  """Number of items from the start"""
  first: Int
  """Cursor to start after"""
  after: String
): TaskEventConnection! @topic(names: ["jobs"])

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