Upload a file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
assistants, batch, fine-tune, vision, datasets Whether to generate a public URL for the uploaded file
Successful Response
Response to the file upload API.
Name of the file
Size of the file in bytes
Purpose of the file
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
"file"Presigned URL of the file