> For the complete documentation index, see [llms.txt](https://docs.dbnl.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dbnl.com/v0.21.x/using-distributional/python-sdk/sdk-functions/baseline/get_run_query.md).

# get\_run\_query

```python
dbnl.get_run_query(
    project: Project,
    name: str,
) -> RunQuery:
```

## Parameters

| Arguments | Description                                                                                                                                                                            |
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project` | The dbnl [Project](/v0.21.x/using-distributional/python-sdk/sdk-objects/project.md)this [RunQuery](/v0.21.x/using-distributional/python-sdk/sdk-objects/runquery.md)is associated with |
| `name`    | Name of the Run Query.                                                                                                                                                                 |

## Returns

| Type                                                                         | Description                                                                                                                                                        |
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [RunQuery](/v0.21.x/using-distributional/python-sdk/sdk-objects/runquery.md) | The dbnl RunQuery, typically used for finding a [Dynamic Baseline](/v0.21.x/using-distributional/testing/production-testing/dynamic-baseline.md)for a Test Session |

## Example

```python
query = dbnl.get_run_query(
  project=project,
  name="look back 3"
)
```
