# Run

```python
class Run:
    id: str
    project_id: str
    run_config_id: str
    display_name: Optional[str] = None
    metadata: Optional[dict[str, str]] = None
    run_config: Optional[RunConfig] = None

```

## Fields

<table><thead><tr><th width="184">Argument</th><th width="181"></th><th>Description</th></tr></thead><tbody><tr><td><code>id</code></td><td><code>str</code></td><td>The ID of the Run. Run ID starts with the prefix <code>run_</code></td></tr><tr><td><code>project_id</code></td><td><code>str</code></td><td>The ID of the <a href="project">Project</a> this Run is associated with.</td></tr><tr><td><code>run_config_id</code></td><td><code>str</code></td><td>The ID of the <a href="runconfig">RunConfig</a> this Run is associated with. Runs with the same RunConfig can be compared in the UI.</td></tr><tr><td><code>display_name</code></td><td><code>str</code></td><td>An optional display name of the Run.</td></tr><tr><td><code>metadata</code></td><td><code>Dict[str, str]</code></td><td>Any additional key-value pairs information the user wants to track.</td></tr><tr><td><code>run_config</code></td><td><a href="runconfig"><code>RunConfig</code></a></td><td>The <a href="runconfig">RunConfig</a> associated with this Run object.</td></tr></tbody></table>

## Supported Functions

[`dbnl.create_run`](https://docs.dbnl.com/v0.21.x/using-distributional/python-sdk/sdk-functions/run/create_run)

[`dbnl.close_run`](https://docs.dbnl.com/v0.21.x/using-distributional/python-sdk/sdk-functions/run/close_run)

[`dbnl.get_run`](https://docs.dbnl.com/v0.21.x/using-distributional/python-sdk/sdk-functions/run/get_run)

[`dbnl.set_run_as_baseline`](https://docs.dbnl.com/v0.21.x/using-distributional/python-sdk/sdk-functions/baseline/set_run_as_baseline)
