The name of the file to upload.
The MIME type of the file.
This must fall within the supported MIME types for your file purpose. See the supported MIME types for assistants and vision.
The intended purpose of the uploaded file.
See the documentation on File purposes.
The number of bytes in the file you are uploading.