openai 7.12.1 → 7.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +1 -1
  3. package/resources/admin/organization/audit-logs.d.mts +1 -1
  4. package/resources/admin/organization/audit-logs.d.ts +1 -1
  5. package/resources/admin/organization/projects/api-keys.d.mts +5 -0
  6. package/resources/admin/organization/projects/api-keys.d.mts.map +1 -1
  7. package/resources/admin/organization/projects/api-keys.d.ts +5 -0
  8. package/resources/admin/organization/projects/api-keys.d.ts.map +1 -1
  9. package/resources/admin/organization/projects/projects.d.mts +2 -2
  10. package/resources/admin/organization/projects/projects.d.ts +2 -2
  11. package/resources/admin/organization/projects/service-accounts/service-accounts.d.mts +13 -0
  12. package/resources/admin/organization/projects/service-accounts/service-accounts.d.mts.map +1 -1
  13. package/resources/admin/organization/projects/service-accounts/service-accounts.d.ts +13 -0
  14. package/resources/admin/organization/projects/service-accounts/service-accounts.d.ts.map +1 -1
  15. package/resources/admin/organization/projects/service-accounts/service-accounts.js.map +1 -1
  16. package/resources/admin/organization/projects/service-accounts/service-accounts.mjs.map +1 -1
  17. package/resources/audio/speech.d.mts +3 -2
  18. package/resources/audio/speech.d.mts.map +1 -1
  19. package/resources/audio/speech.d.ts +3 -2
  20. package/resources/audio/speech.d.ts.map +1 -1
  21. package/resources/audio/transcriptions.d.mts +10 -10
  22. package/resources/audio/transcriptions.d.ts +10 -10
  23. package/resources/audio/translations.d.mts +1 -1
  24. package/resources/audio/translations.d.ts +1 -1
  25. package/resources/batches.d.mts +6 -5
  26. package/resources/batches.d.mts.map +1 -1
  27. package/resources/batches.d.ts +6 -5
  28. package/resources/batches.d.ts.map +1 -1
  29. package/resources/beta/assistants.d.mts +143 -147
  30. package/resources/beta/assistants.d.mts.map +1 -1
  31. package/resources/beta/assistants.d.ts +143 -147
  32. package/resources/beta/assistants.d.ts.map +1 -1
  33. package/resources/beta/responses/input-tokens.d.mts +11 -11
  34. package/resources/beta/responses/input-tokens.d.ts +11 -11
  35. package/resources/beta/responses/responses.d.mts +181 -170
  36. package/resources/beta/responses/responses.d.mts.map +1 -1
  37. package/resources/beta/responses/responses.d.ts +181 -170
  38. package/resources/beta/responses/responses.d.ts.map +1 -1
  39. package/resources/beta/responses/responses.js +3 -3
  40. package/resources/beta/responses/responses.js.map +1 -1
  41. package/resources/beta/responses/responses.mjs +3 -3
  42. package/resources/beta/responses/responses.mjs.map +1 -1
  43. package/resources/beta/threads/messages.d.mts +29 -23
  44. package/resources/beta/threads/messages.d.mts.map +1 -1
  45. package/resources/beta/threads/messages.d.ts +29 -23
  46. package/resources/beta/threads/messages.d.ts.map +1 -1
  47. package/resources/beta/threads/runs/runs.d.mts +39 -35
  48. package/resources/beta/threads/runs/runs.d.mts.map +1 -1
  49. package/resources/beta/threads/runs/runs.d.ts +39 -35
  50. package/resources/beta/threads/runs/runs.d.ts.map +1 -1
  51. package/resources/beta/threads/runs/runs.js.map +1 -1
  52. package/resources/beta/threads/runs/runs.mjs.map +1 -1
  53. package/resources/beta/threads/runs/steps.d.mts +14 -15
  54. package/resources/beta/threads/runs/steps.d.mts.map +1 -1
  55. package/resources/beta/threads/runs/steps.d.ts +14 -15
  56. package/resources/beta/threads/runs/steps.d.ts.map +1 -1
  57. package/resources/beta/threads/threads.d.mts +53 -50
  58. package/resources/beta/threads/threads.d.mts.map +1 -1
  59. package/resources/beta/threads/threads.d.ts +53 -50
  60. package/resources/beta/threads/threads.d.ts.map +1 -1
  61. package/resources/beta/threads/threads.js.map +1 -1
  62. package/resources/beta/threads/threads.mjs.map +1 -1
  63. package/resources/chat/completions/completions.d.mts +89 -81
  64. package/resources/chat/completions/completions.d.mts.map +1 -1
  65. package/resources/chat/completions/completions.d.ts +89 -81
  66. package/resources/chat/completions/completions.d.ts.map +1 -1
  67. package/resources/chat/completions/completions.js.map +1 -1
  68. package/resources/chat/completions/completions.mjs.map +1 -1
  69. package/resources/completions.d.mts +15 -14
  70. package/resources/completions.d.mts.map +1 -1
  71. package/resources/completions.d.ts +15 -14
  72. package/resources/completions.d.ts.map +1 -1
  73. package/resources/content-provenance-checks.d.mts +1 -1
  74. package/resources/content-provenance-checks.d.ts +1 -1
  75. package/resources/content-provenance-checks.js +1 -1
  76. package/resources/content-provenance-checks.mjs +1 -1
  77. package/resources/conversations/items.d.mts +3 -3
  78. package/resources/conversations/items.d.ts +3 -3
  79. package/resources/embeddings.d.mts +6 -6
  80. package/resources/embeddings.d.ts +6 -6
  81. package/resources/evals/evals.d.mts +1 -1
  82. package/resources/evals/evals.d.ts +1 -1
  83. package/resources/evals/evals.js +1 -1
  84. package/resources/evals/evals.mjs +1 -1
  85. package/resources/evals/runs/runs.d.mts +62 -57
  86. package/resources/evals/runs/runs.d.mts.map +1 -1
  87. package/resources/evals/runs/runs.d.ts +62 -57
  88. package/resources/evals/runs/runs.d.ts.map +1 -1
  89. package/resources/evals/runs/runs.js.map +1 -1
  90. package/resources/evals/runs/runs.mjs.map +1 -1
  91. package/resources/files.d.mts +5 -5
  92. package/resources/files.d.ts +5 -5
  93. package/resources/files.js +5 -5
  94. package/resources/files.mjs +5 -5
  95. package/resources/fine-tuning/alpha/graders.d.mts +5 -4
  96. package/resources/fine-tuning/alpha/graders.d.mts.map +1 -1
  97. package/resources/fine-tuning/alpha/graders.d.ts +5 -4
  98. package/resources/fine-tuning/alpha/graders.d.ts.map +1 -1
  99. package/resources/fine-tuning/checkpoints/permissions.d.mts +8 -4
  100. package/resources/fine-tuning/checkpoints/permissions.d.mts.map +1 -1
  101. package/resources/fine-tuning/checkpoints/permissions.d.ts +8 -4
  102. package/resources/fine-tuning/checkpoints/permissions.d.ts.map +1 -1
  103. package/resources/fine-tuning/checkpoints/permissions.js +8 -4
  104. package/resources/fine-tuning/checkpoints/permissions.js.map +1 -1
  105. package/resources/fine-tuning/checkpoints/permissions.mjs +8 -4
  106. package/resources/fine-tuning/checkpoints/permissions.mjs.map +1 -1
  107. package/resources/fine-tuning/jobs/jobs.d.mts +13 -12
  108. package/resources/fine-tuning/jobs/jobs.d.mts.map +1 -1
  109. package/resources/fine-tuning/jobs/jobs.d.ts +13 -12
  110. package/resources/fine-tuning/jobs/jobs.d.ts.map +1 -1
  111. package/resources/fine-tuning/jobs/jobs.js +2 -2
  112. package/resources/fine-tuning/jobs/jobs.js.map +1 -1
  113. package/resources/fine-tuning/jobs/jobs.mjs +2 -2
  114. package/resources/fine-tuning/jobs/jobs.mjs.map +1 -1
  115. package/resources/graders/grader-models.d.mts +1 -1
  116. package/resources/graders/grader-models.d.ts +1 -1
  117. package/resources/images.d.mts +10 -10
  118. package/resources/images.d.ts +10 -10
  119. package/resources/moderations.d.mts +5 -4
  120. package/resources/moderations.d.mts.map +1 -1
  121. package/resources/moderations.d.ts +5 -4
  122. package/resources/moderations.d.ts.map +1 -1
  123. package/resources/moderations.js +2 -1
  124. package/resources/moderations.js.map +1 -1
  125. package/resources/moderations.mjs +2 -1
  126. package/resources/moderations.mjs.map +1 -1
  127. package/resources/realtime/calls.d.mts +1 -1
  128. package/resources/realtime/calls.d.ts +1 -1
  129. package/resources/realtime/client-secrets.d.mts +4 -4
  130. package/resources/realtime/client-secrets.d.ts +4 -4
  131. package/resources/realtime/client-secrets.js +1 -1
  132. package/resources/realtime/client-secrets.mjs +1 -1
  133. package/resources/realtime/realtime.d.mts +16 -16
  134. package/resources/realtime/realtime.d.ts +16 -16
  135. package/resources/responses/input-tokens.d.mts +9 -9
  136. package/resources/responses/input-tokens.d.ts +9 -9
  137. package/resources/responses/responses.d.mts +175 -164
  138. package/resources/responses/responses.d.mts.map +1 -1
  139. package/resources/responses/responses.d.ts +175 -164
  140. package/resources/responses/responses.d.ts.map +1 -1
  141. package/resources/responses/responses.js +3 -3
  142. package/resources/responses/responses.js.map +1 -1
  143. package/resources/responses/responses.mjs +3 -3
  144. package/resources/responses/responses.mjs.map +1 -1
  145. package/resources/shared.d.mts +12 -12
  146. package/resources/shared.d.ts +12 -12
  147. package/resources/uploads/parts.d.mts +5 -4
  148. package/resources/uploads/parts.d.mts.map +1 -1
  149. package/resources/uploads/parts.d.ts +5 -4
  150. package/resources/uploads/parts.d.ts.map +1 -1
  151. package/resources/uploads/parts.js +5 -4
  152. package/resources/uploads/parts.js.map +1 -1
  153. package/resources/uploads/parts.mjs +5 -4
  154. package/resources/uploads/parts.mjs.map +1 -1
  155. package/resources/uploads/uploads.d.mts +11 -11
  156. package/resources/uploads/uploads.d.ts +11 -11
  157. package/resources/uploads/uploads.js +9 -9
  158. package/resources/uploads/uploads.mjs +9 -9
  159. package/resources/vector-stores/file-batches.d.mts +11 -11
  160. package/resources/vector-stores/file-batches.d.ts +11 -11
  161. package/resources/vector-stores/files.d.mts +8 -8
  162. package/resources/vector-stores/files.d.ts +8 -8
  163. package/resources/vector-stores/files.js +3 -3
  164. package/resources/vector-stores/files.mjs +3 -3
  165. package/resources/vector-stores/vector-stores.d.mts +3 -3
  166. package/resources/vector-stores/vector-stores.d.ts +3 -3
  167. package/resources/webhooks/webhooks.d.mts +6 -2
  168. package/resources/webhooks/webhooks.d.mts.map +1 -1
  169. package/resources/webhooks/webhooks.d.ts +6 -2
  170. package/resources/webhooks/webhooks.d.ts.map +1 -1
  171. package/src/resources/admin/organization/audit-logs.ts +1 -1
  172. package/src/resources/admin/organization/projects/api-keys.ts +6 -0
  173. package/src/resources/admin/organization/projects/projects.ts +2 -2
  174. package/src/resources/admin/organization/projects/service-accounts/service-accounts.ts +15 -0
  175. package/src/resources/audio/speech.ts +3 -2
  176. package/src/resources/audio/transcriptions.ts +10 -10
  177. package/src/resources/audio/translations.ts +1 -1
  178. package/src/resources/batches.ts +6 -5
  179. package/src/resources/beta/assistants.ts +143 -147
  180. package/src/resources/beta/responses/input-tokens.ts +11 -11
  181. package/src/resources/beta/responses/responses.ts +181 -170
  182. package/src/resources/beta/threads/messages.ts +29 -23
  183. package/src/resources/beta/threads/runs/runs.ts +39 -35
  184. package/src/resources/beta/threads/runs/steps.ts +14 -15
  185. package/src/resources/beta/threads/threads.ts +53 -50
  186. package/src/resources/chat/completions/completions.ts +89 -81
  187. package/src/resources/completions.ts +15 -14
  188. package/src/resources/content-provenance-checks.ts +1 -1
  189. package/src/resources/conversations/items.ts +3 -3
  190. package/src/resources/embeddings.ts +6 -6
  191. package/src/resources/evals/evals.ts +1 -1
  192. package/src/resources/evals/runs/runs.ts +62 -57
  193. package/src/resources/files.ts +5 -5
  194. package/src/resources/fine-tuning/alpha/graders.ts +5 -4
  195. package/src/resources/fine-tuning/checkpoints/permissions.ts +8 -4
  196. package/src/resources/fine-tuning/jobs/jobs.ts +13 -12
  197. package/src/resources/graders/grader-models.ts +1 -1
  198. package/src/resources/images.ts +10 -10
  199. package/src/resources/moderations.ts +5 -4
  200. package/src/resources/realtime/calls.ts +1 -1
  201. package/src/resources/realtime/client-secrets.ts +4 -4
  202. package/src/resources/realtime/realtime.ts +16 -16
  203. package/src/resources/responses/input-tokens.ts +9 -9
  204. package/src/resources/responses/responses.ts +175 -164
  205. package/src/resources/shared.ts +12 -12
  206. package/src/resources/uploads/parts.ts +5 -4
  207. package/src/resources/uploads/uploads.ts +11 -11
  208. package/src/resources/vector-stores/file-batches.ts +11 -11
  209. package/src/resources/vector-stores/files.ts +8 -8
  210. package/src/resources/vector-stores/vector-stores.ts +3 -3
  211. package/src/resources/webhooks/webhooks.ts +6 -2
  212. package/src/version.ts +1 -1
  213. package/version.d.mts +1 -1
  214. package/version.d.ts +1 -1
  215. package/version.js +1 -1
  216. package/version.mjs +1 -1
