# WriteReplica

> **Class** in `langsmith`

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

Configuration for a write replica endpoint.

## Signature

```python
WriteReplica()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    api_url: Optional[str],
    api_key: NotRequired[str],
    auth: AuthHeaders,
    project_name: Optional[str],
    updates: Optional[dict],
    client: Optional[Client],
)
```

| Name | Type |
|------|------|
| `api_url` | `Optional[str]` |
| `api_key` | `NotRequired[str]` |
| `auth` | `AuthHeaders` |
| `project_name` | `Optional[str]` |
| `updates` | `Optional[dict]` |
| `client` | `Optional[Client]` |


## Properties

- `api_url`
- `api_key`
- `auth`
- `project_name`
- `updates`
- `client`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/687fc8d527a28504432f52bd08c75f2894c209fe/python/langsmith/run_trees.py#L53)