# 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/6a74bf5af9e542d8065af8edca54b2448f430916/python/langsmith/run_trees.py#L30)