bt switch saves your active Braintrust profile, organization, and project context. Commands use that saved context unless you override it with flags or environment variables.
bt switch prompts you to choose a compatible profile, organization, and project.
Arguments
Flags
When you run
bt switch without a target and a .bt/config.json exists in the current directory or a parent directory, the command prompts you to save the context locally or globally. Otherwise, it saves the context globally. When you provide a target, use --local to save it to the nearest .bt/config.json instead of the global config.