Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
multipart/form-data
Response
200 - application/json
Successful file upload. Returns the uploaded file object.
Auto-assigned UUID file identifier.
Example:
"file-abc123"
Object type, which will always be 'file'.
Example:
"file"
Size of the uploaded file in bytes.
Example:
120000
Unix timestamp for when the file was created.
Example:
1677610602
The name of the uploaded file.
Example:
"mydata.txt"
The purpose of the uploaded file, must be 'fine-tune'.
Example:
"fine-tune"