Add upload part
POST
https://api.openai.com/v1/uploads/upload_abc123/partsAdds a Part to an Upload object. A Part represents a chunk of bytes from the file you are trying to upload.
Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.
It is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you complete the Upload.
Request
Body Params multipart/form-data
data
string
required
The chunk of bytes for this Part.
Example:
aHR0cHM6Ly9hcGkub3BlbmFpLmNvbS92MS91cGxvYWRz...
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string
required
object
string
required
created_at
integer
required
upload_id
string
required
Example
{
"id": "part_def456",
"object": "upload.part",
"created_at": 1719185911,
"upload_id": "upload_abc123"
}
Last modified: 2 months ago