UploadCreate
Request body for creating an upload.
Request body for creating an upload.
| Property | Type | Required | Description |
|---|---|---|---|
filename | string | Yes | The name of the file to be assembled from this upload's parts. |
purpose | Purpose | No | The intended purpose of the assembled file. Default: "assistants". |
bytes | integer | Yes | The expected total size of the file, in bytes (1 to 512000000000). |
mime_type | string | Yes | The MIME type of the file to be assembled. Becomes the resulting File's content type (an unusable or generic value falls back to one guessed from the filename). |
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.