Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Uploads

Use Uploads to upload large files in multiple parts.

Cancel upload
$ openai uploads cancel
POST/uploads/{upload_id}/cancel
Complete upload
$ openai uploads complete
POST/uploads/{upload_id}/complete
Create upload
$ openai uploads create
POST/uploads
ModelsExpand Collapse
upload: object { id, bytes, created_at, 6 more }

The Upload object can accept byte chunks in the form of Parts.

UploadsParts

Use Uploads to upload large files in multiple parts.

Add upload part
$ openai uploads:parts create
POST/uploads/{upload_id}/parts
ModelsExpand Collapse
upload_part: object { id, created_at, object, upload_id }

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