# FileData

> **Class** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/backends/protocol/FileData)

Data structure for storing file contents with metadata.

## Signature

```python
FileData()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    content: str,
    encoding: str,
    created_at: NotRequired[str],
    modified_at: NotRequired[str],
)
```

| Name | Type |
|------|------|
| `content` | `str` |
| `encoding` | `str` |
| `created_at` | `NotRequired[str]` |
| `modified_at` | `NotRequired[str]` |


## Properties

- `content`
- `encoding`
- `created_at`
- `modified_at`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/bb27e62ebe44dd6e8104a504b1718ce87acc7ffa/libs/deepagents/deepagents/backends/protocol.py#L148)