# FileStat

> **Class** in `langsmith`

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

What a ``HEAD`` on a sandbox file reports, without transferring it.

## Signature

```python
FileStat(
    self,
    size_bytes: int,
    etag: Optional[str] = None,
    last_modified: Optional[str] = None,
    content_type: Optional[str] = None,
)
```

## Constructors

```python
__init__(
    self,
    size_bytes: int,
    etag: Optional[str] = None,
    last_modified: Optional[str] = None,
    content_type: Optional[str] = None,
) -> None
```

| Name | Type |
|------|------|
| `size_bytes` | `int` |
| `etag` | `Optional[str]` |
| `last_modified` | `Optional[str]` |
| `content_type` | `Optional[str]` |


## Properties

- `size_bytes`
- `etag`
- `last_modified`
- `content_type`

---

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