@@ -6067,7 +6067,10 @@ paths:
6067
6067
"id": "file-abc123",
6068
6068
"object": "vector_store.file",
6069
6069
"created_at": 1699061776,
6070
- "vector_store_id
6070
+ "usage_bytes": 1234,
6071
+ "vector_store_id": "vs_abcd",
6072
+ "status": "completed",
6073
+ "last_error": null
6071
6074
}
6072
6075
6073
6076
/vector_stores/{vector_store_id}/files/{file_id} :
@@ -6137,7 +6140,9 @@ paths:
6137
6140
"id": "file-abc123",
6138
6141
"object": "vector_store.file",
6139
6142
"created_at": 1699061776,
6140
- "vector_store_id": "vs_abc123"
6143
+ "vector_store_id": "vs_abcd",
6144
+ "status": "completed",
6145
+ "last_error": null
6141
6146
}
6142
6147
delete :
6143
6148
operationId : deleteVectorStoreFile
@@ -6356,7 +6361,15 @@ paths:
6356
6361
"id": "vsfb_abc123",
6357
6362
"object": "vector_store.file_batch",
6358
6363
"created_at": 1699061776,
6359
- "vector_store_id": "vs_abc123"
6364
+ "vector_store_id": "vs_abc123",
6365
+ "status": "in_progress",
6366
+ "file_counts": {
6367
+ "in_progress": 1,
6368
+ "completed": 1,
6369
+ "failed": 0,
6370
+ "cancelled": 0,
6371
+ "total": 0,
6372
+ }
6360
6373
}
6361
6374
6362
6375
/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel :
@@ -6572,7 +6585,7 @@ paths:
6572
6585
6573
6586
See [upload file](/docs/api-reference/files/create) for how to upload a file.
6574
6587
6575
- Your input file must be formatted as a JSONL file, and must be uploaded with the purpose `batch`.
6588
+ Your input file must be formatted as a [ JSONL file](/docs/api-reference/batch/requestInput) , and must be uploaded with the purpose `batch`.
6576
6589
endpoint :
6577
6590
type : string
6578
6591
enum : ["/v1/chat/completions"]
@@ -11840,8 +11853,8 @@ components:
11840
11853
name :
11841
11854
description : The name of the vector store.
11842
11855
type : string
11843
- bytes :
11844
- description : The byte size of the vector store.
11856
+ usage_bytes :
11857
+ description : The total number of bytes used by the files in the vector store.
11845
11858
type : integer
11846
11859
file_counts :
11847
11860
type : object
@@ -11889,6 +11902,7 @@ components:
11889
11902
required :
11890
11903
- id
11891
11904
- object
11905
+ - usage_bytes
11892
11906
- created_at
11893
11907
- status
11894
11908
- last_active_at
@@ -11904,6 +11918,7 @@ components:
11904
11918
"id": "vs_123",
11905
11919
"object": "vector_store",
11906
11920
"created_at": 1698107661,
11921
+ "usage_bytes": 123456,
11907
11922
"last_active_at": 1698107661,
11908
11923
"name": "my_vector_store",
11909
11924
"bytes": 123456,
@@ -12009,6 +12024,9 @@ components:
12009
12024
description : The object type, which is always `vector_store.file`.
12010
12025
type : string
12011
12026
enum : ["vector_store.file"]
12027
+ usage_bytes :
12028
+ description : The total vector store usage in bytes. Note that this may be different from the original file size.
12029
+ type : integer
12012
12030
created_at :
12013
12031
description : The Unix timestamp (in seconds) for when the vector store file was created.
12014
12032
type : integer
@@ -12043,6 +12061,7 @@ components:
12043
12061
required :
12044
12062
- id
12045
12063
- object
12064
+ - usage_bytes
12046
12065
- created_at
12047
12066
- vector_store_id
12048
12067
- status
@@ -12054,6 +12073,7 @@ components:
12054
12073
{
12055
12074
"id": "file-abc123",
12056
12075
"object": "vector_store.file",
12076
+ "usage_bytes": 1234,
12057
12077
"created_at": 1698107661,
12058
12078
"vector_store_id": "vs_abc123",
12059
12079
"status": "completed",
@@ -12895,7 +12915,7 @@ x-oaiMeta:
12895
12915
- id : batch
12896
12916
title : Batch
12897
12917
description : |
12898
- Create large batches of API requests to run asynchronously .
12918
+ Create large batches of API requests for asynchronous processing. The Batch API returns completions within 24 hours for a 50% discount .
12899
12919
navigationGroup : endpoints
12900
12920
sections :
12901
12921
- type : endpoint
0 commit comments