# ThreadsSearch

> **Class** in `langgraph_sdk`

📖 [View in docs](https://reference.langchain.com/python/langgraph-sdk/auth/types/ThreadsSearch)

Parameters for searching threads.

Called for searches to threads or runs.

## Signature

```python
ThreadsSearch()
```

## Extends

- `typing.TypedDict`

## Constructors

```python
__init__(
    metadata: MetadataInput,
    values: MetadataInput,
    status: ThreadStatus | None,
    limit: int,
    offset: int,
    ids: Sequence[UUID] | None,
    thread_id: UUID | None,
)
```

| Name | Type |
|------|------|
| `metadata` | `MetadataInput` |
| `values` | `MetadataInput` |
| `status` | `ThreadStatus \| None` |
| `limit` | `int` |
| `offset` | `int` |
| `ids` | `Sequence[UUID] \| None` |
| `thread_id` | `UUID \| None` |


## Properties

- `metadata`
- `values`
- `status`
- `limit`
- `offset`
- `ids`
- `thread_id`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/d27d4b2d9895a4aa83170b4aaa135878f99c7fd6/libs/sdk-py/langgraph_sdk/auth/types.py#L515)