ProductionQu Query

getCapability

Topics: Jobs

Fetch a single capability by id, scoped to the caller's tenant. Null when no visible capability has that id. Requires capability:read permission.

Returns

CapabilityState

Arguments

TypeID (prefix "cpb") of the capability to fetch.

Exact field SDL
"""
Fetch a single capability by id, scoped to the caller's tenant. Null when no visible capability has that id. Requires capability:read permission.
"""
getCapability(
  """TypeID (prefix "cpb") of the capability to fetch."""
  id: CapabilityID!
): CapabilityState @topic(names: ["jobs"])

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