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

prod

https://api.flexgalaxy.ai

Everything. The FlexGalaxy.AI service, Tokyo region. This is the default.

dev

http://api.dev.fgai.test

A workstation lane on the non-routable fgai.test test domain. Nothing outside that workstation can reach it.

prod-cn

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.

Retired profile names

dev-intl became dev and prod-intl became prod. A command that names a retired profile is rejected outright, and says what to use instead:

$ fgai profiles show prod-intl
fgai profiles show: profile "prod-intl" is deprecated; use "prod"

A stored credential that still records a retired 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.