> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# Objects

> Every object and enum the File uploads tools accept.

## Model tree

<div className="model-tree"><div className="model-tree-scroll"><div className="tree-node"><a href="#fileuploadcreatebody">FileUploadCreateBody</a></div></div></div>

## FileUploadCreateBody

The body of a create-file-upload request.

<div className="reference-table">
  | Field           | Type                                              | Description                                                                                                                                                                                           |
  | --------------- | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `mode`          | `"single_part" \| "multi_part" \| "external_url"` | How the file arrives. `single_part` when absent: the bytes are sent in one follow-up request. `multi_part` for files over 20 MiB. `external_url` imports from a public HTTPS URL with no upload step. |
  | `filename`      | `string`                                          | The name of the file. Required for `multi_part` and `external_url`. Include an extension, or give `content_type` so one can be inferred.                                                              |
  | `contentType`   | `string`                                          | The MIME type of the file. It must match the bytes and any extension on `filename`.                                                                                                                   |
  | `numberOfParts` | `integer`                                         | How many parts a `multi_part` upload is split into. It must match the number of parts actually sent. <span className="field-constraints">≥ 1; ≤ 10000</span>                                          |
  | `externalUrl`   | `string`                                          | A public HTTPS URL for Notion to import. Required for an `external_url` upload.                                                                                                                       |
</div>
