---
title: "File"
---

## Fields

| Field                                  | Type                                   | Required                               | Description                            |
| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- |
| `file_data`                            | *Optional[str]*                        | :heavy_minus_sign:                     | File content as base64 data URL or URL |
| `file_id`                              | *Optional[str]*                        | :heavy_minus_sign:                     | File ID for previously uploaded files  |
| `filename`                             | *Optional[str]*                        | :heavy_minus_sign:                     | Original filename                      |