# BaseClient

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/_base_client/BaseClient)

## Signature

```python
BaseClient(
    self,
    *,
    version: str,
    base_url: str | URL,
    _strict_response_validation: bool,
    max_retries: int = DEFAULT_MAX_RETRIES,
    timeout: float | Timeout | None = DEFAULT_TIMEOUT,
    custom_headers: Mapping[str, str] | None = None,
    custom_query: Mapping[str, object] | None = None,
)
```

## Extends

- `Generic[_HttpxClientT, _DefaultStreamT]`

## Constructors

```python
__init__(
    self,
    *,
    version: str,
    base_url: str | URL,
    _strict_response_validation: bool,
    max_retries: int = DEFAULT_MAX_RETRIES,
    timeout: float | Timeout | None = DEFAULT_TIMEOUT,
    custom_headers: Mapping[str, str] | None = None,
    custom_query: Mapping[str, object] | None = None,
) -> None
```

| Name | Type |
|------|------|
| `version` | `str` |
| `base_url` | `str \| URL` |
| `_strict_response_validation` | `bool` |
| `max_retries` | `int` |
| `timeout` | `float \| Timeout \| None` |
| `custom_headers` | `Mapping[str, str] \| None` |
| `custom_query` | `Mapping[str, object] \| None` |


## Properties

- `max_retries`
- `timeout`
- `qs`
- `custom_auth`
- `auth_headers`
- `default_headers`
- `default_query`
- `user_agent`
- `base_url`

## Methods

- [`platform_headers()`](https://reference.langchain.com/python/langsmith/_openapi_client/_base_client/BaseClient/platform_headers)

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/d6cd6082f09e7826a2d6afe444ae6119e61b82a6/python/langsmith/_openapi_client/_base_client.py#L363)