# AsyncLangsmith

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith)

## Signature

```python
AsyncLangsmith(
    self,
    *,
    api_key: str | None = None,
    tenant_id: str | None = None,
    base_url: str | httpx.URL | None = None,
    timeout: float | Timeout | None | NotGiven = not_given,
    max_retries: int = DEFAULT_MAX_RETRIES,
    default_headers: Mapping[str, str] | None = None,
    default_query: Mapping[str, object] | None = None,
    http_client: httpx.AsyncClient | None = None,
    _strict_response_validation: bool = False,
)
```

## Extends

- `AsyncAPIClient`

## Constructors

```python
__init__(
    self,
    *,
    api_key: str | None = None,
    tenant_id: str | None = None,
    base_url: str | httpx.URL | None = None,
    timeout: float | Timeout | None | NotGiven = not_given,
    max_retries: int = DEFAULT_MAX_RETRIES,
    default_headers: Mapping[str, str] | None = None,
    default_query: Mapping[str, object] | None = None,
    http_client: httpx.AsyncClient | None = None,
    _strict_response_validation: bool = False,
) -> None
```

| Name | Type |
|------|------|
| `api_key` | `str \| None` |
| `tenant_id` | `str \| None` |
| `base_url` | `str \| httpx.URL \| None` |
| `timeout` | `float \| Timeout \| None \| NotGiven` |
| `max_retries` | `int` |
| `default_headers` | `Mapping[str, str] \| None` |
| `default_query` | `Mapping[str, object] \| None` |
| `http_client` | `httpx.AsyncClient \| None` |
| `_strict_response_validation` | `bool` |


## Properties

- `api_key`
- `tenant_id`
- `qs`
- `auth_headers`
- `default_headers`
- `with_options`

## Methods

- [`product_feedback()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/product_feedback)
- [`agents()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/agents)
- [`fleet()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/fleet)
- [`sessions()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/sessions)
- [`datasets()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/datasets)
- [`runs()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/runs)
- [`threads()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/threads)
- [`traces()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/traces)
- [`evaluators()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/evaluators)
- [`online_evaluators()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/online_evaluators)
- [`public()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/public)
- [`annotation_queues()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/annotation_queues)
- [`prompt_webhooks()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/prompt_webhooks)
- [`info()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/info)
- [`issues()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/issues)
- [`sandboxes()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/sandboxes)
- [`with_raw_response()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/with_raw_response)
- [`with_streaming_response()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/with_streaming_response)
- [`copy()`](https://reference.langchain.com/python/langsmith/_client/AsyncLangsmith/copy)

---

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