# AccessDelegation

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/types/sandboxes/box_create_params/AccessDelegation)

AccessDelegation lets code inside the sandbox call the LangSmith API as you, with at most the permissions granted here. Omit for no access.

## Signature

```python
AccessDelegation()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    mode: Required[Literal['INHERIT', 'EXPLICIT']],
    permissions: SequenceNotStr[str],
)
```

| Name | Type |
|------|------|
| `mode` | `Required[Literal['INHERIT', 'EXPLICIT']]` |
| `permissions` | `SequenceNotStr[str]` |


## Properties

- `mode`
- `permissions`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/types/sandboxes/box_create_params.py#L128)