> ## Documentation Index
> Fetch the complete documentation index at: https://mulerouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# mulerouter config

> Show the active configuration and setup help

`config` is a diagnostic command. It prints the configuration the CLI has
resolved from the environment, the `.env` file, and any defaults. It never
makes a network call and never reveals your full API key.

## Synopsis

```bash theme={null}
mulerouter config
```

The command takes no flags.

## Output

When configuration is found:

```
Current Configuration:
  API Key:    sk-1..fd
  Base URL:   https://api.mulerouter.ai
  Timeout:    120000ms
  Max Retries: 3
```

When no API key can be located:

```
No configuration found.
```

The setup help that follows mirrors the [Configuration](/docs/cli/configuration)
page — environment variables, `.env` file, and CLI overrides.

The API key is masked as `<first 4>..<last 2>`.

## When to use it

* Sanity-check a fresh install.
* Confirm whether `.env` is being loaded from the directory you're in (`cd`
  somewhere else and the answer may change).
* Debug "wrong host" issues — the printed `Base URL` is exactly what the CLI
  will call.

## See also

* [Configuration](/docs/cli/configuration) — the full resolution order
