Manage Controller resource types with CLI

Prev Next

Resource types give Business Entities a stable catalog identity. The Controller owns the catalog; consuming integrations must resolve the same key after synchronization. Do not create per-system synonyms for the same business meaning.

Prerequisites

Use an approved installation and environment, a signed-in Builder CLI, and the specific read or mutation permissions required by the task. Confirm command availability with installed help before copying an example. The example names below are placeholders; choose approved records and record their current state before a write.

Where it lives

The Controller holds the authoritative catalog or identity record. Use the administrator guide to inspect the corresponding portal workflow. Keep a reviewed copy of non-secret change inputs and use your organization’s protected mechanism for credentials.

How to set

  1. Inspect installed help and the existing catalog. Search for the intended business type and read it by key.
  2. Confirm its domain exists in the static domain dimension before creation.
  3. Create the approved type with a stable lowercase hyphenated key and readable name.
  4. Read the resulting definition. Existing-key success can leave an existing definition unchanged.
  5. Export definitions for review or use the documented import shape when seeding an approved environment. Import creates missing entries; it is not a general overwrite or deletion mechanism.
  6. Validate the dependent integration after catalog propagation. Inspect target and sync state before treating an unknown downstream key as a bad Controller definition.

Start with read-only inspection:

aifabrix auth status
aifabrix resource-type --help
aifabrix resource-type list --search customer
aifabrix resource-type get customer

For an explicitly approved change, the following example shows a write followed by readback:

aifabrix resource-type create --key customer --display-name "Customer" --domain sales
aifabrix resource-type get customer
aifabrix resource-type export --file ./resource-types-export.json

Defaults and examples

Supported categories include business, collaboration, governance, content, communication and people. The technical catalog supports lifecycle values draft, active, deprecated and retired, with risk levels low, medium, high and critical. Choose values for the actual business contract rather than copying defaults blindly.

Validate

Repeat the read commands against the same target and compare keys, state and dependent references with the approved change. Record the installed versions, target, safe output summary and time. Do not report a successful write or idempotent response as proof of downstream propagation, effective access or business-process correctness. Where access is involved, verify both intended grants and exclusions in a separately authorized test.

Common mistakes

An unknown domain blocks creation. An invalid key needs correction before references are deployed. The documented CLI family provides create, get, list, import and export; do not infer an unsupported delete command. Review retirement with integration owners and preserve the meaning of existing records.

Limits

These procedures describe the source-reviewed Controller and Builder interfaces as of 30 November 2026. Availability depends on the installed release, permissions and enabled features. Confirm the screen and installed command help before a change; an absent action is not permission to bypass the supported interface. Live access was not tested for this documentation review.

The conceptual background is the related operating model.