# ThreadTrace

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/types/thread_trace/ThreadTrace)

## Signature

```python
ThreadTrace()
```

## Extends

- `BaseModel`

## Properties

- `completion_cost`
- `completion_cost_details`
- `completion_token_details`
- `completion_tokens`
- `end_time`
- `error`
- `error_preview`
- `first_token_time`
- `inputs`
- `inputs_preview`
- `latency`
- `name`
- `op`
- `outputs`
- `outputs_preview`
- `prompt_cost`
- `prompt_cost_details`
- `prompt_token_details`
- `prompt_tokens`
- `start_time`
- `thread_id`
- `total_cost`
- `total_tokens`
- `trace_id`
- `turn_number`

---

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