# ApiKeyAuth

> **Class** in `langsmith`

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

API key authentication for write replicas.

## Signature

```python
ApiKeyAuth()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    api_key: str,
)
```

| Name | Type |
|------|------|
| `api_key` | `str` |


## Properties

- `api_key`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/e9d3961c7165d87b6312f379f3a4a477aebb1f97/src/langsmith/run_trees.py#L39)