Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Available options:
assistants, batch, fine-tune, vision, datasets Whether to generate a public URL for the uploaded file
Body
multipart/form-data
Response
Successful Response
Response to the file upload API.
Name of the file
Size of the file in bytes
Purpose of the file
Available options:
assistants, batch, fine-tune, vision, datasets Unique identifier of the file
Date and time when the file was created (in UTC timezone)
Type of the file
Allowed value:
"file"Presigned URL of the file