files

Upload file

post/v1/files

Request

Query parameters

ai_project_idstring nullable

Project ID to upload file to

Request body multipart/form-data

filestring binary required
purpose'batch' | 'fine-tune' | 'history' required

Response

Successful Response

idstring required
bytesinteger required
created_atinteger required
filenamestring required
objectstring
purposestring required
statusstring nullable
status_detailsstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.