tekimax-ts 0.1.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 (327) hide show
  1. package/.dockerignore +5 -0
  2. package/Dockerfile +25 -0
  3. package/README.md +146 -0
  4. package/dist/gen/index.js +378 -0
  5. package/dist/gen/types.js +284 -0
  6. package/dist/gen/zod/allowedToolChoiceSchema.js +15 -0
  7. package/dist/gen/zod/allowedToolsParamSchema.js +15 -0
  8. package/dist/gen/zod/annotationSchema.js +15 -0
  9. package/dist/gen/zod/assistantMessageItemParamSchema.js +21 -0
  10. package/dist/gen/zod/createResponseBodySchema.js +46 -0
  11. package/dist/gen/zod/createresponseSchema.js +16 -0
  12. package/dist/gen/zod/detailEnumSchema.js +9 -0
  13. package/dist/gen/zod/developerMessageItemParamSchema.js +18 -0
  14. package/dist/gen/zod/emptyModelParamSchema.js +9 -0
  15. package/dist/gen/zod/errorPayloadSchema.js +18 -0
  16. package/dist/gen/zod/errorSchema.js +15 -0
  17. package/dist/gen/zod/errorStreamingEventSchema.js +17 -0
  18. package/dist/gen/zod/functionCallItemParamSchema.js +17 -0
  19. package/dist/gen/zod/functionCallItemStatusSchema.js +9 -0
  20. package/dist/gen/zod/functionCallOutputItemParamSchema.js +31 -0
  21. package/dist/gen/zod/functionCallOutputSchema.js +28 -0
  22. package/dist/gen/zod/functionCallOutputStatusEnumSchema.js +12 -0
  23. package/dist/gen/zod/functionCallSchema.js +20 -0
  24. package/dist/gen/zod/functionCallStatusSchema.js +9 -0
  25. package/dist/gen/zod/functionToolChoiceSchema.js +12 -0
  26. package/dist/gen/zod/functionToolParamSchema.js +16 -0
  27. package/dist/gen/zod/functionToolSchema.js +18 -0
  28. package/dist/gen/zod/imageDetailSchema.js +9 -0
  29. package/dist/gen/zod/includeEnumSchema.js +9 -0
  30. package/dist/gen/zod/incompleteDetailsSchema.js +14 -0
  31. package/dist/gen/zod/index.js +213 -0
  32. package/dist/gen/zod/inputFileContentParamSchema.js +17 -0
  33. package/dist/gen/zod/inputFileContentSchema.js +16 -0
  34. package/dist/gen/zod/inputImageContentParamAutoParamSchema.js +17 -0
  35. package/dist/gen/zod/inputImageContentSchema.js +17 -0
  36. package/dist/gen/zod/inputTextContentParamSchema.js +15 -0
  37. package/dist/gen/zod/inputTextContentSchema.js +15 -0
  38. package/dist/gen/zod/inputTokensDetailsSchema.js +14 -0
  39. package/dist/gen/zod/inputVideoContentSchema.js +15 -0
  40. package/dist/gen/zod/itemFieldSchema.js +24 -0
  41. package/dist/gen/zod/itemParamSchema.js +24 -0
  42. package/dist/gen/zod/itemReferenceParamSchema.js +15 -0
  43. package/dist/gen/zod/jsonObjectResponseFormatSchema.js +11 -0
  44. package/dist/gen/zod/jsonSchemaResponseFormatParamSchema.js +15 -0
  45. package/dist/gen/zod/jsonSchemaResponseFormatSchema.js +15 -0
  46. package/dist/gen/zod/logProbSchema.js +18 -0
  47. package/dist/gen/zod/messageRoleSchema.js +9 -0
  48. package/dist/gen/zod/messageSchema.js +47 -0
  49. package/dist/gen/zod/messageStatusSchema.js +9 -0
  50. package/dist/gen/zod/metadataParamSchema.js +12 -0
  51. package/dist/gen/zod/outputTextContentParamSchema.js +14 -0
  52. package/dist/gen/zod/outputTextContentSchema.js +19 -0
  53. package/dist/gen/zod/outputTokensDetailsSchema.js +14 -0
  54. package/dist/gen/zod/reasoningBodySchema.js +58 -0
  55. package/dist/gen/zod/reasoningEffortEnumSchema.js +9 -0
  56. package/dist/gen/zod/reasoningItemParamSchema.js +16 -0
  57. package/dist/gen/zod/reasoningParamSchema.js +17 -0
  58. package/dist/gen/zod/reasoningSchema.js +17 -0
  59. package/dist/gen/zod/reasoningSummaryContentParamSchema.js +12 -0
  60. package/dist/gen/zod/reasoningSummaryEnumSchema.js +9 -0
  61. package/dist/gen/zod/reasoningTextContentSchema.js +15 -0
  62. package/dist/gen/zod/refusalContentParamSchema.js +12 -0
  63. package/dist/gen/zod/refusalContentSchema.js +15 -0
  64. package/dist/gen/zod/responseCompletedStreamingEventSchema.js +17 -0
  65. package/dist/gen/zod/responseContentPartAddedStreamingEventSchema.js +43 -0
  66. package/dist/gen/zod/responseContentPartDoneStreamingEventSchema.js +43 -0
  67. package/dist/gen/zod/responseCreatedStreamingEventSchema.js +17 -0
  68. package/dist/gen/zod/responseFailedStreamingEventSchema.js +17 -0
  69. package/dist/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.js +19 -0
  70. package/dist/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.js +18 -0
  71. package/dist/gen/zod/responseInProgressStreamingEventSchema.js +17 -0
  72. package/dist/gen/zod/responseIncompleteStreamingEventSchema.js +17 -0
  73. package/dist/gen/zod/responseOutputItemAddedStreamingEventSchema.js +18 -0
  74. package/dist/gen/zod/responseOutputItemDoneStreamingEventSchema.js +18 -0
  75. package/dist/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.js +21 -0
  76. package/dist/gen/zod/responseOutputTextDeltaStreamingEventSchema.js +22 -0
  77. package/dist/gen/zod/responseOutputTextDoneStreamingEventSchema.js +21 -0
  78. package/dist/gen/zod/responseQueuedStreamingEventSchema.js +17 -0
  79. package/dist/gen/zod/responseReasoningDeltaStreamingEventSchema.js +20 -0
  80. package/dist/gen/zod/responseReasoningDoneStreamingEventSchema.js +19 -0
  81. package/dist/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.js +20 -0
  82. package/dist/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.js +19 -0
  83. package/dist/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.js +43 -0
  84. package/dist/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.js +43 -0
  85. package/dist/gen/zod/responseRefusalDeltaStreamingEventSchema.js +19 -0
  86. package/dist/gen/zod/responseRefusalDoneStreamingEventSchema.js +19 -0
  87. package/dist/gen/zod/responseResourceSchema.js +55 -0
  88. package/dist/gen/zod/responsesToolParamSchema.js +12 -0
  89. package/dist/gen/zod/serviceTierEnumSchema.js +9 -0
  90. package/dist/gen/zod/specificFunctionParamSchema.js +12 -0
  91. package/dist/gen/zod/specificToolChoiceParamSchema.js +10 -0
  92. package/dist/gen/zod/streamOptionsParamSchema.js +14 -0
  93. package/dist/gen/zod/summaryTextContentSchema.js +15 -0
  94. package/dist/gen/zod/systemMessageItemParamSchema.js +18 -0
  95. package/dist/gen/zod/textContentSchema.js +15 -0
  96. package/dist/gen/zod/textFieldSchema.js +16 -0
  97. package/dist/gen/zod/textFormatParamSchema.js +11 -0
  98. package/dist/gen/zod/textParamSchema.js +14 -0
  99. package/dist/gen/zod/textResponseFormatSchema.js +11 -0
  100. package/dist/gen/zod/toolChoiceParamSchema.js +15 -0
  101. package/dist/gen/zod/toolChoiceValueEnumSchema.js +9 -0
  102. package/dist/gen/zod/toolSchema.js +15 -0
  103. package/dist/gen/zod/topLogProbSchema.js +16 -0
  104. package/dist/gen/zod/truncationEnumSchema.js +9 -0
  105. package/dist/gen/zod/urlCitationBodySchema.js +18 -0
  106. package/dist/gen/zod/urlCitationParamSchema.js +15 -0
  107. package/dist/gen/zod/usageSchema.js +20 -0
  108. package/dist/gen/zod/userMessageItemParamSchema.js +24 -0
  109. package/dist/gen/zod/verbosityEnumSchema.js +9 -0
  110. package/dist/index.d.mts +31636 -0
  111. package/dist/index.d.ts +31636 -0
  112. package/dist/index.js +1688 -0
  113. package/dist/index.mjs +1475 -0
  114. package/kubb.config.js +30 -0
  115. package/kubb.config.ts +29 -0
  116. package/package.json +48 -0
  117. package/public/logos/tekimax-logo-ScreenRGB-2.png +0 -0
  118. package/spec/openapi.json +3876 -0
  119. package/src/gen/index.ts +186 -0
  120. package/src/gen/schemas/allowedToolChoice.json +1 -0
  121. package/src/gen/schemas/allowedToolsParam.json +1 -0
  122. package/src/gen/schemas/annotation.json +1 -0
  123. package/src/gen/schemas/assistantMessageItemParam.json +1 -0
  124. package/src/gen/schemas/createResponseBody.json +1 -0
  125. package/src/gen/schemas/detailEnum.json +1 -0
  126. package/src/gen/schemas/developerMessageItemParam.json +1 -0
  127. package/src/gen/schemas/emptyModelParam.json +1 -0
  128. package/src/gen/schemas/error.json +1 -0
  129. package/src/gen/schemas/errorPayload.json +1 -0
  130. package/src/gen/schemas/errorStreamingEvent.json +1 -0
  131. package/src/gen/schemas/functionCall.json +1 -0
  132. package/src/gen/schemas/functionCallItemParam.json +1 -0
  133. package/src/gen/schemas/functionCallItemStatus.json +1 -0
  134. package/src/gen/schemas/functionCallOutput.json +1 -0
  135. package/src/gen/schemas/functionCallOutputItemParam.json +1 -0
  136. package/src/gen/schemas/functionCallOutputStatusEnum.json +1 -0
  137. package/src/gen/schemas/functionCallStatus.json +1 -0
  138. package/src/gen/schemas/functionTool.json +1 -0
  139. package/src/gen/schemas/functionToolChoice.json +1 -0
  140. package/src/gen/schemas/functionToolParam.json +1 -0
  141. package/src/gen/schemas/imageDetail.json +1 -0
  142. package/src/gen/schemas/includeEnum.json +1 -0
  143. package/src/gen/schemas/incompleteDetails.json +1 -0
  144. package/src/gen/schemas/inputFileContent.json +1 -0
  145. package/src/gen/schemas/inputFileContentParam.json +1 -0
  146. package/src/gen/schemas/inputImageContent.json +1 -0
  147. package/src/gen/schemas/inputImageContentParamAutoParam.json +1 -0
  148. package/src/gen/schemas/inputTextContent.json +1 -0
  149. package/src/gen/schemas/inputTextContentParam.json +1 -0
  150. package/src/gen/schemas/inputTokensDetails.json +1 -0
  151. package/src/gen/schemas/inputVideoContent.json +1 -0
  152. package/src/gen/schemas/itemField.json +1 -0
  153. package/src/gen/schemas/itemParam.json +1 -0
  154. package/src/gen/schemas/itemReferenceParam.json +1 -0
  155. package/src/gen/schemas/jsonObjectResponseFormat.json +1 -0
  156. package/src/gen/schemas/jsonSchemaResponseFormat.json +1 -0
  157. package/src/gen/schemas/jsonSchemaResponseFormatParam.json +1 -0
  158. package/src/gen/schemas/logProb.json +1 -0
  159. package/src/gen/schemas/message.json +1 -0
  160. package/src/gen/schemas/messageRole.json +1 -0
  161. package/src/gen/schemas/messageStatus.json +1 -0
  162. package/src/gen/schemas/metadataParam.json +1 -0
  163. package/src/gen/schemas/outputTextContent.json +1 -0
  164. package/src/gen/schemas/outputTextContentParam.json +1 -0
  165. package/src/gen/schemas/outputTokensDetails.json +1 -0
  166. package/src/gen/schemas/reasoning.json +1 -0
  167. package/src/gen/schemas/reasoningBody.json +1 -0
  168. package/src/gen/schemas/reasoningEffortEnum.json +1 -0
  169. package/src/gen/schemas/reasoningItemParam.json +1 -0
  170. package/src/gen/schemas/reasoningParam.json +1 -0
  171. package/src/gen/schemas/reasoningSummaryContentParam.json +1 -0
  172. package/src/gen/schemas/reasoningSummaryEnum.json +1 -0
  173. package/src/gen/schemas/reasoningTextContent.json +1 -0
  174. package/src/gen/schemas/refusalContent.json +1 -0
  175. package/src/gen/schemas/refusalContentParam.json +1 -0
  176. package/src/gen/schemas/responseCompletedStreamingEvent.json +1 -0
  177. package/src/gen/schemas/responseContentPartAddedStreamingEvent.json +1 -0
  178. package/src/gen/schemas/responseContentPartDoneStreamingEvent.json +1 -0
  179. package/src/gen/schemas/responseCreatedStreamingEvent.json +1 -0
  180. package/src/gen/schemas/responseFailedStreamingEvent.json +1 -0
  181. package/src/gen/schemas/responseFunctionCallArgumentsDeltaStreamingEvent.json +1 -0
  182. package/src/gen/schemas/responseFunctionCallArgumentsDoneStreamingEvent.json +1 -0
  183. package/src/gen/schemas/responseInProgressStreamingEvent.json +1 -0
  184. package/src/gen/schemas/responseIncompleteStreamingEvent.json +1 -0
  185. package/src/gen/schemas/responseOutputItemAddedStreamingEvent.json +1 -0
  186. package/src/gen/schemas/responseOutputItemDoneStreamingEvent.json +1 -0
  187. package/src/gen/schemas/responseOutputTextAnnotationAddedStreamingEvent.json +1 -0
  188. package/src/gen/schemas/responseOutputTextDeltaStreamingEvent.json +1 -0
  189. package/src/gen/schemas/responseOutputTextDoneStreamingEvent.json +1 -0
  190. package/src/gen/schemas/responseQueuedStreamingEvent.json +1 -0
  191. package/src/gen/schemas/responseReasoningDeltaStreamingEvent.json +1 -0
  192. package/src/gen/schemas/responseReasoningDoneStreamingEvent.json +1 -0
  193. package/src/gen/schemas/responseReasoningSummaryDeltaStreamingEvent.json +1 -0
  194. package/src/gen/schemas/responseReasoningSummaryDoneStreamingEvent.json +1 -0
  195. package/src/gen/schemas/responseReasoningSummaryPartAddedStreamingEvent.json +1 -0
  196. package/src/gen/schemas/responseReasoningSummaryPartDoneStreamingEvent.json +1 -0
  197. package/src/gen/schemas/responseRefusalDeltaStreamingEvent.json +1 -0
  198. package/src/gen/schemas/responseRefusalDoneStreamingEvent.json +1 -0
  199. package/src/gen/schemas/responseResource.json +1 -0
  200. package/src/gen/schemas/responsesToolParam.json +1 -0
  201. package/src/gen/schemas/serviceTierEnum.json +1 -0
  202. package/src/gen/schemas/specificFunctionParam.json +1 -0
  203. package/src/gen/schemas/specificToolChoiceParam.json +1 -0
  204. package/src/gen/schemas/streamOptionsParam.json +1 -0
  205. package/src/gen/schemas/summaryTextContent.json +1 -0
  206. package/src/gen/schemas/systemMessageItemParam.json +1 -0
  207. package/src/gen/schemas/textContent.json +1 -0
  208. package/src/gen/schemas/textField.json +1 -0
  209. package/src/gen/schemas/textFormatParam.json +1 -0
  210. package/src/gen/schemas/textParam.json +1 -0
  211. package/src/gen/schemas/textResponseFormat.json +1 -0
  212. package/src/gen/schemas/tool.json +1 -0
  213. package/src/gen/schemas/toolChoiceParam.json +1 -0
  214. package/src/gen/schemas/toolChoiceValueEnum.json +1 -0
  215. package/src/gen/schemas/topLogProb.json +1 -0
  216. package/src/gen/schemas/truncationEnum.json +1 -0
  217. package/src/gen/schemas/urlCitationBody.json +1 -0
  218. package/src/gen/schemas/urlCitationParam.json +1 -0
  219. package/src/gen/schemas/usage.json +1 -0
  220. package/src/gen/schemas/userMessageItemParam.json +1 -0
  221. package/src/gen/schemas/verbosityEnum.json +1 -0
  222. package/src/gen/types.ts +2613 -0
  223. package/src/gen/zod/allowedToolChoiceSchema.ts +14 -0
  224. package/src/gen/zod/allowedToolsParamSchema.ts +14 -0
  225. package/src/gen/zod/annotationSchema.ts +14 -0
  226. package/src/gen/zod/assistantMessageItemParamSchema.ts +20 -0
  227. package/src/gen/zod/createResponseBodySchema.ts +45 -0
  228. package/src/gen/zod/createresponseSchema.ts +17 -0
  229. package/src/gen/zod/detailEnumSchema.ts +8 -0
  230. package/src/gen/zod/developerMessageItemParamSchema.ts +17 -0
  231. package/src/gen/zod/emptyModelParamSchema.ts +10 -0
  232. package/src/gen/zod/errorPayloadSchema.ts +19 -0
  233. package/src/gen/zod/errorSchema.ts +14 -0
  234. package/src/gen/zod/errorStreamingEventSchema.ts +16 -0
  235. package/src/gen/zod/functionCallItemParamSchema.ts +16 -0
  236. package/src/gen/zod/functionCallItemStatusSchema.ts +8 -0
  237. package/src/gen/zod/functionCallOutputItemParamSchema.ts +30 -0
  238. package/src/gen/zod/functionCallOutputSchema.ts +27 -0
  239. package/src/gen/zod/functionCallOutputStatusEnumSchema.ts +11 -0
  240. package/src/gen/zod/functionCallSchema.ts +19 -0
  241. package/src/gen/zod/functionCallStatusSchema.ts +8 -0
  242. package/src/gen/zod/functionToolChoiceSchema.ts +11 -0
  243. package/src/gen/zod/functionToolParamSchema.ts +15 -0
  244. package/src/gen/zod/functionToolSchema.ts +19 -0
  245. package/src/gen/zod/imageDetailSchema.ts +8 -0
  246. package/src/gen/zod/includeEnumSchema.ts +8 -0
  247. package/src/gen/zod/incompleteDetailsSchema.ts +13 -0
  248. package/src/gen/zod/index.ts +103 -0
  249. package/src/gen/zod/inputFileContentParamSchema.ts +16 -0
  250. package/src/gen/zod/inputFileContentSchema.ts +15 -0
  251. package/src/gen/zod/inputImageContentParamAutoParamSchema.ts +16 -0
  252. package/src/gen/zod/inputImageContentSchema.ts +16 -0
  253. package/src/gen/zod/inputTextContentParamSchema.ts +14 -0
  254. package/src/gen/zod/inputTextContentSchema.ts +14 -0
  255. package/src/gen/zod/inputTokensDetailsSchema.ts +13 -0
  256. package/src/gen/zod/inputVideoContentSchema.ts +14 -0
  257. package/src/gen/zod/itemFieldSchema.ts +23 -0
  258. package/src/gen/zod/itemParamSchema.ts +23 -0
  259. package/src/gen/zod/itemReferenceParamSchema.ts +14 -0
  260. package/src/gen/zod/jsonObjectResponseFormatSchema.ts +10 -0
  261. package/src/gen/zod/jsonSchemaResponseFormatParamSchema.ts +16 -0
  262. package/src/gen/zod/jsonSchemaResponseFormatSchema.ts +14 -0
  263. package/src/gen/zod/logProbSchema.ts +17 -0
  264. package/src/gen/zod/messageRoleSchema.ts +8 -0
  265. package/src/gen/zod/messageSchema.ts +46 -0
  266. package/src/gen/zod/messageStatusSchema.ts +8 -0
  267. package/src/gen/zod/metadataParamSchema.ts +13 -0
  268. package/src/gen/zod/outputTextContentParamSchema.ts +13 -0
  269. package/src/gen/zod/outputTextContentSchema.ts +18 -0
  270. package/src/gen/zod/outputTokensDetailsSchema.ts +13 -0
  271. package/src/gen/zod/reasoningBodySchema.ts +57 -0
  272. package/src/gen/zod/reasoningEffortEnumSchema.ts +8 -0
  273. package/src/gen/zod/reasoningItemParamSchema.ts +15 -0
  274. package/src/gen/zod/reasoningParamSchema.ts +16 -0
  275. package/src/gen/zod/reasoningSchema.ts +16 -0
  276. package/src/gen/zod/reasoningSummaryContentParamSchema.ts +11 -0
  277. package/src/gen/zod/reasoningSummaryEnumSchema.ts +8 -0
  278. package/src/gen/zod/reasoningTextContentSchema.ts +14 -0
  279. package/src/gen/zod/refusalContentParamSchema.ts +11 -0
  280. package/src/gen/zod/refusalContentSchema.ts +14 -0
  281. package/src/gen/zod/responseCompletedStreamingEventSchema.ts +16 -0
  282. package/src/gen/zod/responseContentPartAddedStreamingEventSchema.ts +42 -0
  283. package/src/gen/zod/responseContentPartDoneStreamingEventSchema.ts +42 -0
  284. package/src/gen/zod/responseCreatedStreamingEventSchema.ts +16 -0
  285. package/src/gen/zod/responseFailedStreamingEventSchema.ts +16 -0
  286. package/src/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.ts +18 -0
  287. package/src/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.ts +17 -0
  288. package/src/gen/zod/responseInProgressStreamingEventSchema.ts +16 -0
  289. package/src/gen/zod/responseIncompleteStreamingEventSchema.ts +16 -0
  290. package/src/gen/zod/responseOutputItemAddedStreamingEventSchema.ts +17 -0
  291. package/src/gen/zod/responseOutputItemDoneStreamingEventSchema.ts +17 -0
  292. package/src/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.ts +20 -0
  293. package/src/gen/zod/responseOutputTextDeltaStreamingEventSchema.ts +21 -0
  294. package/src/gen/zod/responseOutputTextDoneStreamingEventSchema.ts +20 -0
  295. package/src/gen/zod/responseQueuedStreamingEventSchema.ts +16 -0
  296. package/src/gen/zod/responseReasoningDeltaStreamingEventSchema.ts +19 -0
  297. package/src/gen/zod/responseReasoningDoneStreamingEventSchema.ts +18 -0
  298. package/src/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.ts +19 -0
  299. package/src/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.ts +18 -0
  300. package/src/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.ts +42 -0
  301. package/src/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.ts +42 -0
  302. package/src/gen/zod/responseRefusalDeltaStreamingEventSchema.ts +18 -0
  303. package/src/gen/zod/responseRefusalDoneStreamingEventSchema.ts +18 -0
  304. package/src/gen/zod/responseResourceSchema.ts +54 -0
  305. package/src/gen/zod/responsesToolParamSchema.ts +11 -0
  306. package/src/gen/zod/serviceTierEnumSchema.ts +8 -0
  307. package/src/gen/zod/specificFunctionParamSchema.ts +11 -0
  308. package/src/gen/zod/specificToolChoiceParamSchema.ts +9 -0
  309. package/src/gen/zod/streamOptionsParamSchema.ts +13 -0
  310. package/src/gen/zod/summaryTextContentSchema.ts +14 -0
  311. package/src/gen/zod/systemMessageItemParamSchema.ts +17 -0
  312. package/src/gen/zod/textContentSchema.ts +14 -0
  313. package/src/gen/zod/textFieldSchema.ts +15 -0
  314. package/src/gen/zod/textFormatParamSchema.ts +10 -0
  315. package/src/gen/zod/textParamSchema.ts +13 -0
  316. package/src/gen/zod/textResponseFormatSchema.ts +10 -0
  317. package/src/gen/zod/toolChoiceParamSchema.ts +14 -0
  318. package/src/gen/zod/toolChoiceValueEnumSchema.ts +8 -0
  319. package/src/gen/zod/toolSchema.ts +14 -0
  320. package/src/gen/zod/topLogProbSchema.ts +15 -0
  321. package/src/gen/zod/truncationEnumSchema.ts +8 -0
  322. package/src/gen/zod/urlCitationBodySchema.ts +17 -0
  323. package/src/gen/zod/urlCitationParamSchema.ts +14 -0
  324. package/src/gen/zod/usageSchema.ts +19 -0
  325. package/src/gen/zod/userMessageItemParamSchema.ts +23 -0
  326. package/src/gen/zod/verbosityEnumSchema.ts +8 -0
  327. package/tsconfig.json +21 -0
