โ† API reference
Query / jobs

getCapability

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

Arguments

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

Returns CapabilityState

Scalar fields at a glance

tenantIdTenantID
codeString!
nameString!
descriptionString
constraintSchema[String!]
โ†— View the complete CapabilityState type

Explore in a view

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

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