Files
Upload file
Upload a file.
POST
/
v1
/
files
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Available options:
assistants
, assistants_output
, batch
, batch_output
, fine-tune
, fine-tune-results
, vision
Body
multipart/form-data
Response
201 - application/json
Response to the file upload API.
Name of the file
Size of the file in bytes
Purpose of the file
Available options:
assistants
, assistants_output
, batch
, batch_output
, fine-tune
, fine-tune-results
, vision
Unique identifier of the file
Date and time when the file was created (in UTC timezone)
Type of the file
Allowed value:
"file"