@orq-ai/node 4.5.0-rc.3 → 4.5.0-rc.33

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 (332) 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.js +7 -0
  28. package/funcs/filesCreate.js.map +1 -1
  29. package/funcs/routerAudioTranscriptionsCreate.js +7 -0
  30. package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
  31. package/funcs/routerAudioTranslationsCreate.js +7 -0
  32. package/funcs/routerAudioTranslationsCreate.js.map +1 -1
  33. package/jsr.json +1 -1
  34. package/lib/config.d.ts +3 -3
  35. package/lib/config.js +3 -3
  36. package/lib/config.js.map +1 -1
  37. package/lib/event-streams.d.ts +5 -0
  38. package/lib/event-streams.d.ts.map +1 -1
  39. package/lib/event-streams.js.map +1 -1
  40. package/lib/matchers.d.ts.map +1 -1
  41. package/lib/matchers.js +0 -1
  42. package/lib/matchers.js.map +1 -1
  43. package/lib/security.d.ts.map +1 -1
  44. package/lib/security.js +1 -2
  45. package/lib/security.js.map +1 -1
  46. package/models/components/createagentresponse.d.ts +5 -0
  47. package/models/components/createagentresponse.d.ts.map +1 -1
  48. package/models/components/createagentresponse.js +2 -0
  49. package/models/components/createagentresponse.js.map +1 -1
  50. package/models/components/extendedmessage.d.ts +71 -0
  51. package/models/components/extendedmessage.d.ts.map +1 -0
  52. package/models/components/extendedmessage.js +98 -0
  53. package/models/components/extendedmessage.js.map +1 -0
  54. package/models/components/getagentresponse.d.ts +157 -0
  55. package/models/components/getagentresponse.d.ts.map +1 -0
  56. package/models/components/getagentresponse.js +175 -0
  57. package/models/components/getagentresponse.js.map +1 -0
  58. package/models/components/index.d.ts +3 -0
  59. package/models/components/index.d.ts.map +1 -1
  60. package/models/components/index.js +3 -0
  61. package/models/components/index.js.map +1 -1
  62. package/models/components/partdoneevent.js +1 -1
  63. package/models/components/reasoningpart.js +1 -1
  64. package/models/components/responsedoneevent.d.ts +5 -0
  65. package/models/components/responsedoneevent.d.ts.map +1 -1
  66. package/models/components/responsedoneevent.js +2 -0
  67. package/models/components/responsedoneevent.js.map +1 -1
  68. package/models/components/responsestartedevent.d.ts +5 -0
  69. package/models/components/responsestartedevent.d.ts.map +1 -1
  70. package/models/components/responsestartedevent.js +2 -0
  71. package/models/components/responsestartedevent.js.map +1 -1
  72. package/models/components/telemetry.d.ts +20 -0
  73. package/models/components/telemetry.d.ts.map +1 -0
  74. package/models/components/telemetry.js +57 -0
  75. package/models/components/telemetry.js.map +1 -0
  76. package/models/errors/index.d.ts +2 -0
  77. package/models/errors/index.d.ts.map +1 -1
  78. package/models/errors/index.js +2 -0
  79. package/models/errors/index.js.map +1 -1
  80. package/models/errors/postv2agentsa2a.d.ts +43 -0
  81. package/models/errors/postv2agentsa2a.d.ts.map +1 -0
  82. package/models/errors/postv2agentsa2a.js +94 -0
  83. package/models/errors/postv2agentsa2a.js.map +1 -0
  84. package/models/errors/postv2agentskeycardrefresh.d.ts +43 -0
  85. package/models/errors/postv2agentskeycardrefresh.d.ts.map +1 -0
  86. package/models/errors/postv2agentskeycardrefresh.js +94 -0
  87. package/models/errors/postv2agentskeycardrefresh.js.map +1 -0
  88. package/models/operations/createagentrequest.d.ts +324 -601
  89. package/models/operations/createagentrequest.d.ts.map +1 -1
  90. package/models/operations/createagentrequest.js +308 -454
  91. package/models/operations/createagentrequest.js.map +1 -1
  92. package/models/operations/createagentresponserequest.d.ts +22 -1
  93. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  94. package/models/operations/createagentresponserequest.js +12 -2
  95. package/models/operations/createagentresponserequest.js.map +1 -1
  96. package/models/operations/createannotation.d.ts +1 -1
  97. package/models/operations/createannotation.d.ts.map +1 -1
  98. package/models/operations/createannotation.js +4 -0
  99. package/models/operations/createannotation.js.map +1 -1
  100. package/models/operations/createchatcompletion.d.ts +15 -2
  101. package/models/operations/createchatcompletion.d.ts.map +1 -1
  102. package/models/operations/createchatcompletion.js +3 -1
  103. package/models/operations/createchatcompletion.js.map +1 -1
  104. package/models/operations/createcompletion.d.ts +6 -2
  105. package/models/operations/createcompletion.d.ts.map +1 -1
  106. package/models/operations/createcompletion.js +2 -1
  107. package/models/operations/createcompletion.js.map +1 -1
  108. package/models/operations/createcontact.js +1 -1
  109. package/models/operations/createdataset.js +1 -1
  110. package/models/operations/createdatasetitem.js +4 -4
  111. package/models/operations/createdatasource.js +1 -1
  112. package/models/operations/createeval.js +16 -16
  113. package/models/operations/createidentity.js +1 -1
  114. package/models/operations/createknowledge.d.ts +7 -7
  115. package/models/operations/createknowledge.d.ts.map +1 -1
  116. package/models/operations/createknowledge.js +11 -11
  117. package/models/operations/createknowledge.js.map +1 -1
  118. package/models/operations/createprompt.d.ts +31 -30
  119. package/models/operations/createprompt.d.ts.map +1 -1
  120. package/models/operations/createprompt.js +32 -29
  121. package/models/operations/createprompt.js.map +1 -1
  122. package/models/operations/createresponse.d.ts.map +1 -1
  123. package/models/operations/createresponse.js +2 -1
  124. package/models/operations/createresponse.js.map +1 -1
  125. package/models/operations/createtool.d.ts +39 -39
  126. package/models/operations/createtool.d.ts.map +1 -1
  127. package/models/operations/createtool.js +52 -49
  128. package/models/operations/createtool.js.map +1 -1
  129. package/models/operations/deploymentinvoke.d.ts +15 -0
  130. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  131. package/models/operations/deploymentinvoke.js +17 -1
  132. package/models/operations/deploymentinvoke.js.map +1 -1
  133. package/models/operations/deployments.d.ts +1 -0
  134. package/models/operations/deployments.d.ts.map +1 -1
  135. package/models/operations/deployments.js +1 -0
  136. package/models/operations/deployments.js.map +1 -1
  137. package/models/operations/deploymentstream.d.ts +15 -0
  138. package/models/operations/deploymentstream.d.ts.map +1 -1
  139. package/models/operations/deploymentstream.js +17 -1
  140. package/models/operations/deploymentstream.js.map +1 -1
  141. package/models/operations/fileget.js +1 -1
  142. package/models/operations/filelist.js +1 -1
  143. package/models/operations/fileupload.js +1 -1
  144. package/models/operations/getagentresponse.d.ts +20 -0
  145. package/models/operations/getagentresponse.d.ts.map +1 -0
  146. package/models/operations/getagentresponse.js +56 -0
  147. package/models/operations/getagentresponse.js.map +1 -0
  148. package/models/operations/getallprompts.d.ts +1 -0
  149. package/models/operations/getallprompts.d.ts.map +1 -1
  150. package/models/operations/getallprompts.js +1 -0
  151. package/models/operations/getallprompts.js.map +1 -1
  152. package/models/operations/getalltools.d.ts +39 -39
  153. package/models/operations/getalltools.d.ts.map +1 -1
  154. package/models/operations/getalltools.js +49 -47
  155. package/models/operations/getalltools.js.map +1 -1
  156. package/models/operations/getevals.js +16 -16
  157. package/models/operations/getoneprompt.d.ts +1 -0
  158. package/models/operations/getoneprompt.d.ts.map +1 -1
  159. package/models/operations/getoneprompt.js +1 -0
  160. package/models/operations/getoneprompt.js.map +1 -1
  161. package/models/operations/getpromptversion.d.ts +1 -0
  162. package/models/operations/getpromptversion.d.ts.map +1 -1
  163. package/models/operations/getpromptversion.js +1 -0
  164. package/models/operations/getpromptversion.js.map +1 -1
  165. package/models/operations/index.d.ts +3 -0
  166. package/models/operations/index.d.ts.map +1 -1
  167. package/models/operations/index.js +3 -0
  168. package/models/operations/index.js.map +1 -1
  169. package/models/operations/invokeagent.d.ts +26 -1
  170. package/models/operations/invokeagent.d.ts.map +1 -1
  171. package/models/operations/invokeagent.js +12 -1
  172. package/models/operations/invokeagent.js.map +1 -1
  173. package/models/operations/listagents.d.ts +328 -346
  174. package/models/operations/listagents.d.ts.map +1 -1
  175. package/models/operations/listagents.js +314 -308
  176. package/models/operations/listagents.js.map +1 -1
  177. package/models/operations/listdatasetdatapoints.js +4 -4
  178. package/models/operations/listdatasets.js +1 -1
  179. package/models/operations/listdatasources.js +1 -1
  180. package/models/operations/listidentities.js +1 -1
  181. package/models/operations/listknowledgebases.d.ts +8 -8
  182. package/models/operations/listknowledgebases.d.ts.map +1 -1
  183. package/models/operations/listknowledgebases.js +13 -15
  184. package/models/operations/listknowledgebases.js.map +1 -1
  185. package/models/operations/listpromptversions.d.ts +1 -0
  186. package/models/operations/listpromptversions.d.ts.map +1 -1
  187. package/models/operations/listpromptversions.js +1 -0
  188. package/models/operations/listpromptversions.js.map +1 -1
  189. package/models/operations/postv2agentsa2a.d.ts +119 -0
  190. package/models/operations/postv2agentsa2a.d.ts.map +1 -0
  191. package/models/operations/postv2agentsa2a.js +147 -0
  192. package/models/operations/postv2agentsa2a.js.map +1 -0
  193. package/models/operations/postv2agentskeycardrefresh.d.ts +35 -0
  194. package/models/operations/postv2agentskeycardrefresh.d.ts.map +1 -0
  195. package/models/operations/postv2agentskeycardrefresh.js +71 -0
  196. package/models/operations/postv2agentskeycardrefresh.js.map +1 -0
  197. package/models/operations/retrieveagentrequest.d.ts +313 -349
  198. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  199. package/models/operations/retrieveagentrequest.js +307 -311
  200. package/models/operations/retrieveagentrequest.js.map +1 -1
  201. package/models/operations/retrievedatapoint.js +4 -4
  202. package/models/operations/retrievedataset.js +1 -1
  203. package/models/operations/retrievedatasource.js +1 -1
  204. package/models/operations/retrieveidentity.js +1 -1
  205. package/models/operations/retrievetool.js +6 -6
  206. package/models/operations/runagent.d.ts +27 -265
  207. package/models/operations/runagent.d.ts.map +1 -1
  208. package/models/operations/runagent.js +26 -163
  209. package/models/operations/runagent.js.map +1 -1
  210. package/models/operations/streamagent.d.ts +22 -1
  211. package/models/operations/streamagent.d.ts.map +1 -1
  212. package/models/operations/streamagent.js +11 -1
  213. package/models/operations/streamagent.js.map +1 -1
  214. package/models/operations/streamrunagent.d.ts +13 -255
  215. package/models/operations/streamrunagent.d.ts.map +1 -1
  216. package/models/operations/streamrunagent.js +15 -152
  217. package/models/operations/streamrunagent.js.map +1 -1
  218. package/models/operations/updateagent.d.ts +383 -614
  219. package/models/operations/updateagent.d.ts.map +1 -1
  220. package/models/operations/updateagent.js +352 -472
  221. package/models/operations/updateagent.js.map +1 -1
  222. package/models/operations/updatedatapoint.js +4 -4
  223. package/models/operations/updatedataset.js +1 -1
  224. package/models/operations/updatedatasource.js +1 -1
  225. package/models/operations/updateeval.js +16 -16
  226. package/models/operations/updateidentity.js +1 -1
  227. package/models/operations/updatememorystore.d.ts +2 -43
  228. package/models/operations/updatememorystore.d.ts.map +1 -1
  229. package/models/operations/updatememorystore.js +2 -45
  230. package/models/operations/updatememorystore.js.map +1 -1
  231. package/models/operations/updateprompt.d.ts +1 -0
  232. package/models/operations/updateprompt.d.ts.map +1 -1
  233. package/models/operations/updateprompt.js +1 -0
  234. package/models/operations/updateprompt.js.map +1 -1
  235. package/models/operations/updatetool.d.ts +50 -0
  236. package/models/operations/updatetool.d.ts.map +1 -1
  237. package/models/operations/updatetool.js +54 -9
  238. package/models/operations/updatetool.js.map +1 -1
  239. package/package.json +1 -1
  240. package/sdk/agents.d.ts +16 -2
  241. package/sdk/agents.d.ts.map +1 -1
  242. package/sdk/agents.js +22 -2
  243. package/sdk/agents.js.map +1 -1
  244. package/sdk/responses.d.ts +8 -0
  245. package/sdk/responses.d.ts.map +1 -1
  246. package/sdk/responses.js +10 -0
  247. package/sdk/responses.js.map +1 -1
  248. package/src/funcs/agentsList.ts +5 -0
  249. package/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
  250. package/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
  251. package/src/funcs/agentsResponsesGet.ts +182 -0
  252. package/src/funcs/agentsStream.ts +4 -1
  253. package/src/funcs/agentsStreamRun.ts +4 -1
  254. package/src/funcs/agentsUpdate.ts +2 -2
  255. package/src/funcs/deploymentsStream.ts +4 -1
  256. package/src/funcs/filesCreate.ts +11 -0
  257. package/src/funcs/routerAudioTranscriptionsCreate.ts +11 -0
  258. package/src/funcs/routerAudioTranslationsCreate.ts +11 -0
  259. package/src/lib/config.ts +3 -3
  260. package/src/lib/event-streams.ts +10 -1
  261. package/src/lib/matchers.ts +3 -2
  262. package/src/lib/security.ts +1 -2
  263. package/src/models/components/createagentresponse.ts +6 -0
  264. package/src/models/components/extendedmessage.ts +146 -0
  265. package/src/models/components/getagentresponse.ts +348 -0
  266. package/src/models/components/index.ts +3 -0
  267. package/src/models/components/partdoneevent.ts +1 -1
  268. package/src/models/components/reasoningpart.ts +1 -1
  269. package/src/models/components/responsedoneevent.ts +6 -0
  270. package/src/models/components/responsestartedevent.ts +6 -0
  271. package/src/models/components/telemetry.ts +48 -0
  272. package/src/models/errors/index.ts +2 -0
  273. package/src/models/errors/postv2agentsa2a.ts +96 -0
  274. package/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
  275. package/src/models/operations/createagentrequest.ts +755 -1212
  276. package/src/models/operations/createagentresponserequest.ts +37 -2
  277. package/src/models/operations/createannotation.ts +5 -1
  278. package/src/models/operations/createchatcompletion.ts +14 -3
  279. package/src/models/operations/createcompletion.ts +8 -3
  280. package/src/models/operations/createcontact.ts +1 -1
  281. package/src/models/operations/createdataset.ts +1 -1
  282. package/src/models/operations/createdatasetitem.ts +4 -4
  283. package/src/models/operations/createdatasource.ts +1 -1
  284. package/src/models/operations/createeval.ts +16 -16
  285. package/src/models/operations/createidentity.ts +1 -1
  286. package/src/models/operations/createknowledge.ts +19 -17
  287. package/src/models/operations/createprompt.ts +56 -66
  288. package/src/models/operations/createresponse.ts +2 -1
  289. package/src/models/operations/createtool.ts +103 -91
  290. package/src/models/operations/deploymentinvoke.ts +39 -0
  291. package/src/models/operations/deployments.ts +1 -0
  292. package/src/models/operations/deploymentstream.ts +39 -0
  293. package/src/models/operations/fileget.ts +1 -1
  294. package/src/models/operations/filelist.ts +1 -1
  295. package/src/models/operations/fileupload.ts +1 -1
  296. package/src/models/operations/getagentresponse.ts +46 -0
  297. package/src/models/operations/getallprompts.ts +1 -0
  298. package/src/models/operations/getalltools.ts +93 -87
  299. package/src/models/operations/getevals.ts +16 -16
  300. package/src/models/operations/getoneprompt.ts +1 -0
  301. package/src/models/operations/getpromptversion.ts +1 -0
  302. package/src/models/operations/index.ts +3 -0
  303. package/src/models/operations/invokeagent.ts +45 -1
  304. package/src/models/operations/listagents.ts +751 -787
  305. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  306. package/src/models/operations/listdatasets.ts +1 -1
  307. package/src/models/operations/listdatasources.ts +1 -1
  308. package/src/models/operations/listidentities.ts +1 -1
  309. package/src/models/operations/listknowledgebases.ts +72 -64
  310. package/src/models/operations/listpromptversions.ts +1 -0
  311. package/src/models/operations/postv2agentsa2a.ts +252 -0
  312. package/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
  313. package/src/models/operations/retrieveagentrequest.ts +962 -857
  314. package/src/models/operations/retrievedatapoint.ts +4 -4
  315. package/src/models/operations/retrievedataset.ts +1 -1
  316. package/src/models/operations/retrievedatasource.ts +1 -1
  317. package/src/models/operations/retrieveidentity.ts +1 -1
  318. package/src/models/operations/retrievetool.ts +6 -6
  319. package/src/models/operations/runagent.ts +69 -493
  320. package/src/models/operations/streamagent.ts +40 -1
  321. package/src/models/operations/streamrunagent.ts +36 -493
  322. package/src/models/operations/updateagent.ts +966 -1313
  323. package/src/models/operations/updatedatapoint.ts +4 -4
  324. package/src/models/operations/updatedataset.ts +1 -1
  325. package/src/models/operations/updatedatasource.ts +1 -1
  326. package/src/models/operations/updateeval.ts +16 -16
  327. package/src/models/operations/updateidentity.ts +1 -1
  328. package/src/models/operations/updatememorystore.ts +3 -61
  329. package/src/models/operations/updateprompt.ts +1 -0
  330. package/src/models/operations/updatetool.ts +96 -7
  331. package/src/sdk/agents.ts +39 -1
  332. package/src/sdk/responses.ts +19 -0
