# ThreadTrace

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/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-sdk/blob/3114edff2f41e5989724f27c0b37d3f69c6f198c/python/langsmith/_openapi_client/types/thread_trace.py#L47)