Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the Upload.
"upload_abc123"
Body
Response
OK
The Upload object can accept byte chunks in the form of Parts.
The Upload unique identifier, which can be referenced in API endpoints.
The Unix timestamp (in seconds) for when the Upload was created.
The name of the file to be uploaded.
The intended number of bytes to be uploaded.
The intended purpose of the file. Please refer here for acceptable values.
The status of the Upload.
pending
, completed
, cancelled
, expired
The Unix timestamp (in seconds) for when the Upload will expire.
The object type, which is always "upload".
upload
The File
object represents a document that has been uploaded to OpenAI.
The ready File object after the Upload is completed.