Profiles¶
A profile selects the API, sign-in and documentation endpoints a command talks
to. prod is the default and the only lane reachable from the internet.
fgai profiles list
fgai profiles show prod
fgai profiles show prod --json
fgai profiles show prod-cn --json
Profile |
Endpoint |
Use it for |
|---|---|---|
|
|
Everything. The FlexGalaxy.AI service, Tokyo region. This is the default. |
|
— |
Reserved for the China region. Not deployed; fails closed before any network request. |
You rarely need --profile at all: omit it and commands use prod. Pass it
explicitly in scripts, where being explicit is worth the characters:
fgai org directory --profile prod --json
Region¶
Every profile carries the region its credentials are scoped to — prod is
ap-northeast-1. Access-key signatures are region-bound, so a credential issued
for one region does not verify against another.
Renamed and retired profile names¶
Two different things happen to names that are no longer current, and the CLI treats them differently on purpose.
Renamed — there is somewhere to go. prod-intl became prod. A command that
names it is rejected outright and says what to use instead — running
fgai profiles show prod-intl answers fgai profiles show: profile "prod-intl" is deprecated; use "prod". It is written here as prose, not as a shell block,
because it is an example of what is REJECTED: fgai profiles show prod-intl is
not a command to copy.
A stored credential that still records a renamed name is not rejected: the
CLI resolves it to the current name, tells you it did, and continues. Make it
permanent by re-running fgai configure with --profile prod; see
Troubleshooting.
Retired — there is nowhere to go. Some earlier names selected a workstation
lane that was withdrawn on 2026-09-14 with no successor. A command that names one
is refused, and a stored credential recording one is refused too — the CLI
will not silently repoint your credential at a lane you never configured. The
refusal names the profile you gave it and the remedy
(fgai configure --profile prod), so you never have to look the name up here.