***

title: get_config
slug: /reference/python/agents/configuration/config-loader/get-config
description: Get the raw configuration dictionary before environment variable substitution.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Get the raw configuration dictionary before environment variable substitution.

## **Returns**

`dict[str, Any]` -- The raw config, or an empty dict if no config is loaded.

## **Example**

```python {4}
from signalwire.core.config_loader import ConfigLoader

loader = ConfigLoader(["config.json"])
raw = loader.get_config()

print(raw)
# {"server": {"port": 3000}, "security": {"ssl_enabled": "${SWML_SSL_ENABLED|false}"}}
```