# get\_run\_config

<pre class="language-python"><code class="lang-python">dbnl.get_run_config(
    *,
    run_config_id: str,
) -> <a data-footnote-ref href="#user-content-fn-1">RunConfig</a>:
</code></pre>

## Parameters

<table><thead><tr><th width="274">Arguments</th><th>Description</th></tr></thead><tbody><tr><td><code>run_config_id</code></td><td>The ID of the dbnl <a href="../../sdk-objects/runconfig">RunConfig</a>. RunConfig ID starts with the prefix <code>runcfg_</code> . Run ID can be found at the Run detail page or Project detail page. An error will be raised if there does not exist a RunConfig with the given <code>run_config_id</code>.</td></tr></tbody></table>

## Returns

| Type                                                                                             | Description                           |
| ------------------------------------------------------------------------------------------------ | ------------------------------------- |
| [RunConfig](https://docs.dbnl.com/v0.20.x/using-distributional/python-sdk/sdk-objects/runconfig) | The dbnl RunConfig with the given ID. |

## Examples

```python
import dbnl
dbnl.login()


proj1 = dbnl.get_or_create_project(name="test_p1")
runcfg1 = dbnl.create_run_config(project=proj1, columns=[{"name": "error", "type": "float"}])

# Retrieving the RunConfig by ID
runcfg2 = dbnl.get_run_config(run_config_id=runcfg1.id)
assert runcfg1.id == runcfg2.id

# DBNLRunConfigNotFoundError: A DBNL RunConfig with id not_exist does not exist
run_config3 = dbnl.get_run_config(run_config_id="runcfg_not_exist")

```

[^1]: [RunConfig](https://docs.dbnl.com/v0.20.x/using-distributional/python-sdk/sdk-objects/runconfig)
