# ThreadsResource

> **Class** in `langsmith`

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

## Signature

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

## Extends

- `SyncAPIResource`

## Methods

- [`streaming()`](https://reference.langchain.com/python/langsmith/resources/threads/threads/ThreadsResource/streaming)
- [`share()`](https://reference.langchain.com/python/langsmith/resources/threads/threads/ThreadsResource/share)
- [`with_raw_response()`](https://reference.langchain.com/python/langsmith/resources/threads/threads/ThreadsResource/with_raw_response)
- [`with_streaming_response()`](https://reference.langchain.com/python/langsmith/resources/threads/threads/ThreadsResource/with_streaming_response)
- [`aggregate_stats()`](https://reference.langchain.com/python/langsmith/resources/threads/threads/ThreadsResource/aggregate_stats)
- [`list_traces()`](https://reference.langchain.com/python/langsmith/resources/threads/threads/ThreadsResource/list_traces)
- [`query()`](https://reference.langchain.com/python/langsmith/resources/threads/threads/ThreadsResource/query)
- [`stats()`](https://reference.langchain.com/python/langsmith/resources/threads/threads/ThreadsResource/stats)

---

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