# RunsResource

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/resources/runs/RunsResource)

## Signature

```python
RunsResource(
    self,
    client: Langsmith,
)
```

## Extends

- `SyncAPIResource`

## Properties

- `retrieve`
- `query`

## Methods

- [`with_raw_response()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/runs/RunsResource/with_raw_response)
- [`with_streaming_response()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/runs/RunsResource/with_streaming_response)
- [`query_v2()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/runs/RunsResource/query_v2)
- [`retrieve_v2()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/runs/RunsResource/retrieve_v2)

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/d6cd6082f09e7826a2d6afe444ae6119e61b82a6/python/langsmith/_openapi_client/resources/runs.py#L29)