@orq-ai/node 4.5.0-rc.4 → 4.5.0-rc.40

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 (341) hide show
  1. package/README.md +38 -28
  2. package/funcs/agentsList.d.ts +1 -1
  3. package/funcs/agentsList.d.ts.map +1 -1
  4. package/funcs/agentsList.js +5 -3
  5. package/funcs/agentsList.js.map +1 -1
  6. package/funcs/agentsPostV2AgentsA2a.d.ts +18 -0
  7. package/funcs/agentsPostV2AgentsA2a.d.ts.map +1 -0
  8. package/funcs/agentsPostV2AgentsA2a.js +120 -0
  9. package/funcs/agentsPostV2AgentsA2a.js.map +1 -0
  10. package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts +18 -0
  11. package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +1 -0
  12. package/funcs/agentsPostV2AgentsKeyCardRefresh.js +124 -0
  13. package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +1 -0
  14. package/funcs/agentsResponsesGet.d.ts +19 -0
  15. package/funcs/agentsResponsesGet.d.ts.map +1 -0
  16. package/funcs/agentsResponsesGet.js +128 -0
  17. package/funcs/agentsResponsesGet.js.map +1 -0
  18. package/funcs/agentsStream.js +4 -2
  19. package/funcs/agentsStream.js.map +1 -1
  20. package/funcs/agentsStreamRun.js +4 -2
  21. package/funcs/agentsStreamRun.js.map +1 -1
  22. package/funcs/agentsUpdate.d.ts +1 -1
  23. package/funcs/agentsUpdate.d.ts.map +1 -1
  24. package/funcs/agentsUpdate.js.map +1 -1
  25. package/funcs/deploymentsStream.js +4 -2
  26. package/funcs/deploymentsStream.js.map +1 -1
  27. package/funcs/filesCreate.d.ts +1 -1
  28. package/funcs/filesCreate.js +8 -1
  29. package/funcs/filesCreate.js.map +1 -1
  30. package/funcs/routerAudioTranscriptionsCreate.js +7 -0
  31. package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
  32. package/funcs/routerAudioTranslationsCreate.js +7 -0
  33. package/funcs/routerAudioTranslationsCreate.js.map +1 -1
  34. package/jsr.json +1 -1
  35. package/lib/config.d.ts +3 -3
  36. package/lib/config.js +3 -3
  37. package/lib/config.js.map +1 -1
  38. package/lib/event-streams.d.ts +5 -0
  39. package/lib/event-streams.d.ts.map +1 -1
  40. package/lib/event-streams.js.map +1 -1
  41. package/lib/matchers.d.ts.map +1 -1
  42. package/lib/matchers.js +0 -1
  43. package/lib/matchers.js.map +1 -1
  44. package/lib/security.d.ts.map +1 -1
  45. package/lib/security.js +1 -2
  46. package/lib/security.js.map +1 -1
  47. package/models/components/createagentresponse.d.ts +5 -0
  48. package/models/components/createagentresponse.d.ts.map +1 -1
  49. package/models/components/createagentresponse.js +2 -0
  50. package/models/components/createagentresponse.js.map +1 -1
  51. package/models/components/extendedmessage.d.ts +71 -0
  52. package/models/components/extendedmessage.d.ts.map +1 -0
  53. package/models/components/extendedmessage.js +98 -0
  54. package/models/components/extendedmessage.js.map +1 -0
  55. package/models/components/getagentresponse.d.ts +157 -0
  56. package/models/components/getagentresponse.d.ts.map +1 -0
  57. package/models/components/getagentresponse.js +175 -0
  58. package/models/components/getagentresponse.js.map +1 -0
  59. package/models/components/index.d.ts +3 -0
  60. package/models/components/index.d.ts.map +1 -1
  61. package/models/components/index.js +3 -0
  62. package/models/components/index.js.map +1 -1
  63. package/models/components/partdoneevent.js +1 -1
  64. package/models/components/reasoningpart.js +1 -1
  65. package/models/components/responsedoneevent.d.ts +5 -0
  66. package/models/components/responsedoneevent.d.ts.map +1 -1
  67. package/models/components/responsedoneevent.js +2 -0
  68. package/models/components/responsedoneevent.js.map +1 -1
  69. package/models/components/responsestartedevent.d.ts +5 -0
  70. package/models/components/responsestartedevent.d.ts.map +1 -1
  71. package/models/components/responsestartedevent.js +2 -0
  72. package/models/components/responsestartedevent.js.map +1 -1
  73. package/models/components/telemetry.d.ts +20 -0
  74. package/models/components/telemetry.d.ts.map +1 -0
  75. package/models/components/telemetry.js +57 -0
  76. package/models/components/telemetry.js.map +1 -0
  77. package/models/errors/index.d.ts +2 -0
  78. package/models/errors/index.d.ts.map +1 -1
  79. package/models/errors/index.js +2 -0
  80. package/models/errors/index.js.map +1 -1
  81. package/models/errors/postv2agentsa2a.d.ts +43 -0
  82. package/models/errors/postv2agentsa2a.d.ts.map +1 -0
  83. package/models/errors/postv2agentsa2a.js +94 -0
  84. package/models/errors/postv2agentsa2a.js.map +1 -0
  85. package/models/errors/postv2agentskeycardrefresh.d.ts +43 -0
  86. package/models/errors/postv2agentskeycardrefresh.d.ts.map +1 -0
  87. package/models/errors/postv2agentskeycardrefresh.js +94 -0
  88. package/models/errors/postv2agentskeycardrefresh.js.map +1 -0
  89. package/models/operations/createagentrequest.d.ts +324 -601
  90. package/models/operations/createagentrequest.d.ts.map +1 -1
  91. package/models/operations/createagentrequest.js +308 -454
  92. package/models/operations/createagentrequest.js.map +1 -1
  93. package/models/operations/createagentresponserequest.d.ts +22 -1
  94. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  95. package/models/operations/createagentresponserequest.js +12 -2
  96. package/models/operations/createagentresponserequest.js.map +1 -1
  97. package/models/operations/createannotation.d.ts +1 -1
  98. package/models/operations/createannotation.d.ts.map +1 -1
  99. package/models/operations/createannotation.js +4 -0
  100. package/models/operations/createannotation.js.map +1 -1
  101. package/models/operations/createchatcompletion.d.ts +15 -2
  102. package/models/operations/createchatcompletion.d.ts.map +1 -1
  103. package/models/operations/createchatcompletion.js +3 -1
  104. package/models/operations/createchatcompletion.js.map +1 -1
  105. package/models/operations/createcompletion.d.ts +6 -2
  106. package/models/operations/createcompletion.d.ts.map +1 -1
  107. package/models/operations/createcompletion.js +2 -1
  108. package/models/operations/createcompletion.js.map +1 -1
  109. package/models/operations/createcontact.js +1 -1
  110. package/models/operations/createdataset.js +1 -1
  111. package/models/operations/createdatasetitem.js +4 -4
  112. package/models/operations/createdatasource.js +1 -1
  113. package/models/operations/createeval.js +16 -16
  114. package/models/operations/createfeedback.d.ts +2 -2
  115. package/models/operations/createidentity.js +1 -1
  116. package/models/operations/createknowledge.d.ts +7 -7
  117. package/models/operations/createknowledge.d.ts.map +1 -1
  118. package/models/operations/createknowledge.js +11 -11
  119. package/models/operations/createknowledge.js.map +1 -1
  120. package/models/operations/createprompt.d.ts +31 -30
  121. package/models/operations/createprompt.d.ts.map +1 -1
  122. package/models/operations/createprompt.js +32 -29
  123. package/models/operations/createprompt.js.map +1 -1
  124. package/models/operations/createresponse.d.ts.map +1 -1
  125. package/models/operations/createresponse.js +2 -1
  126. package/models/operations/createresponse.js.map +1 -1
  127. package/models/operations/createtool.d.ts +39 -39
  128. package/models/operations/createtool.d.ts.map +1 -1
  129. package/models/operations/createtool.js +52 -49
  130. package/models/operations/createtool.js.map +1 -1
  131. package/models/operations/deploymentinvoke.d.ts +15 -0
  132. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  133. package/models/operations/deploymentinvoke.js +17 -1
  134. package/models/operations/deploymentinvoke.js.map +1 -1
  135. package/models/operations/deployments.d.ts +1 -0
  136. package/models/operations/deployments.d.ts.map +1 -1
  137. package/models/operations/deployments.js +1 -0
  138. package/models/operations/deployments.js.map +1 -1
  139. package/models/operations/deploymentstream.d.ts +15 -0
  140. package/models/operations/deploymentstream.d.ts.map +1 -1
  141. package/models/operations/deploymentstream.js +17 -1
  142. package/models/operations/deploymentstream.js.map +1 -1
  143. package/models/operations/fileget.js +1 -1
  144. package/models/operations/filelist.js +1 -1
  145. package/models/operations/fileupload.js +1 -1
  146. package/models/operations/getagentresponse.d.ts +20 -0
  147. package/models/operations/getagentresponse.d.ts.map +1 -0
  148. package/models/operations/getagentresponse.js +56 -0
  149. package/models/operations/getagentresponse.js.map +1 -0
  150. package/models/operations/getallprompts.d.ts +1 -0
  151. package/models/operations/getallprompts.d.ts.map +1 -1
  152. package/models/operations/getallprompts.js +1 -0
  153. package/models/operations/getallprompts.js.map +1 -1
  154. package/models/operations/getalltools.d.ts +39 -39
  155. package/models/operations/getalltools.d.ts.map +1 -1
  156. package/models/operations/getalltools.js +49 -47
  157. package/models/operations/getalltools.js.map +1 -1
  158. package/models/operations/getevals.js +16 -16
  159. package/models/operations/getoneprompt.d.ts +1 -0
  160. package/models/operations/getoneprompt.d.ts.map +1 -1
  161. package/models/operations/getoneprompt.js +1 -0
  162. package/models/operations/getoneprompt.js.map +1 -1
  163. package/models/operations/getpromptversion.d.ts +1 -0
  164. package/models/operations/getpromptversion.d.ts.map +1 -1
  165. package/models/operations/getpromptversion.js +1 -0
  166. package/models/operations/getpromptversion.js.map +1 -1
  167. package/models/operations/index.d.ts +3 -0
  168. package/models/operations/index.d.ts.map +1 -1
  169. package/models/operations/index.js +3 -0
  170. package/models/operations/index.js.map +1 -1
  171. package/models/operations/invokeagent.d.ts +26 -1
  172. package/models/operations/invokeagent.d.ts.map +1 -1
  173. package/models/operations/invokeagent.js +12 -1
  174. package/models/operations/invokeagent.js.map +1 -1
  175. package/models/operations/listagents.d.ts +328 -346
  176. package/models/operations/listagents.d.ts.map +1 -1
  177. package/models/operations/listagents.js +314 -308
  178. package/models/operations/listagents.js.map +1 -1
  179. package/models/operations/listdatasetdatapoints.js +4 -4
  180. package/models/operations/listdatasets.js +1 -1
  181. package/models/operations/listdatasources.js +1 -1
  182. package/models/operations/listidentities.js +1 -1
  183. package/models/operations/listknowledgebases.d.ts +8 -8
  184. package/models/operations/listknowledgebases.d.ts.map +1 -1
  185. package/models/operations/listknowledgebases.js +13 -15
  186. package/models/operations/listknowledgebases.js.map +1 -1
  187. package/models/operations/listpromptversions.d.ts +1 -0
  188. package/models/operations/listpromptversions.d.ts.map +1 -1
  189. package/models/operations/listpromptversions.js +1 -0
  190. package/models/operations/listpromptversions.js.map +1 -1
  191. package/models/operations/postv2agentsa2a.d.ts +119 -0
  192. package/models/operations/postv2agentsa2a.d.ts.map +1 -0
  193. package/models/operations/postv2agentsa2a.js +147 -0
  194. package/models/operations/postv2agentsa2a.js.map +1 -0
  195. package/models/operations/postv2agentskeycardrefresh.d.ts +35 -0
  196. package/models/operations/postv2agentskeycardrefresh.d.ts.map +1 -0
  197. package/models/operations/postv2agentskeycardrefresh.js +71 -0
  198. package/models/operations/postv2agentskeycardrefresh.js.map +1 -0
  199. package/models/operations/retrieveagentrequest.d.ts +313 -349
  200. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  201. package/models/operations/retrieveagentrequest.js +307 -311
  202. package/models/operations/retrieveagentrequest.js.map +1 -1
  203. package/models/operations/retrievedatapoint.js +4 -4
  204. package/models/operations/retrievedataset.js +1 -1
  205. package/models/operations/retrievedatasource.js +1 -1
  206. package/models/operations/retrieveidentity.js +1 -1
  207. package/models/operations/retrievetool.js +6 -6
  208. package/models/operations/runagent.d.ts +27 -265
  209. package/models/operations/runagent.d.ts.map +1 -1
  210. package/models/operations/runagent.js +26 -163
  211. package/models/operations/runagent.js.map +1 -1
  212. package/models/operations/streamagent.d.ts +22 -1
  213. package/models/operations/streamagent.d.ts.map +1 -1
  214. package/models/operations/streamagent.js +11 -1
  215. package/models/operations/streamagent.js.map +1 -1
  216. package/models/operations/streamrunagent.d.ts +13 -255
  217. package/models/operations/streamrunagent.d.ts.map +1 -1
  218. package/models/operations/streamrunagent.js +15 -152
  219. package/models/operations/streamrunagent.js.map +1 -1
  220. package/models/operations/updateagent.d.ts +407 -614
  221. package/models/operations/updateagent.d.ts.map +1 -1
  222. package/models/operations/updateagent.js +364 -472
  223. package/models/operations/updateagent.js.map +1 -1
  224. package/models/operations/updatedatapoint.js +4 -4
  225. package/models/operations/updatedataset.js +1 -1
  226. package/models/operations/updatedatasource.js +1 -1
  227. package/models/operations/updateeval.d.ts +48 -0
  228. package/models/operations/updateeval.d.ts.map +1 -1
  229. package/models/operations/updateeval.js +60 -20
  230. package/models/operations/updateeval.js.map +1 -1
  231. package/models/operations/updateidentity.js +1 -1
  232. package/models/operations/updatememorystore.d.ts +2 -43
  233. package/models/operations/updatememorystore.d.ts.map +1 -1
  234. package/models/operations/updatememorystore.js +2 -45
  235. package/models/operations/updatememorystore.js.map +1 -1
  236. package/models/operations/updateprompt.d.ts +1 -0
  237. package/models/operations/updateprompt.d.ts.map +1 -1
  238. package/models/operations/updateprompt.js +1 -0
  239. package/models/operations/updateprompt.js.map +1 -1
  240. package/models/operations/updatetool.d.ts +60 -0
  241. package/models/operations/updatetool.d.ts.map +1 -1
  242. package/models/operations/updatetool.js +63 -9
  243. package/models/operations/updatetool.js.map +1 -1
  244. package/package.json +1 -1
  245. package/sdk/agents.d.ts +16 -2
  246. package/sdk/agents.d.ts.map +1 -1
  247. package/sdk/agents.js +22 -2
  248. package/sdk/agents.js.map +1 -1
  249. package/sdk/files.d.ts +1 -1
  250. package/sdk/files.js +1 -1
  251. package/sdk/responses.d.ts +8 -0
  252. package/sdk/responses.d.ts.map +1 -1
  253. package/sdk/responses.js +10 -0
  254. package/sdk/responses.js.map +1 -1
  255. package/src/funcs/agentsList.ts +5 -0
  256. package/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
  257. package/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
  258. package/src/funcs/agentsResponsesGet.ts +182 -0
  259. package/src/funcs/agentsStream.ts +4 -1
  260. package/src/funcs/agentsStreamRun.ts +4 -1
  261. package/src/funcs/agentsUpdate.ts +2 -2
  262. package/src/funcs/deploymentsStream.ts +4 -1
  263. package/src/funcs/filesCreate.ts +12 -1
  264. package/src/funcs/routerAudioTranscriptionsCreate.ts +11 -0
  265. package/src/funcs/routerAudioTranslationsCreate.ts +11 -0
  266. package/src/lib/config.ts +3 -3
  267. package/src/lib/event-streams.ts +10 -1
  268. package/src/lib/matchers.ts +3 -2
  269. package/src/lib/security.ts +1 -2
  270. package/src/models/components/createagentresponse.ts +6 -0
  271. package/src/models/components/extendedmessage.ts +146 -0
  272. package/src/models/components/getagentresponse.ts +348 -0
  273. package/src/models/components/index.ts +3 -0
  274. package/src/models/components/partdoneevent.ts +1 -1
  275. package/src/models/components/reasoningpart.ts +1 -1
  276. package/src/models/components/responsedoneevent.ts +6 -0
  277. package/src/models/components/responsestartedevent.ts +6 -0
  278. package/src/models/components/telemetry.ts +48 -0
  279. package/src/models/errors/index.ts +2 -0
  280. package/src/models/errors/postv2agentsa2a.ts +96 -0
  281. package/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
  282. package/src/models/operations/createagentrequest.ts +755 -1212
  283. package/src/models/operations/createagentresponserequest.ts +37 -2
  284. package/src/models/operations/createannotation.ts +5 -1
  285. package/src/models/operations/createchatcompletion.ts +14 -3
  286. package/src/models/operations/createcompletion.ts +8 -3
  287. package/src/models/operations/createcontact.ts +1 -1
  288. package/src/models/operations/createdataset.ts +1 -1
  289. package/src/models/operations/createdatasetitem.ts +4 -4
  290. package/src/models/operations/createdatasource.ts +1 -1
  291. package/src/models/operations/createeval.ts +16 -16
  292. package/src/models/operations/createfeedback.ts +2 -2
  293. package/src/models/operations/createidentity.ts +1 -1
  294. package/src/models/operations/createknowledge.ts +19 -17
  295. package/src/models/operations/createprompt.ts +56 -66
  296. package/src/models/operations/createresponse.ts +2 -1
  297. package/src/models/operations/createtool.ts +103 -91
  298. package/src/models/operations/deploymentinvoke.ts +39 -0
  299. package/src/models/operations/deployments.ts +1 -0
  300. package/src/models/operations/deploymentstream.ts +39 -0
  301. package/src/models/operations/fileget.ts +1 -1
  302. package/src/models/operations/filelist.ts +1 -1
  303. package/src/models/operations/fileupload.ts +1 -1
  304. package/src/models/operations/getagentresponse.ts +46 -0
  305. package/src/models/operations/getallprompts.ts +1 -0
  306. package/src/models/operations/getalltools.ts +93 -87
  307. package/src/models/operations/getevals.ts +16 -16
  308. package/src/models/operations/getoneprompt.ts +1 -0
  309. package/src/models/operations/getpromptversion.ts +1 -0
  310. package/src/models/operations/index.ts +3 -0
  311. package/src/models/operations/invokeagent.ts +45 -1
  312. package/src/models/operations/listagents.ts +751 -787
  313. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  314. package/src/models/operations/listdatasets.ts +1 -1
  315. package/src/models/operations/listdatasources.ts +1 -1
  316. package/src/models/operations/listidentities.ts +1 -1
  317. package/src/models/operations/listknowledgebases.ts +72 -64
  318. package/src/models/operations/listpromptversions.ts +1 -0
  319. package/src/models/operations/postv2agentsa2a.ts +252 -0
  320. package/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
  321. package/src/models/operations/retrieveagentrequest.ts +962 -857
  322. package/src/models/operations/retrievedatapoint.ts +4 -4
  323. package/src/models/operations/retrievedataset.ts +1 -1
  324. package/src/models/operations/retrievedatasource.ts +1 -1
  325. package/src/models/operations/retrieveidentity.ts +1 -1
  326. package/src/models/operations/retrievetool.ts +6 -6
  327. package/src/models/operations/runagent.ts +69 -493
  328. package/src/models/operations/streamagent.ts +40 -1
  329. package/src/models/operations/streamrunagent.ts +36 -493
  330. package/src/models/operations/updateagent.ts +1002 -1319
  331. package/src/models/operations/updatedatapoint.ts +4 -4
  332. package/src/models/operations/updatedataset.ts +1 -1
  333. package/src/models/operations/updatedatasource.ts +1 -1
  334. package/src/models/operations/updateeval.ts +102 -16
  335. package/src/models/operations/updateidentity.ts +1 -1
  336. package/src/models/operations/updatememorystore.ts +3 -61
  337. package/src/models/operations/updateprompt.ts +1 -0
  338. package/src/models/operations/updatetool.ts +121 -7
  339. package/src/sdk/agents.ts +39 -1
  340. package/src/sdk/files.ts +1 -1
  341. package/src/sdk/responses.ts +19 -0
