Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 878 Bytes

CreateUploadRequest.md

File metadata and controls

27 lines (15 loc) · 878 Bytes

CreateUploadRequest

Properties

Name Type Description Notes
filename String The name of the file to upload.
purpose PurposeEnum The intended purpose of the uploaded file. See the documentation on File purposes.
bytes Integer The number of bytes in the file you are uploading.
mimeType String 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.

Enum: PurposeEnum

Name Value
ASSISTANTS "assistants"
BATCH "batch"
FINE_TUNE "fine-tune"
VISION "vision"