Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 5.04 KB

uploadfileout.md

File metadata and controls

16 lines (13 loc) · 5.04 KB

UploadFileOut

Fields

Field Type Required Description Example
id str ✔️ The unique identifier of the file. 497f6eca-6276-4993-bfeb-53cbbbba6f09
object str ✔️ The object type, which is always "file". file
bytes int ✔️ The size of the file, in bytes. 13000
created_at int ✔️ The UNIX timestamp (in seconds) of the event. 1716963433
filename str ✔️ The name of the uploaded file. files_upload.jsonl
sample_type models.SampleType ✔️ N/A
source models.Source ✔️ N/A
purpose models.Purpose ✔️ The intended purpose of the uploaded file. Only accepts fine-tuning (fine-tune) for now. fine-tune
num_lines OptionalNullable[int] N/A