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
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1502,9 +1502,13 @@ paths:
1502
1502
tags:
1503
1503
- Files
1504
1504
summary: |
1505
-
Upload a file that can be used across various endpoints. The size of all the files uploaded by one organization can be up to 100 GB.
1505
+
Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
1506
1506
1507
-
The size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See the [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files supported. The Fine-tuning API only supports `.jsonl` files.
1507
+
The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
1508
+
1509
+
The Fine-tuning API only supports `.jsonl` files.
1510
+
1511
+
The Batch API only supports `.jsonl` files up to 100 MB in size.
1508
1512
1509
1513
Please [contact us](https://help.openai.com/) if you need to increase these storage limits.
1510
1514
requestBody:
@@ -6652,11 +6656,11 @@ paths:
6652
6656
6653
6657
See [upload file](/docs/api-reference/files/create) for how to upload a file.
6654
6658
6655
-
Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/requestInput), and must be uploaded with the purpose `batch`.
6659
+
Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/requestInput), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 100 MB in size.
6656
6660
endpoint:
6657
6661
type: string
6658
-
enum: ["/v1/chat/completions", "/v1/embeddings"]
6659
-
description: The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions`and `/v1/embeddings` are supported.
description: The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported. Note that `/v1/embeddings` batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch.
6660
6664
completion_window:
6661
6665
type: string
6662
6666
enum: ["24h"]
@@ -9642,7 +9646,7 @@ components:
9642
9646
9643
9647
AssistantsApiResponseFormatOption:
9644
9648
description: |
9645
-
Specifies the format that the model must output. Compatible with [GPT-4 Turbo](/docs/models/gpt-4-and-gpt-4-turbo) and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
9649
+
Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
9646
9650
9647
9651
Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
9648
9652
@@ -10173,7 +10177,7 @@ components:
10173
10177
description: The ID of the [assistant](/docs/api-reference/assistants) used for execution of this run.
10174
10178
type: string
10175
10179
status:
10176
-
description: The status of the run, which can be either `queued`, `in_progress`, `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, or `expired`.
10180
+
description: The status of the run, which can be either `queued`, `in_progress`, `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, `incomplete`, or `expired`.
10177
10181
type: string
10178
10182
enum:
10179
10183
[
@@ -10184,6 +10188,7 @@ components:
10184
10188
"cancelled",
10185
10189
"failed",
10186
10190
"completed",
10191
+
"incomplete",
10187
10192
"expired",
10188
10193
]
10189
10194
required_action:
@@ -12927,7 +12932,7 @@ components:
12927
12932
description: The HTTP method to be used for the request. Currently only `POST` is supported.
12928
12933
url:
12929
12934
type: string
12930
-
description: The OpenAI API relative URL to be used for the request. Currently `/v1/chat/completions`and `/v1/embeddings` are supported.
12935
+
description: The OpenAI API relative URL to be used for the request. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported.
0 commit comments