โ† API reference
Query / jobs

getTaskEvents

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

Arguments

taskIdTaskID!

Task ID to fetch events for

firstInt

Number of items from the start

afterString

Cursor to start after

Returns TaskEventConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete TaskEventConnection type

Explore in a view

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

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