@@ -3,48 +3,6 @@ import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import * as components from "../components/index.js";
5
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
- /**
7
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
8
- */
9
- export declare const ModelConfigurationVoice: {
10
- readonly Alloy: "alloy";
11
- readonly Echo: "echo";
12
- readonly Fable: "fable";
13
- readonly Onyx: "onyx";
14
- readonly Nova: "nova";
15
- readonly Shimmer: "shimmer";
16
- };
17
- /**
18
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
19
- */
20
- export type ModelConfigurationVoice = ClosedEnum<typeof ModelConfigurationVoice>;
21
- /**
22
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
23
- */
24
- export declare const ModelConfigurationFormat: {
25
- readonly Wav: "wav";
26
- readonly Mp3: "mp3";
27
- readonly Flac: "flac";
28
- readonly Opus: "opus";
29
- readonly Pcm16: "pcm16";
30
- };
31
- /**
32
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
33
- */
34
- export type ModelConfigurationFormat = ClosedEnum<typeof ModelConfigurationFormat>;
35
- /**
36
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
37
- */
38
- export type UpdateAgentModelConfigurationAudio = {
39
- /**
40
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
41
- */
42
- voice: ModelConfigurationVoice;
43
- /**
44
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
45
- */
46
- format: ModelConfigurationFormat;
47
- };
48
6
  export type UpdateAgentResponseFormatAgentsJsonSchema = {
49
7
  /**
50
8
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -129,15 +87,6 @@ export type ModelConfigurationReasoningEffort = ClosedEnum<typeof ModelConfigura
129
87
  * Up to 4 sequences where the API will stop generating further tokens.
130
88
  */
131
89
  export type ModelConfigurationStop = string | Array<string>;
132
- /**
133
- * Options for streaming response. Only set this when you set stream: true.
134
- */
135
- export type ModelConfigurationStreamOptions = {
136
- /**
137
- * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
138
- */
139
- includeUsage?: boolean | undefined;
140
- };
141
90
  export type ModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
142
91
  /**
143
92
  * The type of the tool. Currently, only function is supported.
@@ -214,19 +163,6 @@ export type ModelConfigurationFallbacks = {
214
163
  */
215
164
  model: string;
216
165
  };
217
- /**
218
- * Retry configuration for the request
219
- */
220
- export type UpdateAgentModelConfigurationRetry = {
221
- /**
222
- * Number of retry attempts (1-5)
223
- */
224
- count?: number | undefined;
225
- /**
226
- * HTTP status codes that trigger retry logic
227
- */
228
- onCodes?: Array<number> | undefined;
229
- };
230
166
  export declare const UpdateAgentModelConfigurationType: {
231
167
  readonly ExactMatch: "exact_match";
232
168
  };
