# 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],
)
```

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


## Properties

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

---

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