# TracesResource

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/resources/traces/TracesResource)

## Signature

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

## Extends

- `SyncAPIResource`

## Methods

- [`with_raw_response()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/traces/TracesResource/with_raw_response)
- [`with_streaming_response()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/traces/TracesResource/with_streaming_response)
- [`list_runs()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/traces/TracesResource/list_runs)
- [`query()`](https://reference.langchain.com/python/langsmith/_openapi_client/resources/traces/TracesResource/query)

---

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