ProductionQu Query

getTask

Topics: Jobs

Fetch a task by ID. Requires task:read permission, except for one's own task (assigned to or claimed by the caller, or unclaimed on one of their teams), which any signed-in user can read.

Returns

TaskState

Arguments

id

TaskID!Required

Task ID to fetch

Exact field SDL
"""
Fetch a task by ID. Requires task:read permission, except for one's own task (assigned to or claimed by the caller, or unclaimed on one of their teams), which any signed-in user can read.
"""
getTask(
  """Task ID to fetch"""
  id: TaskID!
): TaskState @topic(names: ["jobs"])

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