# RunQuery

```python
class RunQuery(DBNLObject):
    id: str
    project_id: str
    name: str
    query: dict[str, Any]
```

## 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 RunQuery is associated with.</td></tr><tr><td><code>name</code></td><td><code>str</code></td><td>The name of the RunQuery.</td></tr><tr><td><code>query</code></td><td><code>dict[str, Any]</code></td><td> The dbnl RunQuery, typically used for finding a <a data-mention href="../../testing/production-testing/dynamic-baseline">dynamic-baseline</a>for a Test Session</td></tr></tbody></table>

## Supported Functions

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

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

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