TrustMint commands¶
fgai manages TrustMint devices and their data through the same public capability APIs used by the
TrustMint API reference. Each command group maps to one
public /<capability>/v1/... surface; per-command authorization is decided by the platform.
Run fgai <group> --help to list every verb in a group — the list is generated from the installed
CLI, so it always matches what your version can do.
Command groups¶
Group |
What it manages |
|---|---|
|
Device provisioning, registrars, enrollment & identity (ThingMake) |
|
Vendor / device-model / software registry (ThingMake) |
|
Thing repositories, scopes & access grants (ThingHub) |
|
Device attribute buckets — server / shared / client (ThingIO) |
|
Device telemetry query (ThingIO) |
|
Device twin read + desired-state set (ThingIO) |
|
Rule authoring — threshold / windowed rules (ThingLogic) |
|
Pipeline DAG authoring & lifecycle (ThingLogic) |
|
Alarm lifecycle — open / ack / resolve (ThingLogic) |
|
Data-sink registry — persistence / notification / forward (ThingBand) |
|
Ingest connect adapters + data streams (ThingFeed) |
|
Virtual-device fleets & runs (ThingLab) |
|
Public PKI discovery — JWKS, CA chain (no credential needed) |
Examples¶
# Public discovery — no credential required
fgai pki jwks
# List thing repositories (needs an authenticated profile)
fgai access repositories-list --json
# Get one device twin
fgai twins get --thing <thing-id> --json
# Create a rule from a JSON body
fgai rules create --body-file rule.json
Every call uses a documented public capability route at api.flexgalaxy.ai, honours the active
profile and authentication mode, and prints JSON. TrustMint’s platform-admin, browser-only surfaces
(Arsenal, DeckLoad) are intentionally not exposed on the CLI.