# DatasetsResource

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/resources/datasets/datasets/DatasetsResource)

## Signature

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

## Extends

- `SyncAPIResource`

## Methods

- [`examples()`](https://reference.langchain.com/python/langsmith/resources/datasets/datasets/DatasetsResource/examples)
- [`experiment_runs()`](https://reference.langchain.com/python/langsmith/resources/datasets/datasets/DatasetsResource/experiment_runs)
- [`with_raw_response()`](https://reference.langchain.com/python/langsmith/resources/datasets/datasets/DatasetsResource/with_raw_response)
- [`with_streaming_response()`](https://reference.langchain.com/python/langsmith/resources/datasets/datasets/DatasetsResource/with_streaming_response)

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/resources/datasets/datasets.py#L27)