# SandboxTemplate

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_models/SandboxTemplate)

Represents a SandboxTemplate.

Templates define the image, resource limits, and volume mounts for sandboxes.
All other container details are handled by the server with secure defaults.

## Signature

```python
SandboxTemplate(
    self,
    name: str,
    image: str,
    resources: ResourceSpec,
    volume_mounts: list[VolumeMountSpec] = list(),
    id: Optional[str] = None,
    created_at: Optional[str] = None,
    updated_at: Optional[str] = None,
)
```

## Constructors

```python
__init__(
    self,
    name: str,
    image: str,
    resources: ResourceSpec,
    volume_mounts: list[VolumeMountSpec] = list(),
    id: Optional[str] = None,
    created_at: Optional[str] = None,
    updated_at: Optional[str] = None,
) -> None
```

| Name | Type |
|------|------|
| `name` | `str` |
| `image` | `str` |
| `resources` | `ResourceSpec` |
| `volume_mounts` | `list[VolumeMountSpec]` |
| `id` | `Optional[str]` |
| `created_at` | `Optional[str]` |
| `updated_at` | `Optional[str]` |


## Properties

- `name`
- `image`
- `resources`
- `volume_mounts`
- `id`
- `created_at`
- `updated_at`

## Methods

- [`from_dict()`](https://reference.langchain.com/python/langsmith/sandbox/_models/SandboxTemplate/from_dict)

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19dc497a3d89638e4cc35db72ea1c29cad35cbbf/python/langsmith/sandbox/_models.py#L90)