POST
/
uploads
/
{upload_id}
/
parts
Adds a Part to an Upload
curl --request POST \
  --url https://api.openai.com/v1/uploads/{upload_id}/parts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form data=@example-file
{
  "id": "<string>",
  "created_at": 123,
  "upload_id": "<string>",
  "object": "upload.part"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

upload_id
string
required

The ID of the Upload.

Example:

"upload_abc123"

Body

multipart/form-data

Response

200 - application/json

OK

The upload Part represents a chunk of bytes we can add to an Upload object.