@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,6 +3,17 @@ 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
+ * Filter agents by type: "internal" for Orquesta-managed agents, "a2a" for external A2A-compliant agents
8
+ */
9
+ export declare const QueryParamType: {
10
+ readonly Internal: "internal";
11
+ readonly A2a: "a2a";
12
+ };
13
+ /**
14
+ * Filter agents by type: "internal" for Orquesta-managed agents, "a2a" for external A2A-compliant agents
15
+ */
16
+ export type QueryParamType = ClosedEnum<typeof QueryParamType>;
6
17
  export type ListAgentsRequest = {
7
18
  /**
8
19
  * A limit on the number of objects to be returned. Limit can range between 1 and 200. When not provided, returns all agents without pagination.
@@ -16,6 +27,10 @@ export type ListAgentsRequest = {
16
27
  * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
17
28
  */
18
29
  endingBefore?: string | undefined;
30
+ /**
31
+ * Filter agents by type: "internal" for Orquesta-managed agents, "a2a" for external A2A-compliant agents
32
+ */
33
+ type?: QueryParamType | undefined;
19
34
  };
20
35
  export declare const ListAgentsObject: {
21
36
  readonly List: "list";
@@ -24,7 +39,7 @@ export type ListAgentsObject = ClosedEnum<typeof ListAgentsObject>;
24
39
  /**
25
40
  * 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.
26
41
  */
27
- export declare const ListAgentsStatus: {
42
+ export declare const ListAgentsDataStatus: {
28
43
  readonly Live: "live";
29
44
  readonly Draft: "draft";
30
45
  readonly Pending: "pending";
@@ -33,11 +48,172 @@ export declare const ListAgentsStatus: {
33
48
  /**
34
49
  * 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.
35
50
  */
36
- export type ListAgentsStatus = ClosedEnum<typeof ListAgentsStatus>;
51
+ export type ListAgentsDataStatus = ClosedEnum<typeof ListAgentsDataStatus>;
52
+ export type ListAgentsDataTeamOfAgents = {
53
+ /**
54
+ * The unique key of the agent within the workspace
55
+ */
56
+ key: string;
57
+ /**
58
+ * 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.
59
+ */
60
+ role?: string | undefined;
61
+ };
62
+ export type ListAgentsDataMetrics = {
63
+ totalCost: number;
64
+ };
65
+ export type ListAgentsDataKnowledgeBases = {
66
+ /**
67
+ * Unique identifier of the knowledge base to search
68
+ */
69
+ knowledgeId: string;
70
+ };
71
+ export declare const ListAgentsDataSource: {
72
+ readonly Internal: "internal";
73
+ readonly External: "external";
74
+ readonly Experiment: "experiment";
75
+ };
76
+ export type ListAgentsDataSource = ClosedEnum<typeof ListAgentsDataSource>;
77
+ export type DataHeaders = {
78
+ /**
79
+ * 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.
80
+ */
81
+ value: string;
82
+ encrypted: boolean;
83
+ };
84
+ /**
85
+ * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
86
+ */
87
+ export type DataA2AAgentConfiguration = {
88
+ /**
89
+ * The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
90
+ */
91
+ agentUrl: string;
92
+ /**
93
+ * Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
94
+ */
95
+ cardUrl?: string | undefined;
96
+ /**
97
+ * 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.
98
+ */
99
+ headers?: {
100
+ [k: string]: DataHeaders;
101
+ } | undefined;
102
+ /**
103
+ * Cached agent card from discovery. Refreshed periodically.
104
+ */
105
+ cachedCard?: any | undefined;
106
+ };
107
+ export type Data2 = {
108
+ id: string;
109
+ /**
110
+ * Unique identifier for the agent within the workspace
111
+ */
112
+ key: string;
113
+ displayName?: string | undefined;
114
+ createdById?: string | null | undefined;
115
+ updatedById?: string | null | undefined;
116
+ created?: string | undefined;
117
+ updated?: string | undefined;
118
+ /**
119
+ * 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.
120
+ */
121
+ status: ListAgentsDataStatus;
122
+ versionHash?: string | undefined;
123
+ /**
124
+ * Entity storage path in the format: `project/folder/subfolder/...`
125
+ *
126
+ * @remarks
127
+ *
128
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
129
+ *
130
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
131
+ */
132
+ path: string;
133
+ /**
134
+ * Array of memory store identifiers. Accepts both memory store IDs and keys.
135
+ */
136
+ memoryStores?: Array<string> | undefined;
137
+ /**
138
+ * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
139
+ */
140
+ teamOfAgents?: Array<ListAgentsDataTeamOfAgents> | undefined;
141
+ metrics?: ListAgentsDataMetrics | undefined;
142
+ /**
143
+ * Extracted variables from agent instructions
144
+ */
145
+ variables?: {
146
+ [k: string]: any;
147
+ } | undefined;
148
+ /**
149
+ * Agent knowledge bases reference
150
+ */
151
+ knowledgeBases?: Array<ListAgentsDataKnowledgeBases> | undefined;
152
+ source?: ListAgentsDataSource | undefined;
153
+ /**
154
+ * External A2A-compliant agent
155
+ */
156
+ type: "a2a";
157
+ /**
158
+ * Role fetched from agent card name or user-provided
159
+ */
160
+ role: string;
161
+ /**
162
+ * Description fetched from agent card or user-provided
163
+ */
164
+ description: string;
165
+ systemPrompt?: string | undefined;
166
+ /**
167
+ * Instructions from agent card description or user-provided
168
+ */
169
+ instructions: string;
170
+ /**
171
+ * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
172
+ */
173
+ a2a: DataA2AAgentConfiguration;
174
+ };
175
+ /**
176
+ * 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.
177
+ */
178
+ export declare const DataStatus: {
179
+ readonly Live: "live";
180
+ readonly Draft: "draft";
181
+ readonly Pending: "pending";
182
+ readonly Published: "published";
183
+ };
184
+ /**
185
+ * 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.
186
+ */
187
+ export type DataStatus = ClosedEnum<typeof DataStatus>;
188
+ export type DataTeamOfAgents = {
189
+ /**
190
+ * The unique key of the agent within the workspace
191
+ */
192
+ key: string;
193
+ /**
194
+ * 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.
195
+ */
196
+ role?: string | undefined;
197
+ };
198
+ export type DataMetrics = {
199
+ totalCost: number;
200
+ };
201
+ export type DataKnowledgeBases = {
202
+ /**
203
+ * Unique identifier of the knowledge base to search
204
+ */
205
+ knowledgeId: string;
206
+ };
207
+ export declare const DataSource: {
208
+ readonly Internal: "internal";
209
+ readonly External: "external";
210
+ readonly Experiment: "experiment";
211
+ };
212
+ export type DataSource = ClosedEnum<typeof DataSource>;
37
213
  /**
38
214
  * 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.
39
215
  */
40
- export declare const ListAgentsToolApprovalRequired: {
216
+ export declare const DataToolApprovalRequired: {
41
217
  readonly All: "all";
42
218
  readonly RespectTool: "respect_tool";
43
219
  readonly None: "none";
@@ -45,8 +221,8 @@ export declare const ListAgentsToolApprovalRequired: {
45
221
  /**
46
222
  * 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.
47
223
  */
48
- export type ListAgentsToolApprovalRequired = ClosedEnum<typeof ListAgentsToolApprovalRequired>;
49
- export type ListAgentsConditions = {
224
+ export type DataToolApprovalRequired = ClosedEnum<typeof DataToolApprovalRequired>;
225
+ export type DataConditions = {
50
226
  /**
51
227
  * The argument of the tool call to evaluate
52
228
  */
@@ -60,7 +236,7 @@ export type ListAgentsConditions = {
60
236
  */
61
237
  value: string;
62
238
  };
63
- export type ListAgentsTools = {
239
+ export type DataTools = {
64
240
  /**
65
241
  * The id of the resource
66
242
  */
@@ -80,7 +256,7 @@ export type ListAgentsTools = {
80
256
  * Nested tool ID for MCP tools (identifies specific tool within MCP server)
81
257
  */
82
258
  toolId?: string | undefined;
83
- conditions?: Array<ListAgentsConditions> | undefined;
259
+ conditions?: Array<DataConditions> | undefined;
84
260
  /**
85
261
  * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
86
262
  */
@@ -89,15 +265,15 @@ export type ListAgentsTools = {
89
265
  /**
90
266
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
91
267
  */
92
- export declare const ListAgentsExecuteOn: {
268
+ export declare const DataExecuteOn: {
93
269
  readonly Input: "input";
94
270
  readonly Output: "output";
95
271
  };
96
272
  /**
97
273
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
98
274
  */
99
- export type ListAgentsExecuteOn = ClosedEnum<typeof ListAgentsExecuteOn>;
100
- export type ListAgentsEvaluators = {
275
+ export type DataExecuteOn = ClosedEnum<typeof DataExecuteOn>;
276
+ export type DataEvaluators = {
101
277
  /**
102
278
  * Unique key or identifier of the evaluator
103
279
  */
@@ -109,20 +285,20 @@ export type ListAgentsEvaluators = {
109
285
  /**
110
286
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
111
287
  */
112
- executeOn: ListAgentsExecuteOn;
288
+ executeOn: DataExecuteOn;
113
289
  };
114
290
  /**
115
291
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
116
292
  */
117
- export declare const ListAgentsAgentsExecuteOn: {
293
+ export declare const ListAgentsDataExecuteOn: {
118
294
  readonly Input: "input";
119
295
  readonly Output: "output";
120
296
  };
121
297
  /**
122
298
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
123
299
  */
124
- export type ListAgentsAgentsExecuteOn = ClosedEnum<typeof ListAgentsAgentsExecuteOn>;
125
- export type ListAgentsGuardrails = {
300
+ export type ListAgentsDataExecuteOn = ClosedEnum<typeof ListAgentsDataExecuteOn>;
301
+ export type DataGuardrails = {
126
302
  /**
127
303
  * Unique key or identifier of the evaluator
128
304
  */
@@ -134,9 +310,9 @@ export type ListAgentsGuardrails = {
134
310
  /**
135
311
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
136
312
  */
137
- executeOn: ListAgentsAgentsExecuteOn;
313
+ executeOn: ListAgentsDataExecuteOn;
138
314
  };
139
- export type ListAgentsSettings = {
315
+ export type DataSettings = {
140
316
  /**
141
317
  * Maximum iterations(llm calls) before the agent will stop executing.
142
318
  */
@@ -152,58 +328,16 @@ export type ListAgentsSettings = {
152
328
  /**
153
329
  * 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.
154
330
  */
155
- toolApprovalRequired: ListAgentsToolApprovalRequired;
156
- tools?: Array<ListAgentsTools> | undefined;
331
+ toolApprovalRequired: DataToolApprovalRequired;
332
+ tools?: Array<DataTools> | undefined;
157
333
  /**
158
334
  * Configuration for an evaluator applied to the agent
159
335
  */
160
- evaluators?: Array<ListAgentsEvaluators> | undefined;
336
+ evaluators?: Array<DataEvaluators> | undefined;
161
337
  /**
162
338
  * Configuration for a guardrail applied to the agent
163
339
  */
164
- guardrails?: Array<ListAgentsGuardrails> | undefined;
165
- };
166
- /**
167
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
168
- */
169
- export declare const ListAgentsVoice: {
170
- readonly Alloy: "alloy";
171
- readonly Echo: "echo";
172
- readonly Fable: "fable";
173
- readonly Onyx: "onyx";
174
- readonly Nova: "nova";
175
- readonly Shimmer: "shimmer";
176
- };
177
- /**
178
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
179
- */
180
- export type ListAgentsVoice = ClosedEnum<typeof ListAgentsVoice>;
181
- /**
182
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
183
- */
184
- export declare const ListAgentsFormat: {
185
- readonly Wav: "wav";
186
- readonly Mp3: "mp3";
187
- readonly Flac: "flac";
188
- readonly Opus: "opus";
189
- readonly Pcm16: "pcm16";
190
- };
191
- /**
192
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
193
- */
194
- export type ListAgentsFormat = ClosedEnum<typeof ListAgentsFormat>;
195
- /**
196
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
197
- */
198
- export type ListAgentsAudio = {
199
- /**
200
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
201
- */
202
- voice: ListAgentsVoice;
203
- /**
204
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
205
- */
206
- format: ListAgentsFormat;
340
+ guardrails?: Array<DataGuardrails> | undefined;
207
341
  };
208
342
  export type ListAgentsResponseFormatJsonSchema = {
209
343
  /**
@@ -251,7 +385,7 @@ export type ListAgentsResponseFormatText = {
251
385
  /**
252
386
  * An object specifying the format that the model must output
253
387
  */
254
- export type ListAgentsResponseFormat = ListAgentsResponseFormatText | ListAgentsResponseFormatJSONObject | ListAgentsResponseFormatAgentsJSONSchema;
388
+ export type DataResponseFormat = ListAgentsResponseFormatText | ListAgentsResponseFormatJSONObject | ListAgentsResponseFormatAgentsJSONSchema;
255
389
  /**
256
390
  * 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.
257
391
  *
@@ -264,7 +398,7 @@ export type ListAgentsResponseFormat = ListAgentsResponseFormatText | ListAgents
264
398
  *
265
399
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
266
400
  */
267
- export declare const ListAgentsReasoningEffort: {
401
+ export declare const DataReasoningEffort: {
268
402
  readonly None: "none";
269
403
  readonly Minimal: "minimal";
270
404
  readonly Low: "low";
@@ -284,21 +418,12 @@ export declare const ListAgentsReasoningEffort: {
284
418
  *
285
419
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
286
420
  */
287
- export type ListAgentsReasoningEffort = ClosedEnum<typeof ListAgentsReasoningEffort>;
421
+ export type DataReasoningEffort = ClosedEnum<typeof DataReasoningEffort>;
288
422
  /**
289
423
  * Up to 4 sequences where the API will stop generating further tokens.
290
424
  */
291
- export type ListAgentsStop = string | Array<string>;
292
- /**
293
- * Options for streaming response. Only set this when you set stream: true.
294
- */
295
- export type ListAgentsStreamOptions = {
296
- /**
297
- * 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.
298
- */
299
- includeUsage?: boolean | undefined;
300
- };
301
- export type ListAgentsThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
425
+ export type DataStop = string | Array<string>;
426
+ export type DataThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
302
427
  /**
303
428
  * The type of the tool. Currently, only function is supported.
304
429
  */
@@ -331,12 +456,12 @@ export type ListAgentsToolChoice1 = ClosedEnum<typeof ListAgentsToolChoice1>;
331
456
  /**
332
457
  * Controls which (if any) tool is called by the model.
333
458
  */
334
- export type ListAgentsToolChoice = ListAgentsToolChoice2 | ListAgentsToolChoice1;
335
- export declare const ListAgentsModalities: {
459
+ export type DataToolChoice = ListAgentsToolChoice2 | ListAgentsToolChoice1;
460
+ export declare const DataModalities: {
336
461
  readonly Text: "text";
337
462
  readonly Audio: "audio";
338
463
  };
339
- export type ListAgentsModalities = ClosedEnum<typeof ListAgentsModalities>;
464
+ export type DataModalities = ClosedEnum<typeof DataModalities>;
340
465
  /**
341
466
  * The key of the guardrail.
342
467
  */
@@ -349,57 +474,44 @@ export declare const ListAgentsId1: {
349
474
  * The key of the guardrail.
350
475
  */
351
476
  export type ListAgentsId1 = ClosedEnum<typeof ListAgentsId1>;
352
- export type ListAgentsId = ListAgentsId1 | string;
477
+ export type DataId = ListAgentsId1 | string;
353
478
  /**
354
479
  * Determines whether the guardrail runs on the input (user message) or output (model response).
355
480
  */
356
- export declare const ListAgentsAgentsResponseExecuteOn: {
481
+ export declare const ListAgentsDataAgentsExecuteOn: {
357
482
  readonly Input: "input";
358
483
  readonly Output: "output";
359
484
  };
360
485
  /**
361
486
  * Determines whether the guardrail runs on the input (user message) or output (model response).
362
487
  */
363
- export type ListAgentsAgentsResponseExecuteOn = ClosedEnum<typeof ListAgentsAgentsResponseExecuteOn>;
364
- export type ListAgentsAgentsGuardrails = {
488
+ export type ListAgentsDataAgentsExecuteOn = ClosedEnum<typeof ListAgentsDataAgentsExecuteOn>;
489
+ export type ListAgentsDataGuardrails = {
365
490
  id: ListAgentsId1 | string;
366
491
  /**
367
492
  * Determines whether the guardrail runs on the input (user message) or output (model response).
368
493
  */
369
- executeOn: ListAgentsAgentsResponseExecuteOn;
494
+ executeOn: ListAgentsDataAgentsExecuteOn;
370
495
  };
371
- export type ListAgentsFallbacks = {
496
+ export type DataFallbacks = {
372
497
  /**
373
498
  * Fallback model identifier
374
499
  */
375
500
  model: string;
376
501
  };
377
- /**
378
- * Retry configuration for the request
379
- */
380
- export type ListAgentsAgentsRetry = {
381
- /**
382
- * Number of retry attempts (1-5)
383
- */
384
- count: number;
385
- /**
386
- * HTTP status codes that trigger retry logic
387
- */
388
- onCodes?: Array<number> | undefined;
389
- };
390
- export declare const ListAgentsType: {
502
+ export declare const ListAgentsDataAgentsResponseType: {
391
503
  readonly ExactMatch: "exact_match";
392
504
  };
393
- export type ListAgentsType = ClosedEnum<typeof ListAgentsType>;
505
+ export type ListAgentsDataAgentsResponseType = ClosedEnum<typeof ListAgentsDataAgentsResponseType>;
394
506
  /**
395
507
  * Cache configuration for the request.
396
508
  */
397
- export type ListAgentsCache = {
509
+ export type DataCache = {
398
510
  /**
399
511
  * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
400
512
  */
401
513
  ttl: number;
402
- type: ListAgentsType;
514
+ type: ListAgentsDataAgentsResponseType;
403
515
  };
404
516
  export declare const ListAgentsLoadBalancerType: {
405
517
  readonly WeightBased: "weight_based";
@@ -422,11 +534,11 @@ export type ListAgentsLoadBalancer1 = {
422
534
  /**
423
535
  * Load balancer configuration for the request.
424
536
  */
425
- export type ListAgentsLoadBalancer = ListAgentsLoadBalancer1;
537
+ export type DataLoadBalancer = ListAgentsLoadBalancer1;
426
538
  /**
427
539
  * 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.
428
540
  */
429
- export type ListAgentsTimeout = {
541
+ export type DataTimeout = {
430
542
  /**
431
543
  * Timeout value in milliseconds
432
544
  */
@@ -435,15 +547,11 @@ export type ListAgentsTimeout = {
435
547
  /**
436
548
  * 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.
437
549
  */
438
- export type ListAgentsParameters = {
550
+ export type DataParameters = {
439
551
  /**
440
552
  * The name to display on the trace. If not specified, the default system name will be used.
441
553
  */
442
554
  name?: string | undefined;
443
- /**
444
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
445
- */
446
- audio?: ListAgentsAudio | null | undefined;
447
555
  /**
448
556
  * 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.
449
557
  */
@@ -460,18 +568,6 @@ export type ListAgentsParameters = {
460
568
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
461
569
  */
462
570
  maxCompletionTokens?: number | null | undefined;
463
- /**
464
- * 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.
465
- */
466
- logprobs?: boolean | null | undefined;
467
- /**
468
- * 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.
469
- */
470
- topLogprobs?: number | null | undefined;
471
- /**
472
- * 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.
473
- */
474
- n?: number | null | undefined;
475
571
  /**
476
572
  * 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.
477
573
  */
@@ -492,7 +588,7 @@ export type ListAgentsParameters = {
492
588
  *
493
589
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
494
590
  */
495
- reasoningEffort?: ListAgentsReasoningEffort | undefined;
591
+ reasoningEffort?: DataReasoningEffort | undefined;
496
592
  /**
497
593
  * Adjusts response verbosity. Lower levels yield shorter answers.
498
594
  */
@@ -505,10 +601,6 @@ export type ListAgentsParameters = {
505
601
  * Up to 4 sequences where the API will stop generating further tokens.
506
602
  */
507
603
  stop?: string | Array<string> | null | undefined;
508
- /**
509
- * Options for streaming response. Only set this when you set stream: true.
510
- */
511
- streamOptions?: ListAgentsStreamOptions | null | undefined;
512
604
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
513
605
  /**
514
606
  * 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.
@@ -533,23 +625,19 @@ export type ListAgentsParameters = {
533
625
  /**
534
626
  * 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"].
535
627
  */
536
- modalities?: Array<ListAgentsModalities> | null | undefined;
628
+ modalities?: Array<DataModalities> | null | undefined;
537
629
  /**
538
630
  * A list of guardrails to apply to the request.
539
631
  */
540
- guardrails?: Array<ListAgentsAgentsGuardrails> | undefined;
632
+ guardrails?: Array<ListAgentsDataGuardrails> | undefined;
541
633
  /**
542
634
  * Array of fallback models to use if primary model fails
543
635
  */
544
- fallbacks?: Array<ListAgentsFallbacks> | undefined;
545
- /**
546
- * Retry configuration for the request
547
- */
548
- retry?: ListAgentsAgentsRetry | undefined;
636
+ fallbacks?: Array<DataFallbacks> | undefined;
549
637
  /**
550
638
  * Cache configuration for the request.
551
639
  */
552
- cache?: ListAgentsCache | undefined;
640
+ cache?: DataCache | undefined;
553
641
  /**
554
642
  * Load balancer configuration for the request.
555
643
  */
@@ -557,12 +645,12 @@ export type ListAgentsParameters = {
557
645
  /**
558
646
  * 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.
559
647
  */
560
- timeout?: ListAgentsTimeout | undefined;
648
+ timeout?: DataTimeout | undefined;
561
649
  };
562
650
  /**
563
651
  * 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).
564
652
  */
565
- export type ListAgentsRetry = {
653
+ export type DataRetry = {
566
654
  /**
567
655
  * Number of retry attempts (1-5)
568
656
  */
@@ -572,48 +660,6 @@ export type ListAgentsRetry = {
572
660
  */
573
661
  onCodes?: Array<number> | undefined;
574
662
  };
575
- /**
576
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
577
- */
578
- export declare const ListAgentsFallbackModelConfigurationVoice: {
579
- readonly Alloy: "alloy";
580
- readonly Echo: "echo";
581
- readonly Fable: "fable";
582
- readonly Onyx: "onyx";
583
- readonly Nova: "nova";
584
- readonly Shimmer: "shimmer";
585
- };
586
- /**
587
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
588
- */
589
- export type ListAgentsFallbackModelConfigurationVoice = ClosedEnum<typeof ListAgentsFallbackModelConfigurationVoice>;
590
- /**
591
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
592
- */
593
- export declare const ListAgentsFallbackModelConfigurationFormat: {
594
- readonly Wav: "wav";
595
- readonly Mp3: "mp3";
596
- readonly Flac: "flac";
597
- readonly Opus: "opus";
598
- readonly Pcm16: "pcm16";
599
- };
600
- /**
601
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
602
- */
603
- export type ListAgentsFallbackModelConfigurationFormat = ClosedEnum<typeof ListAgentsFallbackModelConfigurationFormat>;
604
- /**
605
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
606
- */
607
- export type ListAgentsFallbackModelConfigurationAudio = {
608
- /**
609
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
610
- */
611
- voice: ListAgentsFallbackModelConfigurationVoice;
612
- /**
613
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
614
- */
615
- format: ListAgentsFallbackModelConfigurationFormat;
616
- };
617
663
  export type ListAgentsResponseFormatAgentsResponseJsonSchema = {
618
664
  /**
619
665
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -698,15 +744,6 @@ export type ListAgentsFallbackModelConfigurationReasoningEffort = ClosedEnum<typ
698
744
  * Up to 4 sequences where the API will stop generating further tokens.
699
745
  */
700
746
  export type ListAgentsFallbackModelConfigurationStop = string | Array<string>;
701
- /**
702
- * Options for streaming response. Only set this when you set stream: true.
703
- */
704
- export type ListAgentsFallbackModelConfigurationStreamOptions = {
705
- /**
706
- * 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.
707
- */
708
- includeUsage?: boolean | undefined;
709
- };
710
747
  export type ListAgentsFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
711
748
  /**
712
749
  * The type of the tool. Currently, only function is supported.
@@ -783,19 +820,6 @@ export type ListAgentsFallbackModelConfigurationFallbacks = {
783
820
  */
784
821
  model: string;
785
822
  };
786
- /**
787
- * Retry configuration for the request
788
- */
789
- export type ListAgentsFallbackModelConfigurationAgentsRetry = {
790
- /**
791
- * Number of retry attempts (1-5)
792
- */
793
- count: number;
794
- /**
795
- * HTTP status codes that trigger retry logic
796
- */
797
- onCodes?: Array<number> | undefined;
798
- };
799
823
  export declare const ListAgentsFallbackModelConfigurationType: {
800
824
  readonly ExactMatch: "exact_match";
801
825
  };
@@ -849,10 +873,6 @@ export type ListAgentsFallbackModelConfigurationParameters = {
849
873
  * The name to display on the trace. If not specified, the default system name will be used.
850
874
  */
851
875
  name?: string | undefined;
852
- /**
853
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
854
- */
855
- audio?: ListAgentsFallbackModelConfigurationAudio | null | undefined;
856
876
  /**
857
877
  * 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.
858
878
  */
@@ -869,18 +889,6 @@ export type ListAgentsFallbackModelConfigurationParameters = {
869
889
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
870
890
  */
871
891
  maxCompletionTokens?: number | null | undefined;
872
- /**
873
- * 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.
874
- */
875
- logprobs?: boolean | null | undefined;
876
- /**
877
- * 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.
878
- */
879
- topLogprobs?: number | null | undefined;
880
- /**
881
- * 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.
882
- */
883
- n?: number | null | undefined;
884
892
  /**
885
893
  * 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.
886
894
  */
@@ -914,10 +922,6 @@ export type ListAgentsFallbackModelConfigurationParameters = {
914
922
  * Up to 4 sequences where the API will stop generating further tokens.
915
923
  */
916
924
  stop?: string | Array<string> | null | undefined;
917
- /**
918
- * Options for streaming response. Only set this when you set stream: true.
919
- */
920
- streamOptions?: ListAgentsFallbackModelConfigurationStreamOptions | null | undefined;
921
925
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
922
926
  /**
923
927
  * 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.
@@ -951,10 +955,6 @@ export type ListAgentsFallbackModelConfigurationParameters = {
951
955
  * Array of fallback models to use if primary model fails
952
956
  */
953
957
  fallbacks?: Array<ListAgentsFallbackModelConfigurationFallbacks> | undefined;
954
- /**
955
- * Retry configuration for the request
956
- */
957
- retry?: ListAgentsFallbackModelConfigurationAgentsRetry | undefined;
958
958
  /**
959
959
  * Cache configuration for the request.
960
960
  */
@@ -1001,8 +1001,8 @@ export type ListAgentsFallbackModelConfiguration2 = {
1001
1001
  /**
1002
1002
  * 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.
1003
1003
  */
1004
- export type ListAgentsFallbackModelConfiguration = ListAgentsFallbackModelConfiguration2 | string;
1005
- export type ListAgentsModel = {
1004
+ export type DataFallbackModelConfiguration = ListAgentsFallbackModelConfiguration2 | string;
1005
+ export type DataModel = {
1006
1006
  /**
1007
1007
  * The database ID of the primary model
1008
1008
  */
@@ -1014,42 +1014,17 @@ export type ListAgentsModel = {
1014
1014
  /**
1015
1015
  * 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.
1016
1016
  */
1017
- parameters?: ListAgentsParameters | undefined;
1017
+ parameters?: DataParameters | undefined;
1018
1018
  /**
1019
1019
  * 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).
1020
1020
  */
1021
- retry?: ListAgentsRetry | undefined;
1021
+ retry?: DataRetry | undefined;
1022
1022
  /**
1023
1023
  * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
1024
1024
  */
1025
1025
  fallbackModels?: Array<ListAgentsFallbackModelConfiguration2 | string> | null | undefined;
1026
1026
  };
1027
- export type ListAgentsTeamOfAgents = {
1028
- /**
1029
- * The unique key of the agent within the workspace
1030
- */
1031
- key: string;
1032
- /**
1033
- * 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.
1034
- */
1035
- role?: string | undefined;
1036
- };
1037
- export type ListAgentsMetrics = {
1038
- totalCost: number;
1039
- };
1040
- export type ListAgentsKnowledgeBases = {
1041
- /**
1042
- * Unique identifier of the knowledge base to search
1043
- */
1044
- knowledgeId: string;
1045
- };
1046
- export declare const ListAgentsSource: {
1047
- readonly Internal: "internal";
1048
- readonly External: "external";
1049
- readonly Experiment: "experiment";
1050
- };
1051
- export type ListAgentsSource = ClosedEnum<typeof ListAgentsSource>;
1052
- export type ListAgentsData = {
1027
+ export type Data1 = {
1053
1028
  id: string;
1054
1029
  /**
1055
1030
  * Unique identifier for the agent within the workspace
@@ -1060,16 +1035,10 @@ export type ListAgentsData = {
1060
1035
  updatedById?: string | null | undefined;
1061
1036
  created?: string | undefined;
1062
1037
  updated?: string | undefined;
1063
- role: string;
1064
- description: string;
1065
- systemPrompt?: string | undefined;
1066
- instructions: string;
1067
1038
  /**
1068
1039
  * 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.
1069
1040
  */
1070
- status: ListAgentsStatus;
1071
- settings?: ListAgentsSettings | undefined;
1072
- model: ListAgentsModel;
1041
+ status: DataStatus;
1073
1042
  versionHash?: string | undefined;
1074
1043
  /**
1075
1044
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1084,12 +1053,12 @@ export type ListAgentsData = {
1084
1053
  /**
1085
1054
  * Array of memory store identifiers. Accepts both memory store IDs and keys.
1086
1055
  */
1087
- memoryStores: Array<string>;
1056
+ memoryStores?: Array<string> | undefined;
1088
1057
  /**
1089
1058
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1090
1059
  */
1091
- teamOfAgents: Array<ListAgentsTeamOfAgents>;
1092
- metrics?: ListAgentsMetrics | undefined;
1060
+ teamOfAgents?: Array<DataTeamOfAgents> | undefined;
1061
+ metrics?: DataMetrics | undefined;
1093
1062
  /**
1094
1063
  * Extracted variables from agent instructions
1095
1064
  */
@@ -1099,22 +1068,36 @@ export type ListAgentsData = {
1099
1068
  /**
1100
1069
  * Agent knowledge bases reference
1101
1070
  */
1102
- knowledgeBases?: Array<ListAgentsKnowledgeBases> | undefined;
1103
- source?: ListAgentsSource | undefined;
1071
+ knowledgeBases?: Array<DataKnowledgeBases> | undefined;
1072
+ source?: DataSource | undefined;
1073
+ /**
1074
+ * Orquesta-managed agent
1075
+ */
1076
+ type: "internal";
1077
+ role: string;
1078
+ description: string;
1079
+ systemPrompt?: string | undefined;
1080
+ instructions: string;
1081
+ settings?: DataSettings | undefined;
1082
+ model: DataModel;
1104
1083
  };
1084
+ export type ListAgentsData = Data1 | Data2;
1105
1085
  /**
1106
1086
  * Successfully retrieved the list of agents. Returns a paginated response containing agent manifests with complete configurations, including primary and fallback models, tools, knowledge bases, and execution settings.
1107
1087
  */
1108
1088
  export type ListAgentsResponseBody = {
1109
1089
  object: ListAgentsObject;
1110
- data: Array<ListAgentsData>;
1090
+ data: Array<Data1 | Data2>;
1111
1091
  hasMore: boolean;
1112
1092
  };
1113
1093
  /** @internal */
1094
+ export declare const QueryParamType$outboundSchema: z.ZodNativeEnum<typeof QueryParamType>;
1095
+ /** @internal */
1114
1096
  export type ListAgentsRequest$Outbound = {
1115
1097
  limit?: number | undefined;
1116
1098
  starting_after?: string | undefined;
1117
1099
  ending_before?: string | undefined;
1100
+ type?: string | undefined;
1118
1101
  };
1119
1102
  /** @internal */
1120
1103
  export declare const ListAgentsRequest$outboundSchema: z.ZodType<ListAgentsRequest$Outbound, z.ZodTypeDef, ListAgentsRequest>;
@@ -1122,35 +1105,61 @@ export declare function listAgentsRequestToJSON(listAgentsRequest: ListAgentsReq
1122
1105
  /** @internal */
1123
1106
  export declare const ListAgentsObject$inboundSchema: z.ZodNativeEnum<typeof ListAgentsObject>;
1124
1107
  /** @internal */
1125
- export declare const ListAgentsStatus$inboundSchema: z.ZodNativeEnum<typeof ListAgentsStatus>;
1108
+ export declare const ListAgentsDataStatus$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataStatus>;
1109
+ /** @internal */
1110
+ export declare const ListAgentsDataTeamOfAgents$inboundSchema: z.ZodType<ListAgentsDataTeamOfAgents, z.ZodTypeDef, unknown>;
1111
+ export declare function listAgentsDataTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<ListAgentsDataTeamOfAgents, SDKValidationError>;
1112
+ /** @internal */
1113
+ export declare const ListAgentsDataMetrics$inboundSchema: z.ZodType<ListAgentsDataMetrics, z.ZodTypeDef, unknown>;
1114
+ export declare function listAgentsDataMetricsFromJSON(jsonString: string): SafeParseResult<ListAgentsDataMetrics, SDKValidationError>;
1115
+ /** @internal */
1116
+ export declare const ListAgentsDataKnowledgeBases$inboundSchema: z.ZodType<ListAgentsDataKnowledgeBases, z.ZodTypeDef, unknown>;
1117
+ export declare function listAgentsDataKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<ListAgentsDataKnowledgeBases, SDKValidationError>;
1126
1118
  /** @internal */
1127
- export declare const ListAgentsToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolApprovalRequired>;
1119
+ export declare const ListAgentsDataSource$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataSource>;
1128
1120
  /** @internal */
1129
- export declare const ListAgentsConditions$inboundSchema: z.ZodType<ListAgentsConditions, z.ZodTypeDef, unknown>;
1130
- export declare function listAgentsConditionsFromJSON(jsonString: string): SafeParseResult<ListAgentsConditions, SDKValidationError>;
1121
+ export declare const DataHeaders$inboundSchema: z.ZodType<DataHeaders, z.ZodTypeDef, unknown>;
1122
+ export declare function dataHeadersFromJSON(jsonString: string): SafeParseResult<DataHeaders, SDKValidationError>;
1131
1123
  /** @internal */
1132
- export declare const ListAgentsTools$inboundSchema: z.ZodType<ListAgentsTools, z.ZodTypeDef, unknown>;
1133
- export declare function listAgentsToolsFromJSON(jsonString: string): SafeParseResult<ListAgentsTools, SDKValidationError>;
1124
+ export declare const DataA2AAgentConfiguration$inboundSchema: z.ZodType<DataA2AAgentConfiguration, z.ZodTypeDef, unknown>;
1125
+ export declare function dataA2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<DataA2AAgentConfiguration, SDKValidationError>;
1134
1126
  /** @internal */
1135
- export declare const ListAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsExecuteOn>;
1127
+ export declare const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown>;
1128
+ export declare function data2FromJSON(jsonString: string): SafeParseResult<Data2, SDKValidationError>;
1136
1129
  /** @internal */
1137
- export declare const ListAgentsEvaluators$inboundSchema: z.ZodType<ListAgentsEvaluators, z.ZodTypeDef, unknown>;
1138
- export declare function listAgentsEvaluatorsFromJSON(jsonString: string): SafeParseResult<ListAgentsEvaluators, SDKValidationError>;
1130
+ export declare const DataStatus$inboundSchema: z.ZodNativeEnum<typeof DataStatus>;
1139
1131
  /** @internal */
1140
- export declare const ListAgentsAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsAgentsExecuteOn>;
1132
+ export declare const DataTeamOfAgents$inboundSchema: z.ZodType<DataTeamOfAgents, z.ZodTypeDef, unknown>;
1133
+ export declare function dataTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<DataTeamOfAgents, SDKValidationError>;
1141
1134
  /** @internal */
1142
- export declare const ListAgentsGuardrails$inboundSchema: z.ZodType<ListAgentsGuardrails, z.ZodTypeDef, unknown>;
1143
- export declare function listAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<ListAgentsGuardrails, SDKValidationError>;
1135
+ export declare const DataMetrics$inboundSchema: z.ZodType<DataMetrics, z.ZodTypeDef, unknown>;
1136
+ export declare function dataMetricsFromJSON(jsonString: string): SafeParseResult<DataMetrics, SDKValidationError>;
1144
1137
  /** @internal */
1145
- export declare const ListAgentsSettings$inboundSchema: z.ZodType<ListAgentsSettings, z.ZodTypeDef, unknown>;
1146
- export declare function listAgentsSettingsFromJSON(jsonString: string): SafeParseResult<ListAgentsSettings, SDKValidationError>;
1138
+ export declare const DataKnowledgeBases$inboundSchema: z.ZodType<DataKnowledgeBases, z.ZodTypeDef, unknown>;
1139
+ export declare function dataKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<DataKnowledgeBases, SDKValidationError>;
1147
1140
  /** @internal */
1148
- export declare const ListAgentsVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentsVoice>;
1141
+ export declare const DataSource$inboundSchema: z.ZodNativeEnum<typeof DataSource>;
1149
1142
  /** @internal */
1150
- export declare const ListAgentsFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFormat>;
1143
+ export declare const DataToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof DataToolApprovalRequired>;
1151
1144
  /** @internal */
1152
- export declare const ListAgentsAudio$inboundSchema: z.ZodType<ListAgentsAudio, z.ZodTypeDef, unknown>;
1153
- export declare function listAgentsAudioFromJSON(jsonString: string): SafeParseResult<ListAgentsAudio, SDKValidationError>;
1145
+ export declare const DataConditions$inboundSchema: z.ZodType<DataConditions, z.ZodTypeDef, unknown>;
1146
+ export declare function dataConditionsFromJSON(jsonString: string): SafeParseResult<DataConditions, SDKValidationError>;
1147
+ /** @internal */
1148
+ export declare const DataTools$inboundSchema: z.ZodType<DataTools, z.ZodTypeDef, unknown>;
1149
+ export declare function dataToolsFromJSON(jsonString: string): SafeParseResult<DataTools, SDKValidationError>;
1150
+ /** @internal */
1151
+ export declare const DataExecuteOn$inboundSchema: z.ZodNativeEnum<typeof DataExecuteOn>;
1152
+ /** @internal */
1153
+ export declare const DataEvaluators$inboundSchema: z.ZodType<DataEvaluators, z.ZodTypeDef, unknown>;
1154
+ export declare function dataEvaluatorsFromJSON(jsonString: string): SafeParseResult<DataEvaluators, SDKValidationError>;
1155
+ /** @internal */
1156
+ export declare const ListAgentsDataExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataExecuteOn>;
1157
+ /** @internal */
1158
+ export declare const DataGuardrails$inboundSchema: z.ZodType<DataGuardrails, z.ZodTypeDef, unknown>;
1159
+ export declare function dataGuardrailsFromJSON(jsonString: string): SafeParseResult<DataGuardrails, SDKValidationError>;
1160
+ /** @internal */
1161
+ export declare const DataSettings$inboundSchema: z.ZodType<DataSettings, z.ZodTypeDef, unknown>;
1162
+ export declare function dataSettingsFromJSON(jsonString: string): SafeParseResult<DataSettings, SDKValidationError>;
1154
1163
  /** @internal */
1155
1164
  export declare const ListAgentsResponseFormatJsonSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1156
1165
  export declare function listAgentsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatJsonSchema, SDKValidationError>;
@@ -1164,19 +1173,16 @@ export declare function listAgentsResponseFormatJSONObjectFromJSON(jsonString: s
1164
1173
  export declare const ListAgentsResponseFormatText$inboundSchema: z.ZodType<ListAgentsResponseFormatText, z.ZodTypeDef, unknown>;
1165
1174
  export declare function listAgentsResponseFormatTextFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatText, SDKValidationError>;
1166
1175
  /** @internal */
1167
- export declare const ListAgentsResponseFormat$inboundSchema: z.ZodType<ListAgentsResponseFormat, z.ZodTypeDef, unknown>;
1168
- export declare function listAgentsResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormat, SDKValidationError>;
1176
+ export declare const DataResponseFormat$inboundSchema: z.ZodType<DataResponseFormat, z.ZodTypeDef, unknown>;
1177
+ export declare function dataResponseFormatFromJSON(jsonString: string): SafeParseResult<DataResponseFormat, SDKValidationError>;
1169
1178
  /** @internal */
1170
- export declare const ListAgentsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ListAgentsReasoningEffort>;
1179
+ export declare const DataReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof DataReasoningEffort>;
1171
1180
  /** @internal */
1172
- export declare const ListAgentsStop$inboundSchema: z.ZodType<ListAgentsStop, z.ZodTypeDef, unknown>;
1173
- export declare function listAgentsStopFromJSON(jsonString: string): SafeParseResult<ListAgentsStop, SDKValidationError>;
1181
+ export declare const DataStop$inboundSchema: z.ZodType<DataStop, z.ZodTypeDef, unknown>;
1182
+ export declare function dataStopFromJSON(jsonString: string): SafeParseResult<DataStop, SDKValidationError>;
1174
1183
  /** @internal */
1175
- export declare const ListAgentsStreamOptions$inboundSchema: z.ZodType<ListAgentsStreamOptions, z.ZodTypeDef, unknown>;
1176
- export declare function listAgentsStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentsStreamOptions, SDKValidationError>;
1177
- /** @internal */
1178
- export declare const ListAgentsThinking$inboundSchema: z.ZodType<ListAgentsThinking, z.ZodTypeDef, unknown>;
1179
- export declare function listAgentsThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentsThinking, SDKValidationError>;
1184
+ export declare const DataThinking$inboundSchema: z.ZodType<DataThinking, z.ZodTypeDef, unknown>;
1185
+ export declare function dataThinkingFromJSON(jsonString: string): SafeParseResult<DataThinking, SDKValidationError>;
1180
1186
  /** @internal */
1181
1187
  export declare const ListAgentsToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceType>;
1182
1188
  /** @internal */
@@ -1188,31 +1194,28 @@ export declare function listAgentsToolChoice2FromJSON(jsonString: string): SafeP
1188
1194
  /** @internal */
1189
1195
  export declare const ListAgentsToolChoice1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoice1>;
1190
1196
  /** @internal */
1191
- export declare const ListAgentsToolChoice$inboundSchema: z.ZodType<ListAgentsToolChoice, z.ZodTypeDef, unknown>;
1192
- export declare function listAgentsToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoice, SDKValidationError>;
1197
+ export declare const DataToolChoice$inboundSchema: z.ZodType<DataToolChoice, z.ZodTypeDef, unknown>;
1198
+ export declare function dataToolChoiceFromJSON(jsonString: string): SafeParseResult<DataToolChoice, SDKValidationError>;
1193
1199
  /** @internal */
1194
- export declare const ListAgentsModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentsModalities>;
1200
+ export declare const DataModalities$inboundSchema: z.ZodNativeEnum<typeof DataModalities>;
1195
1201
  /** @internal */
1196
1202
  export declare const ListAgentsId1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsId1>;
1197
1203
  /** @internal */
1198
- export declare const ListAgentsId$inboundSchema: z.ZodType<ListAgentsId, z.ZodTypeDef, unknown>;
1199
- export declare function listAgentsIdFromJSON(jsonString: string): SafeParseResult<ListAgentsId, SDKValidationError>;
1200
- /** @internal */
1201
- export declare const ListAgentsAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsAgentsResponseExecuteOn>;
1204
+ export declare const DataId$inboundSchema: z.ZodType<DataId, z.ZodTypeDef, unknown>;
1205
+ export declare function dataIdFromJSON(jsonString: string): SafeParseResult<DataId, SDKValidationError>;
1202
1206
  /** @internal */
1203
- export declare const ListAgentsAgentsGuardrails$inboundSchema: z.ZodType<ListAgentsAgentsGuardrails, z.ZodTypeDef, unknown>;
1204
- export declare function listAgentsAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<ListAgentsAgentsGuardrails, SDKValidationError>;
1207
+ export declare const ListAgentsDataAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataAgentsExecuteOn>;
1205
1208
  /** @internal */
1206
- export declare const ListAgentsFallbacks$inboundSchema: z.ZodType<ListAgentsFallbacks, z.ZodTypeDef, unknown>;
1207
- export declare function listAgentsFallbacksFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbacks, SDKValidationError>;
1209
+ export declare const ListAgentsDataGuardrails$inboundSchema: z.ZodType<ListAgentsDataGuardrails, z.ZodTypeDef, unknown>;
1210
+ export declare function listAgentsDataGuardrailsFromJSON(jsonString: string): SafeParseResult<ListAgentsDataGuardrails, SDKValidationError>;
1208
1211
  /** @internal */
1209
- export declare const ListAgentsAgentsRetry$inboundSchema: z.ZodType<ListAgentsAgentsRetry, z.ZodTypeDef, unknown>;
1210
- export declare function listAgentsAgentsRetryFromJSON(jsonString: string): SafeParseResult<ListAgentsAgentsRetry, SDKValidationError>;
1212
+ export declare const DataFallbacks$inboundSchema: z.ZodType<DataFallbacks, z.ZodTypeDef, unknown>;
1213
+ export declare function dataFallbacksFromJSON(jsonString: string): SafeParseResult<DataFallbacks, SDKValidationError>;
1211
1214
  /** @internal */
1212
- export declare const ListAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsType>;
1215
+ export declare const ListAgentsDataAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataAgentsResponseType>;
1213
1216
  /** @internal */
1214
- export declare const ListAgentsCache$inboundSchema: z.ZodType<ListAgentsCache, z.ZodTypeDef, unknown>;
1215
- export declare function listAgentsCacheFromJSON(jsonString: string): SafeParseResult<ListAgentsCache, SDKValidationError>;
1217
+ export declare const DataCache$inboundSchema: z.ZodType<DataCache, z.ZodTypeDef, unknown>;
1218
+ export declare function dataCacheFromJSON(jsonString: string): SafeParseResult<DataCache, SDKValidationError>;
1216
1219
  /** @internal */
1217
1220
  export declare const ListAgentsLoadBalancerType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsLoadBalancerType>;
1218
1221
  /** @internal */
@@ -1222,24 +1225,17 @@ export declare function listAgentsLoadBalancerModelsFromJSON(jsonString: string)
1222
1225
  export declare const ListAgentsLoadBalancer1$inboundSchema: z.ZodType<ListAgentsLoadBalancer1, z.ZodTypeDef, unknown>;
1223
1226
  export declare function listAgentsLoadBalancer1FromJSON(jsonString: string): SafeParseResult<ListAgentsLoadBalancer1, SDKValidationError>;
1224
1227
  /** @internal */
1225
- export declare const ListAgentsLoadBalancer$inboundSchema: z.ZodType<ListAgentsLoadBalancer, z.ZodTypeDef, unknown>;
1226
- export declare function listAgentsLoadBalancerFromJSON(jsonString: string): SafeParseResult<ListAgentsLoadBalancer, SDKValidationError>;
1228
+ export declare const DataLoadBalancer$inboundSchema: z.ZodType<DataLoadBalancer, z.ZodTypeDef, unknown>;
1229
+ export declare function dataLoadBalancerFromJSON(jsonString: string): SafeParseResult<DataLoadBalancer, SDKValidationError>;
1227
1230
  /** @internal */
1228
- export declare const ListAgentsTimeout$inboundSchema: z.ZodType<ListAgentsTimeout, z.ZodTypeDef, unknown>;
1229
- export declare function listAgentsTimeoutFromJSON(jsonString: string): SafeParseResult<ListAgentsTimeout, SDKValidationError>;
1231
+ export declare const DataTimeout$inboundSchema: z.ZodType<DataTimeout, z.ZodTypeDef, unknown>;
1232
+ export declare function dataTimeoutFromJSON(jsonString: string): SafeParseResult<DataTimeout, SDKValidationError>;
1230
1233
  /** @internal */
1231
- export declare const ListAgentsParameters$inboundSchema: z.ZodType<ListAgentsParameters, z.ZodTypeDef, unknown>;
1232
- export declare function listAgentsParametersFromJSON(jsonString: string): SafeParseResult<ListAgentsParameters, SDKValidationError>;
1234
+ export declare const DataParameters$inboundSchema: z.ZodType<DataParameters, z.ZodTypeDef, unknown>;
1235
+ export declare function dataParametersFromJSON(jsonString: string): SafeParseResult<DataParameters, SDKValidationError>;
1233
1236
  /** @internal */
1234
- export declare const ListAgentsRetry$inboundSchema: z.ZodType<ListAgentsRetry, z.ZodTypeDef, unknown>;
1235
- export declare function listAgentsRetryFromJSON(jsonString: string): SafeParseResult<ListAgentsRetry, SDKValidationError>;
1236
- /** @internal */
1237
- export declare const ListAgentsFallbackModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationVoice>;
1238
- /** @internal */
1239
- export declare const ListAgentsFallbackModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationFormat>;
1240
- /** @internal */
1241
- export declare const ListAgentsFallbackModelConfigurationAudio$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
1242
- export declare function listAgentsFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationAudio, SDKValidationError>;
1237
+ export declare const DataRetry$inboundSchema: z.ZodType<DataRetry, z.ZodTypeDef, unknown>;
1238
+ export declare function dataRetryFromJSON(jsonString: string): SafeParseResult<DataRetry, SDKValidationError>;
1243
1239
  /** @internal */
1244
1240
  export declare const ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
1245
1241
  export declare function listAgentsResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
@@ -1261,9 +1257,6 @@ export declare const ListAgentsFallbackModelConfigurationReasoningEffort$inbound
1261
1257
  export declare const ListAgentsFallbackModelConfigurationStop$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
1262
1258
  export declare function listAgentsFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationStop, SDKValidationError>;
1263
1259
  /** @internal */
1264
- export declare const ListAgentsFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
1265
- export declare function listAgentsFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationStreamOptions, SDKValidationError>;
1266
- /** @internal */
1267
1260
  export declare const ListAgentsFallbackModelConfigurationThinking$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
1268
1261
  export declare function listAgentsFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationThinking, SDKValidationError>;
1269
1262
  /** @internal */
@@ -1295,9 +1288,6 @@ export declare function listAgentsFallbackModelConfigurationGuardrailsFromJSON(j
1295
1288
  export declare const ListAgentsFallbackModelConfigurationFallbacks$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationFallbacks, z.ZodTypeDef, unknown>;
1296
1289
  export declare function listAgentsFallbackModelConfigurationFallbacksFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationFallbacks, SDKValidationError>;
1297
1290
  /** @internal */
1298
- export declare const ListAgentsFallbackModelConfigurationAgentsRetry$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationAgentsRetry, z.ZodTypeDef, unknown>;
1299
- export declare function listAgentsFallbackModelConfigurationAgentsRetryFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfigurationAgentsRetry, SDKValidationError>;
1300
- /** @internal */
1301
1291
  export declare const ListAgentsFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationType>;
1302
1292
  /** @internal */
1303
1293
  export declare const ListAgentsFallbackModelConfigurationCache$inboundSchema: z.ZodType<ListAgentsFallbackModelConfigurationCache, z.ZodTypeDef, unknown>;
@@ -1326,22 +1316,14 @@ export declare function listAgentsFallbackModelConfigurationRetryFromJSON(jsonSt
1326
1316
  export declare const ListAgentsFallbackModelConfiguration2$inboundSchema: z.ZodType<ListAgentsFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
1327
1317
  export declare function listAgentsFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfiguration2, SDKValidationError>;
1328
1318
  /** @internal */
1329
- export declare const ListAgentsFallbackModelConfiguration$inboundSchema: z.ZodType<ListAgentsFallbackModelConfiguration, z.ZodTypeDef, unknown>;
1330
- export declare function listAgentsFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfiguration, SDKValidationError>;
1331
- /** @internal */
1332
- export declare const ListAgentsModel$inboundSchema: z.ZodType<ListAgentsModel, z.ZodTypeDef, unknown>;
1333
- export declare function listAgentsModelFromJSON(jsonString: string): SafeParseResult<ListAgentsModel, SDKValidationError>;
1334
- /** @internal */
1335
- export declare const ListAgentsTeamOfAgents$inboundSchema: z.ZodType<ListAgentsTeamOfAgents, z.ZodTypeDef, unknown>;
1336
- export declare function listAgentsTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<ListAgentsTeamOfAgents, SDKValidationError>;
1337
- /** @internal */
1338
- export declare const ListAgentsMetrics$inboundSchema: z.ZodType<ListAgentsMetrics, z.ZodTypeDef, unknown>;
1339
- export declare function listAgentsMetricsFromJSON(jsonString: string): SafeParseResult<ListAgentsMetrics, SDKValidationError>;
1319
+ export declare const DataFallbackModelConfiguration$inboundSchema: z.ZodType<DataFallbackModelConfiguration, z.ZodTypeDef, unknown>;
1320
+ export declare function dataFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<DataFallbackModelConfiguration, SDKValidationError>;
1340
1321
  /** @internal */
1341
- export declare const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<ListAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
1342
- export declare function listAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<ListAgentsKnowledgeBases, SDKValidationError>;
1322
+ export declare const DataModel$inboundSchema: z.ZodType<DataModel, z.ZodTypeDef, unknown>;
1323
+ export declare function dataModelFromJSON(jsonString: string): SafeParseResult<DataModel, SDKValidationError>;
1343
1324
  /** @internal */
1344
- export declare const ListAgentsSource$inboundSchema: z.ZodNativeEnum<typeof ListAgentsSource>;
1325
+ export declare const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown>;
1326
+ export declare function data1FromJSON(jsonString: string): SafeParseResult<Data1, SDKValidationError>;
1345
1327
  /** @internal */
1346
1328
  export declare const ListAgentsData$inboundSchema: z.ZodType<ListAgentsData, z.ZodTypeDef, unknown>;
1347
1329
  export declare function listAgentsDataFromJSON(jsonString: string): SafeParseResult<ListAgentsData, SDKValidationError>;