> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/more-in-this-section-9/config.md).

# layerlens config

layerlens config — multi-profile, env, output format.

Config lives at `~/.layerlens/config.toml`:

```toml
[profile.default]
api_key = "ll_..."
base_url = "https://stratix.layerlens.ai/api/v1"

[profile.production]
api_key = "ll_prod_..."
```

## Commands

```bash
layerlens config show
layerlens config set api_key=ll_... --profile production
layerlens config use production
```

## Output format

Global flag: `--output json|yaml|table`

## See also

* [login](/more-in-this-section-9/login.md)
