# 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-sdk/blob/3f9fe09d8e0698d65aa8bb63ac3316dfcb2ca947/python/langsmith/run_trees.py#L31)