# ThreadsResource

> **Class** in `langsmith`

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

## Signature

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

## Extends

- `SyncAPIResource`

## Methods

- [`with_raw_response()`](https://reference.langchain.com/python/langsmith/resources/fleet/threads/ThreadsResource/with_raw_response)
- [`with_streaming_response()`](https://reference.langchain.com/python/langsmith/resources/fleet/threads/ThreadsResource/with_streaming_response)
- [`activate_sandbox()`](https://reference.langchain.com/python/langsmith/resources/fleet/threads/ThreadsResource/activate_sandbox)

---

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