Appearance
CapabilityState
Type: Object
A capability that a work center can perform
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| code | String! | 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. | ||
| constraintSchema | [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. | ||
| createdAt | ISO8601! | ISO-8601 timestamp of when the capability record was created. Also the default sort key and the keyset-cursor sort value for listCapabilities. | ||
| description | String | Free-text explanation of what the capability covers. Null when none was supplied. | ||
| id | CapabilityID! | TypeID of the capability (prefix "cpb", e.g. "cpb_01K…"). | ||
| name | String! | Human-readable name shown in the UI (e.g. "Offset Printing (Sheet-fed)"). Never empty. | ||
| tenantId | TenantID | 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. | ||
| updatedAt | ISO8601! | ISO-8601 timestamp of the last successful write to this capability. |