You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+32-5Lines changed: 32 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1729,7 +1729,7 @@ paths:
1729
1729
tags:
1730
1730
- Uploads
1731
1731
summary: |
1732
-
Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 10 GB in total and expires after an hour after you create it.
1732
+
Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.
1733
1733
1734
1734
Once you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.
1735
1735
@@ -1785,9 +1785,18 @@ paths:
1785
1785
summary: |
1786
1786
Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload.
1787
1787
1788
-
Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 10 GB.
1788
+
Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.
1789
1789
1790
1790
It is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).
1791
+
parameters:
1792
+
- in: path
1793
+
name: upload_id
1794
+
required: true
1795
+
schema:
1796
+
type: string
1797
+
example: upload_abc123
1798
+
description: |
1799
+
The ID of the Upload.
1791
1800
requestBody:
1792
1801
required: true
1793
1802
content:
@@ -1829,6 +1838,15 @@ paths:
1829
1838
You can specify the order of the Parts by passing in an ordered list of the Part IDs.
1830
1839
1831
1840
The number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.
1841
+
parameters:
1842
+
- in: path
1843
+
name: upload_id
1844
+
required: true
1845
+
schema:
1846
+
type: string
1847
+
example: upload_abc123
1848
+
description: |
1849
+
The ID of the Upload.
1832
1850
requestBody:
1833
1851
required: true
1834
1852
content:
@@ -1880,6 +1898,15 @@ paths:
1880
1898
- Uploads
1881
1899
summary: |
1882
1900
Cancels the Upload. No Parts may be added after an Upload is cancelled.
1901
+
parameters:
1902
+
- in: path
1903
+
name: upload_id
1904
+
required: true
1905
+
schema:
1906
+
type: string
1907
+
example: upload_abc123
1908
+
description: |
1909
+
The ID of the Upload.
1883
1910
responses:
1884
1911
"200":
1885
1912
description: OK
@@ -3865,7 +3892,7 @@ paths:
3865
3892
name: Retrieve message
3866
3893
group: threads
3867
3894
beta: true
3868
-
returns: The [message](/docs/api-reference/threads/messages/object) object matching the specified ID.
3895
+
returns: The [message](/docs/api-reference/messages/object) object matching the specified ID.
3869
3896
examples:
3870
3897
request:
3871
3898
curl: |
@@ -3953,7 +3980,7 @@ paths:
3953
3980
name: Modify message
3954
3981
group: threads
3955
3982
beta: true
3956
-
returns: The modified [message](/docs/api-reference/threads/messages/object) object.
3983
+
returns: The modified [message](/docs/api-reference/messages/object) object.
3957
3984
examples:
3958
3985
request:
3959
3986
curl: |
@@ -7642,7 +7669,7 @@ components:
7642
7669
description: The text contents of the message.
7643
7670
title: Text content
7644
7671
- type: array
7645
-
description: An array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Image input is only supported when using the `gpt-4-visual-preview` model.
7672
+
description: An array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Image input is only supported when using the `gpt-4o` model.
0 commit comments