@@ -186,14 +186,14 @@ export class Threads extends APIResource {
186
186
 
187
187
  /**
188
188
  * Specifies the format that the model must output. Compatible with
189
- * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
190
- * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4),
191
- * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
189
+ * [GPT-4o](https://developers.openai.com/api/docs/models/gpt-4o),
190
+ * [GPT-4 Turbo](https://developers.openai.com/api/docs/models/gpt-4-turbo), and
191
+ * all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
192
192
  *
193
193
  * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
194
194
  * Outputs which ensures the model will match your supplied JSON schema. Learn more
195
195
  * in the
196
- * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
196
+ * [Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).
197
197
  *
198
198
  * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the
199
199
  * message the model generates is valid JSON.
@@ -245,7 +245,7 @@ export type AssistantToolChoiceOption = 'none' | 'auto' | 'required' | Assistant
245
245
 
246
246
  /**
247
247
  * Represents a thread that contains
248
- * [messages](https://platform.openai.com/docs/api-reference/messages).
248
+ * [messages](https://developers.openai.com/api/docs/assistants/migration).
249
249
  */
250
250
  export interface Thread {
251
251
  /**
@@ -298,9 +298,9 @@ export namespace Thread {
298
298
  export namespace ToolResources {
299
299
  export interface CodeInterpreter {
300
300
  /**
301
- * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made
302
- * available to the `code_interpreter` tool. There can be a maximum of 20 files
303
- * associated with the tool.
301
+ * A list of [file](https://developers.openai.com/api/reference/resources/files)
302
+ * IDs made available to the `code_interpreter` tool. There can be a maximum of 20
303
+ * files associated with the tool.
304
304
  */
305
305
  file_ids?: Array<string>;
306
306
  }
@@ -308,7 +308,7 @@ export namespace Thread {
308
308
  export interface FileSearch {
309
309
  /**
310
310
  * The
311
- * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object)
311
+ * [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
312
312
  * attached to this thread. There can be a maximum of 1 vector store attached to
313
313
  * the thread.
314
314
  */
@@ -327,8 +327,9 @@ export interface ThreadDeleted {
327
327
 
328
328
  export interface ThreadCreateParams {
329
329
  /**
330
- * A list of [messages](https://platform.openai.com/docs/api-reference/messages) to
331
- * start the thread with.
330
+ * A list of
331
+ * [messages](https://developers.openai.com/api/docs/assistants/migration) to start
332
+ * the thread with.
332
333
  */
333
334
  messages?: Array<ThreadCreateParams.Message>;
334
335
 
@@ -422,9 +423,9 @@ export namespace ThreadCreateParams {
422
423
  export namespace ToolResources {
423
424
  export interface CodeInterpreter {
424
425
  /**
425
- * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made
426
- * available to the `code_interpreter` tool. There can be a maximum of 20 files
427
- * associated with the tool.
426
+ * A list of [file](https://developers.openai.com/api/reference/resources/files)
427
+ * IDs made available to the `code_interpreter` tool. There can be a maximum of 20
428
+ * files associated with the tool.
428
429
  */
429
430
  file_ids?: Array<string>;
430
431
  }
@@ -432,7 +433,7 @@ export namespace ThreadCreateParams {
432
433
  export interface FileSearch {
433
434
  /**
434
435
  * The
435
- * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object)
436
+ * [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
436
437
  * attached to this thread. There can be a maximum of 1 vector store attached to
437
438
  * the thread.
438
439
  */
@@ -440,7 +441,7 @@ export namespace ThreadCreateParams {
440
441
 
441
442
  /**
442
443
  * A helper to create a
443
- * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object)
444
+ * [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
444
445
  * with file_ids and attach it to this thread. There can be a maximum of 1 vector
445
446
  * store attached to the thread.
446
447
  */
@@ -456,10 +457,10 @@ export namespace ThreadCreateParams {
456
457
  chunking_strategy?: VectorStore.Auto | VectorStore.Static;
457
458
 
458
459
  /**
459
- * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to
460
- * add to the vector store. For vector stores created before Nov 2025, there can be
461
- * a maximum of 10,000 files in a vector store. For vector stores created starting
462
- * in Nov 2025, the limit is 100,000,000 files.
460
+ * A list of [file](https://developers.openai.com/api/reference/resources/files)
461
+ * IDs to add to the vector store. For vector stores created before Nov 2025, there
462
+ * can be a maximum of 10,000 files in a vector store. For vector stores created
463
+ * starting in Nov 2025, the limit is 100,000,000 files.
463
464
  */
464
465
  file_ids?: Array<string>;
465
466
 
@@ -552,9 +553,9 @@ export namespace ThreadUpdateParams {
552
553
  export namespace ToolResources {
553
554
  export interface CodeInterpreter {
554
555
  /**
555
- * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made
556
- * available to the `code_interpreter` tool. There can be a maximum of 20 files
557
- * associated with the tool.
556
+ * A list of [file](https://developers.openai.com/api/reference/resources/files)
557
+ * IDs made available to the `code_interpreter` tool. There can be a maximum of 20
558
+ * files associated with the tool.
558
559
  */
559
560
  file_ids?: Array<string>;
560
561
  }
@@ -562,7 +563,7 @@ export namespace ThreadUpdateParams {
562
563
  export interface FileSearch {
563
564
  /**
564
565
  * The
565
- * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object)
566
+ * [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
566
567
  * attached to this thread. There can be a maximum of 1 vector store attached to
567
568
  * the thread.
568
569
  */
@@ -578,8 +579,8 @@ export type ThreadCreateAndRunParams =
578
579
  export interface ThreadCreateAndRunParamsBase {
579
580
  /**
580
581
  * The ID of the
581
- * [assistant](https://platform.openai.com/docs/api-reference/assistants) to use to
582
- * execute this run.
582
+ * [assistant](https://developers.openai.com/api/docs/assistants/migration) to use
583
+ * to execute this run.
583
584
  */
584
585
  assistant_id: string;
585
586
 
@@ -618,30 +619,31 @@ export interface ThreadCreateAndRunParamsBase {
618
619
  metadata?: Shared.Metadata | null;
619
620
 
620
621
  /**
621
- * The ID of the [Model](https://platform.openai.com/docs/api-reference/models) to
622
- * be used to execute this run. If a value is provided here, it will override the
623
- * model associated with the assistant. If not, the model associated with the
624
- * assistant will be used.
622
+ * The ID of the
623
+ * [Model](https://developers.openai.com/api/reference/resources/models) to be used
624
+ * to execute this run. If a value is provided here, it will override the model
625
+ * associated with the assistant. If not, the model associated with the assistant
626
+ * will be used.
625
627
  */
626
628
  model?: (string & {}) | Shared.ChatModel | null;
627
629
 
628
630
  /**
629
631
  * Whether to enable
630
- * [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling)
632
+ * [parallel function calling](https://developers.openai.com/api/docs/guides/function-calling#parallel-function-calling)
631
633
  * during tool use.
632
634
  */
633
635
  parallel_tool_calls?: boolean;
634
636
 
635
637
  /**
636
638
  * Specifies the format that the model must output. Compatible with
637
- * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
638
- * [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4),
639
- * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
639
+ * [GPT-4o](https://developers.openai.com/api/docs/models/gpt-4o),
640
+ * [GPT-4 Turbo](https://developers.openai.com/api/docs/models/gpt-4-turbo), and
641
+ * all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
640
642
  *
641
643
  * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
642
644
  * Outputs which ensures the model will match your supplied JSON schema. Learn more
643
645
  * in the
644
- * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
646
+ * [Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).
645
647
  *
646
648
  * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the
647
649
  * message the model generates is valid JSON.
@@ -724,8 +726,9 @@ export namespace ThreadCreateAndRunParams {
724
726
  */
725
727
  export interface Thread {
726
728
  /**
727
- * A list of [messages](https://platform.openai.com/docs/api-reference/messages) to
728
- * start the thread with.
729
+ * A list of
730
+ * [messages](https://developers.openai.com/api/docs/assistants/migration) to start
731
+ * the thread with.
729
732
  */
730
733
  messages?: Array<Thread.Message>;
731
734
 
@@ -819,9 +822,9 @@ export namespace ThreadCreateAndRunParams {
819
822
  export namespace ToolResources {
820
823
  export interface CodeInterpreter {
821
824
  /**
822
- * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made
823
- * available to the `code_interpreter` tool. There can be a maximum of 20 files
824
- * associated with the tool.
825
+ * A list of [file](https://developers.openai.com/api/reference/resources/files)
826
+ * IDs made available to the `code_interpreter` tool. There can be a maximum of 20
827
+ * files associated with the tool.
825
828
  */
826
829
  file_ids?: Array<string>;
827
830
  }
@@ -829,7 +832,7 @@ export namespace ThreadCreateAndRunParams {
829
832
  export interface FileSearch {
830
833
  /**
831
834
  * The
832
- * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object)
835
+ * [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
833
836
  * attached to this thread. There can be a maximum of 1 vector store attached to
834
837
  * the thread.
835
838
  */
@@ -837,7 +840,7 @@ export namespace ThreadCreateAndRunParams {
837
840
 
838
841
  /**
839
842
  * A helper to create a
840
- * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object)
843
+ * [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
841
844
  * with file_ids and attach it to this thread. There can be a maximum of 1 vector
842
845
  * store attached to the thread.
843
846
  */
@@ -853,10 +856,10 @@ export namespace ThreadCreateAndRunParams {
853
856
  chunking_strategy?: VectorStore.Auto | VectorStore.Static;
854
857
 
855
858
  /**
856
- * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to
857
- * add to the vector store. For vector stores created before Nov 2025, there can be
858
- * a maximum of 10,000 files in a vector store. For vector stores created starting
859
- * in Nov 2025, the limit is 100,000,000 files.
859
+ * A list of [file](https://developers.openai.com/api/reference/resources/files)
860
+ * IDs to add to the vector store. For vector stores created before Nov 2025, there
861
+ * can be a maximum of 10,000 files in a vector store. For vector stores created
862
+ * starting in Nov 2025, the limit is 100,000,000 files.
860
863
  */
861
864
  file_ids?: Array<string>;
862
865
 
@@ -928,9 +931,9 @@ export namespace ThreadCreateAndRunParams {
928
931
  export namespace ToolResources {
929
932
  export interface CodeInterpreter {
930
933
  /**
931
- * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made
932
- * available to the `code_interpreter` tool. There can be a maximum of 20 files
933
- * associated with the tool.
934
+ * A list of [file](https://developers.openai.com/api/reference/resources/files)
935
+ * IDs made available to the `code_interpreter` tool. There can be a maximum of 20
936
+ * files associated with the tool.
934
937
  */
935
938
  file_ids?: Array<string>;
936
939
  }
@@ -938,7 +941,7 @@ export namespace ThreadCreateAndRunParams {
938
941
  export interface FileSearch {
939
942
  /**
940
943
  * The ID of the
941
- * [vector store](https://platform.openai.com/docs/api-reference/vector-stores/object)
944
+ * [vector store](https://developers.openai.com/api/reference/resources/vector_stores)
942
945
  * attached to this assistant. There can be a maximum of 1 vector store attached to
943
946
  * the assistant.
944
947
  */