โ† API reference
Query / jobs

getExistingCapability

Read an existing capability reference by identity. Returns null if not visible. Requires capability:read.

Arguments

Identity of a capability visible to the caller.

Returns ExistingCapability

Scalar fields at a glance

codeString!
nameString!
โ†— View the complete ExistingCapability type

Explore in a view

Production Floor
View exact SDL
"""
Read an existing capability reference by identity. Returns null if not visible. Requires capability:read.
"""
getExistingCapability(
  """Identity of a capability visible to the caller."""
  id: CapabilityID!
): ExistingCapability @topic(names: ["jobs"])

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