@@ -12,7 +12,7 @@ export type RetrieveAgentRequestRequest = {
12
12
  /**
13
13
  * 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.
14
14
  */
15
- export declare const RetrieveAgentRequestStatus: {
15
+ export declare const RetrieveAgentRequestResponseBodyAgentsStatus: {
16
16
  readonly Live: "live";
17
17
  readonly Draft: "draft";
18
18
  readonly Pending: "pending";
@@ -21,11 +21,173 @@ export declare const RetrieveAgentRequestStatus: {
21
21
  /**
22
22
  * 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.
23
23
  */
24
- export type RetrieveAgentRequestStatus = ClosedEnum<typeof RetrieveAgentRequestStatus>;
24
+ export type RetrieveAgentRequestResponseBodyAgentsStatus = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsStatus>;
25
+ export type RetrieveAgentRequestResponseBodyAgentsTeamOfAgents = {
26
+ /**
27
+ * The unique key of the agent within the workspace
28
+ */
29
+ key: string;
30
+ /**
31
+ * 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.
32
+ */
33
+ role?: string | undefined;
34
+ };
35
+ export type RetrieveAgentRequestResponseBodyAgentsMetrics = {
36
+ totalCost: number;
37
+ };
38
+ export type RetrieveAgentRequestResponseBodyAgentsKnowledgeBases = {
39
+ /**
40
+ * Unique identifier of the knowledge base to search
41
+ */
42
+ knowledgeId: string;
43
+ };
44
+ export declare const RetrieveAgentRequestResponseBodyAgentsSource: {
45
+ readonly Internal: "internal";
46
+ readonly External: "external";
47
+ readonly Experiment: "experiment";
48
+ };
49
+ export type RetrieveAgentRequestResponseBodyAgentsSource = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsSource>;
50
+ export type RetrieveAgentRequestResponseBodyHeaders = {
51
+ /**
52
+ * 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.
53
+ */
54
+ value: string;
55
+ encrypted: boolean;
56
+ };
57
+ /**
58
+ * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
59
+ */
60
+ export type ResponseBodyA2AAgentConfiguration = {
61
+ /**
62
+ * The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
63
+ */
64
+ agentUrl: string;
65
+ /**
66
+ * Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
67
+ */
68
+ cardUrl?: string | undefined;
69
+ /**
70
+ * 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.
71
+ */
72
+ headers?: {
73
+ [k: string]: RetrieveAgentRequestResponseBodyHeaders;
74
+ } | undefined;
75
+ /**
76
+ * Cached agent card from discovery. Refreshed periodically.
77
+ */
78
+ cachedCard?: any | undefined;
79
+ };
80
+ export type RetrieveAgentRequestResponseBody2 = {
81
+ id: string;
82
+ /**
83
+ * Unique identifier for the agent within the workspace
84
+ */
85
+ key: string;
86
+ displayName?: string | undefined;
87
+ projectId: string;
88
+ createdById?: string | null | undefined;
89
+ updatedById?: string | null | undefined;
90
+ created?: string | undefined;
91
+ updated?: string | undefined;
92
+ /**
93
+ * 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.
94
+ */
95
+ status: RetrieveAgentRequestResponseBodyAgentsStatus;
96
+ versionHash?: string | undefined;
97
+ /**
98
+ * Entity storage path in the format: `project/folder/subfolder/...`
99
+ *
100
+ * @remarks
101
+ *
102
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
103
+ *
104
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
105
+ */
106
+ path: string;
107
+ /**
108
+ * Array of memory store identifiers. Accepts both memory store IDs and keys.
109
+ */
110
+ memoryStores?: Array<string> | undefined;
111
+ /**
112
+ * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
113
+ */
114
+ teamOfAgents?: Array<RetrieveAgentRequestResponseBodyAgentsTeamOfAgents> | undefined;
115
+ metrics?: RetrieveAgentRequestResponseBodyAgentsMetrics | undefined;
116
+ /**
117
+ * Extracted variables from agent instructions
118
+ */
119
+ variables?: {
120
+ [k: string]: any;
121
+ } | undefined;
122
+ /**
123
+ * Agent knowledge bases reference
124
+ */
125
+ knowledgeBases?: Array<RetrieveAgentRequestResponseBodyAgentsKnowledgeBases> | undefined;
126
+ source?: RetrieveAgentRequestResponseBodyAgentsSource | undefined;
127
+ /**
128
+ * External A2A-compliant agent
129
+ */
130
+ type: "a2a";
131
+ /**
132
+ * Role fetched from agent card name or user-provided
133
+ */
134
+ role: string;
135
+ /**
136
+ * Description fetched from agent card or user-provided
137
+ */
138
+ description: string;
139
+ systemPrompt?: string | undefined;
140
+ /**
141
+ * Instructions from agent card description or user-provided
142
+ */
143
+ instructions: string;
144
+ /**
145
+ * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
146
+ */
147
+ a2a: ResponseBodyA2AAgentConfiguration;
148
+ };
149
+ /**
150
+ * 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.
151
+ */
152
+ export declare const RetrieveAgentRequestResponseBodyStatus: {
153
+ readonly Live: "live";
154
+ readonly Draft: "draft";
155
+ readonly Pending: "pending";
156
+ readonly Published: "published";
157
+ };
158
+ /**
159
+ * 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.
160
+ */
161
+ export type RetrieveAgentRequestResponseBodyStatus = ClosedEnum<typeof RetrieveAgentRequestResponseBodyStatus>;
162
+ export type RetrieveAgentRequestResponseBodyTeamOfAgents = {
163
+ /**
164
+ * The unique key of the agent within the workspace
165
+ */
166
+ key: string;
167
+ /**
168
+ * 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.
169
+ */
170
+ role?: string | undefined;
171
+ };
172
+ export type RetrieveAgentRequestResponseBodyMetrics = {
173
+ totalCost: number;
174
+ };
175
+ export type RetrieveAgentRequestResponseBodyKnowledgeBases = {
176
+ /**
177
+ * Unique identifier of the knowledge base to search
178
+ */
179
+ knowledgeId: string;
180
+ };
181
+ export declare const RetrieveAgentRequestResponseBodySource: {
182
+ readonly Internal: "internal";
183
+ readonly External: "external";
184
+ readonly Experiment: "experiment";
185
+ };
186
+ export type RetrieveAgentRequestResponseBodySource = ClosedEnum<typeof RetrieveAgentRequestResponseBodySource>;
25
187
  /**
26
188
  * 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.
27
189
  */
28
- export declare const RetrieveAgentRequestToolApprovalRequired: {
190
+ export declare const RetrieveAgentRequestResponseBodyToolApprovalRequired: {
29
191
  readonly All: "all";
30
192
  readonly RespectTool: "respect_tool";
31
193
  readonly None: "none";
@@ -33,8 +195,8 @@ export declare const RetrieveAgentRequestToolApprovalRequired: {
33
195
  /**
34
196
  * 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.
35
197
  */
36
- export type RetrieveAgentRequestToolApprovalRequired = ClosedEnum<typeof RetrieveAgentRequestToolApprovalRequired>;
37
- export type RetrieveAgentRequestConditions = {
198
+ export type RetrieveAgentRequestResponseBodyToolApprovalRequired = ClosedEnum<typeof RetrieveAgentRequestResponseBodyToolApprovalRequired>;
199
+ export type ResponseBodyConditions = {
38
200
  /**
39
201
  * The argument of the tool call to evaluate
40
202
  */
@@ -48,7 +210,7 @@ export type RetrieveAgentRequestConditions = {
48
210
  */
49
211
  value: string;
50
212
  };
51
- export type RetrieveAgentRequestTools = {
213
+ export type RetrieveAgentRequestResponseBodyTools = {
52
214
  /**
53
215
  * The id of the resource
54
216
  */
@@ -68,7 +230,7 @@ export type RetrieveAgentRequestTools = {
68
230
  * Nested tool ID for MCP tools (identifies specific tool within MCP server)
69
231
  */
70
232
  toolId?: string | undefined;
71
- conditions?: Array<RetrieveAgentRequestConditions> | undefined;
233
+ conditions?: Array<ResponseBodyConditions> | undefined;
72
234
  /**
73
235
  * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
74
236
  */
@@ -77,15 +239,15 @@ export type RetrieveAgentRequestTools = {
77
239
  /**
78
240
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
79
241
  */
80
- export declare const RetrieveAgentRequestExecuteOn: {
242
+ export declare const RetrieveAgentRequestResponseBodyExecuteOn: {
81
243
  readonly Input: "input";
82
244
  readonly Output: "output";
83
245
  };
84
246
  /**
85
247
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
86
248
  */
87
- export type RetrieveAgentRequestExecuteOn = ClosedEnum<typeof RetrieveAgentRequestExecuteOn>;
88
- export type RetrieveAgentRequestEvaluators = {
249
+ export type RetrieveAgentRequestResponseBodyExecuteOn = ClosedEnum<typeof RetrieveAgentRequestResponseBodyExecuteOn>;
250
+ export type RetrieveAgentRequestResponseBodyEvaluators = {
89
251
  /**
90
252
  * Unique key or identifier of the evaluator
91
253
  */
@@ -97,20 +259,20 @@ export type RetrieveAgentRequestEvaluators = {
97
259
  /**
98
260
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
99
261
  */
100
- executeOn: RetrieveAgentRequestExecuteOn;
262
+ executeOn: RetrieveAgentRequestResponseBodyExecuteOn;
101
263
  };
102
264
  /**
103
265
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
104
266
  */
105
- export declare const RetrieveAgentRequestAgentsExecuteOn: {
267
+ export declare const RetrieveAgentRequestResponseBodyAgentsExecuteOn: {
106
268
  readonly Input: "input";
107
269
  readonly Output: "output";
108
270
  };
109
271
  /**
110
272
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
111
273
  */
112
- export type RetrieveAgentRequestAgentsExecuteOn = ClosedEnum<typeof RetrieveAgentRequestAgentsExecuteOn>;
113
- export type RetrieveAgentRequestGuardrails = {
274
+ export type RetrieveAgentRequestResponseBodyAgentsExecuteOn = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsExecuteOn>;
275
+ export type RetrieveAgentRequestResponseBodyGuardrails = {
114
276
  /**
115
277
  * Unique key or identifier of the evaluator
116
278
  */
@@ -122,9 +284,9 @@ export type RetrieveAgentRequestGuardrails = {
122
284
  /**
123
285
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
124
286
  */
125
- executeOn: RetrieveAgentRequestAgentsExecuteOn;
287
+ executeOn: RetrieveAgentRequestResponseBodyAgentsExecuteOn;
126
288
  };
127
- export type RetrieveAgentRequestSettings = {
289
+ export type RetrieveAgentRequestResponseBodySettings = {
128
290
  /**
129
291
  * Maximum iterations(llm calls) before the agent will stop executing.
130
292
  */
@@ -140,58 +302,16 @@ export type RetrieveAgentRequestSettings = {
140
302
  /**
141
303
  * 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.
142
304
  */
143
- toolApprovalRequired: RetrieveAgentRequestToolApprovalRequired;
144
- tools?: Array<RetrieveAgentRequestTools> | undefined;
305
+ toolApprovalRequired: RetrieveAgentRequestResponseBodyToolApprovalRequired;
306
+ tools?: Array<RetrieveAgentRequestResponseBodyTools> | undefined;
145
307
  /**
146
308
  * Configuration for an evaluator applied to the agent
147
309
  */
148
- evaluators?: Array<RetrieveAgentRequestEvaluators> | undefined;
310
+ evaluators?: Array<RetrieveAgentRequestResponseBodyEvaluators> | undefined;
149
311
  /**
150
312
  * Configuration for a guardrail applied to the agent
151
313
  */
152
- guardrails?: Array<RetrieveAgentRequestGuardrails> | undefined;
153
- };
154
- /**
155
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
156
- */
157
- export declare const RetrieveAgentRequestVoice: {
158
- readonly Alloy: "alloy";
159
- readonly Echo: "echo";
160
- readonly Fable: "fable";
161
- readonly Onyx: "onyx";
162
- readonly Nova: "nova";
163
- readonly Shimmer: "shimmer";
164
- };
165
- /**
166
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
167
- */
168
- export type RetrieveAgentRequestVoice = ClosedEnum<typeof RetrieveAgentRequestVoice>;
169
- /**
170
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
171
- */
172
- export declare const RetrieveAgentRequestFormat: {
173
- readonly Wav: "wav";
174
- readonly Mp3: "mp3";
175
- readonly Flac: "flac";
176
- readonly Opus: "opus";
177
- readonly Pcm16: "pcm16";
178
- };
179
- /**
180
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
181
- */
182
- export type RetrieveAgentRequestFormat = ClosedEnum<typeof RetrieveAgentRequestFormat>;
183
- /**
184
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
185
- */
186
- export type RetrieveAgentRequestAudio = {
187
- /**
188
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
189
- */
190
- voice: RetrieveAgentRequestVoice;
191
- /**
192
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
193
- */
194
- format: RetrieveAgentRequestFormat;
314
+ guardrails?: Array<RetrieveAgentRequestResponseBodyGuardrails> | undefined;
195
315
  };
196
316
  export type RetrieveAgentRequestResponseFormatJsonSchema = {
197
317
  /**
@@ -239,7 +359,7 @@ export type RetrieveAgentRequestResponseFormatText = {
239
359
  /**
240
360
  * An object specifying the format that the model must output
241
361
  */
242
- export type RetrieveAgentRequestResponseFormat = RetrieveAgentRequestResponseFormatText | RetrieveAgentRequestResponseFormatJSONObject | RetrieveAgentRequestResponseFormatAgentsJSONSchema;
362
+ export type RetrieveAgentRequestResponseBodyResponseFormat = RetrieveAgentRequestResponseFormatText | RetrieveAgentRequestResponseFormatJSONObject | RetrieveAgentRequestResponseFormatAgentsJSONSchema;
243
363
  /**
244
364
  * 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.
245
365
  *
@@ -252,7 +372,7 @@ export type RetrieveAgentRequestResponseFormat = RetrieveAgentRequestResponseFor
252
372
  *
253
373
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
254
374
  */
255
- export declare const RetrieveAgentRequestReasoningEffort: {
375
+ export declare const RetrieveAgentRequestResponseBodyReasoningEffort: {
256
376
  readonly None: "none";
257
377
  readonly Minimal: "minimal";
258
378
  readonly Low: "low";
@@ -272,21 +392,12 @@ export declare const RetrieveAgentRequestReasoningEffort: {
272
392
  *
273
393
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
274
394
  */
275
- export type RetrieveAgentRequestReasoningEffort = ClosedEnum<typeof RetrieveAgentRequestReasoningEffort>;
395
+ export type RetrieveAgentRequestResponseBodyReasoningEffort = ClosedEnum<typeof RetrieveAgentRequestResponseBodyReasoningEffort>;
276
396
  /**
277
397
  * Up to 4 sequences where the API will stop generating further tokens.
278
398
  */
279
- export type RetrieveAgentRequestStop = string | Array<string>;
280
- /**
281
- * Options for streaming response. Only set this when you set stream: true.
282
- */
283
- export type RetrieveAgentRequestStreamOptions = {
284
- /**
285
- * 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.
286
- */
287
- includeUsage?: boolean | undefined;
288
- };
289
- export type RetrieveAgentRequestThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
399
+ export type RetrieveAgentRequestResponseBodyStop = string | Array<string>;
400
+ export type RetrieveAgentRequestResponseBodyThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
290
401
  /**
291
402
  * The type of the tool. Currently, only function is supported.
292
403
  */
@@ -319,12 +430,12 @@ export type RetrieveAgentRequestToolChoice1 = ClosedEnum<typeof RetrieveAgentReq
319
430
  /**
320
431
  * Controls which (if any) tool is called by the model.
321
432
  */
322
- export type RetrieveAgentRequestToolChoice = RetrieveAgentRequestToolChoice2 | RetrieveAgentRequestToolChoice1;
323
- export declare const RetrieveAgentRequestModalities: {
433
+ export type RetrieveAgentRequestResponseBodyToolChoice = RetrieveAgentRequestToolChoice2 | RetrieveAgentRequestToolChoice1;
434
+ export declare const RetrieveAgentRequestResponseBodyModalities: {
324
435
  readonly Text: "text";
325
436
  readonly Audio: "audio";
326
437
  };
327
- export type RetrieveAgentRequestModalities = ClosedEnum<typeof RetrieveAgentRequestModalities>;
438
+ export type RetrieveAgentRequestResponseBodyModalities = ClosedEnum<typeof RetrieveAgentRequestResponseBodyModalities>;
328
439
  /**
329
440
  * The key of the guardrail.
330
441
  */
@@ -337,57 +448,44 @@ export declare const RetrieveAgentRequestId1: {
337
448
  * The key of the guardrail.
338
449
  */
339
450
  export type RetrieveAgentRequestId1 = ClosedEnum<typeof RetrieveAgentRequestId1>;
340
- export type RetrieveAgentRequestId = RetrieveAgentRequestId1 | string;
451
+ export type RetrieveAgentRequestResponseBodyId = RetrieveAgentRequestId1 | string;
341
452
  /**
342
453
  * Determines whether the guardrail runs on the input (user message) or output (model response).
343
454
  */
344
- export declare const RetrieveAgentRequestAgentsResponseExecuteOn: {
455
+ export declare const RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn: {
345
456
  readonly Input: "input";
346
457
  readonly Output: "output";
347
458
  };
348
459
  /**
349
460
  * Determines whether the guardrail runs on the input (user message) or output (model response).
350
461
  */
351
- export type RetrieveAgentRequestAgentsResponseExecuteOn = ClosedEnum<typeof RetrieveAgentRequestAgentsResponseExecuteOn>;
352
- export type RetrieveAgentRequestAgentsGuardrails = {
462
+ export type RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn>;
463
+ export type RetrieveAgentRequestResponseBodyAgentsGuardrails = {
353
464
  id: RetrieveAgentRequestId1 | string;
354
465
  /**
355
466
  * Determines whether the guardrail runs on the input (user message) or output (model response).
356
467
  */
357
- executeOn: RetrieveAgentRequestAgentsResponseExecuteOn;
468
+ executeOn: RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn;
358
469
  };
359
- export type RetrieveAgentRequestFallbacks = {
470
+ export type RetrieveAgentRequestResponseBodyFallbacks = {
360
471
  /**
361
472
  * Fallback model identifier
362
473
  */
363
474
  model: string;
364
475
  };
365
- /**
366
- * Retry configuration for the request
367
- */
368
- export type RetrieveAgentRequestAgentsRetry = {
369
- /**
370
- * Number of retry attempts (1-5)
371
- */
372
- count: number;
373
- /**
374
- * HTTP status codes that trigger retry logic
375
- */
376
- onCodes?: Array<number> | undefined;
377
- };
378
- export declare const RetrieveAgentRequestType: {
476
+ export declare const RetrieveAgentRequestResponseBodyAgentsResponseType: {
379
477
  readonly ExactMatch: "exact_match";
380
478
  };
381
- export type RetrieveAgentRequestType = ClosedEnum<typeof RetrieveAgentRequestType>;
479
+ export type RetrieveAgentRequestResponseBodyAgentsResponseType = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsResponseType>;
382
480
  /**
383
481
  * Cache configuration for the request.
384
482
  */
385
- export type RetrieveAgentRequestCache = {
483
+ export type RetrieveAgentRequestResponseBodyCache = {
386
484
  /**
387
485
  * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
388
486
  */
389
487
  ttl: number;
390
- type: RetrieveAgentRequestType;
488
+ type: RetrieveAgentRequestResponseBodyAgentsResponseType;
391
489
  };
392
490
  export declare const RetrieveAgentRequestLoadBalancerType: {
393
491
  readonly WeightBased: "weight_based";
@@ -410,11 +508,11 @@ export type RetrieveAgentRequestLoadBalancer1 = {
410
508
  /**
411
509
  * Load balancer configuration for the request.
412
510
  */
413
- export type RetrieveAgentRequestLoadBalancer = RetrieveAgentRequestLoadBalancer1;
511
+ export type RetrieveAgentRequestResponseBodyLoadBalancer = RetrieveAgentRequestLoadBalancer1;
414
512
  /**
415
513
  * 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.
416
514
  */
417
- export type RetrieveAgentRequestTimeout = {
515
+ export type RetrieveAgentRequestResponseBodyTimeout = {
418
516
  /**
419
517
  * Timeout value in milliseconds
420
518
  */
@@ -423,15 +521,11 @@ export type RetrieveAgentRequestTimeout = {
423
521
  /**
424
522
  * 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.
425
523
  */
426
- export type RetrieveAgentRequestParameters = {
524
+ export type RetrieveAgentRequestResponseBodyParameters = {
427
525
  /**
428
526
  * The name to display on the trace. If not specified, the default system name will be used.
429
527
  */
430
528
  name?: string | undefined;
431
- /**
432
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
433
- */
434
- audio?: RetrieveAgentRequestAudio | null | undefined;
435
529
  /**
436
530
  * 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.
437
531
  */
@@ -448,18 +542,6 @@ export type RetrieveAgentRequestParameters = {
448
542
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
449
543
  */
450
544
  maxCompletionTokens?: number | null | undefined;
451
- /**
452
- * 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.
453
- */
454
- logprobs?: boolean | null | undefined;
455
- /**
456
- * 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.
457
- */
458
- topLogprobs?: number | null | undefined;
459
- /**
460
- * 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.
461
- */
462
- n?: number | null | undefined;
463
545
  /**
464
546
  * 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.
465
547
  */
@@ -480,7 +562,7 @@ export type RetrieveAgentRequestParameters = {
480
562
  *
481
563
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
482
564
  */
483
- reasoningEffort?: RetrieveAgentRequestReasoningEffort | undefined;
565
+ reasoningEffort?: RetrieveAgentRequestResponseBodyReasoningEffort | undefined;
484
566
  /**
485
567
  * Adjusts response verbosity. Lower levels yield shorter answers.
486
568
  */
@@ -493,10 +575,6 @@ export type RetrieveAgentRequestParameters = {
493
575
  * Up to 4 sequences where the API will stop generating further tokens.
494
576
  */
495
577
  stop?: string | Array<string> | null | undefined;
496
- /**
497
- * Options for streaming response. Only set this when you set stream: true.
498
- */
499
- streamOptions?: RetrieveAgentRequestStreamOptions | null | undefined;
500
578
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
501
579
  /**
502
580
  * 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.
@@ -521,23 +599,19 @@ export type RetrieveAgentRequestParameters = {
521
599
  /**
522
600
  * 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"].
523
601
  */
524
- modalities?: Array<RetrieveAgentRequestModalities> | null | undefined;
602
+ modalities?: Array<RetrieveAgentRequestResponseBodyModalities> | null | undefined;
525
603
  /**
526
604
  * A list of guardrails to apply to the request.
527
605
  */
528
- guardrails?: Array<RetrieveAgentRequestAgentsGuardrails> | undefined;
606
+ guardrails?: Array<RetrieveAgentRequestResponseBodyAgentsGuardrails> | undefined;
529
607
  /**
530
608
  * Array of fallback models to use if primary model fails
531
609
  */
532
- fallbacks?: Array<RetrieveAgentRequestFallbacks> | undefined;
533
- /**
534
- * Retry configuration for the request
535
- */
536
- retry?: RetrieveAgentRequestAgentsRetry | undefined;
610
+ fallbacks?: Array<RetrieveAgentRequestResponseBodyFallbacks> | undefined;
537
611
  /**
538
612
  * Cache configuration for the request.
539
613
  */
540
- cache?: RetrieveAgentRequestCache | undefined;
614
+ cache?: RetrieveAgentRequestResponseBodyCache | undefined;
541
615
  /**
542
616
  * Load balancer configuration for the request.
543
617
  */
@@ -545,12 +619,12 @@ export type RetrieveAgentRequestParameters = {
545
619
  /**
546
620
  * 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.
547
621
  */
548
- timeout?: RetrieveAgentRequestTimeout | undefined;
622
+ timeout?: RetrieveAgentRequestResponseBodyTimeout | undefined;
549
623
  };
550
624
  /**
551
625
  * 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).
552
626
  */
553
- export type RetrieveAgentRequestRetry = {
627
+ export type RetrieveAgentRequestResponseBodyRetry = {
554
628
  /**
555
629
  * Number of retry attempts (1-5)
556
630
  */
@@ -560,48 +634,6 @@ export type RetrieveAgentRequestRetry = {
560
634
  */
561
635
  onCodes?: Array<number> | undefined;
562
636
  };
563
- /**
564
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
565
- */
566
- export declare const RetrieveAgentRequestFallbackModelConfigurationVoice: {
567
- readonly Alloy: "alloy";
568
- readonly Echo: "echo";
569
- readonly Fable: "fable";
570
- readonly Onyx: "onyx";
571
- readonly Nova: "nova";
572
- readonly Shimmer: "shimmer";
573
- };
574
- /**
575
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
576
- */
577
- export type RetrieveAgentRequestFallbackModelConfigurationVoice = ClosedEnum<typeof RetrieveAgentRequestFallbackModelConfigurationVoice>;
578
- /**
579
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
580
- */
581
- export declare const RetrieveAgentRequestFallbackModelConfigurationFormat: {
582
- readonly Wav: "wav";
583
- readonly Mp3: "mp3";
584
- readonly Flac: "flac";
585
- readonly Opus: "opus";
586
- readonly Pcm16: "pcm16";
587
- };
588
- /**
589
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
590
- */
591
- export type RetrieveAgentRequestFallbackModelConfigurationFormat = ClosedEnum<typeof RetrieveAgentRequestFallbackModelConfigurationFormat>;
592
- /**
593
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
594
- */
595
- export type RetrieveAgentRequestFallbackModelConfigurationAudio = {
596
- /**
597
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
598
- */
599
- voice: RetrieveAgentRequestFallbackModelConfigurationVoice;
600
- /**
601
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
602
- */
603
- format: RetrieveAgentRequestFallbackModelConfigurationFormat;
604
- };
605
637
  export type RetrieveAgentRequestResponseFormatAgentsResponseJsonSchema = {
606
638
  /**
607
639
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -686,15 +718,6 @@ export type RetrieveAgentRequestFallbackModelConfigurationReasoningEffort = Clos
686
718
  * Up to 4 sequences where the API will stop generating further tokens.
687
719
  */
688
720
  export type RetrieveAgentRequestFallbackModelConfigurationStop = string | Array<string>;
689
- /**
690
- * Options for streaming response. Only set this when you set stream: true.
691
- */
692
- export type RetrieveAgentRequestFallbackModelConfigurationStreamOptions = {
693
- /**
694
- * 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.
695
- */
696
- includeUsage?: boolean | undefined;
697
- };
698
721
  export type RetrieveAgentRequestFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
699
722
  /**
700
723
  * The type of the tool. Currently, only function is supported.
@@ -771,19 +794,6 @@ export type RetrieveAgentRequestFallbackModelConfigurationFallbacks = {
771
794
  */
772
795
  model: string;
773
796
  };
774
- /**
775
- * Retry configuration for the request
776
- */
777
- export type RetrieveAgentRequestFallbackModelConfigurationAgentsRetry = {
778
- /**
779
- * Number of retry attempts (1-5)
780
- */
781
- count: number;
782
- /**
783
- * HTTP status codes that trigger retry logic
784
- */
785
- onCodes?: Array<number> | undefined;
786
- };
787
797
  export declare const RetrieveAgentRequestFallbackModelConfigurationType: {
788
798
  readonly ExactMatch: "exact_match";
789
799
  };
@@ -837,10 +847,6 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
837
847
  * The name to display on the trace. If not specified, the default system name will be used.
838
848
  */
839
849
  name?: string | undefined;
840
- /**
841
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
842
- */
843
- audio?: RetrieveAgentRequestFallbackModelConfigurationAudio | null | undefined;
844
850
  /**
845
851
  * 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.
846
852
  */
@@ -857,18 +863,6 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
857
863
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
858
864
  */
859
865
  maxCompletionTokens?: number | null | undefined;
860
- /**
861
- * 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.
862
- */
863
- logprobs?: boolean | null | undefined;
864
- /**
865
- * 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.
866
- */
867
- topLogprobs?: number | null | undefined;
868
- /**
869
- * 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.
870
- */
871
- n?: number | null | undefined;
872
866
  /**
873
867
  * 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.
874
868
  */
@@ -902,10 +896,6 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
902
896
  * Up to 4 sequences where the API will stop generating further tokens.
903
897
  */
904
898
  stop?: string | Array<string> | null | undefined;
905
- /**
906
- * Options for streaming response. Only set this when you set stream: true.
907
- */
908
- streamOptions?: RetrieveAgentRequestFallbackModelConfigurationStreamOptions | null | undefined;
909
899
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
910
900
  /**
911
901
  * 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.
@@ -939,10 +929,6 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
939
929
  * Array of fallback models to use if primary model fails
940
930
  */
941
931
  fallbacks?: Array<RetrieveAgentRequestFallbackModelConfigurationFallbacks> | undefined;
942
- /**
943
- * Retry configuration for the request
944
- */
945
- retry?: RetrieveAgentRequestFallbackModelConfigurationAgentsRetry | undefined;
946
932
  /**
947
933
  * Cache configuration for the request.
948
934
  */
@@ -989,8 +975,8 @@ export type RetrieveAgentRequestFallbackModelConfiguration2 = {
989
975
  /**
990
976
  * 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.
991
977
  */
992
- export type RetrieveAgentRequestFallbackModelConfiguration = RetrieveAgentRequestFallbackModelConfiguration2 | string;
993
- export type RetrieveAgentRequestModel = {
978
+ export type RetrieveAgentRequestResponseBodyFallbackModelConfiguration = RetrieveAgentRequestFallbackModelConfiguration2 | string;
979
+ export type ResponseBodyModel = {
994
980
  /**
995
981
  * The database ID of the primary model
996
982
  */
@@ -1002,67 +988,32 @@ export type RetrieveAgentRequestModel = {
1002
988
  /**
1003
989
  * 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.
1004
990
  */
1005
- parameters?: RetrieveAgentRequestParameters | undefined;
991
+ parameters?: RetrieveAgentRequestResponseBodyParameters | undefined;
1006
992
  /**
1007
993
  * 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).
1008
994
  */
1009
- retry?: RetrieveAgentRequestRetry | undefined;
995
+ retry?: RetrieveAgentRequestResponseBodyRetry | undefined;
1010
996
  /**
1011
997
  * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
1012
998
  */
1013
999
  fallbackModels?: Array<RetrieveAgentRequestFallbackModelConfiguration2 | string> | null | undefined;
1014
1000
  };
1015
- export type RetrieveAgentRequestTeamOfAgents = {
1016
- /**
1017
- * The unique key of the agent within the workspace
1018
- */
1019
- key: string;
1020
- /**
1021
- * 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.
1022
- */
1023
- role?: string | undefined;
1024
- };
1025
- export type RetrieveAgentRequestMetrics = {
1026
- totalCost: number;
1027
- };
1028
- export type RetrieveAgentRequestKnowledgeBases = {
1029
- /**
1030
- * Unique identifier of the knowledge base to search
1031
- */
1032
- knowledgeId: string;
1033
- };
1034
- export declare const RetrieveAgentRequestSource: {
1035
- readonly Internal: "internal";
1036
- readonly External: "external";
1037
- readonly Experiment: "experiment";
1038
- };
1039
- export type RetrieveAgentRequestSource = ClosedEnum<typeof RetrieveAgentRequestSource>;
1040
- /**
1041
- * Agent successfully retrieved. Returns the complete agent manifest with all configuration details, including models, tools, knowledge bases, and execution settings.
1042
- */
1043
- export type RetrieveAgentRequestResponseBody = {
1001
+ export type RetrieveAgentRequestResponseBody1 = {
1044
1002
  id: string;
1045
1003
  /**
1046
1004
  * Unique identifier for the agent within the workspace
1047
1005
  */
1048
1006
  key: string;
1049
1007
  displayName?: string | undefined;
1050
- workspaceId: string;
1051
1008
  projectId: string;
1052
1009
  createdById?: string | null | undefined;
1053
1010
  updatedById?: string | null | undefined;
1054
1011
  created?: string | undefined;
1055
1012
  updated?: string | undefined;
1056
- role: string;
1057
- description: string;
1058
- systemPrompt?: string | undefined;
1059
- instructions: string;
1060
1013
  /**
1061
1014
  * 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.
1062
1015
  */
1063
- status: RetrieveAgentRequestStatus;
1064
- settings?: RetrieveAgentRequestSettings | undefined;
1065
- model: RetrieveAgentRequestModel;
1016
+ status: RetrieveAgentRequestResponseBodyStatus;
1066
1017
  versionHash?: string | undefined;
1067
1018
  /**
1068
1019
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1077,12 +1028,12 @@ export type RetrieveAgentRequestResponseBody = {
1077
1028
  /**
1078
1029
  * Array of memory store identifiers. Accepts both memory store IDs and keys.
1079
1030
  */
1080
- memoryStores: Array<string>;
1031
+ memoryStores?: Array<string> | undefined;
1081
1032
  /**
1082
1033
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1083
1034
  */
1084
- teamOfAgents: Array<RetrieveAgentRequestTeamOfAgents>;
1085
- metrics?: RetrieveAgentRequestMetrics | undefined;
1035
+ teamOfAgents?: Array<RetrieveAgentRequestResponseBodyTeamOfAgents> | undefined;
1036
+ metrics?: RetrieveAgentRequestResponseBodyMetrics | undefined;
1086
1037
  /**
1087
1038
  * Extracted variables from agent instructions
1088
1039
  */
@@ -1092,9 +1043,23 @@ export type RetrieveAgentRequestResponseBody = {
1092
1043
  /**
1093
1044
  * Agent knowledge bases reference
1094
1045
  */
1095
- knowledgeBases?: Array<RetrieveAgentRequestKnowledgeBases> | undefined;
1096
- source?: RetrieveAgentRequestSource | undefined;
1046
+ knowledgeBases?: Array<RetrieveAgentRequestResponseBodyKnowledgeBases> | undefined;
1047
+ source?: RetrieveAgentRequestResponseBodySource | undefined;
1048
+ /**
1049
+ * Orquesta-managed agent
1050
+ */
1051
+ type: "internal";
1052
+ role: string;
1053
+ description: string;
1054
+ systemPrompt?: string | undefined;
1055
+ instructions: string;
1056
+ settings?: RetrieveAgentRequestResponseBodySettings | undefined;
1057
+ model: ResponseBodyModel;
1097
1058
  };
1059
+ /**
1060
+ * Agent successfully retrieved. Returns the complete agent manifest with all configuration details, including models, tools, knowledge bases, and execution settings.
1061
+ */
1062
+ export type RetrieveAgentRequestResponseBody = RetrieveAgentRequestResponseBody1 | RetrieveAgentRequestResponseBody2;
1098
1063
  /** @internal */
1099
1064
  export type RetrieveAgentRequestRequest$Outbound = {
1100
1065
  agent_key: string;
@@ -1103,35 +1068,61 @@ export type RetrieveAgentRequestRequest$Outbound = {
1103
1068
  export declare const RetrieveAgentRequestRequest$outboundSchema: z.ZodType<RetrieveAgentRequestRequest$Outbound, z.ZodTypeDef, RetrieveAgentRequestRequest>;
1104
1069
  export declare function retrieveAgentRequestRequestToJSON(retrieveAgentRequestRequest: RetrieveAgentRequestRequest): string;
1105
1070
  /** @internal */
1106
- export declare const RetrieveAgentRequestStatus$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestStatus>;
1071
+ export declare const RetrieveAgentRequestResponseBodyAgentsStatus$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsStatus>;
1072
+ /** @internal */
1073
+ export declare const RetrieveAgentRequestResponseBodyAgentsTeamOfAgents$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyAgentsTeamOfAgents, z.ZodTypeDef, unknown>;
1074
+ export declare function retrieveAgentRequestResponseBodyAgentsTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyAgentsTeamOfAgents, SDKValidationError>;
1075
+ /** @internal */
1076
+ export declare const RetrieveAgentRequestResponseBodyAgentsMetrics$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyAgentsMetrics, z.ZodTypeDef, unknown>;
1077
+ export declare function retrieveAgentRequestResponseBodyAgentsMetricsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyAgentsMetrics, SDKValidationError>;
1078
+ /** @internal */
1079
+ export declare const RetrieveAgentRequestResponseBodyAgentsKnowledgeBases$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
1080
+ export declare function retrieveAgentRequestResponseBodyAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyAgentsKnowledgeBases, SDKValidationError>;
1107
1081
  /** @internal */
1108
- export declare const RetrieveAgentRequestToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestToolApprovalRequired>;
1082
+ export declare const RetrieveAgentRequestResponseBodyAgentsSource$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsSource>;
1109
1083
  /** @internal */
1110
- export declare const RetrieveAgentRequestConditions$inboundSchema: z.ZodType<RetrieveAgentRequestConditions, z.ZodTypeDef, unknown>;
1111
- export declare function retrieveAgentRequestConditionsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestConditions, SDKValidationError>;
1084
+ export declare const RetrieveAgentRequestResponseBodyHeaders$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyHeaders, z.ZodTypeDef, unknown>;
1085
+ export declare function retrieveAgentRequestResponseBodyHeadersFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyHeaders, SDKValidationError>;
1112
1086
  /** @internal */
1113
- export declare const RetrieveAgentRequestTools$inboundSchema: z.ZodType<RetrieveAgentRequestTools, z.ZodTypeDef, unknown>;
1114
- export declare function retrieveAgentRequestToolsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestTools, SDKValidationError>;
1087
+ export declare const ResponseBodyA2AAgentConfiguration$inboundSchema: z.ZodType<ResponseBodyA2AAgentConfiguration, z.ZodTypeDef, unknown>;
1088
+ export declare function responseBodyA2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<ResponseBodyA2AAgentConfiguration, SDKValidationError>;
1115
1089
  /** @internal */
1116
- export declare const RetrieveAgentRequestExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestExecuteOn>;
1090
+ export declare const RetrieveAgentRequestResponseBody2$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBody2, z.ZodTypeDef, unknown>;
1091
+ export declare function retrieveAgentRequestResponseBody2FromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBody2, SDKValidationError>;
1117
1092
  /** @internal */
1118
- export declare const RetrieveAgentRequestEvaluators$inboundSchema: z.ZodType<RetrieveAgentRequestEvaluators, z.ZodTypeDef, unknown>;
1119
- export declare function retrieveAgentRequestEvaluatorsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestEvaluators, SDKValidationError>;
1093
+ export declare const RetrieveAgentRequestResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyStatus>;
1120
1094
  /** @internal */
1121
- export declare const RetrieveAgentRequestAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestAgentsExecuteOn>;
1095
+ export declare const RetrieveAgentRequestResponseBodyTeamOfAgents$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyTeamOfAgents, z.ZodTypeDef, unknown>;
1096
+ export declare function retrieveAgentRequestResponseBodyTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyTeamOfAgents, SDKValidationError>;
1122
1097
  /** @internal */
1123
- export declare const RetrieveAgentRequestGuardrails$inboundSchema: z.ZodType<RetrieveAgentRequestGuardrails, z.ZodTypeDef, unknown>;
1124
- export declare function retrieveAgentRequestGuardrailsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestGuardrails, SDKValidationError>;
1098
+ export declare const RetrieveAgentRequestResponseBodyMetrics$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyMetrics, z.ZodTypeDef, unknown>;
1099
+ export declare function retrieveAgentRequestResponseBodyMetricsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyMetrics, SDKValidationError>;
1125
1100
  /** @internal */
1126
- export declare const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<RetrieveAgentRequestSettings, z.ZodTypeDef, unknown>;
1127
- export declare function retrieveAgentRequestSettingsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestSettings, SDKValidationError>;
1101
+ export declare const RetrieveAgentRequestResponseBodyKnowledgeBases$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyKnowledgeBases, z.ZodTypeDef, unknown>;
1102
+ export declare function retrieveAgentRequestResponseBodyKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyKnowledgeBases, SDKValidationError>;
1128
1103
  /** @internal */
1129
- export declare const RetrieveAgentRequestVoice$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestVoice>;
1104
+ export declare const RetrieveAgentRequestResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodySource>;
1130
1105
  /** @internal */
1131
- export declare const RetrieveAgentRequestFormat$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestFormat>;
1106
+ export declare const RetrieveAgentRequestResponseBodyToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyToolApprovalRequired>;
1132
1107
  /** @internal */
1133
- export declare const RetrieveAgentRequestAudio$inboundSchema: z.ZodType<RetrieveAgentRequestAudio, z.ZodTypeDef, unknown>;
1134
- export declare function retrieveAgentRequestAudioFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestAudio, SDKValidationError>;
1108
+ export declare const ResponseBodyConditions$inboundSchema: z.ZodType<ResponseBodyConditions, z.ZodTypeDef, unknown>;
1109
+ export declare function responseBodyConditionsFromJSON(jsonString: string): SafeParseResult<ResponseBodyConditions, SDKValidationError>;
1110
+ /** @internal */
1111
+ export declare const RetrieveAgentRequestResponseBodyTools$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyTools, z.ZodTypeDef, unknown>;
1112
+ export declare function retrieveAgentRequestResponseBodyToolsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyTools, SDKValidationError>;
1113
+ /** @internal */
1114
+ export declare const RetrieveAgentRequestResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyExecuteOn>;
1115
+ /** @internal */
1116
+ export declare const RetrieveAgentRequestResponseBodyEvaluators$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyEvaluators, z.ZodTypeDef, unknown>;
1117
+ export declare function retrieveAgentRequestResponseBodyEvaluatorsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyEvaluators, SDKValidationError>;
1118
+ /** @internal */
1119
+ export declare const RetrieveAgentRequestResponseBodyAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsExecuteOn>;
1120
+ /** @internal */
1121
+ export declare const RetrieveAgentRequestResponseBodyGuardrails$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyGuardrails, z.ZodTypeDef, unknown>;
1122
+ export declare function retrieveAgentRequestResponseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyGuardrails, SDKValidationError>;
1123
+ /** @internal */
1124
+ export declare const RetrieveAgentRequestResponseBodySettings$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodySettings, z.ZodTypeDef, unknown>;
1125
+ export declare function retrieveAgentRequestResponseBodySettingsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodySettings, SDKValidationError>;
1135
1126
  /** @internal */
1136
1127
  export declare const RetrieveAgentRequestResponseFormatJsonSchema$inboundSchema: z.ZodType<RetrieveAgentRequestResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1137
1128
  export declare function retrieveAgentRequestResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseFormatJsonSchema, SDKValidationError>;
@@ -1145,19 +1136,16 @@ export declare function retrieveAgentRequestResponseFormatJSONObjectFromJSON(jso
1145
1136
  export declare const RetrieveAgentRequestResponseFormatText$inboundSchema: z.ZodType<RetrieveAgentRequestResponseFormatText, z.ZodTypeDef, unknown>;
1146
1137
  export declare function retrieveAgentRequestResponseFormatTextFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseFormatText, SDKValidationError>;
1147
1138
  /** @internal */
1148
- export declare const RetrieveAgentRequestResponseFormat$inboundSchema: z.ZodType<RetrieveAgentRequestResponseFormat, z.ZodTypeDef, unknown>;
1149
- export declare function retrieveAgentRequestResponseFormatFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseFormat, SDKValidationError>;
1139
+ export declare const RetrieveAgentRequestResponseBodyResponseFormat$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyResponseFormat, z.ZodTypeDef, unknown>;
1140
+ export declare function retrieveAgentRequestResponseBodyResponseFormatFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyResponseFormat, SDKValidationError>;
1150
1141
  /** @internal */
1151
- export declare const RetrieveAgentRequestReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestReasoningEffort>;
1142
+ export declare const RetrieveAgentRequestResponseBodyReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyReasoningEffort>;
1152
1143
  /** @internal */
1153
- export declare const RetrieveAgentRequestStop$inboundSchema: z.ZodType<RetrieveAgentRequestStop, z.ZodTypeDef, unknown>;
1154
- export declare function retrieveAgentRequestStopFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestStop, SDKValidationError>;
1144
+ export declare const RetrieveAgentRequestResponseBodyStop$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyStop, z.ZodTypeDef, unknown>;
1145
+ export declare function retrieveAgentRequestResponseBodyStopFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyStop, SDKValidationError>;
1155
1146
  /** @internal */
1156
- export declare const RetrieveAgentRequestStreamOptions$inboundSchema: z.ZodType<RetrieveAgentRequestStreamOptions, z.ZodTypeDef, unknown>;
1157
- export declare function retrieveAgentRequestStreamOptionsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestStreamOptions, SDKValidationError>;
1158
- /** @internal */
1159
- export declare const RetrieveAgentRequestThinking$inboundSchema: z.ZodType<RetrieveAgentRequestThinking, z.ZodTypeDef, unknown>;
1160
- export declare function retrieveAgentRequestThinkingFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestThinking, SDKValidationError>;
1147
+ export declare const RetrieveAgentRequestResponseBodyThinking$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyThinking, z.ZodTypeDef, unknown>;
1148
+ export declare function retrieveAgentRequestResponseBodyThinkingFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyThinking, SDKValidationError>;
1161
1149
  /** @internal */
1162
1150
  export declare const RetrieveAgentRequestToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestToolChoiceType>;
1163
1151
  /** @internal */
@@ -1169,31 +1157,28 @@ export declare function retrieveAgentRequestToolChoice2FromJSON(jsonString: stri
1169
1157
  /** @internal */
1170
1158
  export declare const RetrieveAgentRequestToolChoice1$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestToolChoice1>;
1171
1159
  /** @internal */
1172
- export declare const RetrieveAgentRequestToolChoice$inboundSchema: z.ZodType<RetrieveAgentRequestToolChoice, z.ZodTypeDef, unknown>;
1173
- export declare function retrieveAgentRequestToolChoiceFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestToolChoice, SDKValidationError>;
1160
+ export declare const RetrieveAgentRequestResponseBodyToolChoice$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyToolChoice, z.ZodTypeDef, unknown>;
1161
+ export declare function retrieveAgentRequestResponseBodyToolChoiceFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyToolChoice, SDKValidationError>;
1174
1162
  /** @internal */
1175
- export declare const RetrieveAgentRequestModalities$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestModalities>;
1163
+ export declare const RetrieveAgentRequestResponseBodyModalities$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyModalities>;
1176
1164
  /** @internal */
1177
1165
  export declare const RetrieveAgentRequestId1$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestId1>;
1178
1166
  /** @internal */
1179
- export declare const RetrieveAgentRequestId$inboundSchema: z.ZodType<RetrieveAgentRequestId, z.ZodTypeDef, unknown>;
1180
- export declare function retrieveAgentRequestIdFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestId, SDKValidationError>;
1181
- /** @internal */
1182
- export declare const RetrieveAgentRequestAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestAgentsResponseExecuteOn>;
1167
+ export declare const RetrieveAgentRequestResponseBodyId$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyId, z.ZodTypeDef, unknown>;
1168
+ export declare function retrieveAgentRequestResponseBodyIdFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyId, SDKValidationError>;
1183
1169
  /** @internal */
1184
- export declare const RetrieveAgentRequestAgentsGuardrails$inboundSchema: z.ZodType<RetrieveAgentRequestAgentsGuardrails, z.ZodTypeDef, unknown>;
1185
- export declare function retrieveAgentRequestAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestAgentsGuardrails, SDKValidationError>;
1170
+ export declare const RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn>;
1186
1171
  /** @internal */
1187
- export declare const RetrieveAgentRequestFallbacks$inboundSchema: z.ZodType<RetrieveAgentRequestFallbacks, z.ZodTypeDef, unknown>;
1188
- export declare function retrieveAgentRequestFallbacksFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbacks, SDKValidationError>;
1172
+ export declare const RetrieveAgentRequestResponseBodyAgentsGuardrails$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyAgentsGuardrails, z.ZodTypeDef, unknown>;
1173
+ export declare function retrieveAgentRequestResponseBodyAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyAgentsGuardrails, SDKValidationError>;
1189
1174
  /** @internal */
1190
- export declare const RetrieveAgentRequestAgentsRetry$inboundSchema: z.ZodType<RetrieveAgentRequestAgentsRetry, z.ZodTypeDef, unknown>;
1191
- export declare function retrieveAgentRequestAgentsRetryFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestAgentsRetry, SDKValidationError>;
1175
+ export declare const RetrieveAgentRequestResponseBodyFallbacks$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyFallbacks, z.ZodTypeDef, unknown>;
1176
+ export declare function retrieveAgentRequestResponseBodyFallbacksFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyFallbacks, SDKValidationError>;
1192
1177
  /** @internal */
1193
- export declare const RetrieveAgentRequestType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestType>;
1178
+ export declare const RetrieveAgentRequestResponseBodyAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsResponseType>;
1194
1179
  /** @internal */
1195
- export declare const RetrieveAgentRequestCache$inboundSchema: z.ZodType<RetrieveAgentRequestCache, z.ZodTypeDef, unknown>;
1196
- export declare function retrieveAgentRequestCacheFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestCache, SDKValidationError>;
1180
+ export declare const RetrieveAgentRequestResponseBodyCache$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyCache, z.ZodTypeDef, unknown>;
1181
+ export declare function retrieveAgentRequestResponseBodyCacheFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyCache, SDKValidationError>;
1197
1182
  /** @internal */
1198
1183
  export declare const RetrieveAgentRequestLoadBalancerType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestLoadBalancerType>;
1199
1184
  /** @internal */
@@ -1203,24 +1188,17 @@ export declare function retrieveAgentRequestLoadBalancerModelsFromJSON(jsonStrin
1203
1188
  export declare const RetrieveAgentRequestLoadBalancer1$inboundSchema: z.ZodType<RetrieveAgentRequestLoadBalancer1, z.ZodTypeDef, unknown>;
1204
1189
  export declare function retrieveAgentRequestLoadBalancer1FromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestLoadBalancer1, SDKValidationError>;
1205
1190
  /** @internal */
1206
- export declare const RetrieveAgentRequestLoadBalancer$inboundSchema: z.ZodType<RetrieveAgentRequestLoadBalancer, z.ZodTypeDef, unknown>;
1207
- export declare function retrieveAgentRequestLoadBalancerFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestLoadBalancer, SDKValidationError>;
1191
+ export declare const RetrieveAgentRequestResponseBodyLoadBalancer$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyLoadBalancer, z.ZodTypeDef, unknown>;
1192
+ export declare function retrieveAgentRequestResponseBodyLoadBalancerFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyLoadBalancer, SDKValidationError>;
1208
1193
  /** @internal */
1209
- export declare const RetrieveAgentRequestTimeout$inboundSchema: z.ZodType<RetrieveAgentRequestTimeout, z.ZodTypeDef, unknown>;
1210
- export declare function retrieveAgentRequestTimeoutFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestTimeout, SDKValidationError>;
1194
+ export declare const RetrieveAgentRequestResponseBodyTimeout$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyTimeout, z.ZodTypeDef, unknown>;
1195
+ export declare function retrieveAgentRequestResponseBodyTimeoutFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyTimeout, SDKValidationError>;
1211
1196
  /** @internal */
1212
- export declare const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<RetrieveAgentRequestParameters, z.ZodTypeDef, unknown>;
1213
- export declare function retrieveAgentRequestParametersFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestParameters, SDKValidationError>;
1197
+ export declare const RetrieveAgentRequestResponseBodyParameters$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyParameters, z.ZodTypeDef, unknown>;
1198
+ export declare function retrieveAgentRequestResponseBodyParametersFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyParameters, SDKValidationError>;
1214
1199
  /** @internal */
1215
- export declare const RetrieveAgentRequestRetry$inboundSchema: z.ZodType<RetrieveAgentRequestRetry, z.ZodTypeDef, unknown>;
1216
- export declare function retrieveAgentRequestRetryFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestRetry, SDKValidationError>;
1217
- /** @internal */
1218
- export declare const RetrieveAgentRequestFallbackModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestFallbackModelConfigurationVoice>;
1219
- /** @internal */
1220
- export declare const RetrieveAgentRequestFallbackModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestFallbackModelConfigurationFormat>;
1221
- /** @internal */
1222
- export declare const RetrieveAgentRequestFallbackModelConfigurationAudio$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
1223
- export declare function retrieveAgentRequestFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfigurationAudio, SDKValidationError>;
1200
+ export declare const RetrieveAgentRequestResponseBodyRetry$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyRetry, z.ZodTypeDef, unknown>;
1201
+ export declare function retrieveAgentRequestResponseBodyRetryFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyRetry, SDKValidationError>;
1224
1202
  /** @internal */
1225
1203
  export declare const RetrieveAgentRequestResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<RetrieveAgentRequestResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
1226
1204
  export declare function retrieveAgentRequestResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
@@ -1242,9 +1220,6 @@ export declare const RetrieveAgentRequestFallbackModelConfigurationReasoningEffo
1242
1220
  export declare const RetrieveAgentRequestFallbackModelConfigurationStop$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
1243
1221
  export declare function retrieveAgentRequestFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfigurationStop, SDKValidationError>;
1244
1222
  /** @internal */
1245
- export declare const RetrieveAgentRequestFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
1246
- export declare function retrieveAgentRequestFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfigurationStreamOptions, SDKValidationError>;
1247
- /** @internal */
1248
1223
  export declare const RetrieveAgentRequestFallbackModelConfigurationThinking$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
1249
1224
  export declare function retrieveAgentRequestFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfigurationThinking, SDKValidationError>;
1250
1225
  /** @internal */
@@ -1276,9 +1251,6 @@ export declare function retrieveAgentRequestFallbackModelConfigurationGuardrails
1276
1251
  export declare const RetrieveAgentRequestFallbackModelConfigurationFallbacks$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfigurationFallbacks, z.ZodTypeDef, unknown>;
1277
1252
  export declare function retrieveAgentRequestFallbackModelConfigurationFallbacksFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfigurationFallbacks, SDKValidationError>;
1278
1253
  /** @internal */
1279
- export declare const RetrieveAgentRequestFallbackModelConfigurationAgentsRetry$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfigurationAgentsRetry, z.ZodTypeDef, unknown>;
1280
- export declare function retrieveAgentRequestFallbackModelConfigurationAgentsRetryFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfigurationAgentsRetry, SDKValidationError>;
1281
- /** @internal */
1282
1254
  export declare const RetrieveAgentRequestFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestFallbackModelConfigurationType>;
1283
1255
  /** @internal */
1284
1256
  export declare const RetrieveAgentRequestFallbackModelConfigurationCache$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfigurationCache, z.ZodTypeDef, unknown>;
@@ -1307,22 +1279,14 @@ export declare function retrieveAgentRequestFallbackModelConfigurationRetryFromJ
1307
1279
  export declare const RetrieveAgentRequestFallbackModelConfiguration2$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
1308
1280
  export declare function retrieveAgentRequestFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfiguration2, SDKValidationError>;
1309
1281
  /** @internal */
1310
- export declare const RetrieveAgentRequestFallbackModelConfiguration$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfiguration, z.ZodTypeDef, unknown>;
1311
- export declare function retrieveAgentRequestFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfiguration, SDKValidationError>;
1312
- /** @internal */
1313
- export declare const RetrieveAgentRequestModel$inboundSchema: z.ZodType<RetrieveAgentRequestModel, z.ZodTypeDef, unknown>;
1314
- export declare function retrieveAgentRequestModelFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestModel, SDKValidationError>;
1315
- /** @internal */
1316
- export declare const RetrieveAgentRequestTeamOfAgents$inboundSchema: z.ZodType<RetrieveAgentRequestTeamOfAgents, z.ZodTypeDef, unknown>;
1317
- export declare function retrieveAgentRequestTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestTeamOfAgents, SDKValidationError>;
1318
- /** @internal */
1319
- export declare const RetrieveAgentRequestMetrics$inboundSchema: z.ZodType<RetrieveAgentRequestMetrics, z.ZodTypeDef, unknown>;
1320
- export declare function retrieveAgentRequestMetricsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestMetrics, SDKValidationError>;
1282
+ export declare const RetrieveAgentRequestResponseBodyFallbackModelConfiguration$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyFallbackModelConfiguration, z.ZodTypeDef, unknown>;
1283
+ export declare function retrieveAgentRequestResponseBodyFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyFallbackModelConfiguration, SDKValidationError>;
1321
1284
  /** @internal */
1322
- export declare const RetrieveAgentRequestKnowledgeBases$inboundSchema: z.ZodType<RetrieveAgentRequestKnowledgeBases, z.ZodTypeDef, unknown>;
1323
- export declare function retrieveAgentRequestKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestKnowledgeBases, SDKValidationError>;
1285
+ export declare const ResponseBodyModel$inboundSchema: z.ZodType<ResponseBodyModel, z.ZodTypeDef, unknown>;
1286
+ export declare function responseBodyModelFromJSON(jsonString: string): SafeParseResult<ResponseBodyModel, SDKValidationError>;
1324
1287
  /** @internal */
1325
- export declare const RetrieveAgentRequestSource$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestSource>;
1288
+ export declare const RetrieveAgentRequestResponseBody1$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBody1, z.ZodTypeDef, unknown>;
1289
+ export declare function retrieveAgentRequestResponseBody1FromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBody1, SDKValidationError>;
1326
1290
  /** @internal */
1327
1291
  export declare const RetrieveAgentRequestResponseBody$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBody, z.ZodTypeDef, unknown>;
1328
1292
  export declare function retrieveAgentRequestResponseBodyFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBody, SDKValidationError>;