@@ -0,0 +1,186 @@
1
+ export type { ItemReferenceParamTypeEnumKey, ItemReferenceParam, ReasoningSummaryContentParamTypeEnumKey, ReasoningSummaryContentParam, ReasoningItemParamTypeEnumKey, ReasoningItemParam, InputTextContentParamTypeEnumKey, InputTextContentParam, DetailEnumEnumKey, DetailEnum, ImageDetailEnumKey, ImageDetail, InputImageContentParamAutoParamTypeEnumKey, InputImageContentParamAutoParam, InputFileContentParamTypeEnumKey, InputFileContentParam, UserMessageItemParamTypeEnumKey, UserMessageItemParamRoleEnumKey, UserMessageItemParam, SystemMessageItemParamTypeEnumKey, SystemMessageItemParamRoleEnumKey, SystemMessageItemParam, DeveloperMessageItemParamTypeEnumKey, DeveloperMessageItemParamRoleEnumKey, DeveloperMessageItemParam, UrlCitationParamTypeEnumKey, UrlCitationParam, OutputTextContentParamTypeEnumKey, OutputTextContentParam, RefusalContentParamTypeEnumKey, RefusalContentParam, AssistantMessageItemParamTypeEnumKey, AssistantMessageItemParamRoleEnumKey, AssistantMessageItemParam, FunctionCallItemStatusEnumKey, FunctionCallItemStatus, FunctionCallStatusEnumKey, FunctionCallStatus, FunctionCallItemParamTypeEnumKey, FunctionCallItemParam, InputVideoContentTypeEnumKey, InputVideoContent, FunctionCallOutputItemParamTypeEnumKey, FunctionCallOutputItemParam, ItemParam, IncludeEnumEnumKey, IncludeEnum, EmptyModelParam, FunctionToolParamTypeEnumKey, FunctionToolParam, ResponsesToolParam, SpecificFunctionParamTypeEnumKey, SpecificFunctionParam, SpecificToolChoiceParam, ToolChoiceValueEnumEnumKey, ToolChoiceValueEnum, AllowedToolsParamTypeEnumKey, AllowedToolsParam, ToolChoiceParam, MetadataParam, VerbosityEnumEnumKey, VerbosityEnum, TextResponseFormatTypeEnumKey, TextResponseFormat, JsonSchemaResponseFormatParamTypeEnumKey, JsonSchemaResponseFormatParam, TextFormatParam, TextParam, StreamOptionsParam, ReasoningEffortEnumEnumKey, ReasoningEffortEnum, ReasoningSummaryEnumEnumKey, ReasoningSummaryEnum, ReasoningParam, TruncationEnumEnumKey, TruncationEnum, ServiceTierEnumEnumKey, ServiceTierEnum, CreateResponseBody, IncompleteDetails, MessageRoleEnumKey, MessageRole, InputTextContentTypeEnumKey, InputTextContent, UrlCitationBodyTypeEnumKey, UrlCitationBody, Annotation, TopLogProb, LogProb, OutputTextContentTypeEnumKey, OutputTextContent, TextContentTypeEnumKey, TextContent, SummaryTextContentTypeEnumKey, SummaryTextContent, ReasoningTextContentTypeEnumKey, ReasoningTextContent, RefusalContentTypeEnumKey, RefusalContent, InputImageContentTypeEnumKey, InputImageContent, InputFileContentTypeEnumKey, InputFileContent, MessageStatusEnumKey, MessageStatus, MessageTypeEnumKey, Message, FunctionCallTypeEnumKey, FunctionCall, FunctionCallOutputStatusEnumEnumKey, FunctionCallOutputStatusEnum, FunctionCallOutputTypeEnumKey, FunctionCallOutput, ReasoningBodyTypeEnumKey, ReasoningBody, ItemField, Error, FunctionToolTypeEnumKey, FunctionTool, Tool, FunctionToolChoiceTypeEnumKey, FunctionToolChoice, AllowedToolChoiceTypeEnumKey, AllowedToolChoice, JsonObjectResponseFormatTypeEnumKey, JsonObjectResponseFormat, JsonSchemaResponseFormatTypeEnumKey, JsonSchemaResponseFormat, TextField, Reasoning, InputTokensDetails, OutputTokensDetails, Usage, ResponseResourceObjectEnumKey, ResponseResource, ResponseCreatedStreamingEventTypeEnumKey, ResponseCreatedStreamingEvent, ResponseQueuedStreamingEventTypeEnumKey, ResponseQueuedStreamingEvent, ResponseInProgressStreamingEventTypeEnumKey, ResponseInProgressStreamingEvent, ResponseCompletedStreamingEventTypeEnumKey, ResponseCompletedStreamingEvent, ResponseFailedStreamingEventTypeEnumKey, ResponseFailedStreamingEvent, ResponseIncompleteStreamingEventTypeEnumKey, ResponseIncompleteStreamingEvent, ResponseOutputItemAddedStreamingEventTypeEnumKey, ResponseOutputItemAddedStreamingEvent, ResponseOutputItemDoneStreamingEventTypeEnumKey, ResponseOutputItemDoneStreamingEvent, ResponseReasoningSummaryPartAddedStreamingEventTypeEnumKey, ResponseReasoningSummaryPartAddedStreamingEvent, ResponseReasoningSummaryPartDoneStreamingEventTypeEnumKey, ResponseReasoningSummaryPartDoneStreamingEvent, ResponseContentPartAddedStreamingEventTypeEnumKey, ResponseContentPartAddedStreamingEvent, ResponseContentPartDoneStreamingEventTypeEnumKey, ResponseContentPartDoneStreamingEvent, ResponseOutputTextDeltaStreamingEventTypeEnumKey, ResponseOutputTextDeltaStreamingEvent, ResponseOutputTextDoneStreamingEventTypeEnumKey, ResponseOutputTextDoneStreamingEvent, ResponseRefusalDeltaStreamingEventTypeEnumKey, ResponseRefusalDeltaStreamingEvent, ResponseRefusalDoneStreamingEventTypeEnumKey, ResponseRefusalDoneStreamingEvent, ResponseReasoningDeltaStreamingEventTypeEnumKey, ResponseReasoningDeltaStreamingEvent, ResponseReasoningDoneStreamingEventTypeEnumKey, ResponseReasoningDoneStreamingEvent, ResponseReasoningSummaryDeltaStreamingEventTypeEnumKey, ResponseReasoningSummaryDeltaStreamingEvent, ResponseReasoningSummaryDoneStreamingEventTypeEnumKey, ResponseReasoningSummaryDoneStreamingEvent, ResponseOutputTextAnnotationAddedStreamingEventTypeEnumKey, ResponseOutputTextAnnotationAddedStreamingEvent, ResponseFunctionCallArgumentsDeltaStreamingEventTypeEnumKey, ResponseFunctionCallArgumentsDeltaStreamingEvent, ResponseFunctionCallArgumentsDoneStreamingEventTypeEnumKey, ResponseFunctionCallArgumentsDoneStreamingEvent, ErrorPayload, ErrorStreamingEventTypeEnumKey, ErrorStreamingEvent, Createresponse200, CreateresponseMutationRequest, CreateresponseMutationResponse, CreateresponseMutation } from "./types.ts";
2
+ export { itemReferenceParamTypeEnum } from "./types.ts";
3
+ export { reasoningSummaryContentParamTypeEnum } from "./types.ts";
4
+ export { reasoningItemParamTypeEnum } from "./types.ts";
5
+ export { inputTextContentParamTypeEnum } from "./types.ts";
6
+ export { detailEnumEnum } from "./types.ts";
7
+ export { imageDetailEnum } from "./types.ts";
8
+ export { inputImageContentParamAutoParamTypeEnum } from "./types.ts";
9
+ export { inputFileContentParamTypeEnum } from "./types.ts";
10
+ export { userMessageItemParamTypeEnum } from "./types.ts";
11
+ export { userMessageItemParamRoleEnum } from "./types.ts";
12
+ export { systemMessageItemParamTypeEnum } from "./types.ts";
13
+ export { systemMessageItemParamRoleEnum } from "./types.ts";
14
+ export { developerMessageItemParamTypeEnum } from "./types.ts";
15
+ export { developerMessageItemParamRoleEnum } from "./types.ts";
16
+ export { urlCitationParamTypeEnum } from "./types.ts";
17
+ export { outputTextContentParamTypeEnum } from "./types.ts";
18
+ export { refusalContentParamTypeEnum } from "./types.ts";
19
+ export { assistantMessageItemParamTypeEnum } from "./types.ts";
20
+ export { assistantMessageItemParamRoleEnum } from "./types.ts";
21
+ export { functionCallItemStatusEnum } from "./types.ts";
22
+ export { functionCallStatusEnum } from "./types.ts";
23
+ export { functionCallItemParamTypeEnum } from "./types.ts";
24
+ export { inputVideoContentTypeEnum } from "./types.ts";
25
+ export { functionCallOutputItemParamTypeEnum } from "./types.ts";
26
+ export { includeEnumEnum } from "./types.ts";
27
+ export { functionToolParamTypeEnum } from "./types.ts";
28
+ export { specificFunctionParamTypeEnum } from "./types.ts";
29
+ export { toolChoiceValueEnumEnum } from "./types.ts";
30
+ export { allowedToolsParamTypeEnum } from "./types.ts";
31
+ export { verbosityEnumEnum } from "./types.ts";
32
+ export { textResponseFormatTypeEnum } from "./types.ts";
33
+ export { jsonSchemaResponseFormatParamTypeEnum } from "./types.ts";
34
+ export { reasoningEffortEnumEnum } from "./types.ts";
35
+ export { reasoningSummaryEnumEnum } from "./types.ts";
36
+ export { truncationEnumEnum } from "./types.ts";
37
+ export { serviceTierEnumEnum } from "./types.ts";
38
+ export { messageRoleEnum } from "./types.ts";
39
+ export { inputTextContentTypeEnum } from "./types.ts";
40
+ export { urlCitationBodyTypeEnum } from "./types.ts";
41
+ export { outputTextContentTypeEnum } from "./types.ts";
42
+ export { textContentTypeEnum } from "./types.ts";
43
+ export { summaryTextContentTypeEnum } from "./types.ts";
44
+ export { reasoningTextContentTypeEnum } from "./types.ts";
45
+ export { refusalContentTypeEnum } from "./types.ts";
46
+ export { inputImageContentTypeEnum } from "./types.ts";
47
+ export { inputFileContentTypeEnum } from "./types.ts";
48
+ export { messageStatusEnum } from "./types.ts";
49
+ export { messageTypeEnum } from "./types.ts";
50
+ export { functionCallTypeEnum } from "./types.ts";
51
+ export { functionCallOutputStatusEnumEnum } from "./types.ts";
52
+ export { functionCallOutputTypeEnum } from "./types.ts";
53
+ export { reasoningBodyTypeEnum } from "./types.ts";
54
+ export { functionToolTypeEnum } from "./types.ts";
55
+ export { functionToolChoiceTypeEnum } from "./types.ts";
56
+ export { allowedToolChoiceTypeEnum } from "./types.ts";
57
+ export { jsonObjectResponseFormatTypeEnum } from "./types.ts";
58
+ export { jsonSchemaResponseFormatTypeEnum } from "./types.ts";
59
+ export { responseResourceObjectEnum } from "./types.ts";
60
+ export { responseCreatedStreamingEventTypeEnum } from "./types.ts";
61
+ export { responseQueuedStreamingEventTypeEnum } from "./types.ts";
62
+ export { responseInProgressStreamingEventTypeEnum } from "./types.ts";
63
+ export { responseCompletedStreamingEventTypeEnum } from "./types.ts";
64
+ export { responseFailedStreamingEventTypeEnum } from "./types.ts";
65
+ export { responseIncompleteStreamingEventTypeEnum } from "./types.ts";
66
+ export { responseOutputItemAddedStreamingEventTypeEnum } from "./types.ts";
67
+ export { responseOutputItemDoneStreamingEventTypeEnum } from "./types.ts";
68
+ export { responseReasoningSummaryPartAddedStreamingEventTypeEnum } from "./types.ts";
69
+ export { responseReasoningSummaryPartDoneStreamingEventTypeEnum } from "./types.ts";
70
+ export { responseContentPartAddedStreamingEventTypeEnum } from "./types.ts";
71
+ export { responseContentPartDoneStreamingEventTypeEnum } from "./types.ts";
72
+ export { responseOutputTextDeltaStreamingEventTypeEnum } from "./types.ts";
73
+ export { responseOutputTextDoneStreamingEventTypeEnum } from "./types.ts";
74
+ export { responseRefusalDeltaStreamingEventTypeEnum } from "./types.ts";
75
+ export { responseRefusalDoneStreamingEventTypeEnum } from "./types.ts";
76
+ export { responseReasoningDeltaStreamingEventTypeEnum } from "./types.ts";
77
+ export { responseReasoningDoneStreamingEventTypeEnum } from "./types.ts";
78
+ export { responseReasoningSummaryDeltaStreamingEventTypeEnum } from "./types.ts";
79
+ export { responseReasoningSummaryDoneStreamingEventTypeEnum } from "./types.ts";
80
+ export { responseOutputTextAnnotationAddedStreamingEventTypeEnum } from "./types.ts";
81
+ export { responseFunctionCallArgumentsDeltaStreamingEventTypeEnum } from "./types.ts";
82
+ export { responseFunctionCallArgumentsDoneStreamingEventTypeEnum } from "./types.ts";
83
+ export { errorStreamingEventTypeEnum } from "./types.ts";
84
+ export { allowedToolChoiceSchema } from "./zod/allowedToolChoiceSchema.ts";
85
+ export { allowedToolsParamSchema } from "./zod/allowedToolsParamSchema.ts";
86
+ export { annotationSchema } from "./zod/annotationSchema.ts";
87
+ export { assistantMessageItemParamSchema } from "./zod/assistantMessageItemParamSchema.ts";
88
+ export { createResponseBodySchema } from "./zod/createResponseBodySchema.ts";
89
+ export { createresponse200Schema, createresponseMutationRequestSchema, createresponseMutationResponseSchema } from "./zod/createresponseSchema.ts";
90
+ export { detailEnumSchema } from "./zod/detailEnumSchema.ts";
91
+ export { developerMessageItemParamSchema } from "./zod/developerMessageItemParamSchema.ts";
92
+ export { emptyModelParamSchema } from "./zod/emptyModelParamSchema.ts";
93
+ export { errorPayloadSchema } from "./zod/errorPayloadSchema.ts";
94
+ export { errorSchema } from "./zod/errorSchema.ts";
95
+ export { errorStreamingEventSchema } from "./zod/errorStreamingEventSchema.ts";
96
+ export { functionCallItemParamSchema } from "./zod/functionCallItemParamSchema.ts";
97
+ export { functionCallItemStatusSchema } from "./zod/functionCallItemStatusSchema.ts";
98
+ export { functionCallOutputItemParamSchema } from "./zod/functionCallOutputItemParamSchema.ts";
99
+ export { functionCallOutputSchema } from "./zod/functionCallOutputSchema.ts";
100
+ export { functionCallOutputStatusEnumSchema } from "./zod/functionCallOutputStatusEnumSchema.ts";
101
+ export { functionCallSchema } from "./zod/functionCallSchema.ts";
102
+ export { functionCallStatusSchema } from "./zod/functionCallStatusSchema.ts";
103
+ export { functionToolChoiceSchema } from "./zod/functionToolChoiceSchema.ts";
104
+ export { functionToolParamSchema } from "./zod/functionToolParamSchema.ts";
105
+ export { functionToolSchema } from "./zod/functionToolSchema.ts";
106
+ export { imageDetailSchema } from "./zod/imageDetailSchema.ts";
107
+ export { includeEnumSchema } from "./zod/includeEnumSchema.ts";
108
+ export { incompleteDetailsSchema } from "./zod/incompleteDetailsSchema.ts";
109
+ export { inputFileContentParamSchema } from "./zod/inputFileContentParamSchema.ts";
110
+ export { inputFileContentSchema } from "./zod/inputFileContentSchema.ts";
111
+ export { inputImageContentParamAutoParamSchema } from "./zod/inputImageContentParamAutoParamSchema.ts";
112
+ export { inputImageContentSchema } from "./zod/inputImageContentSchema.ts";
113
+ export { inputTextContentParamSchema } from "./zod/inputTextContentParamSchema.ts";
114
+ export { inputTextContentSchema } from "./zod/inputTextContentSchema.ts";
115
+ export { inputTokensDetailsSchema } from "./zod/inputTokensDetailsSchema.ts";
116
+ export { inputVideoContentSchema } from "./zod/inputVideoContentSchema.ts";
117
+ export { itemFieldSchema } from "./zod/itemFieldSchema.ts";
118
+ export { itemParamSchema } from "./zod/itemParamSchema.ts";
119
+ export { itemReferenceParamSchema } from "./zod/itemReferenceParamSchema.ts";
120
+ export { jsonObjectResponseFormatSchema } from "./zod/jsonObjectResponseFormatSchema.ts";
121
+ export { jsonSchemaResponseFormatParamSchema } from "./zod/jsonSchemaResponseFormatParamSchema.ts";
122
+ export { jsonSchemaResponseFormatSchema } from "./zod/jsonSchemaResponseFormatSchema.ts";
123
+ export { logProbSchema } from "./zod/logProbSchema.ts";
124
+ export { messageRoleSchema } from "./zod/messageRoleSchema.ts";
125
+ export { messageSchema } from "./zod/messageSchema.ts";
126
+ export { messageStatusSchema } from "./zod/messageStatusSchema.ts";
127
+ export { metadataParamSchema } from "./zod/metadataParamSchema.ts";
128
+ export { outputTextContentParamSchema } from "./zod/outputTextContentParamSchema.ts";
129
+ export { outputTextContentSchema } from "./zod/outputTextContentSchema.ts";
130
+ export { outputTokensDetailsSchema } from "./zod/outputTokensDetailsSchema.ts";
131
+ export { reasoningBodySchema } from "./zod/reasoningBodySchema.ts";
132
+ export { reasoningEffortEnumSchema } from "./zod/reasoningEffortEnumSchema.ts";
133
+ export { reasoningItemParamSchema } from "./zod/reasoningItemParamSchema.ts";
134
+ export { reasoningParamSchema } from "./zod/reasoningParamSchema.ts";
135
+ export { reasoningSchema } from "./zod/reasoningSchema.ts";
136
+ export { reasoningSummaryContentParamSchema } from "./zod/reasoningSummaryContentParamSchema.ts";
137
+ export { reasoningSummaryEnumSchema } from "./zod/reasoningSummaryEnumSchema.ts";
138
+ export { reasoningTextContentSchema } from "./zod/reasoningTextContentSchema.ts";
139
+ export { refusalContentParamSchema } from "./zod/refusalContentParamSchema.ts";
140
+ export { refusalContentSchema } from "./zod/refusalContentSchema.ts";
141
+ export { responseCompletedStreamingEventSchema } from "./zod/responseCompletedStreamingEventSchema.ts";
142
+ export { responseContentPartAddedStreamingEventSchema } from "./zod/responseContentPartAddedStreamingEventSchema.ts";
143
+ export { responseContentPartDoneStreamingEventSchema } from "./zod/responseContentPartDoneStreamingEventSchema.ts";
144
+ export { responseCreatedStreamingEventSchema } from "./zod/responseCreatedStreamingEventSchema.ts";
145
+ export { responseFailedStreamingEventSchema } from "./zod/responseFailedStreamingEventSchema.ts";
146
+ export { responseFunctionCallArgumentsDeltaStreamingEventSchema } from "./zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.ts";
147
+ export { responseFunctionCallArgumentsDoneStreamingEventSchema } from "./zod/responseFunctionCallArgumentsDoneStreamingEventSchema.ts";
148
+ export { responseIncompleteStreamingEventSchema } from "./zod/responseIncompleteStreamingEventSchema.ts";
149
+ export { responseInProgressStreamingEventSchema } from "./zod/responseInProgressStreamingEventSchema.ts";
150
+ export { responseOutputItemAddedStreamingEventSchema } from "./zod/responseOutputItemAddedStreamingEventSchema.ts";
151
+ export { responseOutputItemDoneStreamingEventSchema } from "./zod/responseOutputItemDoneStreamingEventSchema.ts";
152
+ export { responseOutputTextAnnotationAddedStreamingEventSchema } from "./zod/responseOutputTextAnnotationAddedStreamingEventSchema.ts";
153
+ export { responseOutputTextDeltaStreamingEventSchema } from "./zod/responseOutputTextDeltaStreamingEventSchema.ts";
154
+ export { responseOutputTextDoneStreamingEventSchema } from "./zod/responseOutputTextDoneStreamingEventSchema.ts";
155
+ export { responseQueuedStreamingEventSchema } from "./zod/responseQueuedStreamingEventSchema.ts";
156
+ export { responseReasoningDeltaStreamingEventSchema } from "./zod/responseReasoningDeltaStreamingEventSchema.ts";
157
+ export { responseReasoningDoneStreamingEventSchema } from "./zod/responseReasoningDoneStreamingEventSchema.ts";
158
+ export { responseReasoningSummaryDeltaStreamingEventSchema } from "./zod/responseReasoningSummaryDeltaStreamingEventSchema.ts";
159
+ export { responseReasoningSummaryDoneStreamingEventSchema } from "./zod/responseReasoningSummaryDoneStreamingEventSchema.ts";
160
+ export { responseReasoningSummaryPartAddedStreamingEventSchema } from "./zod/responseReasoningSummaryPartAddedStreamingEventSchema.ts";
161
+ export { responseReasoningSummaryPartDoneStreamingEventSchema } from "./zod/responseReasoningSummaryPartDoneStreamingEventSchema.ts";
162
+ export { responseRefusalDeltaStreamingEventSchema } from "./zod/responseRefusalDeltaStreamingEventSchema.ts";
163
+ export { responseRefusalDoneStreamingEventSchema } from "./zod/responseRefusalDoneStreamingEventSchema.ts";
164
+ export { responseResourceSchema } from "./zod/responseResourceSchema.ts";
165
+ export { responsesToolParamSchema } from "./zod/responsesToolParamSchema.ts";
166
+ export { serviceTierEnumSchema } from "./zod/serviceTierEnumSchema.ts";
167
+ export { specificFunctionParamSchema } from "./zod/specificFunctionParamSchema.ts";
168
+ export { specificToolChoiceParamSchema } from "./zod/specificToolChoiceParamSchema.ts";
169
+ export { streamOptionsParamSchema } from "./zod/streamOptionsParamSchema.ts";
170
+ export { summaryTextContentSchema } from "./zod/summaryTextContentSchema.ts";
171
+ export { systemMessageItemParamSchema } from "./zod/systemMessageItemParamSchema.ts";
172
+ export { textContentSchema } from "./zod/textContentSchema.ts";
173
+ export { textFieldSchema } from "./zod/textFieldSchema.ts";
174
+ export { textFormatParamSchema } from "./zod/textFormatParamSchema.ts";
175
+ export { textParamSchema } from "./zod/textParamSchema.ts";
176
+ export { textResponseFormatSchema } from "./zod/textResponseFormatSchema.ts";
177
+ export { toolChoiceParamSchema } from "./zod/toolChoiceParamSchema.ts";
178
+ export { toolChoiceValueEnumSchema } from "./zod/toolChoiceValueEnumSchema.ts";
179
+ export { toolSchema } from "./zod/toolSchema.ts";
180
+ export { topLogProbSchema } from "./zod/topLogProbSchema.ts";
181
+ export { truncationEnumSchema } from "./zod/truncationEnumSchema.ts";
182
+ export { urlCitationBodySchema } from "./zod/urlCitationBodySchema.ts";
183
+ export { urlCitationParamSchema } from "./zod/urlCitationParamSchema.ts";
184
+ export { usageSchema } from "./zod/usageSchema.ts";
185
+ export { userMessageItemParamSchema } from "./zod/userMessageItemParamSchema.ts";
186
+ export { verbosityEnumSchema } from "./zod/verbosityEnumSchema.ts";
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["allowed_tools"],"default":"allowed_tools"},"tools":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["function"],"default":"function"},"name":{"type":"string"}},"type":"object","required":["type"],"x-readme-ref-name":"FunctionToolChoice"}]},"type":"array"},"mode":{"type":"string","enum":["none","auto","required"],"x-enumDescriptions":{"auto":"Let the model choose the tools from among the provided set.","none":"Restrict the model from calling any tools.","required":"Require the model to call a tool."},"x-readme-ref-name":"ToolChoiceValueEnum"}},"type":"object","required":["type","tools","mode"],"x-readme-ref-name":"AllowedToolChoice"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"The tool choice type. Always `allowed_tools`.","default":"allowed_tools"},"tools":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["function"],"description":"The tool to call. Always `function`.","default":"function"},"name":{"type":"string","description":"The name of the function tool to call."}},"type":"object","required":["type","name"],"x-readme-ref-name":"SpecificFunctionParam"}],"x-readme-ref-name":"SpecificToolChoiceParam"},"type":"array","maxItems":128,"minItems":1,"description":"The list of tools that are permitted for this request."},"mode":{"allOf":[{"type":"string","enum":["none","auto","required"],"x-enumDescriptions":{"auto":"Let the model choose the tools from among the provided set.","none":"Restrict the model from calling any tools.","required":"Require the model to call a tool."},"x-readme-ref-name":"ToolChoiceValueEnum"},{"description":"How to select a tool from the allowed set."}]}},"type":"object","required":["type","tools"],"x-readme-ref-name":"AllowedToolsParam"}
@@ -0,0 +1 @@
1
+ {"oneOf":[{"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The type of the URL citation. Always `url_citation`.","default":"url_citation"},"url":{"type":"string","description":"The URL of the web resource."},"start_index":{"type":"integer","description":"The index of the first character of the URL citation in the message."},"end_index":{"type":"integer","description":"The index of the last character of the URL citation in the message."},"title":{"type":"string","description":"The title of the web resource."}},"type":"object","required":["type","url","start_index","end_index","title"],"title":"URL citation","description":"A citation for a web resource used to generate a model response.","x-readme-ref-name":"UrlCitationBody"}],"description":"An annotation that applies to a span of output text.","discriminator":{"propertyName":"type"},"x-readme-ref-name":"Annotation"}
@@ -0,0 +1 @@
1
+ {"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this message item.","example":"msg_123"},{"type":"null"}]},"type":{"type":"string","enum":["message"],"description":"The item type. Always `message`.","default":"message"},"role":{"type":"string","enum":["assistant"],"description":"The role of the message author. Always `assistant`.","default":"assistant"},"content":{"oneOf":[{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["output_text"],"description":"The content type. Always `output_text`.","default":"output_text"},"text":{"type":"string","maxLength":10485760,"description":"The text content."},"annotations":{"oneOf":[{"items":{"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The citation type. Always `url_citation`.","default":"url_citation"},"start_index":{"type":"integer","minimum":0,"description":"The index of the first character of the citation in the message."},"end_index":{"type":"integer","minimum":0,"description":"The index of the last character of the citation in the message."},"url":{"type":"string","description":"The URL of the cited resource."},"title":{"type":"string","description":"The title of the cited resource."}},"type":"object","required":["type","start_index","end_index","url","title"],"x-readme-ref-name":"UrlCitationParam"},"type":"array"}],"description":"Citations associated with the text content."}},"type":"object","required":["type","text"],"x-readme-ref-name":"OutputTextContentParam"},{"properties":{"type":{"type":"string","enum":["refusal"],"description":"The content type. Always `refusal`.","default":"refusal"},"refusal":{"type":"string","maxLength":10485760,"description":"The refusal text."}},"type":"object","required":["type","refusal"],"x-readme-ref-name":"RefusalContentParam"}],"description":"A piece of assistant message content, such as text or a refusal.","discriminator":{"propertyName":"type"}},"type":"array"},{"type":"string","maxLength":10485760,"description":"The message content, as a single string."}],"description":"The message content, as an array of content parts."},"status":{"anyOf":[{"type":"string","description":"The status of the message item."},{"type":"null"}]}},"type":"object","required":["type","role","content"],"x-readme-ref-name":"AssistantMessageItemParam"}
@@ -0,0 +1 @@
1
+ {"properties":{"model":{"anyOf":[{"type":"string","description":"The model to use for this request, e.g. 'gpt-5.2'."},{"type":"null"}]},"input":{"anyOf":[{"oneOf":[{"type":"string","maxLength":10485760},{"items":{"oneOf":[{"properties":{"type":{"anyOf":[{"type":"string","enum":["item_reference"],"description":"The type of item to reference. Always `item_reference`.","default":"item_reference"},{"type":"null"}]},"id":{"type":"string","description":"The ID of the item to reference."}},"type":"object","required":["id"],"title":"Item reference","description":"An internal identifier for an item to reference.","x-readme-ref-name":"ItemReferenceParam"},{"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this reasoning item.","example":"rs_123"},{"type":"null"}]},"type":{"type":"string","enum":["reasoning"],"description":"The item type. Always `reasoning`.","default":"reasoning"},"summary":{"items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The content type. Always `summary_text`.","default":"summary_text"},"text":{"type":"string","maxLength":10485760,"description":"The reasoning summary text."}},"type":"object","required":["type","text"],"x-readme-ref-name":"ReasoningSummaryContentParam"},"type":"array","description":"Reasoning summary content associated with this item."},"content":{"anyOf":[{"type":"null"}]},"encrypted_content":{"anyOf":[{"type":"string","description":"An encrypted representation of the reasoning content."},{"type":"null"}]}},"type":"object","required":["type","summary"],"x-readme-ref-name":"ReasoningItemParam"},{"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this message item.","example":"msg_123"},{"type":"null"}]},"type":{"type":"string","enum":["message"],"description":"The item type. Always `message`.","default":"message"},"role":{"type":"string","enum":["user"],"description":"The message role. Always `user`.","default":"user"},"content":{"oneOf":[{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","maxLength":10485760,"description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-unionDisplay":"section","x-unionTitle":"Content Type","x-readme-ref-name":"InputTextContentParam"},{"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","maxLength":20971520,"description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"anyOf":[{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]},{"type":"null"}]}},"type":"object","required":["type"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision)","x-readme-ref-name":"InputImageContentParamAutoParam"},{"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"anyOf":[{"type":"string","description":"The name of the file to be sent to the model."},{"type":"null"}]},"file_data":{"anyOf":[{"type":"string","maxLength":33554432,"description":"The base64-encoded data of the file to be sent to the model."},{"type":"null"}]},"file_url":{"anyOf":[{"type":"string","description":"The URL of the file to be sent to the model."},{"type":"null"}]}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContentParam"}],"description":"A piece of message content, such as text, an image, or a file.","discriminator":{"propertyName":"type"}},"type":"array"},{"type":"string","maxLength":10485760,"description":"The message content, as a single string."}],"description":"The message content, as an array of content parts."},"status":{"anyOf":[{"type":"string","description":"The status of the message item."},{"type":"null"}]}},"type":"object","required":["type","role","content"],"x-readme-ref-name":"UserMessageItemParam"},{"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this message item.","example":"msg_123"},{"type":"null"}]},"type":{"type":"string","enum":["message"],"description":"The item type. Always `message`.","default":"message"},"role":{"type":"string","enum":["system"],"description":"The message role. Always `system`.","default":"system"},"content":{"oneOf":[{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","maxLength":10485760,"description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-unionDisplay":"section","x-unionTitle":"Content Type","x-readme-ref-name":"InputTextContentParam"}],"discriminator":{"propertyName":"type"}},"type":"array"},{"type":"string","maxLength":10485760,"description":"The message content, as a single string."}],"description":"The message content, as an array of content parts."},"status":{"anyOf":[{"type":"string","description":"The status of the message item."},{"type":"null"}]}},"type":"object","required":["type","role","content"],"x-readme-ref-name":"SystemMessageItemParam"},{"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this message item.","example":"msg_123"},{"type":"null"}]},"type":{"type":"string","enum":["message"],"description":"The item type. Always `message`.","default":"message"},"role":{"type":"string","enum":["developer"],"description":"The message role. Always `developer`.","default":"developer"},"content":{"oneOf":[{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","maxLength":10485760,"description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-unionDisplay":"section","x-unionTitle":"Content Type","x-readme-ref-name":"InputTextContentParam"}],"discriminator":{"propertyName":"type"}},"type":"array"},{"type":"string","maxLength":10485760,"description":"The message content, as a single string."}],"description":"The message content, as an array of content parts."},"status":{"anyOf":[{"type":"string","description":"The status of the message item."},{"type":"null"}]}},"type":"object","required":["type","role","content"],"x-readme-ref-name":"DeveloperMessageItemParam"},{"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this message item.","example":"msg_123"},{"type":"null"}]},"type":{"type":"string","enum":["message"],"description":"The item type. Always `message`.","default":"message"},"role":{"type":"string","enum":["assistant"],"description":"The role of the message author. Always `assistant`.","default":"assistant"},"content":{"oneOf":[{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["output_text"],"description":"The content type. Always `output_text`.","default":"output_text"},"text":{"type":"string","maxLength":10485760,"description":"The text content."},"annotations":{"oneOf":[{"items":{"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The citation type. Always `url_citation`.","default":"url_citation"},"start_index":{"type":"integer","minimum":0,"description":"The index of the first character of the citation in the message."},"end_index":{"type":"integer","minimum":0,"description":"The index of the last character of the citation in the message."},"url":{"type":"string","description":"The URL of the cited resource."},"title":{"type":"string","description":"The title of the cited resource."}},"type":"object","required":["type","start_index","end_index","url","title"],"x-readme-ref-name":"UrlCitationParam"},"type":"array"}],"description":"Citations associated with the text content."}},"type":"object","required":["type","text"],"x-readme-ref-name":"OutputTextContentParam"},{"properties":{"type":{"type":"string","enum":["refusal"],"description":"The content type. Always `refusal`.","default":"refusal"},"refusal":{"type":"string","maxLength":10485760,"description":"The refusal text."}},"type":"object","required":["type","refusal"],"x-readme-ref-name":"RefusalContentParam"}],"description":"A piece of assistant message content, such as text or a refusal.","discriminator":{"propertyName":"type"}},"type":"array"},{"type":"string","maxLength":10485760,"description":"The message content, as a single string."}],"description":"The message content, as an array of content parts."},"status":{"anyOf":[{"type":"string","description":"The status of the message item."},{"type":"null"}]}},"type":"object","required":["type","role","content"],"x-readme-ref-name":"AssistantMessageItemParam"},{"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this function tool call.","example":"fc_123"},{"type":"null"}]},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the function tool call generated by the model."},"type":{"type":"string","enum":["function_call"],"description":"The item type. Always `function_call`.","default":"function_call"},"name":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","description":"The name of the function to call."},"arguments":{"type":"string","description":"The function arguments as a JSON string."},"status":{"anyOf":[{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"x-enumDescriptions":{"completed":"Model has finished sampling this item.","in_progress":"Model is currently sampling this item.","incomplete":"Model was interrupted from sampling this item partway through. This can occur, for example, if the model encounters a stop token or exhausts its output_token budget."},"x-readme-ref-name":"FunctionCallStatus"},{"description":"The status of the function tool call."}]},{"type":"null"}]}},"type":"object","required":["call_id","type","name","arguments"],"x-readme-ref-name":"FunctionCallItemParam"},{"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of the function tool call output. Populated when this item is returned via API.","example":"fc_123"},{"type":"null"}]},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the function tool call generated by the model."},"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output"},"output":{"oneOf":[{"type":"string","maxLength":10485760,"description":"A JSON string of the output of the function tool call."},{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","maxLength":10485760,"description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-unionDisplay":"section","x-unionTitle":"Content Type","x-readme-ref-name":"InputTextContentParam"},{"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","maxLength":20971520,"description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"anyOf":[{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]},{"type":"null"}]}},"type":"object","required":["type"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision)","x-readme-ref-name":"InputImageContentParamAutoParam"},{"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"anyOf":[{"type":"string","description":"The name of the file to be sent to the model."},{"type":"null"}]},"file_data":{"anyOf":[{"type":"string","maxLength":33554432,"description":"The base64-encoded data of the file to be sent to the model."},{"type":"null"}]},"file_url":{"anyOf":[{"type":"string","description":"The URL of the file to be sent to the model."},{"type":"null"}]}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContentParam"},{"type":"object","description":"A content block representing a video input to the model.","properties":{"type":{"type":"string","enum":["input_video"],"description":"The type of the input content. Always `input_video`."},"video_url":{"type":"string","description":"A base64 or remote url that resolves to a video file."}},"required":["type","video_url"],"x-readme-ref-name":"InputVideoContent"}],"description":"A piece of message content, such as text, an image, or a file.","discriminator":{"propertyName":"type"}},"type":"array","description":"An array of content outputs (text, image, file) for the function tool call."}],"description":"Text, image, or file output of the function tool call."},"status":{"anyOf":[{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"x-enumDescriptions":{"completed":"Model has finished sampling this item.","in_progress":"Model is currently sampling this item.","incomplete":"Model was interrupted from sampling this item partway through. This can occur, for example, if the model encounters a stop token or exhausts its output_token budget."},"x-readme-ref-name":"FunctionCallStatus"},{"description":"The status of the item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API."}]},{"type":"null"}]}},"type":"object","required":["call_id","type","output"],"title":"Function tool call output","description":"The output of a function tool call.","x-readme-ref-name":"FunctionCallOutputItemParam"}],"discriminator":{"propertyName":"type"},"x-unionDisplay":"section","x-unionTitle":"Input Item Types","x-readme-ref-name":"ItemParam"},"type":"array"}],"description":"Context to provide to the model for the scope of this request. May either be a string or an array of input items. If a string is provided, it is interpreted as a user message."},{"type":"null"}]},"previous_response_id":{"anyOf":[{"type":"string","description":"The ID of the response to use as the prior turn for this request.","example":"resp_123"},{"type":"null"}]},"include":{"items":{"type":"string","enum":["reasoning.encrypted_content","message.output_text.logprobs"],"description":"","x-enumDescriptions":{"message.output_text.logprobs":"includes sampled logprobs in assistant messages.","reasoning.encrypted_content":"includes encrypted reasoning content so that it may be rehydrated on a subsequent request."},"x-readme-ref-name":"IncludeEnum"},"type":"array"},"tools":{"anyOf":[{"items":{"oneOf":[{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"parameters":{"anyOf":[{"properties":{},"type":"object","required":[],"x-readme-ref-name":"EmptyModelParam"},{"type":"null"}]},"strict":{"type":"boolean"},"type":{"type":"string","enum":["function"],"default":"function"}},"type":"object","required":["name","type"],"x-readme-ref-name":"FunctionToolParam"}],"discriminator":{"propertyName":"type"},"x-unionDisplay":"section","x-unionTitle":"Tool Types","x-readme-ref-name":"ResponsesToolParam"},"type":"array","description":"A list of tools that the model may call while generating the response."},{"type":"null"}]},"tool_choice":{"anyOf":[{"allOf":[{"oneOf":[{"oneOf":[{"properties":{"type":{"type":"string","enum":["function"],"description":"The tool to call. Always `function`.","default":"function"},"name":{"type":"string","description":"The name of the function tool to call."}},"type":"object","required":["type","name"],"x-readme-ref-name":"SpecificFunctionParam"}],"x-readme-ref-name":"SpecificToolChoiceParam"},{"type":"string","enum":["none","auto","required"],"x-enumDescriptions":{"auto":"Let the model choose the tools from among the provided set.","none":"Restrict the model from calling any tools.","required":"Require the model to call a tool."},"x-readme-ref-name":"ToolChoiceValueEnum"},{"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"The tool choice type. Always `allowed_tools`.","default":"allowed_tools"},"tools":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["function"],"description":"The tool to call. Always `function`.","default":"function"},"name":{"type":"string","description":"The name of the function tool to call."}},"type":"object","required":["type","name"],"x-readme-ref-name":"SpecificFunctionParam"}],"x-readme-ref-name":"SpecificToolChoiceParam"},"type":"array","maxItems":128,"minItems":1,"description":"The list of tools that are permitted for this request."},"mode":{"allOf":[{"type":"string","enum":["none","auto","required"],"x-enumDescriptions":{"auto":"Let the model choose the tools from among the provided set.","none":"Restrict the model from calling any tools.","required":"Require the model to call a tool."},"x-readme-ref-name":"ToolChoiceValueEnum"},{"description":"How to select a tool from the allowed set."}]}},"type":"object","required":["type","tools"],"x-readme-ref-name":"AllowedToolsParam"}],"description":"Controls which tool the model should use, if any.","x-readme-ref-name":"ToolChoiceParam"},{"description":"Controls which tool the model should use, if any."}]},{"type":"null"}],"x-unionTitle":"ToolChoiceParam"},"metadata":{"anyOf":[{"allOf":[{"additionalProperties":{"type":"string","maxLength":512},"type":"object","maxProperties":16,"description":"Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.","x-readme-ref-name":"MetadataParam"},{"description":"Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters."}]},{"type":"null"}]},"text":{"anyOf":[{"allOf":[{"properties":{"format":{"description":"The format configuration for text output.","oneOf":[{"oneOf":[{"properties":{"type":{"type":"string","enum":["text"],"default":"text"}},"type":"object","required":["type"],"x-readme-ref-name":"TextResponseFormat"},{"type":"object","properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"]},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\n","additionalProperties":true},"strict":{"anyOf":[{"type":"boolean","default":false,"description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`.\n"},{"type":"null"}]}},"x-readme-ref-name":"JsonSchemaResponseFormatParam"}],"x-readme-ref-name":"TextFormatParam"},{"type":"null"}]},"verbosity":{"allOf":[{"type":"string","enum":["low","medium","high"],"x-enumDescriptions":{"high":"Instruct the model to emit more verbose final responses.","low":"Instruct the model to emit less verbose final responses.","medium":"Use the model's default verbosity setting."},"x-readme-ref-name":"VerbosityEnum"},{"description":"Controls the level of detail in generated text output."}]}},"type":"object","required":[],"x-readme-ref-name":"TextParam"},{"description":"Configuration options for text output."}]},{"type":"null"}]},"temperature":{"anyOf":[{"type":"number","description":"Sampling temperature to use, between 0 and 2. Higher values make the output more random."},{"type":"null"}]},"top_p":{"anyOf":[{"type":"number","description":"Nucleus sampling parameter, between 0 and 1. The model considers only the tokens with the top cumulative probability."},{"type":"null"}]},"presence_penalty":{"anyOf":[{"type":"number","description":"Penalizes new tokens based on whether they appear in the text so far."},{"type":"null"}]},"frequency_penalty":{"anyOf":[{"type":"number","description":"Penalizes new tokens based on their frequency in the text so far."},{"type":"null"}]},"parallel_tool_calls":{"anyOf":[{"type":"boolean","description":"Whether the model may call multiple tools in parallel."},{"type":"null"}]},"stream":{"type":"boolean","description":"Whether to stream response events as server-sent events."},"stream_options":{"anyOf":[{"allOf":[{"properties":{"include_obfuscation":{"type":"boolean","description":"Whether to obfuscate sensitive information in streamed output. Defaults to `true`."}},"type":"object","required":[],"description":"Options that control streamed response behavior.","x-readme-ref-name":"StreamOptionsParam"},{"description":"Options that control streamed response behavior."}]},{"type":"null"}]},"background":{"type":"boolean","description":"Whether to run the request in the background and return immediately."},"max_output_tokens":{"anyOf":[{"type":"integer","minimum":16,"description":"The maximum number of tokens the model may generate for this response."},{"type":"null"}]},"max_tool_calls":{"anyOf":[{"type":"integer","minimum":1,"description":"The maximum number of tool calls the model may make while generating the response."},{"type":"null"}]},"reasoning":{"anyOf":[{"allOf":[{"properties":{"effort":{"anyOf":[{"oneOf":[{"type":"string","enum":["none","low","medium","high","xhigh"],"x-enumDescriptions":{"high":"Use a higher reasoning effort to improve answer quality.","medium":"Use a balanced reasoning effort.","low":"Use a lower reasoning effort for faster responses.","minimal":"Use the lowest non-zero reasoning effort.","none":"Restrict the model from performing any reasoning before emitting a final answer.","xhigh":"Use the maximum reasoning effort available."},"x-readme-ref-name":"ReasoningEffortEnum"}],"description":"Controls the level of reasoning effort the model should apply. Higher effort may increase latency and cost."},{"type":"null"}]},"summary":{"anyOf":[{"allOf":[{"type":"string","enum":["concise","detailed","auto"],"x-enumDescriptions":{"auto":"Allow the model to decide when to summarize.","concise":"Emit concise summaries of reasoning content.","detailed":"Emit details summaries of reasoning content."},"x-readme-ref-name":"ReasoningSummaryEnum"},{"description":"Controls whether the response includes a reasoning summary."}]},{"type":"null"}]}},"type":"object","required":[],"description":"**gpt-5 and o-series models only** Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).","x-readme-ref-name":"ReasoningParam"},{"description":"Configuration options for reasoning behavior."}]},{"type":"null"}]},"safety_identifier":{"anyOf":[{"type":"string","maxLength":64,"description":"A stable identifier used for safety monitoring and abuse detection."},{"type":"null"}]},"prompt_cache_key":{"anyOf":[{"type":"string","maxLength":64,"description":"A key to use when reading from or writing to the prompt cache."},{"type":"null"}]},"truncation":{"allOf":[{"type":"string","enum":["auto","disabled"],"x-enumDescriptions":{"auto":"Let the service decide how to truncate.","disabled":"Disable service truncation. Context over the model's context limit will result in a 400 error."},"x-readme-ref-name":"TruncationEnum"},{"description":"Controls how the service truncates the input when it exceeds the model context window."}]},"instructions":{"anyOf":[{"type":"string","description":"Additional instructions to guide the model for this request."},{"type":"null"}]},"store":{"type":"boolean","description":"Whether to store the response so it can be retrieved later."},"service_tier":{"allOf":[{"type":"string","enum":["auto","default","flex","priority"],"x-enumDescriptions":{"auto":"Choose a service tier automatically based on current account state.","default":"Choose the default service tier.","flex":"Choose the flex service tier.","priority":"Choose the priority service tier."},"x-readme-ref-name":"ServiceTierEnum"},{"description":"The service tier to use for this request."}]},"top_logprobs":{"anyOf":[{"type":"integer","maximum":20,"minimum":0,"description":"The number of most likely tokens to return at each position, along with their log probabilities."},{"type":"null"}]}},"type":"object","required":[],"x-readme-ref-name":"CreateResponseBody"}
@@ -0,0 +1 @@
1
+ {"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"DetailEnum"}
@@ -0,0 +1 @@
1
+ {"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this message item.","example":"msg_123"},{"type":"null"}]},"type":{"type":"string","enum":["message"],"description":"The item type. Always `message`.","default":"message"},"role":{"type":"string","enum":["developer"],"description":"The message role. Always `developer`.","default":"developer"},"content":{"oneOf":[{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","maxLength":10485760,"description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-unionDisplay":"section","x-unionTitle":"Content Type","x-readme-ref-name":"InputTextContentParam"}],"discriminator":{"propertyName":"type"}},"type":"array"},{"type":"string","maxLength":10485760,"description":"The message content, as a single string."}],"description":"The message content, as an array of content parts."},"status":{"anyOf":[{"type":"string","description":"The status of the message item."},{"type":"null"}]}},"type":"object","required":["type","role","content"],"x-readme-ref-name":"DeveloperMessageItemParam"}
@@ -0,0 +1 @@
1
+ {"properties":{},"type":"object","required":[],"x-readme-ref-name":"EmptyModelParam"}
@@ -0,0 +1 @@
1
+ {"properties":{"code":{"type":"string","description":"A machine-readable error code that was returned."},"message":{"type":"string","description":"A human-readable description of the error that was returned."}},"type":"object","required":["code","message"],"title":"Error","description":"An error that occurred while generating the response.","x-readme-ref-name":"Error"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","description":"The error type that was emitted."},"code":{"anyOf":[{"type":"string","description":"The error code that was emitted, if any."},{"type":"null"}]},"message":{"type":"string","description":"The human-readable error message that was emitted."},"param":{"anyOf":[{"type":"string","description":"The parameter name that was associated with the error, if any."},{"type":"null"}]},"headers":{"additionalProperties":{"type":"string","description":"The header value that was emitted."},"type":"object","description":"The response headers that were emitted with the error, if any."}},"type":"object","required":["type","code","message","param"],"title":"Error payload","description":"An error payload that was emitted for a streaming error event.","x-readme-ref-name":"ErrorPayload"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["error"],"description":"The type of the event, always `error`.","default":"error"},"sequence_number":{"type":"integer","description":"The sequence number of the event that was emitted."},"error":{"allOf":[{"properties":{"type":{"type":"string","description":"The error type that was emitted."},"code":{"anyOf":[{"type":"string","description":"The error code that was emitted, if any."},{"type":"null"}]},"message":{"type":"string","description":"The human-readable error message that was emitted."},"param":{"anyOf":[{"type":"string","description":"The parameter name that was associated with the error, if any."},{"type":"null"}]},"headers":{"additionalProperties":{"type":"string","description":"The header value that was emitted."},"type":"object","description":"The response headers that were emitted with the error, if any."}},"type":"object","required":["type","code","message","param"],"title":"Error payload","description":"An error payload that was emitted for a streaming error event.","x-readme-ref-name":"ErrorPayload"},{"description":"The error payload that was emitted."}]}},"type":"object","required":["type","sequence_number","error"],"title":"Error event","description":"A streaming event that indicated an error was emitted.","x-readme-ref-name":"ErrorStreamingEvent"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["function_call"],"description":"The type of the item. Always `function_call`.","default":"function_call"},"id":{"type":"string","description":"The unique ID of the function call item."},"call_id":{"type":"string","description":"The unique ID of the function tool call that was generated."},"name":{"type":"string","description":"The name of the function that was called."},"arguments":{"type":"string","description":"The arguments JSON string that was generated."},"status":{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"x-enumDescriptions":{"completed":"Model has finished sampling this item.","in_progress":"Model is currently sampling this item.","incomplete":"Model was interrupted from sampling this item partway through. This can occur, for example, if the model encounters a stop token or exhausts its output_token budget."},"x-readme-ref-name":"FunctionCallStatus"},{"description":"The status of the function call item that was recorded."}]}},"type":"object","required":["type","id","call_id","name","arguments","status"],"title":"Function call","description":"A function tool call that was generated by the model.","x-readme-ref-name":"FunctionCall"}
@@ -0,0 +1 @@
1
+ {"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of this function tool call.","example":"fc_123"},{"type":"null"}]},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the function tool call generated by the model."},"type":{"type":"string","enum":["function_call"],"description":"The item type. Always `function_call`.","default":"function_call"},"name":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","description":"The name of the function to call."},"arguments":{"type":"string","description":"The function arguments as a JSON string."},"status":{"anyOf":[{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"x-enumDescriptions":{"completed":"Model has finished sampling this item.","in_progress":"Model is currently sampling this item.","incomplete":"Model was interrupted from sampling this item partway through. This can occur, for example, if the model encounters a stop token or exhausts its output_token budget."},"x-readme-ref-name":"FunctionCallStatus"},{"description":"The status of the function tool call."}]},{"type":"null"}]}},"type":"object","required":["call_id","type","name","arguments"],"x-readme-ref-name":"FunctionCallItemParam"}
@@ -0,0 +1 @@
1
+ {"type":"string","enum":["in_progress","completed","incomplete"],"x-readme-ref-name":"FunctionCallItemStatus"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output"},"id":{"type":"string","description":"The unique ID of the function tool call output. Populated when this item is returned via API."},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model."},"output":{"oneOf":[{"type":"string","description":"A JSON string of the output of the function tool call."},{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-readme-ref-name":"InputTextContent"},{"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]}},"type":"object","required":["type","image_url","detail"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision).","x-readme-ref-name":"InputImageContent"},{"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"type":"string","description":"The name of the file to be sent to the model."},"file_url":{"type":"string","description":"The URL of the file to be sent to the model."}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContent"}],"description":"A content part that makes up an input or output item.","discriminator":{"propertyName":"type"}},"type":"array","description":"An array of output contents (images, files, text) for the function tool call."}]},"status":{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"description":"Similar to `FunctionCallStatus`. All three options are allowed here for compatibility, but because in practice these items will be provided by developers, only `completed` should be used.","x-readme-ref-name":"FunctionCallOutputStatusEnum"},{"description":"The status of the item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API."}]}},"type":"object","required":["type","id","call_id","output","status"],"title":"Function call output","description":"A function tool call output that was returned by the tool.","x-readme-ref-name":"FunctionCallOutput"}
@@ -0,0 +1 @@
1
+ {"properties":{"id":{"anyOf":[{"type":"string","description":"The unique ID of the function tool call output. Populated when this item is returned via API.","example":"fc_123"},{"type":"null"}]},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the function tool call generated by the model."},"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output"},"output":{"oneOf":[{"type":"string","maxLength":10485760,"description":"A JSON string of the output of the function tool call."},{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","maxLength":10485760,"description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-unionDisplay":"section","x-unionTitle":"Content Type","x-readme-ref-name":"InputTextContentParam"},{"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","maxLength":20971520,"description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"anyOf":[{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]},{"type":"null"}]}},"type":"object","required":["type"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision)","x-readme-ref-name":"InputImageContentParamAutoParam"},{"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"anyOf":[{"type":"string","description":"The name of the file to be sent to the model."},{"type":"null"}]},"file_data":{"anyOf":[{"type":"string","maxLength":33554432,"description":"The base64-encoded data of the file to be sent to the model."},{"type":"null"}]},"file_url":{"anyOf":[{"type":"string","description":"The URL of the file to be sent to the model."},{"type":"null"}]}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContentParam"},{"type":"object","description":"A content block representing a video input to the model.","properties":{"type":{"type":"string","enum":["input_video"],"description":"The type of the input content. Always `input_video`."},"video_url":{"type":"string","description":"A base64 or remote url that resolves to a video file."}},"required":["type","video_url"],"x-readme-ref-name":"InputVideoContent"}],"description":"A piece of message content, such as text, an image, or a file.","discriminator":{"propertyName":"type"}},"type":"array","description":"An array of content outputs (text, image, file) for the function tool call."}],"description":"Text, image, or file output of the function tool call."},"status":{"anyOf":[{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"x-enumDescriptions":{"completed":"Model has finished sampling this item.","in_progress":"Model is currently sampling this item.","incomplete":"Model was interrupted from sampling this item partway through. This can occur, for example, if the model encounters a stop token or exhausts its output_token budget."},"x-readme-ref-name":"FunctionCallStatus"},{"description":"The status of the item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API."}]},{"type":"null"}]}},"type":"object","required":["call_id","type","output"],"title":"Function tool call output","description":"The output of a function tool call.","x-readme-ref-name":"FunctionCallOutputItemParam"}
@@ -0,0 +1 @@
1
+ {"type":"string","enum":["in_progress","completed","incomplete"],"description":"Similar to `FunctionCallStatus`. All three options are allowed here for compatibility, but because in practice these items will be provided by developers, only `completed` should be used.","x-readme-ref-name":"FunctionCallOutputStatusEnum"}
@@ -0,0 +1 @@
1
+ {"type":"string","enum":["in_progress","completed","incomplete"],"x-enumDescriptions":{"completed":"Model has finished sampling this item.","in_progress":"Model is currently sampling this item.","incomplete":"Model was interrupted from sampling this item partway through. This can occur, for example, if the model encounters a stop token or exhausts its output_token budget."},"x-readme-ref-name":"FunctionCallStatus"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function"},"name":{"type":"string","description":"The name of the function to call."},"description":{"anyOf":[{"type":"string","description":"A description of the function. Used by the model to determine whether or not to call the function."},{"type":"null"}]},"parameters":{"anyOf":[{"additionalProperties":{},"type":"object","description":"A JSON schema object describing the parameters of the function."},{"type":"null"}]},"strict":{"anyOf":[{"type":"boolean","description":"Whether to enforce strict parameter validation. Default `true`."},{"type":"null"}]}},"type":"object","required":["type","name","description","parameters","strict"],"title":"Function","description":"Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).","x-readme-ref-name":"FunctionTool"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["function"],"default":"function"},"name":{"type":"string"}},"type":"object","required":["type"],"x-readme-ref-name":"FunctionToolChoice"}
@@ -0,0 +1 @@
1
+ {"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"parameters":{"anyOf":[{"properties":{},"type":"object","required":[],"x-readme-ref-name":"EmptyModelParam"},{"type":"null"}]},"strict":{"type":"boolean"},"type":{"type":"string","enum":["function"],"default":"function"}},"type":"object","required":["name","type"],"x-readme-ref-name":"FunctionToolParam"}
@@ -0,0 +1 @@
1
+ {"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"}
@@ -0,0 +1 @@
1
+ {"type":"string","enum":["reasoning.encrypted_content","message.output_text.logprobs"],"description":"","x-enumDescriptions":{"message.output_text.logprobs":"includes sampled logprobs in assistant messages.","reasoning.encrypted_content":"includes encrypted reasoning content so that it may be rehydrated on a subsequent request."},"x-readme-ref-name":"IncludeEnum"}
@@ -0,0 +1 @@
1
+ {"properties":{"reason":{"type":"string","description":"The reason the response could not be completed."}},"type":"object","required":["reason"],"title":"Incomplete details","description":"Details about why the response was incomplete.","x-readme-ref-name":"IncompleteDetails"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"type":"string","description":"The name of the file to be sent to the model."},"file_url":{"type":"string","description":"The URL of the file to be sent to the model."}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContent"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"anyOf":[{"type":"string","description":"The name of the file to be sent to the model."},{"type":"null"}]},"file_data":{"anyOf":[{"type":"string","maxLength":33554432,"description":"The base64-encoded data of the file to be sent to the model."},{"type":"null"}]},"file_url":{"anyOf":[{"type":"string","description":"The URL of the file to be sent to the model."},{"type":"null"}]}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContentParam"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]}},"type":"object","required":["type","image_url","detail"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision).","x-readme-ref-name":"InputImageContent"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","maxLength":20971520,"description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"anyOf":[{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]},{"type":"null"}]}},"type":"object","required":["type"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision)","x-readme-ref-name":"InputImageContentParamAutoParam"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-readme-ref-name":"InputTextContent"}
@@ -0,0 +1 @@
1
+ {"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","maxLength":10485760,"description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-unionDisplay":"section","x-unionTitle":"Content Type","x-readme-ref-name":"InputTextContentParam"}
@@ -0,0 +1 @@
1
+ {"properties":{"cached_tokens":{"type":"integer","description":"The number of input tokens that were served from cache."}},"type":"object","required":["cached_tokens"],"title":"Input tokens details","description":"A breakdown of input token usage that was recorded.","x-readme-ref-name":"InputTokensDetails"}
@@ -0,0 +1 @@
1
+ {"type":"object","description":"A content block representing a video input to the model.","properties":{"type":{"type":"string","enum":["input_video"],"description":"The type of the input content. Always `input_video`."},"video_url":{"type":"string","description":"A base64 or remote url that resolves to a video file."}},"required":["type","video_url"],"x-readme-ref-name":"InputVideoContent"}
@@ -0,0 +1 @@
1
+ {"oneOf":[{"properties":{"type":{"type":"string","enum":["message"],"description":"The type of the message. Always set to `message`.","default":"message"},"id":{"type":"string","description":"The unique ID of the message."},"status":{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"x-enumDescriptions":{"completed":"Model has finished sampling this item.","in_progress":"Model is currently sampling this item.","incomplete":"Model was interrupted from sampling this item partway through. This can occur, for example, if the model encounters a stop token or exhausts its output_token budget."},"x-readme-ref-name":"MessageStatus"},{"description":"The status of item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API."}]},"role":{"allOf":[{"type":"string","enum":["user","assistant","system","developer"],"x-enumDescriptions":{"assistant":"Model-generated content in the conversation.","developer":"Developer-supplied guidance that shapes the assistant’s behavior.","system":"System-level instructions that set global behavior.","user":"End‑user input in the conversation."},"x-readme-ref-name":"MessageRole"},{"description":"The role of the message. One of `unknown`, `user`, `assistant`, `system`, `critic`, `discriminator`, `developer`, or `tool`."}]},"content":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-readme-ref-name":"InputTextContent"},{"properties":{"type":{"type":"string","enum":["output_text"],"description":"The type of the output text. Always `output_text`.","default":"output_text"},"text":{"type":"string","description":"The text output from the model."},"annotations":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The type of the URL citation. Always `url_citation`.","default":"url_citation"},"url":{"type":"string","description":"The URL of the web resource."},"start_index":{"type":"integer","description":"The index of the first character of the URL citation in the message."},"end_index":{"type":"integer","description":"The index of the last character of the URL citation in the message."},"title":{"type":"string","description":"The title of the web resource."}},"type":"object","required":["type","url","start_index","end_index","title"],"title":"URL citation","description":"A citation for a web resource used to generate a model response.","x-readme-ref-name":"UrlCitationBody"}],"description":"An annotation that applies to a span of output text.","discriminator":{"propertyName":"type"},"x-readme-ref-name":"Annotation"},"type":"array","description":"The annotations of the text output."},"logprobs":{"items":{"properties":{"token":{"type":"string"},"logprob":{"type":"number"},"bytes":{"items":{"type":"integer"},"type":"array"},"top_logprobs":{"items":{"properties":{"token":{"type":"string"},"logprob":{"type":"number"},"bytes":{"items":{"type":"integer"},"type":"array"}},"type":"object","required":["token","logprob","bytes"],"title":"Top log probability","description":"The top log probability of a token.","x-readme-ref-name":"TopLogProb"},"type":"array"}},"type":"object","required":["token","logprob","bytes","top_logprobs"],"title":"Log probability","description":"The log probability of a token.","x-readme-ref-name":"LogProb"},"type":"array"}},"type":"object","required":["type","text","annotations","logprobs"],"title":"Output text","description":"A text output from the model.","x-readme-ref-name":"OutputTextContent"},{"properties":{"type":{"type":"string","enum":["text"],"default":"text"},"text":{"type":"string"}},"type":"object","required":["type","text"],"title":"Text Content","description":"A text content.","x-readme-ref-name":"TextContent"},{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far."}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","x-readme-ref-name":"SummaryTextContent"},{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text"},"text":{"type":"string","description":"The reasoning text from the model."}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","x-readme-ref-name":"ReasoningTextContent"},{"properties":{"type":{"type":"string","enum":["refusal"],"description":"The type of the refusal. Always `refusal`.","default":"refusal"},"refusal":{"type":"string","description":"The refusal explanation from the model."}},"type":"object","required":["type","refusal"],"title":"Refusal","description":"A refusal from the model.","x-readme-ref-name":"RefusalContent"},{"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]}},"type":"object","required":["type","image_url","detail"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision).","x-readme-ref-name":"InputImageContent"},{"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"type":"string","description":"The name of the file to be sent to the model."},"file_url":{"type":"string","description":"The URL of the file to be sent to the model."}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContent"},{"type":"object","description":"A content block representing a video input to the model.","properties":{"type":{"type":"string","enum":["input_video"],"description":"The type of the input content. Always `input_video`."},"video_url":{"type":"string","description":"A base64 or remote url that resolves to a video file."}},"required":["type","video_url"],"x-readme-ref-name":"InputVideoContent"}],"description":"A content part that makes up an input or output item.","discriminator":{"propertyName":"type"}},"type":"array","description":"The content of the message"}},"type":"object","required":["type","id","status","role","content"],"title":"Message","description":"A message to or from the model.","x-readme-ref-name":"Message"},{"properties":{"type":{"type":"string","enum":["function_call"],"description":"The type of the item. Always `function_call`.","default":"function_call"},"id":{"type":"string","description":"The unique ID of the function call item."},"call_id":{"type":"string","description":"The unique ID of the function tool call that was generated."},"name":{"type":"string","description":"The name of the function that was called."},"arguments":{"type":"string","description":"The arguments JSON string that was generated."},"status":{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"x-enumDescriptions":{"completed":"Model has finished sampling this item.","in_progress":"Model is currently sampling this item.","incomplete":"Model was interrupted from sampling this item partway through. This can occur, for example, if the model encounters a stop token or exhausts its output_token budget."},"x-readme-ref-name":"FunctionCallStatus"},{"description":"The status of the function call item that was recorded."}]}},"type":"object","required":["type","id","call_id","name","arguments","status"],"title":"Function call","description":"A function tool call that was generated by the model.","x-readme-ref-name":"FunctionCall"},{"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output"},"id":{"type":"string","description":"The unique ID of the function tool call output. Populated when this item is returned via API."},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model."},"output":{"oneOf":[{"type":"string","description":"A JSON string of the output of the function tool call."},{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-readme-ref-name":"InputTextContent"},{"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]}},"type":"object","required":["type","image_url","detail"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision).","x-readme-ref-name":"InputImageContent"},{"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"type":"string","description":"The name of the file to be sent to the model."},"file_url":{"type":"string","description":"The URL of the file to be sent to the model."}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContent"}],"description":"A content part that makes up an input or output item.","discriminator":{"propertyName":"type"}},"type":"array","description":"An array of output contents (images, files, text) for the function tool call."}]},"status":{"allOf":[{"type":"string","enum":["in_progress","completed","incomplete"],"description":"Similar to `FunctionCallStatus`. All three options are allowed here for compatibility, but because in practice these items will be provided by developers, only `completed` should be used.","x-readme-ref-name":"FunctionCallOutputStatusEnum"},{"description":"The status of the item. One of `in_progress`, `completed`, or `incomplete`. Populated when items are returned via API."}]}},"type":"object","required":["type","id","call_id","output","status"],"title":"Function call output","description":"A function tool call output that was returned by the tool.","x-readme-ref-name":"FunctionCallOutput"},{"properties":{"type":{"type":"string","enum":["reasoning"],"description":"The type of the item. Always `reasoning`.","default":"reasoning"},"id":{"type":"string","description":"The unique ID of the reasoning item."},"content":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-readme-ref-name":"InputTextContent"},{"properties":{"type":{"type":"string","enum":["output_text"],"description":"The type of the output text. Always `output_text`.","default":"output_text"},"text":{"type":"string","description":"The text output from the model."},"annotations":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The type of the URL citation. Always `url_citation`.","default":"url_citation"},"url":{"type":"string","description":"The URL of the web resource."},"start_index":{"type":"integer","description":"The index of the first character of the URL citation in the message."},"end_index":{"type":"integer","description":"The index of the last character of the URL citation in the message."},"title":{"type":"string","description":"The title of the web resource."}},"type":"object","required":["type","url","start_index","end_index","title"],"title":"URL citation","description":"A citation for a web resource used to generate a model response.","x-readme-ref-name":"UrlCitationBody"}],"description":"An annotation that applies to a span of output text.","discriminator":{"propertyName":"type"},"x-readme-ref-name":"Annotation"},"type":"array","description":"The annotations of the text output."},"logprobs":{"items":{"properties":{"token":{"type":"string"},"logprob":{"type":"number"},"bytes":{"items":{"type":"integer"},"type":"array"},"top_logprobs":{"items":{"properties":{"token":{"type":"string"},"logprob":{"type":"number"},"bytes":{"items":{"type":"integer"},"type":"array"}},"type":"object","required":["token","logprob","bytes"],"title":"Top log probability","description":"The top log probability of a token.","x-readme-ref-name":"TopLogProb"},"type":"array"}},"type":"object","required":["token","logprob","bytes","top_logprobs"],"title":"Log probability","description":"The log probability of a token.","x-readme-ref-name":"LogProb"},"type":"array"}},"type":"object","required":["type","text","annotations","logprobs"],"title":"Output text","description":"A text output from the model.","x-readme-ref-name":"OutputTextContent"},{"properties":{"type":{"type":"string","enum":["text"],"default":"text"},"text":{"type":"string"}},"type":"object","required":["type","text"],"title":"Text Content","description":"A text content.","x-readme-ref-name":"TextContent"},{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far."}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","x-readme-ref-name":"SummaryTextContent"},{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text"},"text":{"type":"string","description":"The reasoning text from the model."}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","x-readme-ref-name":"ReasoningTextContent"},{"properties":{"type":{"type":"string","enum":["refusal"],"description":"The type of the refusal. Always `refusal`.","default":"refusal"},"refusal":{"type":"string","description":"The refusal explanation from the model."}},"type":"object","required":["type","refusal"],"title":"Refusal","description":"A refusal from the model.","x-readme-ref-name":"RefusalContent"},{"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]}},"type":"object","required":["type","image_url","detail"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision).","x-readme-ref-name":"InputImageContent"},{"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"type":"string","description":"The name of the file to be sent to the model."},"file_url":{"type":"string","description":"The URL of the file to be sent to the model."}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContent"}],"description":"A content part that makes up an input or output item.","discriminator":{"propertyName":"type"}},"type":"array","description":"The reasoning content that was generated."},"summary":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text"},"text":{"type":"string","description":"The text input to the model."}},"type":"object","required":["type","text"],"title":"Input text","description":"A text input to the model.","x-readme-ref-name":"InputTextContent"},{"properties":{"type":{"type":"string","enum":["output_text"],"description":"The type of the output text. Always `output_text`.","default":"output_text"},"text":{"type":"string","description":"The text output from the model."},"annotations":{"items":{"oneOf":[{"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The type of the URL citation. Always `url_citation`.","default":"url_citation"},"url":{"type":"string","description":"The URL of the web resource."},"start_index":{"type":"integer","description":"The index of the first character of the URL citation in the message."},"end_index":{"type":"integer","description":"The index of the last character of the URL citation in the message."},"title":{"type":"string","description":"The title of the web resource."}},"type":"object","required":["type","url","start_index","end_index","title"],"title":"URL citation","description":"A citation for a web resource used to generate a model response.","x-readme-ref-name":"UrlCitationBody"}],"description":"An annotation that applies to a span of output text.","discriminator":{"propertyName":"type"},"x-readme-ref-name":"Annotation"},"type":"array","description":"The annotations of the text output."},"logprobs":{"items":{"properties":{"token":{"type":"string"},"logprob":{"type":"number"},"bytes":{"items":{"type":"integer"},"type":"array"},"top_logprobs":{"items":{"properties":{"token":{"type":"string"},"logprob":{"type":"number"},"bytes":{"items":{"type":"integer"},"type":"array"}},"type":"object","required":["token","logprob","bytes"],"title":"Top log probability","description":"The top log probability of a token.","x-readme-ref-name":"TopLogProb"},"type":"array"}},"type":"object","required":["token","logprob","bytes","top_logprobs"],"title":"Log probability","description":"The log probability of a token.","x-readme-ref-name":"LogProb"},"type":"array"}},"type":"object","required":["type","text","annotations","logprobs"],"title":"Output text","description":"A text output from the model.","x-readme-ref-name":"OutputTextContent"},{"properties":{"type":{"type":"string","enum":["text"],"default":"text"},"text":{"type":"string"}},"type":"object","required":["type","text"],"title":"Text Content","description":"A text content.","x-readme-ref-name":"TextContent"},{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far."}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","x-readme-ref-name":"SummaryTextContent"},{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text"},"text":{"type":"string","description":"The reasoning text from the model."}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","x-readme-ref-name":"ReasoningTextContent"},{"properties":{"type":{"type":"string","enum":["refusal"],"description":"The type of the refusal. Always `refusal`.","default":"refusal"},"refusal":{"type":"string","description":"The refusal explanation from the model."}},"type":"object","required":["type","refusal"],"title":"Refusal","description":"A refusal from the model.","x-readme-ref-name":"RefusalContent"},{"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image"},"image_url":{"anyOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL."},{"type":"null"}]},"detail":{"allOf":[{"type":"string","enum":["low","high","auto"],"x-enumDescriptions":{"auto":"Choose the detail level automatically.","high":"Allows the model to \"see\" a higher-resolution version of the image, usually increasing input token costs.","low":"Restricts the model to a lower-resolution version of the image."},"x-readme-ref-name":"ImageDetail"},{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`."}]}},"type":"object","required":["type","image_url","detail"],"title":"Input image","description":"An image input to the model. Learn about [image inputs](/docs/guides/vision).","x-readme-ref-name":"InputImageContent"},{"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file"},"filename":{"type":"string","description":"The name of the file to be sent to the model."},"file_url":{"type":"string","description":"The URL of the file to be sent to the model."}},"type":"object","required":["type"],"title":"Input file","description":"A file input to the model.","x-readme-ref-name":"InputFileContent"}],"description":"A content part that makes up an input or output item.","discriminator":{"propertyName":"type"}},"type":"array","description":"The reasoning summary content that was generated."},"encrypted_content":{"type":"string","description":"The encrypted reasoning content that was generated."}},"type":"object","required":["type","id","summary"],"title":"Reasoning item","description":"A reasoning item that was generated by the model.","x-readme-ref-name":"ReasoningBody"}],"description":"An item representing a message, tool call, tool output, reasoning, or other response element.","discriminator":{"propertyName":"type"},"x-readme-ref-name":"ItemField"}