Skip to main content

Configuration

The Chamber CLI stores configuration and credentials in ~/.chamber/.

Configuration Files

FilePurpose
~/.chamber/config.jsonCLI settings (API URL, organization ID, default registry)
~/.chamber/token.jsonAuthentication credentials
~/.chamber/chat_historyAI chat readline history (up to 500 entries)
The token.json file contains sensitive credentials. It’s created with 0600 permissions (owner read/write only). Do not share or commit this file.

Settings

Organization ID

Set your default organization for API requests:
Most commands require an organization context. Setting this avoids having to specify it on every command.
Find your organization ID in the Chamber Dashboard under Settings > Organization.

API URL

By default, the CLI connects to https://api.usechamber.io/v1. Override this for development or private deployments:

Default Registry

Set your container registry for the chamber run command to avoid specifying it on every run:
When using ECR, chamber run automatically authenticates using your AWS CLI credentials and creates the repository if it doesn’t exist.

View Configuration

See all current settings:
Output:
Get a specific value:

Environment Variables

You can override configuration using environment variables:
VariableDescription
CHAMBER_API_URLOverride API URL
CHAMBER_ORG_IDOverride organization ID
CHAMBER_TOKENOverride authentication token
CHAMBER_DEBUGSet to 1 for verbose API logging
Example:

Multiple Profiles

For working with multiple organizations or environments, you can use shell aliases:
Usage:

Reset Configuration

To reset all configuration and credentials:
Then re-authenticate:

Troubleshooting

”Not logged in” error

Your token may have expired or been deleted. Re-authenticate:

“No organization configured” error

Set your organization:

Check your setup

Verify everything is configured correctly:
Early Access — The Chamber CLI is currently in early access. Contact support@usechamber.io to get started.