← API reference
CANONICAL TYPE REFERENCE

CapabilityState

A capability that a work center can perform

TypeID of the capability (prefix "cpb", e.g. "cpb_01K…").

TypeID of the tenant that owns this capability (prefix "ten"). Null on shared capabilities that are not tenant-scoped: those are readable by every tenant but cannot be deleted through this API.

codeString!

Stable machine-readable identifier for the capability, unique per tenant (e.g. "PRINT_OFFSET_SHEETFED"). Matches ^[A-Z][A-Z0-9_]{0,63}$. Work centers and inference reference capabilities by code.

nameString!

Human-readable name shown in the UI (e.g. "Offset Printing (Sheet-fed)"). Never empty.

Free-text explanation of what the capability covers. Null when none was supplied.

Constraint discriminants a work center may set when it declares this capability (e.g. "maxSubstrateDimensions", "colorCapacity", "supports:duplex"). Each entry's prefix — the part before the first colon — must be a known CapabilityConstraint discriminant. Null means the capability takes no constraints.

ISO-8601 timestamp of when the capability record was created. Also the default sort key and the keyset-cursor sort value for listCapabilities.

ISO-8601 timestamp of the last successful write to this capability.

View exact SDL
"""A capability that a work center can perform"""
type CapabilityState @iac_resource(name: "capability") @iac_ops(create: "createCapability", read: "getCapability", update: "updateCapability", delete: "deleteCapability") {
  """TypeID of the capability (prefix "cpb", e.g. "cpb_01K…")."""
  id: CapabilityID! @iac_identity(assignedBy: SERVER) @iac_computed
  """
  TypeID of the tenant that owns this capability (prefix "ten"). Null on shared capabilities that are not tenant-scoped: those are readable by every tenant but cannot be deleted through this API.
  """
  tenantId: TenantID @iac_computed
  """
  Stable machine-readable identifier for the capability, unique per tenant (e.g. "PRINT_OFFSET_SHEETFED"). Matches ^[A-Z][A-Z0-9_]{0,63}$. Work centers and inference reference capabilities by code.
  """
  code: String!
  """
  Human-readable name shown in the UI (e.g. "Offset Printing (Sheet-fed)"). Never empty.
  """
  name: String!
  """
  Free-text explanation of what the capability covers. Null when none was supplied.
  """
  description: String
  """
  Constraint discriminants a work center may set when it declares this capability (e.g. "maxSubstrateDimensions", "colorCapacity", "supports:duplex"). Each entry's prefix — the part before the first colon — must be a known CapabilityConstraint discriminant. Null means the capability takes no constraints.
  """
  constraintSchema: [String!]
  """
  ISO-8601 timestamp of when the capability record was created. Also the default sort key and the keyset-cursor sort value for listCapabilities.
  """
  createdAt: ISO8601! @iac_computed
  """ISO-8601 timestamp of the last successful write to this capability."""
  updatedAt: ISO8601! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.