โ† API reference
Query / jobs

getCapabilityByCode

Resolve an existing capability by code. A tenant-owned definition takes precedence over a shared definition, matching inference. Ambiguous definitions fail; missing codes return null. Read-only; requires capability:read.

Arguments

codeString!

Exact, case-sensitive capability code.

Returns ExistingCapability

Scalar fields at a glance

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

Explore in a view

Production Floor
View exact SDL
"""
Resolve an existing capability by code. A tenant-owned definition takes precedence over a shared definition, matching inference. Ambiguous definitions fail; missing codes return null. Read-only; requires capability:read.
"""
getCapabilityByCode(
  """Exact, case-sensitive capability code."""
  code: String!
): ExistingCapability @topic(names: ["jobs"])

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