@@ -280,10 +216,6 @@ export type ModelConfigurationParameters = {
280
216
  * The name to display on the trace. If not specified, the default system name will be used.
281
217
  */
282
218
  name?: string | undefined;
283
- /**
284
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
285
- */
286
- audio?: UpdateAgentModelConfigurationAudio | null | undefined;
287
219
  /**
288
220
  * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
289
221
  */
@@ -300,18 +232,6 @@ export type ModelConfigurationParameters = {
300
232
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
301
233
  */
302
234
  maxCompletionTokens?: number | null | undefined;
303
- /**
304
- * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
305
- */
306
- logprobs?: boolean | null | undefined;
307
- /**
308
- * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
309
- */
310
- topLogprobs?: number | null | undefined;
311
- /**
312
- * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
313
- */
314
- n?: number | null | undefined;
315
235
  /**
316
236
  * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
317
237
  */
@@ -345,10 +265,6 @@ export type ModelConfigurationParameters = {
345
265
  * Up to 4 sequences where the API will stop generating further tokens.
346
266
  */
347
267
  stop?: string | Array<string> | null | undefined;
348
- /**
349
- * Options for streaming response. Only set this when you set stream: true.
350
- */
351
- streamOptions?: ModelConfigurationStreamOptions | null | undefined;
352
268
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
353
269
  /**
354
270
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -382,10 +298,6 @@ export type ModelConfigurationParameters = {
382
298
  * Array of fallback models to use if primary model fails
383
299
  */
384
300
  fallbacks?: Array<ModelConfigurationFallbacks> | undefined;
385
- /**
386
- * Retry configuration for the request
387
- */
388
- retry?: UpdateAgentModelConfigurationRetry | undefined;
389
301
  /**
390
302
  * Cache configuration for the request.
391
303
  */
@@ -402,7 +314,7 @@ export type ModelConfigurationParameters = {
402
314
  /**
403
315
  * Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
404
316
  */
405
- export type UpdateAgentModelConfigurationAgentsRetry = {
317
+ export type ModelConfigurationRetry = {
406
318
  /**
407
319
  * Number of retry attempts (1-5)
408
320
  */
@@ -429,54 +341,12 @@ export type UpdateAgentModelConfiguration2 = {
429
341
  /**
430
342
  * Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
431
343
  */
432
- retry?: UpdateAgentModelConfigurationAgentsRetry | undefined;
344
+ retry?: ModelConfigurationRetry | undefined;
433
345
  };
434
346
  /**
435
347
  * Model configuration for agent execution. Can be a simple model ID string or a configuration object with optional behavior parameters and retry settings.
436
348
  */
437
349
  export type UpdateAgentModelConfiguration = UpdateAgentModelConfiguration2 | string;
438
- /**
439
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
440
- */
441
- export declare const UpdateAgentFallbackModelConfigurationVoice: {
442
- readonly Alloy: "alloy";
443
- readonly Echo: "echo";
444
- readonly Fable: "fable";
445
- readonly Onyx: "onyx";
446
- readonly Nova: "nova";
447
- readonly Shimmer: "shimmer";
448
- };
449
- /**
450
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
451
- */
452
- export type UpdateAgentFallbackModelConfigurationVoice = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationVoice>;
453
- /**
454
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
455
- */
456
- export declare const UpdateAgentFallbackModelConfigurationFormat: {
457
- readonly Wav: "wav";
458
- readonly Mp3: "mp3";
459
- readonly Flac: "flac";
460
- readonly Opus: "opus";
461
- readonly Pcm16: "pcm16";
462
- };
463
- /**
464
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
465
- */
466
- export type UpdateAgentFallbackModelConfigurationFormat = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationFormat>;
467
- /**
468
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
469
- */
470
- export type UpdateAgentFallbackModelConfigurationAudio = {
471
- /**
472
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
473
- */
474
- voice: UpdateAgentFallbackModelConfigurationVoice;
475
- /**
476
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
477
- */
478
- format: UpdateAgentFallbackModelConfigurationFormat;
479
- };
480
350
  export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
481
351
  /**
482
352
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -561,15 +431,6 @@ export type UpdateAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<ty
561
431
  * Up to 4 sequences where the API will stop generating further tokens.
562
432
  */
563
433
  export type UpdateAgentFallbackModelConfigurationStop = string | Array<string>;
564
- /**
565
- * Options for streaming response. Only set this when you set stream: true.
566
- */
567
- export type UpdateAgentFallbackModelConfigurationStreamOptions = {
568
- /**
569
- * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
570
- */
571
- includeUsage?: boolean | undefined;
572
- };
573
434
  export type UpdateAgentFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
574
435
  /**
575
436
  * The type of the tool. Currently, only function is supported.
@@ -646,19 +507,6 @@ export type UpdateAgentFallbackModelConfigurationFallbacks = {
646
507
  */
647
508
  model: string;
648
509
  };
649
- /**
650
- * Retry configuration for the request
651
- */
652
- export type UpdateAgentFallbackModelConfigurationRetry = {
653
- /**
654
- * Number of retry attempts (1-5)
655
- */
656
- count?: number | undefined;
657
- /**
658
- * HTTP status codes that trigger retry logic
659
- */
660
- onCodes?: Array<number> | undefined;
661
- };
662
510
  export declare const UpdateAgentFallbackModelConfigurationType: {
663
511
  readonly ExactMatch: "exact_match";
664
512
  };
@@ -712,10 +560,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
712
560
  * The name to display on the trace. If not specified, the default system name will be used.
713
561
  */
714
562
  name?: string | undefined;
715
- /**
716
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
717
- */
718
- audio?: UpdateAgentFallbackModelConfigurationAudio | null | undefined;
719
563
  /**
720
564
  * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
721
565
  */
@@ -732,18 +576,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
732
576
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
733
577
  */
734
578
  maxCompletionTokens?: number | null | undefined;
735
- /**
736
- * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
737
- */
738
- logprobs?: boolean | null | undefined;
739
- /**
740
- * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
741
- */
742
- topLogprobs?: number | null | undefined;
743
- /**
744
- * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
745
- */
746
- n?: number | null | undefined;
747
579
  /**
748
580
  * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
749
581
  */
@@ -777,10 +609,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
777
609
  * Up to 4 sequences where the API will stop generating further tokens.
778
610
  */
779
611
  stop?: string | Array<string> | null | undefined;
780
- /**
781
- * Options for streaming response. Only set this when you set stream: true.
782
- */
783
- streamOptions?: UpdateAgentFallbackModelConfigurationStreamOptions | null | undefined;
784
612
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
785
613
  /**
786
614
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -814,10 +642,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
814
642
  * Array of fallback models to use if primary model fails
815
643
  */
816
644
  fallbacks?: Array<UpdateAgentFallbackModelConfigurationFallbacks> | undefined;
817
- /**
818
- * Retry configuration for the request
819
- */
820
- retry?: UpdateAgentFallbackModelConfigurationRetry | undefined;
821
645
  /**
822
646
  * Cache configuration for the request.
823
647
  */
@@ -834,7 +658,7 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
834
658
  /**
835
659
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
836
660
  */
837
- export type UpdateAgentFallbackModelConfigurationAgentsRetry = {
661
+ export type UpdateAgentFallbackModelConfigurationRetry = {
838
662
  /**
839
663
  * Number of retry attempts (1-5)
840
664
  */
@@ -859,7 +683,7 @@ export type UpdateAgentFallbackModelConfiguration2 = {
859
683
  /**
860
684
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
861
685
  */
862
- retry?: UpdateAgentFallbackModelConfigurationAgentsRetry | undefined;
686
+ retry?: UpdateAgentFallbackModelConfigurationRetry | undefined;
863
687
  };
864
688
  /**
865
689
  * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
@@ -1303,10 +1127,45 @@ export type UpdateAgentTeamOfAgents = {
1303
1127
  */
1304
1128
  role?: string | undefined;
1305
1129
  };
1130
+ export type UpdateAgentHeaders = {
1131
+ /**
1132
+ * Header value. **Update behavior**: Provide empty string ("") to preserve existing encrypted value without re-entering credentials. Provide new value to rotate. Omit header entirely to remove.
1133
+ */
1134
+ value: string;
1135
+ encrypted?: boolean | undefined;
1136
+ };
1306
1137
  /**
1307
- * Request body for updating an existing agent via the API. Uses simplified tool input format.
1138
+ * Update A2A agent configuration (only applicable to A2A agents)
1308
1139
  */
1309
- export type UpdateAgentUpdateAgentRequest = {
1140
+ export type UpdateA2AConfiguration = {
1141
+ /**
1142
+ * Update the A2A agent endpoint URL
1143
+ */
1144
+ agentUrl?: string | undefined;
1145
+ /**
1146
+ * Update the explicit agent card URL
1147
+ */
1148
+ cardUrl?: string | undefined;
1149
+ /**
1150
+ * Update HTTP headers for authentication. **Credential preservation**: Use empty string ("") for encrypted header values to keep existing credentials without re-entry. Provide new values to rotate credentials. Omit headers entirely to remove them.
1151
+ */
1152
+ headers?: {
1153
+ [k: string]: UpdateAgentHeaders;
1154
+ } | undefined;
1155
+ };
1156
+ /**
1157
+ * Optional semantic version bump to create after a successful publish.
1158
+ */
1159
+ export declare const VersionIncrement: {
1160
+ readonly Major: "major";
1161
+ readonly Minor: "minor";
1162
+ readonly Patch: "patch";
1163
+ };
1164
+ /**
1165
+ * Optional semantic version bump to create after a successful publish.
1166
+ */
1167
+ export type VersionIncrement = ClosedEnum<typeof VersionIncrement>;
1168
+ export type UpdateAgentRequestBody = {
1310
1169
  key?: string | undefined;
1311
1170
  displayName?: string | undefined;
1312
1171
  projectId?: string | undefined;
@@ -1354,18 +1213,30 @@ export type UpdateAgentUpdateAgentRequest = {
1354
1213
  variables?: {
1355
1214
  [k: string]: any;
1356
1215
  } | undefined;
1216
+ /**
1217
+ * Update A2A agent configuration (only applicable to A2A agents)
1218
+ */
1219
+ a2a?: UpdateA2AConfiguration | undefined;
1220
+ /**
1221
+ * Optional semantic version bump to create after a successful publish.
1222
+ */
1223
+ versionIncrement?: VersionIncrement | undefined;
1224
+ /**
1225
+ * Optional description stored with the created version.
1226
+ */
1227
+ versionDescription?: string | undefined;
1357
1228
  };
1358
1229
  export type UpdateAgentRequest = {
1359
1230
  /**
1360
1231
  * The unique key of the agent to update
1361
1232
  */
1362
1233
  agentKey: string;
1363
- requestBody: UpdateAgentUpdateAgentRequest;
1234
+ requestBody: UpdateAgentRequestBody;
1364
1235
  };
1365
1236
  /**
1366
1237
  * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1367
1238
  */
1368
- export declare const UpdateAgentStatus: {
1239
+ export declare const UpdateAgentResponseBodyAgentsStatus: {
1369
1240
  readonly Live: "live";
1370
1241
  readonly Draft: "draft";
1371
1242
  readonly Pending: "pending";
@@ -1374,11 +1245,173 @@ export declare const UpdateAgentStatus: {
1374
1245
  /**
1375
1246
  * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1376
1247
  */
1377
- export type UpdateAgentStatus = ClosedEnum<typeof UpdateAgentStatus>;
1248
+ export type UpdateAgentResponseBodyAgentsStatus = ClosedEnum<typeof UpdateAgentResponseBodyAgentsStatus>;
1249
+ export type UpdateAgentResponseBodyAgentsTeamOfAgents = {
1250
+ /**
1251
+ * The unique key of the agent within the workspace
1252
+ */
1253
+ key: string;
1254
+ /**
1255
+ * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
1256
+ */
1257
+ role?: string | undefined;
1258
+ };
1259
+ export type UpdateAgentResponseBodyAgentsMetrics = {
1260
+ totalCost: number;
1261
+ };
1262
+ export type UpdateAgentResponseBodyAgentsKnowledgeBases = {
1263
+ /**
1264
+ * Unique identifier of the knowledge base to search
1265
+ */
1266
+ knowledgeId: string;
1267
+ };
1268
+ export declare const UpdateAgentResponseBodyAgentsSource: {
1269
+ readonly Internal: "internal";
1270
+ readonly External: "external";
1271
+ readonly Experiment: "experiment";
1272
+ };
1273
+ export type UpdateAgentResponseBodyAgentsSource = ClosedEnum<typeof UpdateAgentResponseBodyAgentsSource>;
1274
+ export type UpdateAgentResponseBodyHeaders = {
1275
+ /**
1276
+ * Header value. **Update behavior**: Provide empty string ("") to preserve existing encrypted value without re-entering credentials. Provide new value to rotate. Omit header entirely to remove.
1277
+ */
1278
+ value: string;
1279
+ encrypted: boolean;
1280
+ };
1281
+ /**
1282
+ * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
1283
+ */
1284
+ export type UpdateAgentResponseBodyA2AAgentConfiguration = {
1285
+ /**
1286
+ * The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
1287
+ */
1288
+ agentUrl: string;
1289
+ /**
1290
+ * Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
1291
+ */
1292
+ cardUrl?: string | undefined;
1293
+ /**
1294
+ * HTTP headers for A2A agent requests with encryption support (max 20 headers). **Update behavior**: Empty string values preserve existing encrypted headers, allowing partial updates without credential re-entry.
1295
+ */
1296
+ headers?: {
1297
+ [k: string]: UpdateAgentResponseBodyHeaders;
1298
+ } | undefined;
1299
+ /**
1300
+ * Cached agent card from discovery. Refreshed periodically.
1301
+ */
1302
+ cachedCard?: any | undefined;
1303
+ };
1304
+ export type UpdateAgentResponseBody2 = {
1305
+ id: string;
1306
+ /**
1307
+ * Unique identifier for the agent within the workspace
1308
+ */
1309
+ key: string;
1310
+ displayName?: string | undefined;
1311
+ projectId: string;
1312
+ createdById?: string | null | undefined;
1313
+ updatedById?: string | null | undefined;
1314
+ created?: string | undefined;
1315
+ updated?: string | undefined;
1316
+ /**
1317
+ * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1318
+ */
1319
+ status: UpdateAgentResponseBodyAgentsStatus;
1320
+ versionHash?: string | undefined;
1321
+ /**
1322
+ * Entity storage path in the format: `project/folder/subfolder/...`
1323
+ *
1324
+ * @remarks
1325
+ *
1326
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
1327
+ *
1328
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1329
+ */
1330
+ path: string;
1331
+ /**
1332
+ * Array of memory store identifiers. Accepts both memory store IDs and keys.
1333
+ */
1334
+ memoryStores?: Array<string> | undefined;
1335
+ /**
1336
+ * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1337
+ */
1338
+ teamOfAgents?: Array<UpdateAgentResponseBodyAgentsTeamOfAgents> | undefined;
1339
+ metrics?: UpdateAgentResponseBodyAgentsMetrics | undefined;
1340
+ /**
1341
+ * Extracted variables from agent instructions
1342
+ */
1343
+ variables?: {
1344
+ [k: string]: any;
1345
+ } | undefined;
1346
+ /**
1347
+ * Agent knowledge bases reference
1348
+ */
1349
+ knowledgeBases?: Array<UpdateAgentResponseBodyAgentsKnowledgeBases> | undefined;
1350
+ source?: UpdateAgentResponseBodyAgentsSource | undefined;
1351
+ /**
1352
+ * External A2A-compliant agent
1353
+ */
1354
+ type: "a2a";
1355
+ /**
1356
+ * Role fetched from agent card name or user-provided
1357
+ */
1358
+ role: string;
1359
+ /**
1360
+ * Description fetched from agent card or user-provided
1361
+ */
1362
+ description: string;
1363
+ systemPrompt?: string | undefined;
1364
+ /**
1365
+ * Instructions from agent card description or user-provided
1366
+ */
1367
+ instructions: string;
1368
+ /**
1369
+ * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
1370
+ */
1371
+ a2a: UpdateAgentResponseBodyA2AAgentConfiguration;
1372
+ };
1373
+ /**
1374
+ * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1375
+ */
1376
+ export declare const UpdateAgentResponseBodyStatus: {
1377
+ readonly Live: "live";
1378
+ readonly Draft: "draft";
1379
+ readonly Pending: "pending";
1380
+ readonly Published: "published";
1381
+ };
1382
+ /**
1383
+ * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1384
+ */
1385
+ export type UpdateAgentResponseBodyStatus = ClosedEnum<typeof UpdateAgentResponseBodyStatus>;
1386
+ export type UpdateAgentResponseBodyTeamOfAgents = {
1387
+ /**
1388
+ * The unique key of the agent within the workspace
1389
+ */
1390
+ key: string;
1391
+ /**
1392
+ * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
1393
+ */
1394
+ role?: string | undefined;
1395
+ };
1396
+ export type UpdateAgentResponseBodyMetrics = {
1397
+ totalCost: number;
1398
+ };
1399
+ export type UpdateAgentResponseBodyKnowledgeBases = {
1400
+ /**
1401
+ * Unique identifier of the knowledge base to search
1402
+ */
1403
+ knowledgeId: string;
1404
+ };
1405
+ export declare const UpdateAgentResponseBodySource: {
1406
+ readonly Internal: "internal";
1407
+ readonly External: "external";
1408
+ readonly Experiment: "experiment";
1409
+ };
1410
+ export type UpdateAgentResponseBodySource = ClosedEnum<typeof UpdateAgentResponseBodySource>;
1378
1411
  /**
1379
1412
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
1380
1413
  */
1381
- export declare const UpdateAgentAgentsToolApprovalRequired: {
1414
+ export declare const UpdateAgentResponseBodyToolApprovalRequired: {
1382
1415
  readonly All: "all";
1383
1416
  readonly RespectTool: "respect_tool";
1384
1417
  readonly None: "none";
@@ -1386,8 +1419,8 @@ export declare const UpdateAgentAgentsToolApprovalRequired: {
1386
1419
  /**
1387
1420
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
1388
1421
  */
1389
- export type UpdateAgentAgentsToolApprovalRequired = ClosedEnum<typeof UpdateAgentAgentsToolApprovalRequired>;
1390
- export type UpdateAgentConditions = {
1422
+ export type UpdateAgentResponseBodyToolApprovalRequired = ClosedEnum<typeof UpdateAgentResponseBodyToolApprovalRequired>;
1423
+ export type UpdateAgentResponseBodyConditions = {
1391
1424
  /**
1392
1425
  * The argument of the tool call to evaluate
1393
1426
  */
@@ -1401,7 +1434,7 @@ export type UpdateAgentConditions = {
1401
1434
  */
1402
1435
  value: string;
1403
1436
  };
1404
- export type UpdateAgentTools = {
1437
+ export type UpdateAgentResponseBodyTools = {
1405
1438
  /**
1406
1439
  * The id of the resource
1407
1440
  */
@@ -1421,7 +1454,7 @@ export type UpdateAgentTools = {
1421
1454
  * Nested tool ID for MCP tools (identifies specific tool within MCP server)
1422
1455
  */
1423
1456
  toolId?: string | undefined;
1424
- conditions?: Array<UpdateAgentConditions> | undefined;
1457
+ conditions?: Array<UpdateAgentResponseBodyConditions> | undefined;
1425
1458
  /**
1426
1459
  * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
1427
1460
  */
@@ -1430,15 +1463,15 @@ export type UpdateAgentTools = {
1430
1463
  /**
1431
1464
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1432
1465
  */
1433
- export declare const UpdateAgentAgentsResponseExecuteOn: {
1466
+ export declare const UpdateAgentResponseBodyExecuteOn: {
1434
1467
  readonly Input: "input";
1435
1468
  readonly Output: "output";
1436
1469
  };
1437
1470
  /**
1438
1471
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1439
1472
  */
1440
- export type UpdateAgentAgentsResponseExecuteOn = ClosedEnum<typeof UpdateAgentAgentsResponseExecuteOn>;
1441
- export type UpdateAgentAgentsEvaluators = {
1473
+ export type UpdateAgentResponseBodyExecuteOn = ClosedEnum<typeof UpdateAgentResponseBodyExecuteOn>;
1474
+ export type UpdateAgentResponseBodyEvaluators = {
1442
1475
  /**
1443
1476
  * Unique key or identifier of the evaluator
1444
1477
  */
@@ -1450,20 +1483,20 @@ export type UpdateAgentAgentsEvaluators = {
1450
1483
  /**
1451
1484
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1452
1485
  */
1453
- executeOn: UpdateAgentAgentsResponseExecuteOn;
1486
+ executeOn: UpdateAgentResponseBodyExecuteOn;
1454
1487
  };
1455
1488
  /**
1456
1489
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1457
1490
  */
1458
- export declare const UpdateAgentAgentsResponse200ExecuteOn: {
1491
+ export declare const UpdateAgentResponseBodyAgentsExecuteOn: {
1459
1492
  readonly Input: "input";
1460
1493
  readonly Output: "output";
1461
1494
  };
1462
1495
  /**
1463
1496
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1464
1497
  */
1465
- export type UpdateAgentAgentsResponse200ExecuteOn = ClosedEnum<typeof UpdateAgentAgentsResponse200ExecuteOn>;
1466
- export type UpdateAgentAgentsGuardrails = {
1498
+ export type UpdateAgentResponseBodyAgentsExecuteOn = ClosedEnum<typeof UpdateAgentResponseBodyAgentsExecuteOn>;
1499
+ export type UpdateAgentResponseBodyGuardrails = {
1467
1500
  /**
1468
1501
  * Unique key or identifier of the evaluator
1469
1502
  */
@@ -1475,9 +1508,9 @@ export type UpdateAgentAgentsGuardrails = {
1475
1508
  /**
1476
1509
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1477
1510
  */
1478
- executeOn: UpdateAgentAgentsResponse200ExecuteOn;
1511
+ executeOn: UpdateAgentResponseBodyAgentsExecuteOn;
1479
1512
  };
1480
- export type UpdateAgentAgentsSettings = {
1513
+ export type UpdateAgentResponseBodySettings = {
1481
1514
  /**
1482
1515
  * Maximum iterations(llm calls) before the agent will stop executing.
1483
1516
  */
@@ -1493,58 +1526,16 @@ export type UpdateAgentAgentsSettings = {
1493
1526
  /**
1494
1527
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
1495
1528
  */
1496
- toolApprovalRequired: UpdateAgentAgentsToolApprovalRequired;
1497
- tools?: Array<UpdateAgentTools> | undefined;
1529
+ toolApprovalRequired: UpdateAgentResponseBodyToolApprovalRequired;
1530
+ tools?: Array<UpdateAgentResponseBodyTools> | undefined;
1498
1531
  /**
1499
1532
  * Configuration for an evaluator applied to the agent
1500
1533
  */
1501
- evaluators?: Array<UpdateAgentAgentsEvaluators> | undefined;
1534
+ evaluators?: Array<UpdateAgentResponseBodyEvaluators> | undefined;
1502
1535
  /**
1503
1536
  * Configuration for a guardrail applied to the agent
1504
1537
  */
1505
- guardrails?: Array<UpdateAgentAgentsGuardrails> | undefined;
1506
- };
1507
- /**
1508
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1509
- */
1510
- export declare const UpdateAgentVoice: {
1511
- readonly Alloy: "alloy";
1512
- readonly Echo: "echo";
1513
- readonly Fable: "fable";
1514
- readonly Onyx: "onyx";
1515
- readonly Nova: "nova";
1516
- readonly Shimmer: "shimmer";
1517
- };
1518
- /**
1519
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1520
- */
1521
- export type UpdateAgentVoice = ClosedEnum<typeof UpdateAgentVoice>;
1522
- /**
1523
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1524
- */
1525
- export declare const UpdateAgentFormat: {
1526
- readonly Wav: "wav";
1527
- readonly Mp3: "mp3";
1528
- readonly Flac: "flac";
1529
- readonly Opus: "opus";
1530
- readonly Pcm16: "pcm16";
1531
- };
1532
- /**
1533
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1534
- */
1535
- export type UpdateAgentFormat = ClosedEnum<typeof UpdateAgentFormat>;
1536
- /**
1537
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1538
- */
1539
- export type UpdateAgentAudio = {
1540
- /**
1541
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1542
- */
1543
- voice: UpdateAgentVoice;
1544
- /**
1545
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1546
- */
1547
- format: UpdateAgentFormat;
1538
+ guardrails?: Array<UpdateAgentResponseBodyGuardrails> | undefined;
1548
1539
  };
1549
1540
  export type UpdateAgentResponseFormatAgentsResponseJsonSchema = {
1550
1541
  /**
@@ -1592,7 +1583,7 @@ export type UpdateAgentResponseFormatAgentsResponseText = {
1592
1583
  /**
1593
1584
  * An object specifying the format that the model must output
1594
1585
  */
1595
- export type UpdateAgentResponseFormat = UpdateAgentResponseFormatAgentsResponseText | UpdateAgentResponseFormatAgentsResponseJSONObject | UpdateAgentResponseFormatAgentsResponse200JSONSchema;
1586
+ export type UpdateAgentResponseBodyResponseFormat = UpdateAgentResponseFormatAgentsResponseText | UpdateAgentResponseFormatAgentsResponseJSONObject | UpdateAgentResponseFormatAgentsResponse200JSONSchema;
1596
1587
  /**
1597
1588
  * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1598
1589
  *
@@ -1605,7 +1596,7 @@ export type UpdateAgentResponseFormat = UpdateAgentResponseFormatAgentsResponseT
1605
1596
  *
1606
1597
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1607
1598
  */
1608
- export declare const UpdateAgentReasoningEffort: {
1599
+ export declare const UpdateAgentResponseBodyReasoningEffort: {
1609
1600
  readonly None: "none";
1610
1601
  readonly Minimal: "minimal";
1611
1602
  readonly Low: "low";
@@ -1625,21 +1616,12 @@ export declare const UpdateAgentReasoningEffort: {
1625
1616
  *
1626
1617
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1627
1618
  */
1628
- export type UpdateAgentReasoningEffort = ClosedEnum<typeof UpdateAgentReasoningEffort>;
1619
+ export type UpdateAgentResponseBodyReasoningEffort = ClosedEnum<typeof UpdateAgentResponseBodyReasoningEffort>;
1629
1620
  /**
1630
1621
  * Up to 4 sequences where the API will stop generating further tokens.
1631
1622
  */
1632
- export type UpdateAgentStop = string | Array<string>;
1633
- /**
1634
- * Options for streaming response. Only set this when you set stream: true.
1635
- */
1636
- export type UpdateAgentStreamOptions = {
1637
- /**
1638
- * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
1639
- */
1640
- includeUsage?: boolean | undefined;
1641
- };
1642
- export type UpdateAgentThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1623
+ export type UpdateAgentResponseBodyStop = string | Array<string>;
1624
+ export type UpdateAgentResponseBodyThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1643
1625
  /**
1644
1626
  * The type of the tool. Currently, only function is supported.
1645
1627
  */
@@ -1672,12 +1654,12 @@ export type UpdateAgentToolChoiceAgentsResponse1 = ClosedEnum<typeof UpdateAgent
1672
1654
  /**
1673
1655
  * Controls which (if any) tool is called by the model.
1674
1656
  */
1675
- export type UpdateAgentToolChoice = UpdateAgentToolChoiceAgentsResponse2 | UpdateAgentToolChoiceAgentsResponse1;
1676
- export declare const UpdateAgentModalities: {
1657
+ export type UpdateAgentResponseBodyToolChoice = UpdateAgentToolChoiceAgentsResponse2 | UpdateAgentToolChoiceAgentsResponse1;
1658
+ export declare const UpdateAgentResponseBodyModalities: {
1677
1659
  readonly Text: "text";
1678
1660
  readonly Audio: "audio";
1679
1661
  };
1680
- export type UpdateAgentModalities = ClosedEnum<typeof UpdateAgentModalities>;
1662
+ export type UpdateAgentResponseBodyModalities = ClosedEnum<typeof UpdateAgentResponseBodyModalities>;
1681
1663
  /**
1682
1664
  * The key of the guardrail.
1683
1665
  */
@@ -1690,57 +1672,44 @@ export declare const UpdateAgentIdAgentsResponse1: {
1690
1672
  * The key of the guardrail.
1691
1673
  */
1692
1674
  export type UpdateAgentIdAgentsResponse1 = ClosedEnum<typeof UpdateAgentIdAgentsResponse1>;
1693
- export type UpdateAgentId = UpdateAgentIdAgentsResponse1 | string;
1675
+ export type UpdateAgentResponseBodyId = UpdateAgentIdAgentsResponse1 | string;
1694
1676
  /**
1695
1677
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1696
1678
  */
1697
- export declare const UpdateAgentAgentsResponse200ApplicationJSONExecuteOn: {
1679
+ export declare const UpdateAgentResponseBodyAgentsResponseExecuteOn: {
1698
1680
  readonly Input: "input";
1699
1681
  readonly Output: "output";
1700
1682
  };
1701
1683
  /**
1702
1684
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1703
1685
  */
1704
- export type UpdateAgentAgentsResponse200ApplicationJSONExecuteOn = ClosedEnum<typeof UpdateAgentAgentsResponse200ApplicationJSONExecuteOn>;
1705
- export type UpdateAgentAgentsResponseGuardrails = {
1686
+ export type UpdateAgentResponseBodyAgentsResponseExecuteOn = ClosedEnum<typeof UpdateAgentResponseBodyAgentsResponseExecuteOn>;
1687
+ export type UpdateAgentResponseBodyAgentsGuardrails = {
1706
1688
  id: UpdateAgentIdAgentsResponse1 | string;
1707
1689
  /**
1708
1690
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1709
1691
  */
1710
- executeOn: UpdateAgentAgentsResponse200ApplicationJSONExecuteOn;
1692
+ executeOn: UpdateAgentResponseBodyAgentsResponseExecuteOn;
1711
1693
  };
1712
- export type UpdateAgentFallbacks = {
1694
+ export type UpdateAgentResponseBodyFallbacks = {
1713
1695
  /**
1714
1696
  * Fallback model identifier
1715
1697
  */
1716
1698
  model: string;
1717
1699
  };
1718
- /**
1719
- * Retry configuration for the request
1720
- */
1721
- export type UpdateAgentAgentsRetry = {
1722
- /**
1723
- * Number of retry attempts (1-5)
1724
- */
1725
- count: number;
1726
- /**
1727
- * HTTP status codes that trigger retry logic
1728
- */
1729
- onCodes?: Array<number> | undefined;
1730
- };
1731
- export declare const UpdateAgentType: {
1700
+ export declare const UpdateAgentResponseBodyAgentsResponseType: {
1732
1701
  readonly ExactMatch: "exact_match";
1733
1702
  };
1734
- export type UpdateAgentType = ClosedEnum<typeof UpdateAgentType>;
1703
+ export type UpdateAgentResponseBodyAgentsResponseType = ClosedEnum<typeof UpdateAgentResponseBodyAgentsResponseType>;
1735
1704
  /**
1736
1705
  * Cache configuration for the request.
1737
1706
  */
1738
- export type UpdateAgentCache = {
1707
+ export type UpdateAgentResponseBodyCache = {
1739
1708
  /**
1740
1709
  * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
1741
1710
  */
1742
1711
  ttl: number;
1743
- type: UpdateAgentType;
1712
+ type: UpdateAgentResponseBodyAgentsResponseType;
1744
1713
  };
1745
1714
  export declare const UpdateAgentLoadBalancerAgentsResponseType: {
1746
1715
  readonly WeightBased: "weight_based";
@@ -1763,11 +1732,11 @@ export type UpdateAgentLoadBalancerAgentsResponse1 = {
1763
1732
  /**
1764
1733
  * Load balancer configuration for the request.
1765
1734
  */
1766
- export type UpdateAgentLoadBalancer = UpdateAgentLoadBalancerAgentsResponse1;
1735
+ export type UpdateAgentResponseBodyLoadBalancer = UpdateAgentLoadBalancerAgentsResponse1;
1767
1736
  /**
1768
1737
  * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
1769
1738
  */
1770
- export type UpdateAgentTimeout = {
1739
+ export type UpdateAgentResponseBodyTimeout = {
1771
1740
  /**
1772
1741
  * Timeout value in milliseconds
1773
1742
  */
@@ -1776,15 +1745,11 @@ export type UpdateAgentTimeout = {
1776
1745
  /**
1777
1746
  * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
1778
1747
  */
1779
- export type UpdateAgentParameters = {
1748
+ export type UpdateAgentResponseBodyParameters = {
1780
1749
  /**
1781
1750
  * The name to display on the trace. If not specified, the default system name will be used.
1782
1751
  */
1783
1752
  name?: string | undefined;
1784
- /**
1785
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1786
- */
1787
- audio?: UpdateAgentAudio | null | undefined;
1788
1753
  /**
1789
1754
  * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
1790
1755
  */
@@ -1801,18 +1766,6 @@ export type UpdateAgentParameters = {
1801
1766
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
1802
1767
  */
1803
1768
  maxCompletionTokens?: number | null | undefined;
1804
- /**
1805
- * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
1806
- */
1807
- logprobs?: boolean | null | undefined;
1808
- /**
1809
- * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
1810
- */
1811
- topLogprobs?: number | null | undefined;
1812
- /**
1813
- * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
1814
- */
1815
- n?: number | null | undefined;
1816
1769
  /**
1817
1770
  * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
1818
1771
  */
@@ -1833,7 +1786,7 @@ export type UpdateAgentParameters = {
1833
1786
  *
1834
1787
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1835
1788
  */
1836
- reasoningEffort?: UpdateAgentReasoningEffort | undefined;
1789
+ reasoningEffort?: UpdateAgentResponseBodyReasoningEffort | undefined;
1837
1790
  /**
1838
1791
  * Adjusts response verbosity. Lower levels yield shorter answers.
1839
1792
  */
@@ -1846,10 +1799,6 @@ export type UpdateAgentParameters = {
1846
1799
  * Up to 4 sequences where the API will stop generating further tokens.
1847
1800
  */
1848
1801
  stop?: string | Array<string> | null | undefined;
1849
- /**
1850
- * Options for streaming response. Only set this when you set stream: true.
1851
- */
1852
- streamOptions?: UpdateAgentStreamOptions | null | undefined;
1853
1802
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
1854
1803
  /**
1855
1804
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -1874,23 +1823,19 @@ export type UpdateAgentParameters = {
1874
1823
  /**
1875
1824
  * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
1876
1825
  */
1877
- modalities?: Array<UpdateAgentModalities> | null | undefined;
1826
+ modalities?: Array<UpdateAgentResponseBodyModalities> | null | undefined;
1878
1827
  /**
1879
1828
  * A list of guardrails to apply to the request.
1880
1829
  */
1881
- guardrails?: Array<UpdateAgentAgentsResponseGuardrails> | undefined;
1830
+ guardrails?: Array<UpdateAgentResponseBodyAgentsGuardrails> | undefined;
1882
1831
  /**
1883
1832
  * Array of fallback models to use if primary model fails
1884
1833
  */
1885
- fallbacks?: Array<UpdateAgentFallbacks> | undefined;
1886
- /**
1887
- * Retry configuration for the request
1888
- */
1889
- retry?: UpdateAgentAgentsRetry | undefined;
1834
+ fallbacks?: Array<UpdateAgentResponseBodyFallbacks> | undefined;
1890
1835
  /**
1891
1836
  * Cache configuration for the request.
1892
1837
  */
1893
- cache?: UpdateAgentCache | undefined;
1838
+ cache?: UpdateAgentResponseBodyCache | undefined;
1894
1839
  /**
1895
1840
  * Load balancer configuration for the request.
1896
1841
  */
@@ -1898,12 +1843,12 @@ export type UpdateAgentParameters = {
1898
1843
  /**
1899
1844
  * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
1900
1845
  */
1901
- timeout?: UpdateAgentTimeout | undefined;
1846
+ timeout?: UpdateAgentResponseBodyTimeout | undefined;
1902
1847
  };
1903
1848
  /**
1904
1849
  * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
1905
1850
  */
1906
- export type UpdateAgentRetry = {
1851
+ export type UpdateAgentResponseBodyRetry = {
1907
1852
  /**
1908
1853
  * Number of retry attempts (1-5)
1909
1854
  */
@@ -1913,48 +1858,6 @@ export type UpdateAgentRetry = {
1913
1858
  */
1914
1859
  onCodes?: Array<number> | undefined;
1915
1860
  };
1916
- /**
1917
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1918
- */
1919
- export declare const UpdateAgentFallbackModelConfigurationAgentsVoice: {
1920
- readonly Alloy: "alloy";
1921
- readonly Echo: "echo";
1922
- readonly Fable: "fable";
1923
- readonly Onyx: "onyx";
1924
- readonly Nova: "nova";
1925
- readonly Shimmer: "shimmer";
1926
- };
1927
- /**
1928
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1929
- */
1930
- export type UpdateAgentFallbackModelConfigurationAgentsVoice = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsVoice>;
1931
- /**
1932
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1933
- */
1934
- export declare const UpdateAgentFallbackModelConfigurationAgentsFormat: {
1935
- readonly Wav: "wav";
1936
- readonly Mp3: "mp3";
1937
- readonly Flac: "flac";
1938
- readonly Opus: "opus";
1939
- readonly Pcm16: "pcm16";
1940
- };
1941
- /**
1942
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1943
- */
1944
- export type UpdateAgentFallbackModelConfigurationAgentsFormat = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsFormat>;
1945
- /**
1946
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1947
- */
1948
- export type UpdateAgentFallbackModelConfigurationAgentsAudio = {
1949
- /**
1950
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1951
- */
1952
- voice: UpdateAgentFallbackModelConfigurationAgentsVoice;
1953
- /**
1954
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1955
- */
1956
- format: UpdateAgentFallbackModelConfigurationAgentsFormat;
1957
- };
1958
1861
  export type UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema = {
1959
1862
  /**
1960
1863
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -2039,15 +1942,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsReasoningEffort = ClosedE
2039
1942
  * Up to 4 sequences where the API will stop generating further tokens.
2040
1943
  */
2041
1944
  export type UpdateAgentFallbackModelConfigurationAgentsStop = string | Array<string>;
2042
- /**
2043
- * Options for streaming response. Only set this when you set stream: true.
2044
- */
2045
- export type UpdateAgentFallbackModelConfigurationAgentsStreamOptions = {
2046
- /**
2047
- * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
2048
- */
2049
- includeUsage?: boolean | undefined;
2050
- };
2051
1945
  export type UpdateAgentFallbackModelConfigurationAgentsThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
2052
1946
  /**
2053
1947
  * The type of the tool. Currently, only function is supported.
@@ -2124,19 +2018,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
2124
2018
  */
2125
2019
  model: string;
2126
2020
  };
2127
- /**
2128
- * Retry configuration for the request
2129
- */
2130
- export type UpdateAgentFallbackModelConfigurationAgentsResponse200Retry = {
2131
- /**
2132
- * Number of retry attempts (1-5)
2133
- */
2134
- count: number;
2135
- /**
2136
- * HTTP status codes that trigger retry logic
2137
- */
2138
- onCodes?: Array<number> | undefined;
2139
- };
2140
2021
  export declare const UpdateAgentFallbackModelConfigurationAgentsType: {
2141
2022
  readonly ExactMatch: "exact_match";
2142
2023
  };
@@ -2190,10 +2071,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2190
2071
  * The name to display on the trace. If not specified, the default system name will be used.
2191
2072
  */
2192
2073
  name?: string | undefined;
2193
- /**
2194
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
2195
- */
2196
- audio?: UpdateAgentFallbackModelConfigurationAgentsAudio | null | undefined;
2197
2074
  /**
2198
2075
  * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
2199
2076
  */
@@ -2210,18 +2087,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2210
2087
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
2211
2088
  */
2212
2089
  maxCompletionTokens?: number | null | undefined;
2213
- /**
2214
- * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
2215
- */
2216
- logprobs?: boolean | null | undefined;
2217
- /**
2218
- * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
2219
- */
2220
- topLogprobs?: number | null | undefined;
2221
- /**
2222
- * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
2223
- */
2224
- n?: number | null | undefined;
2225
2090
  /**
2226
2091
  * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
2227
2092
  */
@@ -2255,10 +2120,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2255
2120
  * Up to 4 sequences where the API will stop generating further tokens.
2256
2121
  */
2257
2122
  stop?: string | Array<string> | null | undefined;
2258
- /**
2259
- * Options for streaming response. Only set this when you set stream: true.
2260
- */
2261
- streamOptions?: UpdateAgentFallbackModelConfigurationAgentsStreamOptions | null | undefined;
2262
2123
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
2263
2124
  /**
2264
2125
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -2292,10 +2153,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2292
2153
  * Array of fallback models to use if primary model fails
2293
2154
  */
2294
2155
  fallbacks?: Array<UpdateAgentFallbackModelConfigurationAgentsFallbacks> | undefined;
2295
- /**
2296
- * Retry configuration for the request
2297
- */
2298
- retry?: UpdateAgentFallbackModelConfigurationAgentsResponse200Retry | undefined;
2299
2156
  /**
2300
2157
  * Cache configuration for the request.
2301
2158
  */
@@ -2312,7 +2169,7 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2312
2169
  /**
2313
2170
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
2314
2171
  */
2315
- export type UpdateAgentFallbackModelConfigurationAgentsResponseRetry = {
2172
+ export type UpdateAgentFallbackModelConfigurationAgentsRetry = {
2316
2173
  /**
2317
2174
  * Number of retry attempts (1-5)
2318
2175
  */
@@ -2337,13 +2194,13 @@ export type UpdateAgentFallbackModelConfigurationAgents2 = {
2337
2194
  /**
2338
2195
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
2339
2196
  */
2340
- retry?: UpdateAgentFallbackModelConfigurationAgentsResponseRetry | undefined;
2197
+ retry?: UpdateAgentFallbackModelConfigurationAgentsRetry | undefined;
2341
2198
  };
2342
2199
  /**
2343
2200
  * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
2344
2201
  */
2345
- export type UpdateAgentAgentsFallbackModelConfiguration = UpdateAgentFallbackModelConfigurationAgents2 | string;
2346
- export type UpdateAgentModel = {
2202
+ export type UpdateAgentResponseBodyFallbackModelConfiguration = UpdateAgentFallbackModelConfigurationAgents2 | string;
2203
+ export type UpdateAgentResponseBodyModel = {
2347
2204
  /**
2348
2205
  * The database ID of the primary model
2349
2206
  */
@@ -2355,67 +2212,32 @@ export type UpdateAgentModel = {
2355
2212
  /**
2356
2213
  * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
2357
2214
  */
2358
- parameters?: UpdateAgentParameters | undefined;
2215
+ parameters?: UpdateAgentResponseBodyParameters | undefined;
2359
2216
  /**
2360
2217
  * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
2361
2218
  */
2362
- retry?: UpdateAgentRetry | undefined;
2219
+ retry?: UpdateAgentResponseBodyRetry | undefined;
2363
2220
  /**
2364
2221
  * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
2365
2222
  */
2366
2223
  fallbackModels?: Array<UpdateAgentFallbackModelConfigurationAgents2 | string> | null | undefined;
2367
2224
  };
2368
- export type UpdateAgentAgentsTeamOfAgents = {
2369
- /**
2370
- * The unique key of the agent within the workspace
2371
- */
2372
- key: string;
2373
- /**
2374
- * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
2375
- */
2376
- role?: string | undefined;
2377
- };
2378
- export type UpdateAgentMetrics = {
2379
- totalCost: number;
2380
- };
2381
- export type UpdateAgentAgentsKnowledgeBases = {
2382
- /**
2383
- * Unique identifier of the knowledge base to search
2384
- */
2385
- knowledgeId: string;
2386
- };
2387
- export declare const UpdateAgentSource: {
2388
- readonly Internal: "internal";
2389
- readonly External: "external";
2390
- readonly Experiment: "experiment";
2391
- };
2392
- export type UpdateAgentSource = ClosedEnum<typeof UpdateAgentSource>;
2393
- /**
2394
- * Agent configuration successfully updated. Returns the complete updated agent manifest reflecting all changes made.
2395
- */
2396
- export type UpdateAgentResponseBody = {
2225
+ export type UpdateAgentResponseBody1 = {
2397
2226
  id: string;
2398
2227
  /**
2399
2228
  * Unique identifier for the agent within the workspace
2400
2229
  */
2401
2230
  key: string;
2402
2231
  displayName?: string | undefined;
2403
- workspaceId: string;
2404
2232
  projectId: string;
2405
2233
  createdById?: string | null | undefined;
2406
2234
  updatedById?: string | null | undefined;
2407
2235
  created?: string | undefined;
2408
2236
  updated?: string | undefined;
2409
- role: string;
2410
- description: string;
2411
- systemPrompt?: string | undefined;
2412
- instructions: string;
2413
2237
  /**
2414
2238
  * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
2415
2239
  */
2416
- status: UpdateAgentStatus;
2417
- settings?: UpdateAgentAgentsSettings | undefined;
2418
- model: UpdateAgentModel;
2240
+ status: UpdateAgentResponseBodyStatus;
2419
2241
  versionHash?: string | undefined;
2420
2242
  /**
2421
2243
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -2430,12 +2252,12 @@ export type UpdateAgentResponseBody = {
2430
2252
  /**
2431
2253
  * Array of memory store identifiers. Accepts both memory store IDs and keys.
2432
2254
  */
2433
- memoryStores: Array<string>;
2255
+ memoryStores?: Array<string> | undefined;
2434
2256
  /**
2435
2257
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
2436
2258
  */
2437
- teamOfAgents: Array<UpdateAgentAgentsTeamOfAgents>;
2438
- metrics?: UpdateAgentMetrics | undefined;
2259
+ teamOfAgents?: Array<UpdateAgentResponseBodyTeamOfAgents> | undefined;
2260
+ metrics?: UpdateAgentResponseBodyMetrics | undefined;
2439
2261
  /**
2440
2262
  * Extracted variables from agent instructions
2441
2263
  */
@@ -2445,21 +2267,23 @@ export type UpdateAgentResponseBody = {
2445
2267
  /**
2446
2268
  * Agent knowledge bases reference
2447
2269
  */
2448
- knowledgeBases?: Array<UpdateAgentAgentsKnowledgeBases> | undefined;
2449
- source?: UpdateAgentSource | undefined;
2450
- };
2451
- /** @internal */
2452
- export declare const ModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationVoice>;
2453
- /** @internal */
2454
- export declare const ModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationFormat>;
2455
- /** @internal */
2456
- export type UpdateAgentModelConfigurationAudio$Outbound = {
2457
- voice: string;
2458
- format: string;
2270
+ knowledgeBases?: Array<UpdateAgentResponseBodyKnowledgeBases> | undefined;
2271
+ source?: UpdateAgentResponseBodySource | undefined;
2272
+ /**
2273
+ * Orquesta-managed agent
2274
+ */
2275
+ type: "internal";
2276
+ role: string;
2277
+ description: string;
2278
+ systemPrompt?: string | undefined;
2279
+ instructions: string;
2280
+ settings?: UpdateAgentResponseBodySettings | undefined;
2281
+ model: UpdateAgentResponseBodyModel;
2459
2282
  };
2460
- /** @internal */
2461
- export declare const UpdateAgentModelConfigurationAudio$outboundSchema: z.ZodType<UpdateAgentModelConfigurationAudio$Outbound, z.ZodTypeDef, UpdateAgentModelConfigurationAudio>;
2462
- export declare function updateAgentModelConfigurationAudioToJSON(updateAgentModelConfigurationAudio: UpdateAgentModelConfigurationAudio): string;
2283
+ /**
2284
+ * Agent configuration successfully updated. Returns the complete updated agent manifest reflecting all changes made.
2285
+ */
2286
+ export type UpdateAgentResponseBody = UpdateAgentResponseBody1 | UpdateAgentResponseBody2;
2463
2287
  /** @internal */
2464
2288
  export type UpdateAgentResponseFormatAgentsJsonSchema$Outbound = {
2465
2289
  description?: string | undefined;
@@ -2505,13 +2329,6 @@ export type ModelConfigurationStop$Outbound = string | Array<string>;
2505
2329
  export declare const ModelConfigurationStop$outboundSchema: z.ZodType<ModelConfigurationStop$Outbound, z.ZodTypeDef, ModelConfigurationStop>;
2506
2330
  export declare function modelConfigurationStopToJSON(modelConfigurationStop: ModelConfigurationStop): string;
2507
2331
  /** @internal */
2508
- export type ModelConfigurationStreamOptions$Outbound = {
2509
- include_usage?: boolean | undefined;
2510
- };
2511
- /** @internal */
2512
- export declare const ModelConfigurationStreamOptions$outboundSchema: z.ZodType<ModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, ModelConfigurationStreamOptions>;
2513
- export declare function modelConfigurationStreamOptionsToJSON(modelConfigurationStreamOptions: ModelConfigurationStreamOptions): string;
2514
- /** @internal */
2515
2332
  export type ModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2516
2333
  /** @internal */
2517
2334
  export declare const ModelConfigurationThinking$outboundSchema: z.ZodType<ModelConfigurationThinking$Outbound, z.ZodTypeDef, ModelConfigurationThinking>;
@@ -2567,14 +2384,6 @@ export type ModelConfigurationFallbacks$Outbound = {
2567
2384
  export declare const ModelConfigurationFallbacks$outboundSchema: z.ZodType<ModelConfigurationFallbacks$Outbound, z.ZodTypeDef, ModelConfigurationFallbacks>;
2568
2385
  export declare function modelConfigurationFallbacksToJSON(modelConfigurationFallbacks: ModelConfigurationFallbacks): string;
2569
2386
  /** @internal */
2570
- export type UpdateAgentModelConfigurationRetry$Outbound = {
2571
- count: number;
2572
- on_codes?: Array<number> | undefined;
2573
- };
2574
- /** @internal */
2575
- export declare const UpdateAgentModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentModelConfigurationRetry>;
2576
- export declare function updateAgentModelConfigurationRetryToJSON(updateAgentModelConfigurationRetry: UpdateAgentModelConfigurationRetry): string;
2577
- /** @internal */
2578
2387
  export declare const UpdateAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentModelConfigurationType>;
2579
2388
  /** @internal */
2580
2389
  export type ModelConfigurationCache$Outbound = {
@@ -2617,20 +2426,15 @@ export declare function modelConfigurationTimeoutToJSON(modelConfigurationTimeou
2617
2426
  /** @internal */
2618
2427
  export type ModelConfigurationParameters$Outbound = {
2619
2428
  name?: string | undefined;
2620
- audio?: UpdateAgentModelConfigurationAudio$Outbound | null | undefined;
2621
2429
  frequency_penalty?: number | null | undefined;
2622
2430
  max_tokens?: number | null | undefined;
2623
2431
  max_completion_tokens?: number | null | undefined;
2624
- logprobs?: boolean | null | undefined;
2625
- top_logprobs?: number | null | undefined;
2626
- n?: number | null | undefined;
2627
2432
  presence_penalty?: number | null | undefined;
2628
2433
  response_format?: UpdateAgentResponseFormatText$Outbound | UpdateAgentResponseFormatJSONObject$Outbound | UpdateAgentResponseFormatJSONSchema$Outbound | undefined;
2629
2434
  reasoning_effort?: string | undefined;
2630
2435
  verbosity?: string | undefined;
2631
2436
  seed?: number | null | undefined;
2632
2437
  stop?: string | Array<string> | null | undefined;
2633
- stream_options?: ModelConfigurationStreamOptions$Outbound | null | undefined;
2634
2438
  thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2635
2439
  temperature?: number | null | undefined;
2636
2440
  top_p?: number | null | undefined;
@@ -2640,7 +2444,6 @@ export type ModelConfigurationParameters$Outbound = {
2640
2444
  modalities?: Array<string> | null | undefined;
2641
2445
  guardrails?: Array<ModelConfigurationGuardrails$Outbound> | undefined;
2642
2446
  fallbacks?: Array<ModelConfigurationFallbacks$Outbound> | undefined;
2643
- retry?: UpdateAgentModelConfigurationRetry$Outbound | undefined;
2644
2447
  cache?: ModelConfigurationCache$Outbound | undefined;
2645
2448
  load_balancer?: UpdateAgentLoadBalancer1$Outbound | undefined;
2646
2449
  timeout?: ModelConfigurationTimeout$Outbound | undefined;
@@ -2649,18 +2452,18 @@ export type ModelConfigurationParameters$Outbound = {
2649
2452
  export declare const ModelConfigurationParameters$outboundSchema: z.ZodType<ModelConfigurationParameters$Outbound, z.ZodTypeDef, ModelConfigurationParameters>;
2650
2453
  export declare function modelConfigurationParametersToJSON(modelConfigurationParameters: ModelConfigurationParameters): string;
2651
2454
  /** @internal */
2652
- export type UpdateAgentModelConfigurationAgentsRetry$Outbound = {
2455
+ export type ModelConfigurationRetry$Outbound = {
2653
2456
  count: number;
2654
2457
  on_codes?: Array<number> | undefined;
2655
2458
  };
2656
2459
  /** @internal */
2657
- export declare const UpdateAgentModelConfigurationAgentsRetry$outboundSchema: z.ZodType<UpdateAgentModelConfigurationAgentsRetry$Outbound, z.ZodTypeDef, UpdateAgentModelConfigurationAgentsRetry>;
2658
- export declare function updateAgentModelConfigurationAgentsRetryToJSON(updateAgentModelConfigurationAgentsRetry: UpdateAgentModelConfigurationAgentsRetry): string;
2460
+ export declare const ModelConfigurationRetry$outboundSchema: z.ZodType<ModelConfigurationRetry$Outbound, z.ZodTypeDef, ModelConfigurationRetry>;
2461
+ export declare function modelConfigurationRetryToJSON(modelConfigurationRetry: ModelConfigurationRetry): string;
2659
2462
  /** @internal */
2660
2463
  export type UpdateAgentModelConfiguration2$Outbound = {
2661
2464
  id: string;
2662
2465
  parameters?: ModelConfigurationParameters$Outbound | undefined;
2663
- retry?: UpdateAgentModelConfigurationAgentsRetry$Outbound | undefined;
2466
+ retry?: ModelConfigurationRetry$Outbound | undefined;
2664
2467
  };
2665
2468
  /** @internal */
2666
2469
  export declare const UpdateAgentModelConfiguration2$outboundSchema: z.ZodType<UpdateAgentModelConfiguration2$Outbound, z.ZodTypeDef, UpdateAgentModelConfiguration2>;
@@ -2671,18 +2474,6 @@ export type UpdateAgentModelConfiguration$Outbound = UpdateAgentModelConfigurati
2671
2474
  export declare const UpdateAgentModelConfiguration$outboundSchema: z.ZodType<UpdateAgentModelConfiguration$Outbound, z.ZodTypeDef, UpdateAgentModelConfiguration>;
2672
2475
  export declare function updateAgentModelConfigurationToJSON(updateAgentModelConfiguration: UpdateAgentModelConfiguration): string;
2673
2476
  /** @internal */
2674
- export declare const UpdateAgentFallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationVoice>;
2675
- /** @internal */
2676
- export declare const UpdateAgentFallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationFormat>;
2677
- /** @internal */
2678
- export type UpdateAgentFallbackModelConfigurationAudio$Outbound = {
2679
- voice: string;
2680
- format: string;
2681
- };
2682
- /** @internal */
2683
- export declare const UpdateAgentFallbackModelConfigurationAudio$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAudio>;
2684
- export declare function updateAgentFallbackModelConfigurationAudioToJSON(updateAgentFallbackModelConfigurationAudio: UpdateAgentFallbackModelConfigurationAudio): string;
2685
- /** @internal */
2686
2477
  export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound = {
2687
2478
  description?: string | undefined;
2688
2479
  name: string;
@@ -2727,13 +2518,6 @@ export type UpdateAgentFallbackModelConfigurationStop$Outbound = string | Array<
2727
2518
  export declare const UpdateAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationStop$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationStop>;
2728
2519
  export declare function updateAgentFallbackModelConfigurationStopToJSON(updateAgentFallbackModelConfigurationStop: UpdateAgentFallbackModelConfigurationStop): string;
2729
2520
  /** @internal */
2730
- export type UpdateAgentFallbackModelConfigurationStreamOptions$Outbound = {
2731
- include_usage?: boolean | undefined;
2732
- };
2733
- /** @internal */
2734
- export declare const UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationStreamOptions>;
2735
- export declare function updateAgentFallbackModelConfigurationStreamOptionsToJSON(updateAgentFallbackModelConfigurationStreamOptions: UpdateAgentFallbackModelConfigurationStreamOptions): string;
2736
- /** @internal */
2737
2521
  export type UpdateAgentFallbackModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2738
2522
  /** @internal */
2739
2523
  export declare const UpdateAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationThinking>;
@@ -2789,14 +2573,6 @@ export type UpdateAgentFallbackModelConfigurationFallbacks$Outbound = {
2789
2573
  export declare const UpdateAgentFallbackModelConfigurationFallbacks$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationFallbacks$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationFallbacks>;
2790
2574
  export declare function updateAgentFallbackModelConfigurationFallbacksToJSON(updateAgentFallbackModelConfigurationFallbacks: UpdateAgentFallbackModelConfigurationFallbacks): string;
2791
2575
  /** @internal */
2792
- export type UpdateAgentFallbackModelConfigurationRetry$Outbound = {
2793
- count: number;
2794
- on_codes?: Array<number> | undefined;
2795
- };
2796
- /** @internal */
2797
- export declare const UpdateAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationRetry>;
2798
- export declare function updateAgentFallbackModelConfigurationRetryToJSON(updateAgentFallbackModelConfigurationRetry: UpdateAgentFallbackModelConfigurationRetry): string;
2799
- /** @internal */
2800
2576
  export declare const UpdateAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationType>;
2801
2577
  /** @internal */
2802
2578
  export type UpdateAgentFallbackModelConfigurationCache$Outbound = {
@@ -2839,20 +2615,15 @@ export declare function updateAgentFallbackModelConfigurationTimeoutToJSON(updat
2839
2615
  /** @internal */
2840
2616
  export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
2841
2617
  name?: string | undefined;
2842
- audio?: UpdateAgentFallbackModelConfigurationAudio$Outbound | null | undefined;
2843
2618
  frequency_penalty?: number | null | undefined;
2844
2619
  max_tokens?: number | null | undefined;
2845
2620
  max_completion_tokens?: number | null | undefined;
2846
- logprobs?: boolean | null | undefined;
2847
- top_logprobs?: number | null | undefined;
2848
- n?: number | null | undefined;
2849
2621
  presence_penalty?: number | null | undefined;
2850
2622
  response_format?: UpdateAgentResponseFormatAgentsText$Outbound | UpdateAgentResponseFormatAgentsJSONObject$Outbound | UpdateAgentResponseFormatAgentsRequestJSONSchema$Outbound | undefined;
2851
2623
  reasoning_effort?: string | undefined;
2852
2624
  verbosity?: string | undefined;
2853
2625
  seed?: number | null | undefined;
2854
2626
  stop?: string | Array<string> | null | undefined;
2855
- stream_options?: UpdateAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
2856
2627
  thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2857
2628
  temperature?: number | null | undefined;
2858
2629
  top_p?: number | null | undefined;
@@ -2862,7 +2633,6 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
2862
2633
  modalities?: Array<string> | null | undefined;
2863
2634
  guardrails?: Array<UpdateAgentFallbackModelConfigurationGuardrails$Outbound> | undefined;
2864
2635
  fallbacks?: Array<UpdateAgentFallbackModelConfigurationFallbacks$Outbound> | undefined;
2865
- retry?: UpdateAgentFallbackModelConfigurationRetry$Outbound | undefined;
2866
2636
  cache?: UpdateAgentFallbackModelConfigurationCache$Outbound | undefined;
2867
2637
  load_balancer?: UpdateAgentLoadBalancerAgents1$Outbound | undefined;
2868
2638
  timeout?: UpdateAgentFallbackModelConfigurationTimeout$Outbound | undefined;
@@ -2871,18 +2641,18 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
2871
2641
  export declare const UpdateAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationParameters>;
2872
2642
  export declare function updateAgentFallbackModelConfigurationParametersToJSON(updateAgentFallbackModelConfigurationParameters: UpdateAgentFallbackModelConfigurationParameters): string;
2873
2643
  /** @internal */
2874
- export type UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound = {
2644
+ export type UpdateAgentFallbackModelConfigurationRetry$Outbound = {
2875
2645
  count: number;
2876
2646
  on_codes?: Array<number> | undefined;
2877
2647
  };
2878
2648
  /** @internal */
2879
- export declare const UpdateAgentFallbackModelConfigurationAgentsRetry$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsRetry>;
2880
- export declare function updateAgentFallbackModelConfigurationAgentsRetryToJSON(updateAgentFallbackModelConfigurationAgentsRetry: UpdateAgentFallbackModelConfigurationAgentsRetry): string;
2649
+ export declare const UpdateAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationRetry>;
2650
+ export declare function updateAgentFallbackModelConfigurationRetryToJSON(updateAgentFallbackModelConfigurationRetry: UpdateAgentFallbackModelConfigurationRetry): string;
2881
2651
  /** @internal */
2882
2652
  export type UpdateAgentFallbackModelConfiguration2$Outbound = {
2883
2653
  id: string;
2884
2654
  parameters?: UpdateAgentFallbackModelConfigurationParameters$Outbound | undefined;
2885
- retry?: UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound | undefined;
2655
+ retry?: UpdateAgentFallbackModelConfigurationRetry$Outbound | undefined;
2886
2656
  };
2887
2657
  /** @internal */
2888
2658
  export declare const UpdateAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfiguration2$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfiguration2>;
@@ -3129,7 +2899,28 @@ export type UpdateAgentTeamOfAgents$Outbound = {
3129
2899
  export declare const UpdateAgentTeamOfAgents$outboundSchema: z.ZodType<UpdateAgentTeamOfAgents$Outbound, z.ZodTypeDef, UpdateAgentTeamOfAgents>;
3130
2900
  export declare function updateAgentTeamOfAgentsToJSON(updateAgentTeamOfAgents: UpdateAgentTeamOfAgents): string;
3131
2901
  /** @internal */
3132
- export type UpdateAgentUpdateAgentRequest$Outbound = {
2902
+ export type UpdateAgentHeaders$Outbound = {
2903
+ value: string;
2904
+ encrypted: boolean;
2905
+ };
2906
+ /** @internal */
2907
+ export declare const UpdateAgentHeaders$outboundSchema: z.ZodType<UpdateAgentHeaders$Outbound, z.ZodTypeDef, UpdateAgentHeaders>;
2908
+ export declare function updateAgentHeadersToJSON(updateAgentHeaders: UpdateAgentHeaders): string;
2909
+ /** @internal */
2910
+ export type UpdateA2AConfiguration$Outbound = {
2911
+ agent_url?: string | undefined;
2912
+ card_url?: string | undefined;
2913
+ headers?: {
2914
+ [k: string]: UpdateAgentHeaders$Outbound;
2915
+ } | undefined;
2916
+ };
2917
+ /** @internal */
2918
+ export declare const UpdateA2AConfiguration$outboundSchema: z.ZodType<UpdateA2AConfiguration$Outbound, z.ZodTypeDef, UpdateA2AConfiguration>;
2919
+ export declare function updateA2AConfigurationToJSON(updateA2AConfiguration: UpdateA2AConfiguration): string;
2920
+ /** @internal */
2921
+ export declare const VersionIncrement$outboundSchema: z.ZodNativeEnum<typeof VersionIncrement>;
2922
+ /** @internal */
2923
+ export type UpdateAgentRequestBody$Outbound = {
3133
2924
  key?: string | undefined;
3134
2925
  display_name?: string | undefined;
3135
2926
  project_id?: string | undefined;
@@ -3147,48 +2938,77 @@ export type UpdateAgentUpdateAgentRequest$Outbound = {
3147
2938
  variables?: {
3148
2939
  [k: string]: any;
3149
2940
  } | undefined;
2941
+ a2a?: UpdateA2AConfiguration$Outbound | undefined;
2942
+ versionIncrement?: string | undefined;
2943
+ versionDescription?: string | undefined;
3150
2944
  };
3151
2945
  /** @internal */
3152
- export declare const UpdateAgentUpdateAgentRequest$outboundSchema: z.ZodType<UpdateAgentUpdateAgentRequest$Outbound, z.ZodTypeDef, UpdateAgentUpdateAgentRequest>;
3153
- export declare function updateAgentUpdateAgentRequestToJSON(updateAgentUpdateAgentRequest: UpdateAgentUpdateAgentRequest): string;
2946
+ export declare const UpdateAgentRequestBody$outboundSchema: z.ZodType<UpdateAgentRequestBody$Outbound, z.ZodTypeDef, UpdateAgentRequestBody>;
2947
+ export declare function updateAgentRequestBodyToJSON(updateAgentRequestBody: UpdateAgentRequestBody): string;
3154
2948
  /** @internal */
3155
2949
  export type UpdateAgentRequest$Outbound = {
3156
2950
  agent_key: string;
3157
- RequestBody: UpdateAgentUpdateAgentRequest$Outbound;
2951
+ RequestBody: UpdateAgentRequestBody$Outbound;
3158
2952
  };
3159
2953
  /** @internal */
3160
2954
  export declare const UpdateAgentRequest$outboundSchema: z.ZodType<UpdateAgentRequest$Outbound, z.ZodTypeDef, UpdateAgentRequest>;
3161
2955
  export declare function updateAgentRequestToJSON(updateAgentRequest: UpdateAgentRequest): string;
3162
2956
  /** @internal */
3163
- export declare const UpdateAgentStatus$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentStatus>;
2957
+ export declare const UpdateAgentResponseBodyAgentsStatus$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyAgentsStatus>;
2958
+ /** @internal */
2959
+ export declare const UpdateAgentResponseBodyAgentsTeamOfAgents$inboundSchema: z.ZodType<UpdateAgentResponseBodyAgentsTeamOfAgents, z.ZodTypeDef, unknown>;
2960
+ export declare function updateAgentResponseBodyAgentsTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyAgentsTeamOfAgents, SDKValidationError>;
2961
+ /** @internal */
2962
+ export declare const UpdateAgentResponseBodyAgentsMetrics$inboundSchema: z.ZodType<UpdateAgentResponseBodyAgentsMetrics, z.ZodTypeDef, unknown>;
2963
+ export declare function updateAgentResponseBodyAgentsMetricsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyAgentsMetrics, SDKValidationError>;
2964
+ /** @internal */
2965
+ export declare const UpdateAgentResponseBodyAgentsKnowledgeBases$inboundSchema: z.ZodType<UpdateAgentResponseBodyAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
2966
+ export declare function updateAgentResponseBodyAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyAgentsKnowledgeBases, SDKValidationError>;
2967
+ /** @internal */
2968
+ export declare const UpdateAgentResponseBodyAgentsSource$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyAgentsSource>;
2969
+ /** @internal */
2970
+ export declare const UpdateAgentResponseBodyHeaders$inboundSchema: z.ZodType<UpdateAgentResponseBodyHeaders, z.ZodTypeDef, unknown>;
2971
+ export declare function updateAgentResponseBodyHeadersFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyHeaders, SDKValidationError>;
2972
+ /** @internal */
2973
+ export declare const UpdateAgentResponseBodyA2AAgentConfiguration$inboundSchema: z.ZodType<UpdateAgentResponseBodyA2AAgentConfiguration, z.ZodTypeDef, unknown>;
2974
+ export declare function updateAgentResponseBodyA2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyA2AAgentConfiguration, SDKValidationError>;
3164
2975
  /** @internal */
3165
- export declare const UpdateAgentAgentsToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsToolApprovalRequired>;
2976
+ export declare const UpdateAgentResponseBody2$inboundSchema: z.ZodType<UpdateAgentResponseBody2, z.ZodTypeDef, unknown>;
2977
+ export declare function updateAgentResponseBody2FromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBody2, SDKValidationError>;
3166
2978
  /** @internal */
3167
- export declare const UpdateAgentConditions$inboundSchema: z.ZodType<UpdateAgentConditions, z.ZodTypeDef, unknown>;
3168
- export declare function updateAgentConditionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentConditions, SDKValidationError>;
2979
+ export declare const UpdateAgentResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyStatus>;
3169
2980
  /** @internal */
3170
- export declare const UpdateAgentTools$inboundSchema: z.ZodType<UpdateAgentTools, z.ZodTypeDef, unknown>;
3171
- export declare function updateAgentToolsFromJSON(jsonString: string): SafeParseResult<UpdateAgentTools, SDKValidationError>;
2981
+ export declare const UpdateAgentResponseBodyTeamOfAgents$inboundSchema: z.ZodType<UpdateAgentResponseBodyTeamOfAgents, z.ZodTypeDef, unknown>;
2982
+ export declare function updateAgentResponseBodyTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyTeamOfAgents, SDKValidationError>;
3172
2983
  /** @internal */
3173
- export declare const UpdateAgentAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsResponseExecuteOn>;
2984
+ export declare const UpdateAgentResponseBodyMetrics$inboundSchema: z.ZodType<UpdateAgentResponseBodyMetrics, z.ZodTypeDef, unknown>;
2985
+ export declare function updateAgentResponseBodyMetricsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyMetrics, SDKValidationError>;
3174
2986
  /** @internal */
3175
- export declare const UpdateAgentAgentsEvaluators$inboundSchema: z.ZodType<UpdateAgentAgentsEvaluators, z.ZodTypeDef, unknown>;
3176
- export declare function updateAgentAgentsEvaluatorsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsEvaluators, SDKValidationError>;
2987
+ export declare const UpdateAgentResponseBodyKnowledgeBases$inboundSchema: z.ZodType<UpdateAgentResponseBodyKnowledgeBases, z.ZodTypeDef, unknown>;
2988
+ export declare function updateAgentResponseBodyKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyKnowledgeBases, SDKValidationError>;
3177
2989
  /** @internal */
3178
- export declare const UpdateAgentAgentsResponse200ExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsResponse200ExecuteOn>;
2990
+ export declare const UpdateAgentResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodySource>;
3179
2991
  /** @internal */
3180
- export declare const UpdateAgentAgentsGuardrails$inboundSchema: z.ZodType<UpdateAgentAgentsGuardrails, z.ZodTypeDef, unknown>;
3181
- export declare function updateAgentAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsGuardrails, SDKValidationError>;
2992
+ export declare const UpdateAgentResponseBodyToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyToolApprovalRequired>;
3182
2993
  /** @internal */
3183
- export declare const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<UpdateAgentAgentsSettings, z.ZodTypeDef, unknown>;
3184
- export declare function updateAgentAgentsSettingsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsSettings, SDKValidationError>;
2994
+ export declare const UpdateAgentResponseBodyConditions$inboundSchema: z.ZodType<UpdateAgentResponseBodyConditions, z.ZodTypeDef, unknown>;
2995
+ export declare function updateAgentResponseBodyConditionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyConditions, SDKValidationError>;
3185
2996
  /** @internal */
3186
- export declare const UpdateAgentVoice$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentVoice>;
2997
+ export declare const UpdateAgentResponseBodyTools$inboundSchema: z.ZodType<UpdateAgentResponseBodyTools, z.ZodTypeDef, unknown>;
2998
+ export declare function updateAgentResponseBodyToolsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyTools, SDKValidationError>;
3187
2999
  /** @internal */
3188
- export declare const UpdateAgentFormat$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFormat>;
3000
+ export declare const UpdateAgentResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyExecuteOn>;
3189
3001
  /** @internal */
3190
- export declare const UpdateAgentAudio$inboundSchema: z.ZodType<UpdateAgentAudio, z.ZodTypeDef, unknown>;
3191
- export declare function updateAgentAudioFromJSON(jsonString: string): SafeParseResult<UpdateAgentAudio, SDKValidationError>;
3002
+ export declare const UpdateAgentResponseBodyEvaluators$inboundSchema: z.ZodType<UpdateAgentResponseBodyEvaluators, z.ZodTypeDef, unknown>;
3003
+ export declare function updateAgentResponseBodyEvaluatorsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyEvaluators, SDKValidationError>;
3004
+ /** @internal */
3005
+ export declare const UpdateAgentResponseBodyAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyAgentsExecuteOn>;
3006
+ /** @internal */
3007
+ export declare const UpdateAgentResponseBodyGuardrails$inboundSchema: z.ZodType<UpdateAgentResponseBodyGuardrails, z.ZodTypeDef, unknown>;
3008
+ export declare function updateAgentResponseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyGuardrails, SDKValidationError>;
3009
+ /** @internal */
3010
+ export declare const UpdateAgentResponseBodySettings$inboundSchema: z.ZodType<UpdateAgentResponseBodySettings, z.ZodTypeDef, unknown>;
3011
+ export declare function updateAgentResponseBodySettingsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodySettings, SDKValidationError>;
3192
3012
  /** @internal */
3193
3013
  export declare const UpdateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<UpdateAgentResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
3194
3014
  export declare function updateAgentResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
@@ -3202,19 +3022,16 @@ export declare function updateAgentResponseFormatAgentsResponseJSONObjectFromJSO
3202
3022
  export declare const UpdateAgentResponseFormatAgentsResponseText$inboundSchema: z.ZodType<UpdateAgentResponseFormatAgentsResponseText, z.ZodTypeDef, unknown>;
3203
3023
  export declare function updateAgentResponseFormatAgentsResponseTextFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormatAgentsResponseText, SDKValidationError>;
3204
3024
  /** @internal */
3205
- export declare const UpdateAgentResponseFormat$inboundSchema: z.ZodType<UpdateAgentResponseFormat, z.ZodTypeDef, unknown>;
3206
- export declare function updateAgentResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormat, SDKValidationError>;
3207
- /** @internal */
3208
- export declare const UpdateAgentReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentReasoningEffort>;
3025
+ export declare const UpdateAgentResponseBodyResponseFormat$inboundSchema: z.ZodType<UpdateAgentResponseBodyResponseFormat, z.ZodTypeDef, unknown>;
3026
+ export declare function updateAgentResponseBodyResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyResponseFormat, SDKValidationError>;
3209
3027
  /** @internal */
3210
- export declare const UpdateAgentStop$inboundSchema: z.ZodType<UpdateAgentStop, z.ZodTypeDef, unknown>;
3211
- export declare function updateAgentStopFromJSON(jsonString: string): SafeParseResult<UpdateAgentStop, SDKValidationError>;
3028
+ export declare const UpdateAgentResponseBodyReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyReasoningEffort>;
3212
3029
  /** @internal */
3213
- export declare const UpdateAgentStreamOptions$inboundSchema: z.ZodType<UpdateAgentStreamOptions, z.ZodTypeDef, unknown>;
3214
- export declare function updateAgentStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentStreamOptions, SDKValidationError>;
3030
+ export declare const UpdateAgentResponseBodyStop$inboundSchema: z.ZodType<UpdateAgentResponseBodyStop, z.ZodTypeDef, unknown>;
3031
+ export declare function updateAgentResponseBodyStopFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyStop, SDKValidationError>;
3215
3032
  /** @internal */
3216
- export declare const UpdateAgentThinking$inboundSchema: z.ZodType<UpdateAgentThinking, z.ZodTypeDef, unknown>;
3217
- export declare function updateAgentThinkingFromJSON(jsonString: string): SafeParseResult<UpdateAgentThinking, SDKValidationError>;
3033
+ export declare const UpdateAgentResponseBodyThinking$inboundSchema: z.ZodType<UpdateAgentResponseBodyThinking, z.ZodTypeDef, unknown>;
3034
+ export declare function updateAgentResponseBodyThinkingFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyThinking, SDKValidationError>;
3218
3035
  /** @internal */
3219
3036
  export declare const UpdateAgentToolChoiceAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentToolChoiceAgentsResponseType>;
3220
3037
  /** @internal */
@@ -3226,31 +3043,28 @@ export declare function updateAgentToolChoiceAgentsResponse2FromJSON(jsonString:
3226
3043
  /** @internal */
3227
3044
  export declare const UpdateAgentToolChoiceAgentsResponse1$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentToolChoiceAgentsResponse1>;
3228
3045
  /** @internal */
3229
- export declare const UpdateAgentToolChoice$inboundSchema: z.ZodType<UpdateAgentToolChoice, z.ZodTypeDef, unknown>;
3230
- export declare function updateAgentToolChoiceFromJSON(jsonString: string): SafeParseResult<UpdateAgentToolChoice, SDKValidationError>;
3046
+ export declare const UpdateAgentResponseBodyToolChoice$inboundSchema: z.ZodType<UpdateAgentResponseBodyToolChoice, z.ZodTypeDef, unknown>;
3047
+ export declare function updateAgentResponseBodyToolChoiceFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyToolChoice, SDKValidationError>;
3231
3048
  /** @internal */
3232
- export declare const UpdateAgentModalities$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentModalities>;
3049
+ export declare const UpdateAgentResponseBodyModalities$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyModalities>;
3233
3050
  /** @internal */
3234
3051
  export declare const UpdateAgentIdAgentsResponse1$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentIdAgentsResponse1>;
3235
3052
  /** @internal */
3236
- export declare const UpdateAgentId$inboundSchema: z.ZodType<UpdateAgentId, z.ZodTypeDef, unknown>;
3237
- export declare function updateAgentIdFromJSON(jsonString: string): SafeParseResult<UpdateAgentId, SDKValidationError>;
3053
+ export declare const UpdateAgentResponseBodyId$inboundSchema: z.ZodType<UpdateAgentResponseBodyId, z.ZodTypeDef, unknown>;
3054
+ export declare function updateAgentResponseBodyIdFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyId, SDKValidationError>;
3238
3055
  /** @internal */
3239
- export declare const UpdateAgentAgentsResponse200ApplicationJSONExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsResponse200ApplicationJSONExecuteOn>;
3056
+ export declare const UpdateAgentResponseBodyAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyAgentsResponseExecuteOn>;
3240
3057
  /** @internal */
3241
- export declare const UpdateAgentAgentsResponseGuardrails$inboundSchema: z.ZodType<UpdateAgentAgentsResponseGuardrails, z.ZodTypeDef, unknown>;
3242
- export declare function updateAgentAgentsResponseGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsResponseGuardrails, SDKValidationError>;
3058
+ export declare const UpdateAgentResponseBodyAgentsGuardrails$inboundSchema: z.ZodType<UpdateAgentResponseBodyAgentsGuardrails, z.ZodTypeDef, unknown>;
3059
+ export declare function updateAgentResponseBodyAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyAgentsGuardrails, SDKValidationError>;
3243
3060
  /** @internal */
3244
- export declare const UpdateAgentFallbacks$inboundSchema: z.ZodType<UpdateAgentFallbacks, z.ZodTypeDef, unknown>;
3245
- export declare function updateAgentFallbacksFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbacks, SDKValidationError>;
3061
+ export declare const UpdateAgentResponseBodyFallbacks$inboundSchema: z.ZodType<UpdateAgentResponseBodyFallbacks, z.ZodTypeDef, unknown>;
3062
+ export declare function updateAgentResponseBodyFallbacksFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyFallbacks, SDKValidationError>;
3246
3063
  /** @internal */
3247
- export declare const UpdateAgentAgentsRetry$inboundSchema: z.ZodType<UpdateAgentAgentsRetry, z.ZodTypeDef, unknown>;
3248
- export declare function updateAgentAgentsRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsRetry, SDKValidationError>;
3064
+ export declare const UpdateAgentResponseBodyAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentResponseBodyAgentsResponseType>;
3249
3065
  /** @internal */
3250
- export declare const UpdateAgentType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentType>;
3251
- /** @internal */
3252
- export declare const UpdateAgentCache$inboundSchema: z.ZodType<UpdateAgentCache, z.ZodTypeDef, unknown>;
3253
- export declare function updateAgentCacheFromJSON(jsonString: string): SafeParseResult<UpdateAgentCache, SDKValidationError>;
3066
+ export declare const UpdateAgentResponseBodyCache$inboundSchema: z.ZodType<UpdateAgentResponseBodyCache, z.ZodTypeDef, unknown>;
3067
+ export declare function updateAgentResponseBodyCacheFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyCache, SDKValidationError>;
3254
3068
  /** @internal */
3255
3069
  export declare const UpdateAgentLoadBalancerAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentLoadBalancerAgentsResponseType>;
3256
3070
  /** @internal */
@@ -3260,24 +3074,17 @@ export declare function updateAgentLoadBalancerAgentsResponseModelsFromJSON(json
3260
3074
  export declare const UpdateAgentLoadBalancerAgentsResponse1$inboundSchema: z.ZodType<UpdateAgentLoadBalancerAgentsResponse1, z.ZodTypeDef, unknown>;
3261
3075
  export declare function updateAgentLoadBalancerAgentsResponse1FromJSON(jsonString: string): SafeParseResult<UpdateAgentLoadBalancerAgentsResponse1, SDKValidationError>;
3262
3076
  /** @internal */
3263
- export declare const UpdateAgentLoadBalancer$inboundSchema: z.ZodType<UpdateAgentLoadBalancer, z.ZodTypeDef, unknown>;
3264
- export declare function updateAgentLoadBalancerFromJSON(jsonString: string): SafeParseResult<UpdateAgentLoadBalancer, SDKValidationError>;
3265
- /** @internal */
3266
- export declare const UpdateAgentTimeout$inboundSchema: z.ZodType<UpdateAgentTimeout, z.ZodTypeDef, unknown>;
3267
- export declare function updateAgentTimeoutFromJSON(jsonString: string): SafeParseResult<UpdateAgentTimeout, SDKValidationError>;
3268
- /** @internal */
3269
- export declare const UpdateAgentParameters$inboundSchema: z.ZodType<UpdateAgentParameters, z.ZodTypeDef, unknown>;
3270
- export declare function updateAgentParametersFromJSON(jsonString: string): SafeParseResult<UpdateAgentParameters, SDKValidationError>;
3077
+ export declare const UpdateAgentResponseBodyLoadBalancer$inboundSchema: z.ZodType<UpdateAgentResponseBodyLoadBalancer, z.ZodTypeDef, unknown>;
3078
+ export declare function updateAgentResponseBodyLoadBalancerFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyLoadBalancer, SDKValidationError>;
3271
3079
  /** @internal */
3272
- export declare const UpdateAgentRetry$inboundSchema: z.ZodType<UpdateAgentRetry, z.ZodTypeDef, unknown>;
3273
- export declare function updateAgentRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentRetry, SDKValidationError>;
3080
+ export declare const UpdateAgentResponseBodyTimeout$inboundSchema: z.ZodType<UpdateAgentResponseBodyTimeout, z.ZodTypeDef, unknown>;
3081
+ export declare function updateAgentResponseBodyTimeoutFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyTimeout, SDKValidationError>;
3274
3082
  /** @internal */
3275
- export declare const UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsVoice>;
3083
+ export declare const UpdateAgentResponseBodyParameters$inboundSchema: z.ZodType<UpdateAgentResponseBodyParameters, z.ZodTypeDef, unknown>;
3084
+ export declare function updateAgentResponseBodyParametersFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyParameters, SDKValidationError>;
3276
3085
  /** @internal */
3277
- export declare const UpdateAgentFallbackModelConfigurationAgentsFormat$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsFormat>;
3278
- /** @internal */
3279
- export declare const UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsAudio, z.ZodTypeDef, unknown>;
3280
- export declare function updateAgentFallbackModelConfigurationAgentsAudioFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsAudio, SDKValidationError>;
3086
+ export declare const UpdateAgentResponseBodyRetry$inboundSchema: z.ZodType<UpdateAgentResponseBodyRetry, z.ZodTypeDef, unknown>;
3087
+ export declare function updateAgentResponseBodyRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyRetry, SDKValidationError>;
3281
3088
  /** @internal */
3282
3089
  export declare const UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$inboundSchema: z.ZodType<UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema, z.ZodTypeDef, unknown>;
3283
3090
  export declare function updateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchemaFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema, SDKValidationError>;
@@ -3299,9 +3106,6 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$
3299
3106
  export declare const UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsStop, z.ZodTypeDef, unknown>;
3300
3107
  export declare function updateAgentFallbackModelConfigurationAgentsStopFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsStop, SDKValidationError>;
3301
3108
  /** @internal */
3302
- export declare const UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsStreamOptions, z.ZodTypeDef, unknown>;
3303
- export declare function updateAgentFallbackModelConfigurationAgentsStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsStreamOptions, SDKValidationError>;
3304
- /** @internal */
3305
3109
  export declare const UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsThinking, z.ZodTypeDef, unknown>;
3306
3110
  export declare function updateAgentFallbackModelConfigurationAgentsThinkingFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsThinking, SDKValidationError>;
3307
3111
  /** @internal */
@@ -3333,9 +3137,6 @@ export declare function updateAgentFallbackModelConfigurationAgentsGuardrailsFro
3333
3137
  export declare const UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsFallbacks, z.ZodTypeDef, unknown>;
3334
3138
  export declare function updateAgentFallbackModelConfigurationAgentsFallbacksFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsFallbacks, SDKValidationError>;
3335
3139
  /** @internal */
3336
- export declare const UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsResponse200Retry, z.ZodTypeDef, unknown>;
3337
- export declare function updateAgentFallbackModelConfigurationAgentsResponse200RetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsResponse200Retry, SDKValidationError>;
3338
- /** @internal */
3339
3140
  export declare const UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType>;
3340
3141
  /** @internal */
3341
3142
  export declare const UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsCache, z.ZodTypeDef, unknown>;
@@ -3358,28 +3159,20 @@ export declare function updateAgentFallbackModelConfigurationAgentsTimeoutFromJS
3358
3159
  export declare const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsParameters, z.ZodTypeDef, unknown>;
3359
3160
  export declare function updateAgentFallbackModelConfigurationAgentsParametersFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsParameters, SDKValidationError>;
3360
3161
  /** @internal */
3361
- export declare const UpdateAgentFallbackModelConfigurationAgentsResponseRetry$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsResponseRetry, z.ZodTypeDef, unknown>;
3362
- export declare function updateAgentFallbackModelConfigurationAgentsResponseRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsResponseRetry, SDKValidationError>;
3162
+ export declare const UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsRetry, z.ZodTypeDef, unknown>;
3163
+ export declare function updateAgentFallbackModelConfigurationAgentsRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsRetry, SDKValidationError>;
3363
3164
  /** @internal */
3364
3165
  export declare const UpdateAgentFallbackModelConfigurationAgents2$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgents2, z.ZodTypeDef, unknown>;
3365
3166
  export declare function updateAgentFallbackModelConfigurationAgents2FromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgents2, SDKValidationError>;
3366
3167
  /** @internal */
3367
- export declare const UpdateAgentAgentsFallbackModelConfiguration$inboundSchema: z.ZodType<UpdateAgentAgentsFallbackModelConfiguration, z.ZodTypeDef, unknown>;
3368
- export declare function updateAgentAgentsFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsFallbackModelConfiguration, SDKValidationError>;
3369
- /** @internal */
3370
- export declare const UpdateAgentModel$inboundSchema: z.ZodType<UpdateAgentModel, z.ZodTypeDef, unknown>;
3371
- export declare function updateAgentModelFromJSON(jsonString: string): SafeParseResult<UpdateAgentModel, SDKValidationError>;
3372
- /** @internal */
3373
- export declare const UpdateAgentAgentsTeamOfAgents$inboundSchema: z.ZodType<UpdateAgentAgentsTeamOfAgents, z.ZodTypeDef, unknown>;
3374
- export declare function updateAgentAgentsTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsTeamOfAgents, SDKValidationError>;
3375
- /** @internal */
3376
- export declare const UpdateAgentMetrics$inboundSchema: z.ZodType<UpdateAgentMetrics, z.ZodTypeDef, unknown>;
3377
- export declare function updateAgentMetricsFromJSON(jsonString: string): SafeParseResult<UpdateAgentMetrics, SDKValidationError>;
3168
+ export declare const UpdateAgentResponseBodyFallbackModelConfiguration$inboundSchema: z.ZodType<UpdateAgentResponseBodyFallbackModelConfiguration, z.ZodTypeDef, unknown>;
3169
+ export declare function updateAgentResponseBodyFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyFallbackModelConfiguration, SDKValidationError>;
3378
3170
  /** @internal */
3379
- export declare const UpdateAgentAgentsKnowledgeBases$inboundSchema: z.ZodType<UpdateAgentAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
3380
- export declare function updateAgentAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsKnowledgeBases, SDKValidationError>;
3171
+ export declare const UpdateAgentResponseBodyModel$inboundSchema: z.ZodType<UpdateAgentResponseBodyModel, z.ZodTypeDef, unknown>;
3172
+ export declare function updateAgentResponseBodyModelFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBodyModel, SDKValidationError>;
3381
3173
  /** @internal */
3382
- export declare const UpdateAgentSource$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentSource>;
3174
+ export declare const UpdateAgentResponseBody1$inboundSchema: z.ZodType<UpdateAgentResponseBody1, z.ZodTypeDef, unknown>;
3175
+ export declare function updateAgentResponseBody1FromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBody1, SDKValidationError>;
3383
3176
  /** @internal */
3384
3177
  export declare const UpdateAgentResponseBody$inboundSchema: z.ZodType<UpdateAgentResponseBody, z.ZodTypeDef, unknown>;
3385
3178
  export declare function updateAgentResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBody, SDKValidationError>;