# ThreadStatsParams

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/types/thread_stats_params/ThreadStatsParams)

## Signature

```python
ThreadStatsParams()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    selects: Required[List[Literal['TURNS', 'FIRST_START_TIME', 'LAST_START_TIME', 'LAST_END_TIME', 'LATENCY_P50', 'LATENCY_P99', 'PROMPT_TOKENS', 'PROMPT_COST', 'COMPLETION_TOKENS', 'COMPLETION_COST', 'TOTAL_TOKENS', 'TOTAL_COST', 'PROMPT_TOKEN_DETAILS', 'COMPLETION_TOKEN_DETAILS', 'PROMPT_COST_DETAILS', 'COMPLETION_COST_DETAILS', 'FEEDBACK_STATS']]],
    session_id: Required[str],
    filter: str,
)
```

| Name | Type |
|------|------|
| `selects` | `Required[List[Literal['TURNS', 'FIRST_START_TIME', 'LAST_START_TIME', 'LAST_END_TIME', 'LATENCY_P50', 'LATENCY_P99', 'PROMPT_TOKENS', 'PROMPT_COST', 'COMPLETION_TOKENS', 'COMPLETION_COST', 'TOTAL_TOKENS', 'TOTAL_COST', 'PROMPT_TOKEN_DETAILS', 'COMPLETION_TOKEN_DETAILS', 'PROMPT_COST_DETAILS', 'COMPLETION_COST_DETAILS', 'FEEDBACK_STATS']]]` |
| `session_id` | `Required[str]` |
| `filter` | `str` |


## Properties

- `selects`
- `session_id`
- `filter`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/15468f97c18467d67ececb90b17107b0875e7a65/python/langsmith/_openapi_client/types/thread_stats_params.py#L11)