@azure/ai-projects 2.1.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1189) hide show
  1. package/README.md +208 -41
  2. package/dist/browser/aiProjectClient.d.ts +9 -2
  3. package/dist/browser/aiProjectClient.d.ts.map +1 -1
  4. package/dist/browser/aiProjectClient.js +20 -9
  5. package/dist/browser/aiProjectClient.js.map +1 -1
  6. package/dist/browser/api/agents/index.d.ts +2 -2
  7. package/dist/browser/api/agents/index.d.ts.map +1 -1
  8. package/dist/browser/api/agents/index.js +1 -1
  9. package/dist/browser/api/agents/index.js.map +1 -1
  10. package/dist/browser/api/agents/operations.d.ts +157 -20
  11. package/dist/browser/api/agents/operations.d.ts.map +1 -1
  12. package/dist/browser/api/agents/operations.js +694 -47
  13. package/dist/browser/api/agents/operations.js.map +1 -1
  14. package/dist/browser/api/agents/options.d.ts +113 -3
  15. package/dist/browser/api/agents/options.d.ts.map +1 -1
  16. package/dist/browser/api/agents/options.js.map +1 -1
  17. package/dist/browser/api/aiProjectContext.d.ts +9 -0
  18. package/dist/browser/api/aiProjectContext.d.ts.map +1 -1
  19. package/dist/browser/api/aiProjectContext.js +3 -3
  20. package/dist/browser/api/aiProjectContext.js.map +1 -1
  21. package/dist/browser/api/beta/agents/index.d.ts +2 -2
  22. package/dist/browser/api/beta/agents/index.d.ts.map +1 -1
  23. package/dist/browser/api/beta/agents/index.js +1 -1
  24. package/dist/browser/api/beta/agents/index.js.map +1 -1
  25. package/dist/browser/api/beta/agents/operations.d.ts +22 -54
  26. package/dist/browser/api/beta/agents/operations.d.ts.map +1 -1
  27. package/dist/browser/api/beta/agents/operations.js +68 -236
  28. package/dist/browser/api/beta/agents/operations.js.map +1 -1
  29. package/dist/browser/api/beta/agents/options.d.ts +17 -39
  30. package/dist/browser/api/beta/agents/options.d.ts.map +1 -1
  31. package/dist/browser/api/beta/agents/options.js.map +1 -1
  32. package/dist/browser/api/beta/datasets/index.d.ts +3 -0
  33. package/dist/browser/api/beta/datasets/index.d.ts.map +1 -0
  34. package/dist/browser/api/beta/datasets/index.js +4 -0
  35. package/dist/browser/api/beta/datasets/index.js.map +1 -0
  36. package/dist/browser/api/beta/datasets/operations.d.ts +26 -0
  37. package/dist/browser/api/beta/datasets/operations.d.ts.map +1 -0
  38. package/dist/browser/api/beta/datasets/operations.js +180 -0
  39. package/dist/browser/api/beta/datasets/operations.js.map +1 -0
  40. package/dist/browser/api/beta/datasets/options.d.ts +56 -0
  41. package/dist/browser/api/beta/datasets/options.d.ts.map +1 -0
  42. package/dist/browser/api/beta/datasets/options.js.map +1 -0
  43. package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts +8 -8
  44. package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
  45. package/dist/browser/api/beta/evaluationTaxonomies/operations.js +12 -21
  46. package/dist/browser/api/beta/evaluationTaxonomies/operations.js.map +1 -1
  47. package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts +0 -6
  48. package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
  49. package/dist/browser/api/beta/evaluationTaxonomies/options.js.map +1 -1
  50. package/dist/browser/api/beta/evaluators/index.d.ts +2 -2
  51. package/dist/browser/api/beta/evaluators/index.d.ts.map +1 -1
  52. package/dist/browser/api/beta/evaluators/index.js +1 -1
  53. package/dist/browser/api/beta/evaluators/index.js.map +1 -1
  54. package/dist/browser/api/beta/evaluators/operations.d.ts +48 -9
  55. package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -1
  56. package/dist/browser/api/beta/evaluators/operations.js +251 -7
  57. package/dist/browser/api/beta/evaluators/operations.js.map +1 -1
  58. package/dist/browser/api/beta/evaluators/options.d.ts +62 -1
  59. package/dist/browser/api/beta/evaluators/options.d.ts.map +1 -1
  60. package/dist/browser/api/beta/evaluators/options.js.map +1 -1
  61. package/dist/browser/api/beta/insights/index.d.ts +1 -1
  62. package/dist/browser/api/beta/insights/index.d.ts.map +1 -1
  63. package/dist/browser/api/beta/insights/index.js.map +1 -1
  64. package/dist/browser/api/beta/insights/operations.d.ts +6 -6
  65. package/dist/browser/api/beta/insights/operations.d.ts.map +1 -1
  66. package/dist/browser/api/beta/insights/operations.js +18 -15
  67. package/dist/browser/api/beta/insights/operations.js.map +1 -1
  68. package/dist/browser/api/beta/insights/options.d.ts +14 -5
  69. package/dist/browser/api/beta/insights/options.d.ts.map +1 -1
  70. package/dist/browser/api/beta/insights/options.js.map +1 -1
  71. package/dist/browser/api/beta/memoryStores/index.d.ts +2 -2
  72. package/dist/browser/api/beta/memoryStores/index.d.ts.map +1 -1
  73. package/dist/browser/api/beta/memoryStores/index.js +1 -1
  74. package/dist/browser/api/beta/memoryStores/index.js.map +1 -1
  75. package/dist/browser/api/beta/memoryStores/operations.d.ts +34 -11
  76. package/dist/browser/api/beta/memoryStores/operations.d.ts.map +1 -1
  77. package/dist/browser/api/beta/memoryStores/operations.js +223 -20
  78. package/dist/browser/api/beta/memoryStores/operations.js.map +1 -1
  79. package/dist/browser/api/beta/memoryStores/options.d.ts +40 -1
  80. package/dist/browser/api/beta/memoryStores/options.d.ts.map +1 -1
  81. package/dist/browser/api/beta/memoryStores/options.js.map +1 -1
  82. package/dist/browser/api/beta/models/index.d.ts +3 -0
  83. package/dist/browser/api/beta/models/index.d.ts.map +1 -0
  84. package/dist/browser/api/beta/models/index.js +4 -0
  85. package/dist/browser/api/beta/models/index.js.map +1 -0
  86. package/dist/browser/api/beta/models/operations.d.ts +45 -0
  87. package/dist/browser/api/beta/models/operations.d.ts.map +1 -0
  88. package/dist/browser/api/beta/models/operations.js +305 -0
  89. package/dist/browser/api/beta/models/operations.js.map +1 -0
  90. package/dist/browser/api/beta/models/options.d.ts +42 -0
  91. package/dist/browser/api/beta/models/options.d.ts.map +1 -0
  92. package/dist/browser/api/beta/models/options.js.map +1 -0
  93. package/dist/browser/api/beta/redTeams/operations.d.ts +3 -3
  94. package/dist/browser/api/beta/redTeams/operations.d.ts.map +1 -1
  95. package/dist/browser/api/beta/redTeams/operations.js +6 -10
  96. package/dist/browser/api/beta/redTeams/operations.js.map +1 -1
  97. package/dist/browser/api/beta/redTeams/options.d.ts +0 -4
  98. package/dist/browser/api/beta/redTeams/options.d.ts.map +1 -1
  99. package/dist/browser/api/beta/redTeams/options.js.map +1 -1
  100. package/dist/browser/api/beta/routines/index.d.ts +3 -0
  101. package/dist/browser/api/beta/routines/index.d.ts.map +1 -0
  102. package/dist/browser/api/beta/routines/index.js +4 -0
  103. package/dist/browser/api/beta/routines/index.js.map +1 -0
  104. package/dist/browser/api/beta/routines/operations.d.ts +38 -0
  105. package/dist/browser/api/beta/routines/operations.d.ts.map +1 -0
  106. package/dist/browser/api/beta/routines/operations.js +304 -0
  107. package/dist/browser/api/beta/routines/operations.js.map +1 -0
  108. package/dist/browser/api/beta/routines/options.d.ts +71 -0
  109. package/dist/browser/api/beta/routines/options.d.ts.map +1 -0
  110. package/dist/browser/api/beta/routines/options.js.map +1 -0
  111. package/dist/browser/api/beta/schedules/operations.d.ts +14 -14
  112. package/dist/browser/api/beta/schedules/operations.d.ts.map +1 -1
  113. package/dist/browser/api/beta/schedules/operations.js +25 -38
  114. package/dist/browser/api/beta/schedules/operations.js.map +1 -1
  115. package/dist/browser/api/beta/schedules/options.d.ts +0 -10
  116. package/dist/browser/api/beta/schedules/options.d.ts.map +1 -1
  117. package/dist/browser/api/beta/schedules/options.js.map +1 -1
  118. package/dist/browser/api/beta/skills/index.d.ts +2 -2
  119. package/dist/browser/api/beta/skills/index.d.ts.map +1 -1
  120. package/dist/browser/api/beta/skills/index.js +1 -1
  121. package/dist/browser/api/beta/skills/index.js.map +1 -1
  122. package/dist/browser/api/beta/skills/operations.d.ts +44 -28
  123. package/dist/browser/api/beta/skills/operations.d.ts.map +1 -1
  124. package/dist/browser/api/beta/skills/operations.js +242 -91
  125. package/dist/browser/api/beta/skills/operations.js.map +1 -1
  126. package/dist/browser/api/beta/skills/options.d.ts +44 -32
  127. package/dist/browser/api/beta/skills/options.d.ts.map +1 -1
  128. package/dist/browser/api/beta/skills/options.js.map +1 -1
  129. package/dist/browser/api/connections/options.d.ts +2 -2
  130. package/dist/browser/api/connections/options.d.ts.map +1 -1
  131. package/dist/browser/api/connections/options.js.map +1 -1
  132. package/dist/browser/api/deployments/operations.d.ts +1 -1
  133. package/dist/browser/api/deployments/operations.d.ts.map +1 -1
  134. package/dist/browser/api/deployments/operations.js +1 -1
  135. package/dist/browser/api/deployments/operations.js.map +1 -1
  136. package/dist/browser/api/evaluationRules/operations.d.ts +4 -4
  137. package/dist/browser/api/evaluationRules/operations.d.ts.map +1 -1
  138. package/dist/browser/api/evaluationRules/operations.js +7 -4
  139. package/dist/browser/api/evaluationRules/operations.js.map +1 -1
  140. package/dist/browser/api/evaluationRules/options.d.ts +2 -0
  141. package/dist/browser/api/evaluationRules/options.d.ts.map +1 -1
  142. package/dist/browser/api/evaluationRules/options.js.map +1 -1
  143. package/dist/browser/api/toolboxes/index.d.ts +3 -0
  144. package/dist/browser/api/toolboxes/index.d.ts.map +1 -0
  145. package/dist/browser/api/toolboxes/index.js.map +1 -0
  146. package/dist/browser/api/toolboxes/operations.d.ts +38 -0
  147. package/dist/browser/api/toolboxes/operations.d.ts.map +1 -0
  148. package/dist/browser/api/toolboxes/operations.js +262 -0
  149. package/dist/browser/api/toolboxes/operations.js.map +1 -0
  150. package/dist/browser/api/{beta/toolboxes → toolboxes}/options.d.ts +11 -9
  151. package/dist/browser/api/toolboxes/options.d.ts.map +1 -0
  152. package/dist/browser/api/toolboxes/options.js +4 -0
  153. package/dist/browser/api/toolboxes/options.js.map +1 -0
  154. package/dist/browser/classic/agents/index.d.ts +113 -6
  155. package/dist/browser/classic/agents/index.d.ts.map +1 -1
  156. package/dist/browser/classic/agents/index.js +25 -10
  157. package/dist/browser/classic/agents/index.js.map +1 -1
  158. package/dist/browser/classic/beta/agents/index.d.ts +12 -36
  159. package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
  160. package/dist/browser/classic/beta/agents/index.js +6 -10
  161. package/dist/browser/classic/beta/agents/index.js.map +1 -1
  162. package/dist/browser/classic/beta/datasets/index.d.ts +19 -0
  163. package/dist/browser/classic/beta/datasets/index.d.ts.map +1 -0
  164. package/dist/browser/classic/beta/datasets/index.js +18 -0
  165. package/dist/browser/classic/beta/datasets/index.js.map +1 -0
  166. package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts +6 -6
  167. package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
  168. package/dist/browser/classic/beta/evaluationTaxonomies/index.js +2 -2
  169. package/dist/browser/classic/beta/evaluationTaxonomies/index.js.map +1 -1
  170. package/dist/browser/classic/beta/evaluators/index.d.ts +33 -8
  171. package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -1
  172. package/dist/browser/classic/beta/evaluators/index.js +8 -1
  173. package/dist/browser/classic/beta/evaluators/index.js.map +1 -1
  174. package/dist/browser/classic/beta/index.d.ts +9 -3
  175. package/dist/browser/classic/beta/index.d.ts.map +1 -1
  176. package/dist/browser/classic/beta/index.js +9 -3
  177. package/dist/browser/classic/beta/index.js.map +1 -1
  178. package/dist/browser/classic/beta/insights/index.d.ts +5 -5
  179. package/dist/browser/classic/beta/insights/index.d.ts.map +1 -1
  180. package/dist/browser/classic/beta/insights/index.js.map +1 -1
  181. package/dist/browser/classic/beta/memoryStores/index.d.ts +24 -11
  182. package/dist/browser/classic/beta/memoryStores/index.d.ts.map +1 -1
  183. package/dist/browser/classic/beta/memoryStores/index.js +6 -1
  184. package/dist/browser/classic/beta/memoryStores/index.js.map +1 -1
  185. package/dist/browser/classic/beta/models/index.d.ts +27 -0
  186. package/dist/browser/classic/beta/models/index.d.ts.map +1 -0
  187. package/dist/browser/classic/beta/models/index.js +21 -0
  188. package/dist/browser/classic/beta/models/index.js.map +1 -0
  189. package/dist/browser/classic/beta/redTeams/index.d.ts +3 -3
  190. package/dist/browser/classic/beta/redTeams/index.d.ts.map +1 -1
  191. package/dist/browser/classic/beta/redTeams/index.js.map +1 -1
  192. package/dist/browser/classic/beta/routines/index.d.ts +25 -0
  193. package/dist/browser/classic/beta/routines/index.d.ts.map +1 -0
  194. package/dist/browser/classic/beta/routines/index.js +21 -0
  195. package/dist/browser/classic/beta/routines/index.js.map +1 -0
  196. package/dist/browser/classic/beta/schedules/index.d.ts +4 -4
  197. package/dist/browser/classic/beta/schedules/index.d.ts.map +1 -1
  198. package/dist/browser/classic/beta/schedules/index.js +4 -4
  199. package/dist/browser/classic/beta/schedules/index.js.map +1 -1
  200. package/dist/browser/classic/beta/skills/index.d.ts +21 -13
  201. package/dist/browser/classic/beta/skills/index.d.ts.map +1 -1
  202. package/dist/browser/classic/beta/skills/index.js +11 -7
  203. package/dist/browser/classic/beta/skills/index.js.map +1 -1
  204. package/dist/browser/classic/deployments/index.d.ts +1 -1
  205. package/dist/browser/classic/deployments/index.d.ts.map +1 -1
  206. package/dist/browser/classic/deployments/index.js.map +1 -1
  207. package/dist/browser/classic/index.d.ts +4 -1
  208. package/dist/browser/classic/index.d.ts.map +1 -1
  209. package/dist/browser/classic/index.js.map +1 -1
  210. package/dist/browser/classic/toolboxes/index.d.ts +25 -0
  211. package/dist/browser/classic/toolboxes/index.d.ts.map +1 -0
  212. package/dist/browser/classic/toolboxes/index.js +21 -0
  213. package/dist/browser/classic/toolboxes/index.js.map +1 -0
  214. package/dist/browser/constants.d.ts +1 -1
  215. package/dist/browser/constants.js +1 -1
  216. package/dist/browser/constants.js.map +1 -1
  217. package/dist/browser/index.d.ts +21 -11
  218. package/dist/browser/index.d.ts.map +1 -1
  219. package/dist/browser/index.js +1 -0
  220. package/dist/browser/index.js.map +1 -1
  221. package/dist/browser/models/index.d.ts +1 -1
  222. package/dist/browser/models/index.d.ts.map +1 -1
  223. package/dist/browser/models/index.js.map +1 -1
  224. package/dist/browser/models/models.d.ts +1993 -339
  225. package/dist/browser/models/models.d.ts.map +1 -1
  226. package/dist/browser/models/models.js +3251 -1066
  227. package/dist/browser/models/models.js.map +1 -1
  228. package/dist/browser/overwriteOpenAIClient.d.ts +2 -1
  229. package/dist/browser/overwriteOpenAIClient.d.ts.map +1 -1
  230. package/dist/browser/overwriteOpenAIClient.js +48 -4
  231. package/dist/browser/overwriteOpenAIClient.js.map +1 -1
  232. package/dist/browser/static-helpers/multipartHelpers.d.ts +18 -0
  233. package/dist/browser/static-helpers/multipartHelpers.d.ts.map +1 -0
  234. package/dist/browser/static-helpers/multipartHelpers.js +20 -0
  235. package/dist/browser/static-helpers/multipartHelpers.js.map +1 -0
  236. package/dist/browser/static-helpers/platform-types-browser.d.mts +6 -0
  237. package/dist/browser/static-helpers/platform-types-browser.d.mts.map +1 -0
  238. package/dist/browser/static-helpers/platform-types-browser.mjs +4 -0
  239. package/dist/browser/static-helpers/platform-types-browser.mjs.map +1 -0
  240. package/dist/browser/static-helpers/platform-types.d.ts +6 -0
  241. package/dist/browser/static-helpers/platform-types.d.ts.map +1 -0
  242. package/dist/browser/static-helpers/platform-types.js +4 -0
  243. package/dist/browser/static-helpers/platform-types.js.map +1 -0
  244. package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts +2 -1
  245. package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
  246. package/dist/browser/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
  247. package/dist/browser/static-helpers/serialization/serialize-record.js +2 -2
  248. package/dist/browser/static-helpers/serialization/serialize-record.js.map +1 -1
  249. package/dist/browser/static-helpers/urlTemplate.js +7 -7
  250. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  251. package/dist/browser/tracing/attributes.d.ts +62 -0
  252. package/dist/browser/tracing/attributes.d.ts.map +1 -0
  253. package/dist/browser/tracing/attributes.js +230 -0
  254. package/dist/browser/tracing/attributes.js.map +1 -0
  255. package/dist/browser/tracing/configuration.d.ts +60 -0
  256. package/dist/browser/tracing/configuration.d.ts.map +1 -0
  257. package/dist/browser/tracing/configuration.js +67 -0
  258. package/dist/browser/tracing/configuration.js.map +1 -0
  259. package/dist/browser/tracing/constants.d.ts +55 -0
  260. package/dist/browser/tracing/constants.d.ts.map +1 -0
  261. package/dist/browser/tracing/constants.js +75 -0
  262. package/dist/browser/tracing/constants.js.map +1 -0
  263. package/dist/browser/tracing/formatters.d.ts +11 -0
  264. package/dist/browser/tracing/formatters.d.ts.map +1 -0
  265. package/dist/browser/tracing/formatters.js +251 -0
  266. package/dist/browser/tracing/formatters.js.map +1 -0
  267. package/dist/browser/tracing/metrics.d.ts +22 -0
  268. package/dist/browser/tracing/metrics.d.ts.map +1 -0
  269. package/dist/browser/tracing/metrics.js +77 -0
  270. package/dist/browser/tracing/metrics.js.map +1 -0
  271. package/dist/browser/tracing/responseTracing.d.ts +4 -0
  272. package/dist/browser/tracing/responseTracing.d.ts.map +1 -0
  273. package/dist/browser/tracing/responseTracing.js +223 -0
  274. package/dist/browser/tracing/responseTracing.js.map +1 -0
  275. package/dist/browser/tracing/tracingClient.d.ts +22 -0
  276. package/dist/browser/tracing/tracingClient.d.ts.map +1 -0
  277. package/dist/browser/tracing/tracingClient.js +37 -0
  278. package/dist/browser/tracing/tracingClient.js.map +1 -0
  279. package/dist/browser/tracing/tracingFetch.d.ts +14 -0
  280. package/dist/browser/tracing/tracingFetch.d.ts.map +1 -0
  281. package/dist/browser/tracing/tracingFetch.js +30 -0
  282. package/dist/browser/tracing/tracingFetch.js.map +1 -0
  283. package/dist/commonjs/aiProjectClient.d.ts +9 -2
  284. package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
  285. package/dist/commonjs/aiProjectClient.js +14 -7
  286. package/dist/commonjs/aiProjectClient.js.map +2 -2
  287. package/dist/commonjs/api/agents/index.d.ts +2 -2
  288. package/dist/commonjs/api/agents/index.d.ts.map +1 -1
  289. package/dist/commonjs/api/agents/index.js +32 -2
  290. package/dist/commonjs/api/agents/index.js.map +2 -2
  291. package/dist/commonjs/api/agents/operations.d.ts +157 -20
  292. package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
  293. package/dist/commonjs/api/agents/operations.js +801 -54
  294. package/dist/commonjs/api/agents/operations.js.map +2 -2
  295. package/dist/commonjs/api/agents/options.d.ts +113 -3
  296. package/dist/commonjs/api/agents/options.d.ts.map +1 -1
  297. package/dist/commonjs/api/agents/options.js.map +1 -1
  298. package/dist/commonjs/api/aiProjectContext.d.ts +9 -0
  299. package/dist/commonjs/api/aiProjectContext.d.ts.map +1 -1
  300. package/dist/commonjs/api/aiProjectContext.js +2 -2
  301. package/dist/commonjs/api/aiProjectContext.js.map +2 -2
  302. package/dist/commonjs/api/beta/agents/index.d.ts +2 -2
  303. package/dist/commonjs/api/beta/agents/index.d.ts.map +1 -1
  304. package/dist/commonjs/api/beta/agents/index.js +10 -18
  305. package/dist/commonjs/api/beta/agents/index.js.map +2 -2
  306. package/dist/commonjs/api/beta/agents/operations.d.ts +22 -54
  307. package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -1
  308. package/dist/commonjs/api/beta/agents/operations.js +94 -291
  309. package/dist/commonjs/api/beta/agents/operations.js.map +2 -2
  310. package/dist/commonjs/api/beta/agents/options.d.ts +17 -39
  311. package/dist/commonjs/api/beta/agents/options.d.ts.map +1 -1
  312. package/dist/commonjs/api/beta/agents/options.js.map +1 -1
  313. package/dist/commonjs/api/beta/datasets/index.d.ts +3 -0
  314. package/dist/commonjs/api/beta/datasets/index.d.ts.map +1 -0
  315. package/dist/commonjs/api/beta/datasets/index.js +36 -0
  316. package/dist/commonjs/api/beta/datasets/index.js.map +7 -0
  317. package/dist/commonjs/api/beta/datasets/operations.d.ts +26 -0
  318. package/dist/commonjs/api/beta/datasets/operations.d.ts.map +1 -0
  319. package/dist/commonjs/api/beta/datasets/operations.js +243 -0
  320. package/dist/commonjs/api/beta/datasets/operations.js.map +7 -0
  321. package/dist/commonjs/api/beta/datasets/options.d.ts +56 -0
  322. package/dist/commonjs/api/beta/datasets/options.d.ts.map +1 -0
  323. package/dist/commonjs/api/beta/datasets/options.js.map +7 -0
  324. package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts +8 -8
  325. package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
  326. package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js +8 -11
  327. package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js.map +2 -2
  328. package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts +0 -6
  329. package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
  330. package/dist/commonjs/api/beta/evaluationTaxonomies/options.js.map +1 -1
  331. package/dist/commonjs/api/beta/evaluators/index.d.ts +2 -2
  332. package/dist/commonjs/api/beta/evaluators/index.d.ts.map +1 -1
  333. package/dist/commonjs/api/beta/evaluators/index.js +14 -0
  334. package/dist/commonjs/api/beta/evaluators/index.js.map +2 -2
  335. package/dist/commonjs/api/beta/evaluators/operations.d.ts +48 -9
  336. package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -1
  337. package/dist/commonjs/api/beta/evaluators/operations.js +302 -0
  338. package/dist/commonjs/api/beta/evaluators/operations.js.map +2 -2
  339. package/dist/commonjs/api/beta/evaluators/options.d.ts +62 -1
  340. package/dist/commonjs/api/beta/evaluators/options.d.ts.map +1 -1
  341. package/dist/commonjs/api/beta/evaluators/options.js.map +1 -1
  342. package/dist/commonjs/api/beta/insights/index.d.ts +1 -1
  343. package/dist/commonjs/api/beta/insights/index.d.ts.map +1 -1
  344. package/dist/commonjs/api/beta/insights/index.js.map +1 -1
  345. package/dist/commonjs/api/beta/insights/operations.d.ts +6 -6
  346. package/dist/commonjs/api/beta/insights/operations.d.ts.map +1 -1
  347. package/dist/commonjs/api/beta/insights/operations.js +14 -7
  348. package/dist/commonjs/api/beta/insights/operations.js.map +2 -2
  349. package/dist/commonjs/api/beta/insights/options.d.ts +14 -5
  350. package/dist/commonjs/api/beta/insights/options.d.ts.map +1 -1
  351. package/dist/commonjs/api/beta/insights/options.js.map +1 -1
  352. package/dist/commonjs/api/beta/memoryStores/index.d.ts +2 -2
  353. package/dist/commonjs/api/beta/memoryStores/index.d.ts.map +1 -1
  354. package/dist/commonjs/api/beta/memoryStores/index.js +12 -2
  355. package/dist/commonjs/api/beta/memoryStores/index.js.map +2 -2
  356. package/dist/commonjs/api/beta/memoryStores/operations.d.ts +34 -11
  357. package/dist/commonjs/api/beta/memoryStores/operations.d.ts.map +1 -1
  358. package/dist/commonjs/api/beta/memoryStores/operations.js +261 -12
  359. package/dist/commonjs/api/beta/memoryStores/operations.js.map +2 -2
  360. package/dist/commonjs/api/beta/memoryStores/options.d.ts +40 -1
  361. package/dist/commonjs/api/beta/memoryStores/options.d.ts.map +1 -1
  362. package/dist/commonjs/api/beta/memoryStores/options.js.map +1 -1
  363. package/dist/commonjs/api/beta/models/index.d.ts +3 -0
  364. package/dist/commonjs/api/beta/models/index.d.ts.map +1 -0
  365. package/dist/commonjs/api/beta/models/index.js +42 -0
  366. package/dist/commonjs/api/beta/models/index.js.map +7 -0
  367. package/dist/commonjs/api/beta/models/operations.d.ts +45 -0
  368. package/dist/commonjs/api/beta/models/operations.d.ts.map +1 -0
  369. package/dist/commonjs/api/beta/models/operations.js +420 -0
  370. package/dist/commonjs/api/beta/models/operations.js.map +7 -0
  371. package/dist/commonjs/api/beta/models/options.d.ts +42 -0
  372. package/dist/commonjs/api/beta/models/options.d.ts.map +1 -0
  373. package/dist/commonjs/api/beta/models/options.js +16 -0
  374. package/dist/commonjs/api/beta/models/options.js.map +7 -0
  375. package/dist/commonjs/api/beta/redTeams/operations.d.ts +3 -3
  376. package/dist/commonjs/api/beta/redTeams/operations.d.ts.map +1 -1
  377. package/dist/commonjs/api/beta/redTeams/operations.js +3 -3
  378. package/dist/commonjs/api/beta/redTeams/operations.js.map +2 -2
  379. package/dist/commonjs/api/beta/redTeams/options.d.ts +0 -4
  380. package/dist/commonjs/api/beta/redTeams/options.d.ts.map +1 -1
  381. package/dist/commonjs/api/beta/redTeams/options.js.map +1 -1
  382. package/dist/commonjs/api/beta/routines/index.d.ts +3 -0
  383. package/dist/commonjs/api/beta/routines/index.d.ts.map +1 -0
  384. package/dist/commonjs/api/beta/routines/index.js +42 -0
  385. package/dist/commonjs/api/beta/routines/index.js.map +7 -0
  386. package/dist/commonjs/api/beta/routines/operations.d.ts +38 -0
  387. package/dist/commonjs/api/beta/routines/operations.d.ts.map +1 -0
  388. package/dist/commonjs/api/beta/routines/operations.js +406 -0
  389. package/dist/commonjs/api/beta/routines/operations.js.map +7 -0
  390. package/dist/commonjs/api/beta/routines/options.d.ts +71 -0
  391. package/dist/commonjs/api/beta/routines/options.d.ts.map +1 -0
  392. package/dist/commonjs/api/beta/routines/options.js +16 -0
  393. package/dist/commonjs/api/beta/routines/options.js.map +7 -0
  394. package/dist/commonjs/api/beta/schedules/operations.d.ts +14 -14
  395. package/dist/commonjs/api/beta/schedules/operations.d.ts.map +1 -1
  396. package/dist/commonjs/api/beta/schedules/operations.js +19 -22
  397. package/dist/commonjs/api/beta/schedules/operations.js.map +2 -2
  398. package/dist/commonjs/api/beta/schedules/options.d.ts +0 -10
  399. package/dist/commonjs/api/beta/schedules/options.d.ts.map +1 -1
  400. package/dist/commonjs/api/beta/schedules/options.js.map +1 -1
  401. package/dist/commonjs/api/beta/skills/index.d.ts +2 -2
  402. package/dist/commonjs/api/beta/skills/index.d.ts.map +1 -1
  403. package/dist/commonjs/api/beta/skills/index.js +10 -2
  404. package/dist/commonjs/api/beta/skills/index.js.map +2 -2
  405. package/dist/commonjs/api/beta/skills/operations.d.ts +44 -28
  406. package/dist/commonjs/api/beta/skills/operations.d.ts.map +1 -1
  407. package/dist/commonjs/api/beta/skills/operations.js +284 -93
  408. package/dist/commonjs/api/beta/skills/operations.js.map +2 -2
  409. package/dist/commonjs/api/beta/skills/options.d.ts +44 -32
  410. package/dist/commonjs/api/beta/skills/options.d.ts.map +1 -1
  411. package/dist/commonjs/api/beta/skills/options.js.map +1 -1
  412. package/dist/commonjs/api/connections/options.d.ts +2 -2
  413. package/dist/commonjs/api/connections/options.d.ts.map +1 -1
  414. package/dist/commonjs/api/connections/options.js.map +1 -1
  415. package/dist/commonjs/api/deployments/operations.d.ts +1 -1
  416. package/dist/commonjs/api/deployments/operations.d.ts.map +1 -1
  417. package/dist/commonjs/api/deployments/operations.js.map +1 -1
  418. package/dist/commonjs/api/evaluationRules/operations.d.ts +4 -4
  419. package/dist/commonjs/api/evaluationRules/operations.d.ts.map +1 -1
  420. package/dist/commonjs/api/evaluationRules/operations.js +1 -0
  421. package/dist/commonjs/api/evaluationRules/operations.js.map +2 -2
  422. package/dist/commonjs/api/evaluationRules/options.d.ts +2 -0
  423. package/dist/commonjs/api/evaluationRules/options.d.ts.map +1 -1
  424. package/dist/commonjs/api/evaluationRules/options.js.map +1 -1
  425. package/dist/commonjs/api/toolboxes/index.d.ts +3 -0
  426. package/dist/commonjs/api/toolboxes/index.d.ts.map +1 -0
  427. package/dist/commonjs/api/toolboxes/index.js.map +7 -0
  428. package/dist/commonjs/api/toolboxes/operations.d.ts +38 -0
  429. package/dist/commonjs/api/toolboxes/operations.d.ts.map +1 -0
  430. package/dist/commonjs/api/{beta/toolboxes → toolboxes}/operations.js +72 -89
  431. package/dist/commonjs/api/toolboxes/operations.js.map +7 -0
  432. package/dist/{esm/api/beta → commonjs/api}/toolboxes/options.d.ts +11 -9
  433. package/dist/commonjs/api/toolboxes/options.d.ts.map +1 -0
  434. package/dist/commonjs/api/toolboxes/options.js +16 -0
  435. package/dist/commonjs/api/toolboxes/options.js.map +7 -0
  436. package/dist/commonjs/classic/agents/index.d.ts +113 -6
  437. package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
  438. package/dist/commonjs/classic/agents/index.js +30 -9
  439. package/dist/commonjs/classic/agents/index.js.map +2 -2
  440. package/dist/commonjs/classic/beta/agents/index.d.ts +12 -36
  441. package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
  442. package/dist/commonjs/classic/beta/agents/index.js +5 -9
  443. package/dist/commonjs/classic/beta/agents/index.js.map +2 -2
  444. package/dist/commonjs/classic/beta/datasets/index.d.ts +19 -0
  445. package/dist/commonjs/classic/beta/datasets/index.d.ts.map +1 -0
  446. package/dist/commonjs/classic/beta/datasets/index.js +42 -0
  447. package/dist/commonjs/classic/beta/datasets/index.js.map +7 -0
  448. package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts +6 -6
  449. package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
  450. package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js +2 -2
  451. package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js.map +2 -2
  452. package/dist/commonjs/classic/beta/evaluators/index.d.ts +33 -8
  453. package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -1
  454. package/dist/commonjs/classic/beta/evaluators/index.js +7 -0
  455. package/dist/commonjs/classic/beta/evaluators/index.js.map +2 -2
  456. package/dist/commonjs/classic/beta/index.d.ts +9 -3
  457. package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
  458. package/dist/commonjs/classic/beta/index.js +9 -3
  459. package/dist/commonjs/classic/beta/index.js.map +2 -2
  460. package/dist/commonjs/classic/beta/insights/index.d.ts +5 -5
  461. package/dist/commonjs/classic/beta/insights/index.d.ts.map +1 -1
  462. package/dist/commonjs/classic/beta/insights/index.js.map +2 -2
  463. package/dist/commonjs/classic/beta/memoryStores/index.d.ts +24 -11
  464. package/dist/commonjs/classic/beta/memoryStores/index.d.ts.map +1 -1
  465. package/dist/commonjs/classic/beta/memoryStores/index.js +5 -0
  466. package/dist/commonjs/classic/beta/memoryStores/index.js.map +2 -2
  467. package/dist/commonjs/classic/beta/models/index.d.ts +27 -0
  468. package/dist/commonjs/classic/beta/models/index.d.ts.map +1 -0
  469. package/dist/commonjs/classic/beta/models/index.js +45 -0
  470. package/dist/commonjs/classic/beta/models/index.js.map +7 -0
  471. package/dist/commonjs/classic/beta/redTeams/index.d.ts +3 -3
  472. package/dist/commonjs/classic/beta/redTeams/index.d.ts.map +1 -1
  473. package/dist/commonjs/classic/beta/redTeams/index.js.map +1 -1
  474. package/dist/commonjs/classic/beta/routines/index.d.ts +25 -0
  475. package/dist/commonjs/classic/beta/routines/index.d.ts.map +1 -0
  476. package/dist/commonjs/classic/beta/routines/index.js +45 -0
  477. package/dist/commonjs/classic/beta/routines/index.js.map +7 -0
  478. package/dist/commonjs/classic/beta/schedules/index.d.ts +4 -4
  479. package/dist/commonjs/classic/beta/schedules/index.d.ts.map +1 -1
  480. package/dist/commonjs/classic/beta/schedules/index.js +4 -4
  481. package/dist/commonjs/classic/beta/schedules/index.js.map +2 -2
  482. package/dist/commonjs/classic/beta/skills/index.d.ts +21 -13
  483. package/dist/commonjs/classic/beta/skills/index.d.ts.map +1 -1
  484. package/dist/commonjs/classic/beta/skills/index.js +10 -6
  485. package/dist/commonjs/classic/beta/skills/index.js.map +2 -2
  486. package/dist/commonjs/classic/deployments/index.d.ts +1 -1
  487. package/dist/commonjs/classic/deployments/index.d.ts.map +1 -1
  488. package/dist/commonjs/classic/deployments/index.js.map +1 -1
  489. package/dist/commonjs/classic/index.d.ts +4 -1
  490. package/dist/commonjs/classic/index.d.ts.map +1 -1
  491. package/dist/commonjs/classic/index.js.map +1 -1
  492. package/dist/commonjs/classic/toolboxes/index.d.ts +25 -0
  493. package/dist/commonjs/classic/toolboxes/index.d.ts.map +1 -0
  494. package/dist/commonjs/classic/{beta/toolboxes → toolboxes}/index.js +13 -13
  495. package/dist/commonjs/classic/toolboxes/index.js.map +7 -0
  496. package/dist/commonjs/constants.d.ts +1 -1
  497. package/dist/commonjs/constants.js +1 -1
  498. package/dist/commonjs/constants.js.map +1 -1
  499. package/dist/commonjs/index.d.ts +21 -11
  500. package/dist/commonjs/index.d.ts.map +1 -1
  501. package/dist/commonjs/index.js +5 -2
  502. package/dist/commonjs/index.js.map +3 -3
  503. package/dist/commonjs/models/index.d.ts +1 -1
  504. package/dist/commonjs/models/index.d.ts.map +1 -1
  505. package/dist/commonjs/models/index.js.map +1 -1
  506. package/dist/commonjs/models/models.d.ts +1993 -339
  507. package/dist/commonjs/models/models.d.ts.map +1 -1
  508. package/dist/commonjs/models/models.js +3603 -1122
  509. package/dist/commonjs/models/models.js.map +2 -2
  510. package/dist/commonjs/overwriteOpenAIClient.d.ts +2 -1
  511. package/dist/commonjs/overwriteOpenAIClient.d.ts.map +1 -1
  512. package/dist/commonjs/overwriteOpenAIClient.js +58 -4
  513. package/dist/commonjs/overwriteOpenAIClient.js.map +2 -2
  514. package/dist/commonjs/static-helpers/multipartHelpers.d.ts +18 -0
  515. package/dist/commonjs/static-helpers/multipartHelpers.d.ts.map +1 -0
  516. package/dist/commonjs/static-helpers/multipartHelpers.js +43 -0
  517. package/dist/commonjs/static-helpers/multipartHelpers.js.map +7 -0
  518. package/dist/commonjs/static-helpers/platform-types.d.ts +8 -0
  519. package/dist/commonjs/static-helpers/platform-types.d.ts.map +1 -0
  520. package/dist/commonjs/static-helpers/platform-types.js +16 -0
  521. package/dist/commonjs/static-helpers/platform-types.js.map +7 -0
  522. package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts +2 -1
  523. package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
  524. package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js.map +2 -2
  525. package/dist/commonjs/static-helpers/serialization/serialize-record.js +2 -2
  526. package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +2 -2
  527. package/dist/commonjs/static-helpers/urlTemplate.js +7 -7
  528. package/dist/commonjs/static-helpers/urlTemplate.js.map +2 -2
  529. package/dist/commonjs/tracing/attributes.d.ts +62 -0
  530. package/dist/commonjs/tracing/attributes.d.ts.map +1 -0
  531. package/dist/commonjs/tracing/attributes.js +226 -0
  532. package/dist/commonjs/tracing/attributes.js.map +7 -0
  533. package/dist/commonjs/tracing/configuration.d.ts +60 -0
  534. package/dist/commonjs/tracing/configuration.d.ts.map +1 -0
  535. package/dist/commonjs/tracing/configuration.js +68 -0
  536. package/dist/commonjs/tracing/configuration.js.map +7 -0
  537. package/dist/commonjs/tracing/constants.d.ts +55 -0
  538. package/dist/commonjs/tracing/constants.d.ts.map +1 -0
  539. package/dist/commonjs/tracing/constants.js +177 -0
  540. package/dist/commonjs/tracing/constants.js.map +7 -0
  541. package/dist/commonjs/tracing/formatters.d.ts +11 -0
  542. package/dist/commonjs/tracing/formatters.d.ts.map +1 -0
  543. package/dist/commonjs/tracing/formatters.js +213 -0
  544. package/dist/commonjs/tracing/formatters.js.map +7 -0
  545. package/dist/commonjs/tracing/metrics.d.ts +22 -0
  546. package/dist/commonjs/tracing/metrics.d.ts.map +1 -0
  547. package/dist/commonjs/tracing/metrics.js +86 -0
  548. package/dist/commonjs/tracing/metrics.js.map +7 -0
  549. package/dist/commonjs/tracing/responseTracing.d.ts +4 -0
  550. package/dist/commonjs/tracing/responseTracing.d.ts.map +1 -0
  551. package/dist/commonjs/tracing/responseTracing.js +267 -0
  552. package/dist/commonjs/tracing/responseTracing.js.map +7 -0
  553. package/dist/commonjs/tracing/tracingClient.d.ts +22 -0
  554. package/dist/commonjs/tracing/tracingClient.d.ts.map +1 -0
  555. package/dist/commonjs/tracing/tracingClient.js +51 -0
  556. package/dist/commonjs/tracing/tracingClient.js.map +7 -0
  557. package/dist/commonjs/tracing/tracingFetch.d.ts +14 -0
  558. package/dist/commonjs/tracing/tracingFetch.d.ts.map +1 -0
  559. package/dist/commonjs/tracing/tracingFetch.js +45 -0
  560. package/dist/commonjs/tracing/tracingFetch.js.map +7 -0
  561. package/dist/commonjs/tsdoc-metadata.json +1 -1
  562. package/dist/esm/aiProjectClient.d.ts +9 -2
  563. package/dist/esm/aiProjectClient.d.ts.map +1 -1
  564. package/dist/esm/aiProjectClient.js +20 -9
  565. package/dist/esm/aiProjectClient.js.map +1 -1
  566. package/dist/esm/api/agents/index.d.ts +2 -2
  567. package/dist/esm/api/agents/index.d.ts.map +1 -1
  568. package/dist/esm/api/agents/index.js +1 -1
  569. package/dist/esm/api/agents/index.js.map +1 -1
  570. package/dist/esm/api/agents/operations.d.ts +157 -20
  571. package/dist/esm/api/agents/operations.d.ts.map +1 -1
  572. package/dist/esm/api/agents/operations.js +694 -47
  573. package/dist/esm/api/agents/operations.js.map +1 -1
  574. package/dist/esm/api/agents/options.d.ts +113 -3
  575. package/dist/esm/api/agents/options.d.ts.map +1 -1
  576. package/dist/esm/api/agents/options.js.map +1 -1
  577. package/dist/esm/api/aiProjectContext.d.ts +9 -0
  578. package/dist/esm/api/aiProjectContext.d.ts.map +1 -1
  579. package/dist/esm/api/aiProjectContext.js +3 -3
  580. package/dist/esm/api/aiProjectContext.js.map +1 -1
  581. package/dist/esm/api/beta/agents/index.d.ts +2 -2
  582. package/dist/esm/api/beta/agents/index.d.ts.map +1 -1
  583. package/dist/esm/api/beta/agents/index.js +1 -1
  584. package/dist/esm/api/beta/agents/index.js.map +1 -1
  585. package/dist/esm/api/beta/agents/operations.d.ts +22 -54
  586. package/dist/esm/api/beta/agents/operations.d.ts.map +1 -1
  587. package/dist/esm/api/beta/agents/operations.js +68 -236
  588. package/dist/esm/api/beta/agents/operations.js.map +1 -1
  589. package/dist/esm/api/beta/agents/options.d.ts +17 -39
  590. package/dist/esm/api/beta/agents/options.d.ts.map +1 -1
  591. package/dist/esm/api/beta/agents/options.js.map +1 -1
  592. package/dist/esm/api/beta/datasets/index.d.ts +3 -0
  593. package/dist/esm/api/beta/datasets/index.d.ts.map +1 -0
  594. package/dist/esm/api/beta/datasets/index.js +4 -0
  595. package/dist/esm/api/beta/datasets/index.js.map +1 -0
  596. package/dist/esm/api/beta/datasets/operations.d.ts +26 -0
  597. package/dist/esm/api/beta/datasets/operations.d.ts.map +1 -0
  598. package/dist/esm/api/beta/datasets/operations.js +180 -0
  599. package/dist/esm/api/beta/datasets/operations.js.map +1 -0
  600. package/dist/esm/api/beta/datasets/options.d.ts +56 -0
  601. package/dist/esm/api/beta/datasets/options.d.ts.map +1 -0
  602. package/dist/esm/api/beta/datasets/options.js +4 -0
  603. package/dist/esm/api/beta/datasets/options.js.map +1 -0
  604. package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts +8 -8
  605. package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
  606. package/dist/esm/api/beta/evaluationTaxonomies/operations.js +12 -21
  607. package/dist/esm/api/beta/evaluationTaxonomies/operations.js.map +1 -1
  608. package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts +0 -6
  609. package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
  610. package/dist/esm/api/beta/evaluationTaxonomies/options.js.map +1 -1
  611. package/dist/esm/api/beta/evaluators/index.d.ts +2 -2
  612. package/dist/esm/api/beta/evaluators/index.d.ts.map +1 -1
  613. package/dist/esm/api/beta/evaluators/index.js +1 -1
  614. package/dist/esm/api/beta/evaluators/index.js.map +1 -1
  615. package/dist/esm/api/beta/evaluators/operations.d.ts +48 -9
  616. package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -1
  617. package/dist/esm/api/beta/evaluators/operations.js +251 -7
  618. package/dist/esm/api/beta/evaluators/operations.js.map +1 -1
  619. package/dist/esm/api/beta/evaluators/options.d.ts +62 -1
  620. package/dist/esm/api/beta/evaluators/options.d.ts.map +1 -1
  621. package/dist/esm/api/beta/evaluators/options.js.map +1 -1
  622. package/dist/esm/api/beta/insights/index.d.ts +1 -1
  623. package/dist/esm/api/beta/insights/index.d.ts.map +1 -1
  624. package/dist/esm/api/beta/insights/index.js.map +1 -1
  625. package/dist/esm/api/beta/insights/operations.d.ts +6 -6
  626. package/dist/esm/api/beta/insights/operations.d.ts.map +1 -1
  627. package/dist/esm/api/beta/insights/operations.js +18 -15
  628. package/dist/esm/api/beta/insights/operations.js.map +1 -1
  629. package/dist/esm/api/beta/insights/options.d.ts +14 -5
  630. package/dist/esm/api/beta/insights/options.d.ts.map +1 -1
  631. package/dist/esm/api/beta/insights/options.js.map +1 -1
  632. package/dist/esm/api/beta/memoryStores/index.d.ts +2 -2
  633. package/dist/esm/api/beta/memoryStores/index.d.ts.map +1 -1
  634. package/dist/esm/api/beta/memoryStores/index.js +1 -1
  635. package/dist/esm/api/beta/memoryStores/index.js.map +1 -1
  636. package/dist/esm/api/beta/memoryStores/operations.d.ts +34 -11
  637. package/dist/esm/api/beta/memoryStores/operations.d.ts.map +1 -1
  638. package/dist/esm/api/beta/memoryStores/operations.js +223 -20
  639. package/dist/esm/api/beta/memoryStores/operations.js.map +1 -1
  640. package/dist/esm/api/beta/memoryStores/options.d.ts +40 -1
  641. package/dist/esm/api/beta/memoryStores/options.d.ts.map +1 -1
  642. package/dist/esm/api/beta/memoryStores/options.js.map +1 -1
  643. package/dist/esm/api/beta/models/index.d.ts +3 -0
  644. package/dist/esm/api/beta/models/index.d.ts.map +1 -0
  645. package/dist/esm/api/beta/models/index.js +4 -0
  646. package/dist/esm/api/beta/models/index.js.map +1 -0
  647. package/dist/esm/api/beta/models/operations.d.ts +45 -0
  648. package/dist/esm/api/beta/models/operations.d.ts.map +1 -0
  649. package/dist/esm/api/beta/models/operations.js +305 -0
  650. package/dist/esm/api/beta/models/operations.js.map +1 -0
  651. package/dist/esm/api/beta/models/options.d.ts +42 -0
  652. package/dist/esm/api/beta/models/options.d.ts.map +1 -0
  653. package/dist/esm/api/beta/models/options.js +4 -0
  654. package/dist/esm/api/beta/models/options.js.map +1 -0
  655. package/dist/esm/api/beta/redTeams/operations.d.ts +3 -3
  656. package/dist/esm/api/beta/redTeams/operations.d.ts.map +1 -1
  657. package/dist/esm/api/beta/redTeams/operations.js +6 -10
  658. package/dist/esm/api/beta/redTeams/operations.js.map +1 -1
  659. package/dist/esm/api/beta/redTeams/options.d.ts +0 -4
  660. package/dist/esm/api/beta/redTeams/options.d.ts.map +1 -1
  661. package/dist/esm/api/beta/redTeams/options.js.map +1 -1
  662. package/dist/esm/api/beta/routines/index.d.ts +3 -0
  663. package/dist/esm/api/beta/routines/index.d.ts.map +1 -0
  664. package/dist/esm/api/beta/routines/index.js +4 -0
  665. package/dist/esm/api/beta/routines/index.js.map +1 -0
  666. package/dist/esm/api/beta/routines/operations.d.ts +38 -0
  667. package/dist/esm/api/beta/routines/operations.d.ts.map +1 -0
  668. package/dist/esm/api/beta/routines/operations.js +304 -0
  669. package/dist/esm/api/beta/routines/operations.js.map +1 -0
  670. package/dist/esm/api/beta/routines/options.d.ts +71 -0
  671. package/dist/esm/api/beta/routines/options.d.ts.map +1 -0
  672. package/dist/esm/api/beta/routines/options.js +4 -0
  673. package/dist/esm/api/beta/routines/options.js.map +1 -0
  674. package/dist/esm/api/beta/schedules/operations.d.ts +14 -14
  675. package/dist/esm/api/beta/schedules/operations.d.ts.map +1 -1
  676. package/dist/esm/api/beta/schedules/operations.js +25 -38
  677. package/dist/esm/api/beta/schedules/operations.js.map +1 -1
  678. package/dist/esm/api/beta/schedules/options.d.ts +0 -10
  679. package/dist/esm/api/beta/schedules/options.d.ts.map +1 -1
  680. package/dist/esm/api/beta/schedules/options.js.map +1 -1
  681. package/dist/esm/api/beta/skills/index.d.ts +2 -2
  682. package/dist/esm/api/beta/skills/index.d.ts.map +1 -1
  683. package/dist/esm/api/beta/skills/index.js +1 -1
  684. package/dist/esm/api/beta/skills/index.js.map +1 -1
  685. package/dist/esm/api/beta/skills/operations.d.ts +44 -28
  686. package/dist/esm/api/beta/skills/operations.d.ts.map +1 -1
  687. package/dist/esm/api/beta/skills/operations.js +242 -91
  688. package/dist/esm/api/beta/skills/operations.js.map +1 -1
  689. package/dist/esm/api/beta/skills/options.d.ts +44 -32
  690. package/dist/esm/api/beta/skills/options.d.ts.map +1 -1
  691. package/dist/esm/api/beta/skills/options.js.map +1 -1
  692. package/dist/esm/api/connections/options.d.ts +2 -2
  693. package/dist/esm/api/connections/options.d.ts.map +1 -1
  694. package/dist/esm/api/connections/options.js.map +1 -1
  695. package/dist/esm/api/deployments/operations.d.ts +1 -1
  696. package/dist/esm/api/deployments/operations.d.ts.map +1 -1
  697. package/dist/esm/api/deployments/operations.js +1 -1
  698. package/dist/esm/api/deployments/operations.js.map +1 -1
  699. package/dist/esm/api/evaluationRules/operations.d.ts +4 -4
  700. package/dist/esm/api/evaluationRules/operations.d.ts.map +1 -1
  701. package/dist/esm/api/evaluationRules/operations.js +7 -4
  702. package/dist/esm/api/evaluationRules/operations.js.map +1 -1
  703. package/dist/esm/api/evaluationRules/options.d.ts +2 -0
  704. package/dist/esm/api/evaluationRules/options.d.ts.map +1 -1
  705. package/dist/esm/api/evaluationRules/options.js.map +1 -1
  706. package/dist/esm/api/toolboxes/index.d.ts +3 -0
  707. package/dist/esm/api/toolboxes/index.d.ts.map +1 -0
  708. package/dist/esm/api/toolboxes/index.js.map +1 -0
  709. package/dist/esm/api/toolboxes/operations.d.ts +38 -0
  710. package/dist/esm/api/toolboxes/operations.d.ts.map +1 -0
  711. package/dist/esm/api/toolboxes/operations.js +262 -0
  712. package/dist/esm/api/toolboxes/operations.js.map +1 -0
  713. package/dist/{commonjs/api/beta → esm/api}/toolboxes/options.d.ts +11 -9
  714. package/dist/esm/api/toolboxes/options.d.ts.map +1 -0
  715. package/dist/esm/api/toolboxes/options.js +4 -0
  716. package/dist/esm/api/toolboxes/options.js.map +1 -0
  717. package/dist/esm/classic/agents/index.d.ts +113 -6
  718. package/dist/esm/classic/agents/index.d.ts.map +1 -1
  719. package/dist/esm/classic/agents/index.js +25 -10
  720. package/dist/esm/classic/agents/index.js.map +1 -1
  721. package/dist/esm/classic/beta/agents/index.d.ts +12 -36
  722. package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
  723. package/dist/esm/classic/beta/agents/index.js +6 -10
  724. package/dist/esm/classic/beta/agents/index.js.map +1 -1
  725. package/dist/esm/classic/beta/datasets/index.d.ts +19 -0
  726. package/dist/esm/classic/beta/datasets/index.d.ts.map +1 -0
  727. package/dist/esm/classic/beta/datasets/index.js +18 -0
  728. package/dist/esm/classic/beta/datasets/index.js.map +1 -0
  729. package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts +6 -6
  730. package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
  731. package/dist/esm/classic/beta/evaluationTaxonomies/index.js +2 -2
  732. package/dist/esm/classic/beta/evaluationTaxonomies/index.js.map +1 -1
  733. package/dist/esm/classic/beta/evaluators/index.d.ts +33 -8
  734. package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -1
  735. package/dist/esm/classic/beta/evaluators/index.js +8 -1
  736. package/dist/esm/classic/beta/evaluators/index.js.map +1 -1
  737. package/dist/esm/classic/beta/index.d.ts +9 -3
  738. package/dist/esm/classic/beta/index.d.ts.map +1 -1
  739. package/dist/esm/classic/beta/index.js +9 -3
  740. package/dist/esm/classic/beta/index.js.map +1 -1
  741. package/dist/esm/classic/beta/insights/index.d.ts +5 -5
  742. package/dist/esm/classic/beta/insights/index.d.ts.map +1 -1
  743. package/dist/esm/classic/beta/insights/index.js.map +1 -1
  744. package/dist/esm/classic/beta/memoryStores/index.d.ts +24 -11
  745. package/dist/esm/classic/beta/memoryStores/index.d.ts.map +1 -1
  746. package/dist/esm/classic/beta/memoryStores/index.js +6 -1
  747. package/dist/esm/classic/beta/memoryStores/index.js.map +1 -1
  748. package/dist/esm/classic/beta/models/index.d.ts +27 -0
  749. package/dist/esm/classic/beta/models/index.d.ts.map +1 -0
  750. package/dist/esm/classic/beta/models/index.js +21 -0
  751. package/dist/esm/classic/beta/models/index.js.map +1 -0
  752. package/dist/esm/classic/beta/redTeams/index.d.ts +3 -3
  753. package/dist/esm/classic/beta/redTeams/index.d.ts.map +1 -1
  754. package/dist/esm/classic/beta/redTeams/index.js.map +1 -1
  755. package/dist/esm/classic/beta/routines/index.d.ts +25 -0
  756. package/dist/esm/classic/beta/routines/index.d.ts.map +1 -0
  757. package/dist/esm/classic/beta/routines/index.js +21 -0
  758. package/dist/esm/classic/beta/routines/index.js.map +1 -0
  759. package/dist/esm/classic/beta/schedules/index.d.ts +4 -4
  760. package/dist/esm/classic/beta/schedules/index.d.ts.map +1 -1
  761. package/dist/esm/classic/beta/schedules/index.js +4 -4
  762. package/dist/esm/classic/beta/schedules/index.js.map +1 -1
  763. package/dist/esm/classic/beta/skills/index.d.ts +21 -13
  764. package/dist/esm/classic/beta/skills/index.d.ts.map +1 -1
  765. package/dist/esm/classic/beta/skills/index.js +11 -7
  766. package/dist/esm/classic/beta/skills/index.js.map +1 -1
  767. package/dist/esm/classic/deployments/index.d.ts +1 -1
  768. package/dist/esm/classic/deployments/index.d.ts.map +1 -1
  769. package/dist/esm/classic/deployments/index.js.map +1 -1
  770. package/dist/esm/classic/index.d.ts +4 -1
  771. package/dist/esm/classic/index.d.ts.map +1 -1
  772. package/dist/esm/classic/index.js.map +1 -1
  773. package/dist/esm/classic/toolboxes/index.d.ts +25 -0
  774. package/dist/esm/classic/toolboxes/index.d.ts.map +1 -0
  775. package/dist/esm/classic/toolboxes/index.js +21 -0
  776. package/dist/esm/classic/toolboxes/index.js.map +1 -0
  777. package/dist/esm/constants.d.ts +1 -1
  778. package/dist/esm/constants.js +1 -1
  779. package/dist/esm/constants.js.map +1 -1
  780. package/dist/esm/index.d.ts +21 -11
  781. package/dist/esm/index.d.ts.map +1 -1
  782. package/dist/esm/index.js +1 -0
  783. package/dist/esm/index.js.map +1 -1
  784. package/dist/esm/models/index.d.ts +1 -1
  785. package/dist/esm/models/index.d.ts.map +1 -1
  786. package/dist/esm/models/index.js.map +1 -1
  787. package/dist/esm/models/models.d.ts +1993 -339
  788. package/dist/esm/models/models.d.ts.map +1 -1
  789. package/dist/esm/models/models.js +3251 -1066
  790. package/dist/esm/models/models.js.map +1 -1
  791. package/dist/esm/overwriteOpenAIClient.d.ts +2 -1
  792. package/dist/esm/overwriteOpenAIClient.d.ts.map +1 -1
  793. package/dist/esm/overwriteOpenAIClient.js +48 -4
  794. package/dist/esm/overwriteOpenAIClient.js.map +1 -1
  795. package/dist/esm/static-helpers/multipartHelpers.d.ts +18 -0
  796. package/dist/esm/static-helpers/multipartHelpers.d.ts.map +1 -0
  797. package/dist/esm/static-helpers/multipartHelpers.js +20 -0
  798. package/dist/esm/static-helpers/multipartHelpers.js.map +1 -0
  799. package/dist/esm/static-helpers/platform-types.d.ts +8 -0
  800. package/dist/esm/static-helpers/platform-types.d.ts.map +1 -0
  801. package/dist/esm/static-helpers/platform-types.js +4 -0
  802. package/dist/esm/static-helpers/platform-types.js.map +1 -0
  803. package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts +2 -1
  804. package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
  805. package/dist/esm/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
  806. package/dist/esm/static-helpers/serialization/serialize-record.js +2 -2
  807. package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -1
  808. package/dist/esm/static-helpers/urlTemplate.js +7 -7
  809. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  810. package/dist/esm/tracing/attributes.d.ts +62 -0
  811. package/dist/esm/tracing/attributes.d.ts.map +1 -0
  812. package/dist/esm/tracing/attributes.js +230 -0
  813. package/dist/esm/tracing/attributes.js.map +1 -0
  814. package/dist/esm/tracing/configuration.d.ts +60 -0
  815. package/dist/esm/tracing/configuration.d.ts.map +1 -0
  816. package/dist/esm/tracing/configuration.js +67 -0
  817. package/dist/esm/tracing/configuration.js.map +1 -0
  818. package/dist/esm/tracing/constants.d.ts +55 -0
  819. package/dist/esm/tracing/constants.d.ts.map +1 -0
  820. package/dist/esm/tracing/constants.js +75 -0
  821. package/dist/esm/tracing/constants.js.map +1 -0
  822. package/dist/esm/tracing/formatters.d.ts +11 -0
  823. package/dist/esm/tracing/formatters.d.ts.map +1 -0
  824. package/dist/esm/tracing/formatters.js +251 -0
  825. package/dist/esm/tracing/formatters.js.map +1 -0
  826. package/dist/esm/tracing/metrics.d.ts +22 -0
  827. package/dist/esm/tracing/metrics.d.ts.map +1 -0
  828. package/dist/esm/tracing/metrics.js +77 -0
  829. package/dist/esm/tracing/metrics.js.map +1 -0
  830. package/dist/esm/tracing/responseTracing.d.ts +4 -0
  831. package/dist/esm/tracing/responseTracing.d.ts.map +1 -0
  832. package/dist/esm/tracing/responseTracing.js +223 -0
  833. package/dist/esm/tracing/responseTracing.js.map +1 -0
  834. package/dist/esm/tracing/tracingClient.d.ts +22 -0
  835. package/dist/esm/tracing/tracingClient.d.ts.map +1 -0
  836. package/dist/esm/tracing/tracingClient.js +37 -0
  837. package/dist/esm/tracing/tracingClient.js.map +1 -0
  838. package/dist/esm/tracing/tracingFetch.d.ts +14 -0
  839. package/dist/esm/tracing/tracingFetch.d.ts.map +1 -0
  840. package/dist/esm/tracing/tracingFetch.js +30 -0
  841. package/dist/esm/tracing/tracingFetch.js.map +1 -0
  842. package/dist/react-native/aiProjectClient.d.ts +9 -2
  843. package/dist/react-native/aiProjectClient.d.ts.map +1 -1
  844. package/dist/react-native/aiProjectClient.js +20 -9
  845. package/dist/react-native/aiProjectClient.js.map +1 -1
  846. package/dist/react-native/api/agents/index.d.ts +2 -2
  847. package/dist/react-native/api/agents/index.d.ts.map +1 -1
  848. package/dist/react-native/api/agents/index.js +1 -1
  849. package/dist/react-native/api/agents/index.js.map +1 -1
  850. package/dist/react-native/api/agents/operations.d.ts +157 -20
  851. package/dist/react-native/api/agents/operations.d.ts.map +1 -1
  852. package/dist/react-native/api/agents/operations.js +694 -47
  853. package/dist/react-native/api/agents/operations.js.map +1 -1
  854. package/dist/react-native/api/agents/options.d.ts +113 -3
  855. package/dist/react-native/api/agents/options.d.ts.map +1 -1
  856. package/dist/react-native/api/agents/options.js.map +1 -1
  857. package/dist/react-native/api/aiProjectContext.d.ts +9 -0
  858. package/dist/react-native/api/aiProjectContext.d.ts.map +1 -1
  859. package/dist/react-native/api/aiProjectContext.js +3 -3
  860. package/dist/react-native/api/aiProjectContext.js.map +1 -1
  861. package/dist/react-native/api/beta/agents/index.d.ts +2 -2
  862. package/dist/react-native/api/beta/agents/index.d.ts.map +1 -1
  863. package/dist/react-native/api/beta/agents/index.js +1 -1
  864. package/dist/react-native/api/beta/agents/index.js.map +1 -1
  865. package/dist/react-native/api/beta/agents/operations.d.ts +22 -54
  866. package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -1
  867. package/dist/react-native/api/beta/agents/operations.js +68 -236
  868. package/dist/react-native/api/beta/agents/operations.js.map +1 -1
  869. package/dist/react-native/api/beta/agents/options.d.ts +17 -39
  870. package/dist/react-native/api/beta/agents/options.d.ts.map +1 -1
  871. package/dist/react-native/api/beta/agents/options.js.map +1 -1
  872. package/dist/react-native/api/beta/datasets/index.d.ts +3 -0
  873. package/dist/react-native/api/beta/datasets/index.d.ts.map +1 -0
  874. package/dist/react-native/api/beta/datasets/index.js +4 -0
  875. package/dist/react-native/api/beta/datasets/index.js.map +1 -0
  876. package/dist/react-native/api/beta/datasets/operations.d.ts +26 -0
  877. package/dist/react-native/api/beta/datasets/operations.d.ts.map +1 -0
  878. package/dist/react-native/api/beta/datasets/operations.js +180 -0
  879. package/dist/react-native/api/beta/datasets/operations.js.map +1 -0
  880. package/dist/react-native/api/beta/datasets/options.d.ts +56 -0
  881. package/dist/react-native/api/beta/datasets/options.d.ts.map +1 -0
  882. package/dist/react-native/api/beta/datasets/options.js +4 -0
  883. package/dist/react-native/api/beta/datasets/options.js.map +1 -0
  884. package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts +8 -8
  885. package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
  886. package/dist/react-native/api/beta/evaluationTaxonomies/operations.js +12 -21
  887. package/dist/react-native/api/beta/evaluationTaxonomies/operations.js.map +1 -1
  888. package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts +0 -6
  889. package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
  890. package/dist/react-native/api/beta/evaluationTaxonomies/options.js.map +1 -1
  891. package/dist/react-native/api/beta/evaluators/index.d.ts +2 -2
  892. package/dist/react-native/api/beta/evaluators/index.d.ts.map +1 -1
  893. package/dist/react-native/api/beta/evaluators/index.js +1 -1
  894. package/dist/react-native/api/beta/evaluators/index.js.map +1 -1
  895. package/dist/react-native/api/beta/evaluators/operations.d.ts +48 -9
  896. package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -1
  897. package/dist/react-native/api/beta/evaluators/operations.js +251 -7
  898. package/dist/react-native/api/beta/evaluators/operations.js.map +1 -1
  899. package/dist/react-native/api/beta/evaluators/options.d.ts +62 -1
  900. package/dist/react-native/api/beta/evaluators/options.d.ts.map +1 -1
  901. package/dist/react-native/api/beta/evaluators/options.js.map +1 -1
  902. package/dist/react-native/api/beta/insights/index.d.ts +1 -1
  903. package/dist/react-native/api/beta/insights/index.d.ts.map +1 -1
  904. package/dist/react-native/api/beta/insights/index.js.map +1 -1
  905. package/dist/react-native/api/beta/insights/operations.d.ts +6 -6
  906. package/dist/react-native/api/beta/insights/operations.d.ts.map +1 -1
  907. package/dist/react-native/api/beta/insights/operations.js +18 -15
  908. package/dist/react-native/api/beta/insights/operations.js.map +1 -1
  909. package/dist/react-native/api/beta/insights/options.d.ts +14 -5
  910. package/dist/react-native/api/beta/insights/options.d.ts.map +1 -1
  911. package/dist/react-native/api/beta/insights/options.js.map +1 -1
  912. package/dist/react-native/api/beta/memoryStores/index.d.ts +2 -2
  913. package/dist/react-native/api/beta/memoryStores/index.d.ts.map +1 -1
  914. package/dist/react-native/api/beta/memoryStores/index.js +1 -1
  915. package/dist/react-native/api/beta/memoryStores/index.js.map +1 -1
  916. package/dist/react-native/api/beta/memoryStores/operations.d.ts +34 -11
  917. package/dist/react-native/api/beta/memoryStores/operations.d.ts.map +1 -1
  918. package/dist/react-native/api/beta/memoryStores/operations.js +223 -20
  919. package/dist/react-native/api/beta/memoryStores/operations.js.map +1 -1
  920. package/dist/react-native/api/beta/memoryStores/options.d.ts +40 -1
  921. package/dist/react-native/api/beta/memoryStores/options.d.ts.map +1 -1
  922. package/dist/react-native/api/beta/memoryStores/options.js.map +1 -1
  923. package/dist/react-native/api/beta/models/index.d.ts +3 -0
  924. package/dist/react-native/api/beta/models/index.d.ts.map +1 -0
  925. package/dist/react-native/api/beta/models/index.js +4 -0
  926. package/dist/react-native/api/beta/models/index.js.map +1 -0
  927. package/dist/react-native/api/beta/models/operations.d.ts +45 -0
  928. package/dist/react-native/api/beta/models/operations.d.ts.map +1 -0
  929. package/dist/react-native/api/beta/models/operations.js +305 -0
  930. package/dist/react-native/api/beta/models/operations.js.map +1 -0
  931. package/dist/react-native/api/beta/models/options.d.ts +42 -0
  932. package/dist/react-native/api/beta/models/options.d.ts.map +1 -0
  933. package/dist/react-native/api/beta/models/options.js +4 -0
  934. package/dist/react-native/api/beta/models/options.js.map +1 -0
  935. package/dist/react-native/api/beta/redTeams/operations.d.ts +3 -3
  936. package/dist/react-native/api/beta/redTeams/operations.d.ts.map +1 -1
  937. package/dist/react-native/api/beta/redTeams/operations.js +6 -10
  938. package/dist/react-native/api/beta/redTeams/operations.js.map +1 -1
  939. package/dist/react-native/api/beta/redTeams/options.d.ts +0 -4
  940. package/dist/react-native/api/beta/redTeams/options.d.ts.map +1 -1
  941. package/dist/react-native/api/beta/redTeams/options.js.map +1 -1
  942. package/dist/react-native/api/beta/routines/index.d.ts +3 -0
  943. package/dist/react-native/api/beta/routines/index.d.ts.map +1 -0
  944. package/dist/react-native/api/beta/routines/index.js +4 -0
  945. package/dist/react-native/api/beta/routines/index.js.map +1 -0
  946. package/dist/react-native/api/beta/routines/operations.d.ts +38 -0
  947. package/dist/react-native/api/beta/routines/operations.d.ts.map +1 -0
  948. package/dist/react-native/api/beta/routines/operations.js +304 -0
  949. package/dist/react-native/api/beta/routines/operations.js.map +1 -0
  950. package/dist/react-native/api/beta/routines/options.d.ts +71 -0
  951. package/dist/react-native/api/beta/routines/options.d.ts.map +1 -0
  952. package/dist/react-native/api/beta/routines/options.js +4 -0
  953. package/dist/react-native/api/beta/routines/options.js.map +1 -0
  954. package/dist/react-native/api/beta/schedules/operations.d.ts +14 -14
  955. package/dist/react-native/api/beta/schedules/operations.d.ts.map +1 -1
  956. package/dist/react-native/api/beta/schedules/operations.js +25 -38
  957. package/dist/react-native/api/beta/schedules/operations.js.map +1 -1
  958. package/dist/react-native/api/beta/schedules/options.d.ts +0 -10
  959. package/dist/react-native/api/beta/schedules/options.d.ts.map +1 -1
  960. package/dist/react-native/api/beta/schedules/options.js.map +1 -1
  961. package/dist/react-native/api/beta/skills/index.d.ts +2 -2
  962. package/dist/react-native/api/beta/skills/index.d.ts.map +1 -1
  963. package/dist/react-native/api/beta/skills/index.js +1 -1
  964. package/dist/react-native/api/beta/skills/index.js.map +1 -1
  965. package/dist/react-native/api/beta/skills/operations.d.ts +44 -28
  966. package/dist/react-native/api/beta/skills/operations.d.ts.map +1 -1
  967. package/dist/react-native/api/beta/skills/operations.js +242 -91
  968. package/dist/react-native/api/beta/skills/operations.js.map +1 -1
  969. package/dist/react-native/api/beta/skills/options.d.ts +44 -32
  970. package/dist/react-native/api/beta/skills/options.d.ts.map +1 -1
  971. package/dist/react-native/api/beta/skills/options.js.map +1 -1
  972. package/dist/react-native/api/connections/options.d.ts +2 -2
  973. package/dist/react-native/api/connections/options.d.ts.map +1 -1
  974. package/dist/react-native/api/connections/options.js.map +1 -1
  975. package/dist/react-native/api/deployments/operations.d.ts +1 -1
  976. package/dist/react-native/api/deployments/operations.d.ts.map +1 -1
  977. package/dist/react-native/api/deployments/operations.js +1 -1
  978. package/dist/react-native/api/deployments/operations.js.map +1 -1
  979. package/dist/react-native/api/evaluationRules/operations.d.ts +4 -4
  980. package/dist/react-native/api/evaluationRules/operations.d.ts.map +1 -1
  981. package/dist/react-native/api/evaluationRules/operations.js +7 -4
  982. package/dist/react-native/api/evaluationRules/operations.js.map +1 -1
  983. package/dist/react-native/api/evaluationRules/options.d.ts +2 -0
  984. package/dist/react-native/api/evaluationRules/options.d.ts.map +1 -1
  985. package/dist/react-native/api/evaluationRules/options.js.map +1 -1
  986. package/dist/react-native/api/toolboxes/index.d.ts +3 -0
  987. package/dist/react-native/api/toolboxes/index.d.ts.map +1 -0
  988. package/dist/react-native/api/toolboxes/index.js.map +1 -0
  989. package/dist/react-native/api/toolboxes/operations.d.ts +38 -0
  990. package/dist/react-native/api/toolboxes/operations.d.ts.map +1 -0
  991. package/dist/react-native/api/toolboxes/operations.js +262 -0
  992. package/dist/react-native/api/toolboxes/operations.js.map +1 -0
  993. package/dist/react-native/api/{beta/toolboxes → toolboxes}/options.d.ts +11 -9
  994. package/dist/react-native/api/toolboxes/options.d.ts.map +1 -0
  995. package/dist/react-native/api/toolboxes/options.js +4 -0
  996. package/dist/react-native/api/toolboxes/options.js.map +1 -0
  997. package/dist/react-native/classic/agents/index.d.ts +113 -6
  998. package/dist/react-native/classic/agents/index.d.ts.map +1 -1
  999. package/dist/react-native/classic/agents/index.js +25 -10
  1000. package/dist/react-native/classic/agents/index.js.map +1 -1
  1001. package/dist/react-native/classic/beta/agents/index.d.ts +12 -36
  1002. package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
  1003. package/dist/react-native/classic/beta/agents/index.js +6 -10
  1004. package/dist/react-native/classic/beta/agents/index.js.map +1 -1
  1005. package/dist/react-native/classic/beta/datasets/index.d.ts +19 -0
  1006. package/dist/react-native/classic/beta/datasets/index.d.ts.map +1 -0
  1007. package/dist/react-native/classic/beta/datasets/index.js +18 -0
  1008. package/dist/react-native/classic/beta/datasets/index.js.map +1 -0
  1009. package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts +6 -6
  1010. package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
  1011. package/dist/react-native/classic/beta/evaluationTaxonomies/index.js +2 -2
  1012. package/dist/react-native/classic/beta/evaluationTaxonomies/index.js.map +1 -1
  1013. package/dist/react-native/classic/beta/evaluators/index.d.ts +33 -8
  1014. package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -1
  1015. package/dist/react-native/classic/beta/evaluators/index.js +8 -1
  1016. package/dist/react-native/classic/beta/evaluators/index.js.map +1 -1
  1017. package/dist/react-native/classic/beta/index.d.ts +9 -3
  1018. package/dist/react-native/classic/beta/index.d.ts.map +1 -1
  1019. package/dist/react-native/classic/beta/index.js +9 -3
  1020. package/dist/react-native/classic/beta/index.js.map +1 -1
  1021. package/dist/react-native/classic/beta/insights/index.d.ts +5 -5
  1022. package/dist/react-native/classic/beta/insights/index.d.ts.map +1 -1
  1023. package/dist/react-native/classic/beta/insights/index.js.map +1 -1
  1024. package/dist/react-native/classic/beta/memoryStores/index.d.ts +24 -11
  1025. package/dist/react-native/classic/beta/memoryStores/index.d.ts.map +1 -1
  1026. package/dist/react-native/classic/beta/memoryStores/index.js +6 -1
  1027. package/dist/react-native/classic/beta/memoryStores/index.js.map +1 -1
  1028. package/dist/react-native/classic/beta/models/index.d.ts +27 -0
  1029. package/dist/react-native/classic/beta/models/index.d.ts.map +1 -0
  1030. package/dist/react-native/classic/beta/models/index.js +21 -0
  1031. package/dist/react-native/classic/beta/models/index.js.map +1 -0
  1032. package/dist/react-native/classic/beta/redTeams/index.d.ts +3 -3
  1033. package/dist/react-native/classic/beta/redTeams/index.d.ts.map +1 -1
  1034. package/dist/react-native/classic/beta/redTeams/index.js.map +1 -1
  1035. package/dist/react-native/classic/beta/routines/index.d.ts +25 -0
  1036. package/dist/react-native/classic/beta/routines/index.d.ts.map +1 -0
  1037. package/dist/react-native/classic/beta/routines/index.js +21 -0
  1038. package/dist/react-native/classic/beta/routines/index.js.map +1 -0
  1039. package/dist/react-native/classic/beta/schedules/index.d.ts +4 -4
  1040. package/dist/react-native/classic/beta/schedules/index.d.ts.map +1 -1
  1041. package/dist/react-native/classic/beta/schedules/index.js +4 -4
  1042. package/dist/react-native/classic/beta/schedules/index.js.map +1 -1
  1043. package/dist/react-native/classic/beta/skills/index.d.ts +21 -13
  1044. package/dist/react-native/classic/beta/skills/index.d.ts.map +1 -1
  1045. package/dist/react-native/classic/beta/skills/index.js +11 -7
  1046. package/dist/react-native/classic/beta/skills/index.js.map +1 -1
  1047. package/dist/react-native/classic/deployments/index.d.ts +1 -1
  1048. package/dist/react-native/classic/deployments/index.d.ts.map +1 -1
  1049. package/dist/react-native/classic/deployments/index.js.map +1 -1
  1050. package/dist/react-native/classic/index.d.ts +4 -1
  1051. package/dist/react-native/classic/index.d.ts.map +1 -1
  1052. package/dist/react-native/classic/index.js.map +1 -1
  1053. package/dist/react-native/classic/toolboxes/index.d.ts +25 -0
  1054. package/dist/react-native/classic/toolboxes/index.d.ts.map +1 -0
  1055. package/dist/react-native/classic/toolboxes/index.js +21 -0
  1056. package/dist/react-native/classic/toolboxes/index.js.map +1 -0
  1057. package/dist/react-native/constants.d.ts +1 -1
  1058. package/dist/react-native/constants.js +1 -1
  1059. package/dist/react-native/constants.js.map +1 -1
  1060. package/dist/react-native/index.d.ts +21 -11
  1061. package/dist/react-native/index.d.ts.map +1 -1
  1062. package/dist/react-native/index.js +1 -0
  1063. package/dist/react-native/index.js.map +1 -1
  1064. package/dist/react-native/models/index.d.ts +1 -1
  1065. package/dist/react-native/models/index.d.ts.map +1 -1
  1066. package/dist/react-native/models/index.js.map +1 -1
  1067. package/dist/react-native/models/models.d.ts +1993 -339
  1068. package/dist/react-native/models/models.d.ts.map +1 -1
  1069. package/dist/react-native/models/models.js +3251 -1066
  1070. package/dist/react-native/models/models.js.map +1 -1
  1071. package/dist/react-native/overwriteOpenAIClient.d.ts +2 -1
  1072. package/dist/react-native/overwriteOpenAIClient.d.ts.map +1 -1
  1073. package/dist/react-native/overwriteOpenAIClient.js +48 -4
  1074. package/dist/react-native/overwriteOpenAIClient.js.map +1 -1
  1075. package/dist/react-native/static-helpers/multipartHelpers.d.ts +18 -0
  1076. package/dist/react-native/static-helpers/multipartHelpers.d.ts.map +1 -0
  1077. package/dist/react-native/static-helpers/multipartHelpers.js +20 -0
  1078. package/dist/react-native/static-helpers/multipartHelpers.js.map +1 -0
  1079. package/dist/react-native/static-helpers/platform-types-browser.d.mts +6 -0
  1080. package/dist/react-native/static-helpers/platform-types-browser.d.mts.map +1 -0
  1081. package/dist/react-native/static-helpers/platform-types-browser.mjs +4 -0
  1082. package/dist/react-native/static-helpers/platform-types-browser.mjs.map +1 -0
  1083. package/dist/react-native/static-helpers/platform-types.d.ts +6 -0
  1084. package/dist/react-native/static-helpers/platform-types.d.ts.map +1 -0
  1085. package/dist/react-native/static-helpers/platform-types.js +4 -0
  1086. package/dist/react-native/static-helpers/platform-types.js.map +1 -0
  1087. package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts +13 -0
  1088. package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts.map +1 -0
  1089. package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs +17 -0
  1090. package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs.map +1 -0
  1091. package/dist/react-native/static-helpers/serialization/get-binary-stream-response.d.ts +1 -11
  1092. package/dist/react-native/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
  1093. package/dist/react-native/static-helpers/serialization/get-binary-stream-response.js +1 -14
  1094. package/dist/react-native/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
  1095. package/dist/react-native/static-helpers/serialization/serialize-record.js +2 -2
  1096. package/dist/react-native/static-helpers/serialization/serialize-record.js.map +1 -1
  1097. package/dist/react-native/static-helpers/urlTemplate.js +7 -7
  1098. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
  1099. package/dist/react-native/tracing/attributes.d.ts +62 -0
  1100. package/dist/react-native/tracing/attributes.d.ts.map +1 -0
  1101. package/dist/react-native/tracing/attributes.js +230 -0
  1102. package/dist/react-native/tracing/attributes.js.map +1 -0
  1103. package/dist/react-native/tracing/configuration.d.ts +60 -0
  1104. package/dist/react-native/tracing/configuration.d.ts.map +1 -0
  1105. package/dist/react-native/tracing/configuration.js +67 -0
  1106. package/dist/react-native/tracing/configuration.js.map +1 -0
  1107. package/dist/react-native/tracing/constants.d.ts +55 -0
  1108. package/dist/react-native/tracing/constants.d.ts.map +1 -0
  1109. package/dist/react-native/tracing/constants.js +75 -0
  1110. package/dist/react-native/tracing/constants.js.map +1 -0
  1111. package/dist/react-native/tracing/formatters.d.ts +11 -0
  1112. package/dist/react-native/tracing/formatters.d.ts.map +1 -0
  1113. package/dist/react-native/tracing/formatters.js +251 -0
  1114. package/dist/react-native/tracing/formatters.js.map +1 -0
  1115. package/dist/react-native/tracing/metrics.d.ts +22 -0
  1116. package/dist/react-native/tracing/metrics.d.ts.map +1 -0
  1117. package/dist/react-native/tracing/metrics.js +77 -0
  1118. package/dist/react-native/tracing/metrics.js.map +1 -0
  1119. package/dist/react-native/tracing/responseTracing.d.ts +4 -0
  1120. package/dist/react-native/tracing/responseTracing.d.ts.map +1 -0
  1121. package/dist/react-native/tracing/responseTracing.js +223 -0
  1122. package/dist/react-native/tracing/responseTracing.js.map +1 -0
  1123. package/dist/react-native/tracing/tracingClient.d.ts +22 -0
  1124. package/dist/react-native/tracing/tracingClient.d.ts.map +1 -0
  1125. package/dist/react-native/tracing/tracingClient.js +37 -0
  1126. package/dist/react-native/tracing/tracingClient.js.map +1 -0
  1127. package/dist/react-native/tracing/tracingFetch.d.ts +14 -0
  1128. package/dist/react-native/tracing/tracingFetch.d.ts.map +1 -0
  1129. package/dist/react-native/tracing/tracingFetch.js +30 -0
  1130. package/dist/react-native/tracing/tracingFetch.js.map +1 -0
  1131. package/package.json +21 -13
  1132. package/dist/browser/api/beta/toolboxes/index.d.ts +0 -3
  1133. package/dist/browser/api/beta/toolboxes/index.d.ts.map +0 -1
  1134. package/dist/browser/api/beta/toolboxes/index.js.map +0 -1
  1135. package/dist/browser/api/beta/toolboxes/operations.d.ts +0 -38
  1136. package/dist/browser/api/beta/toolboxes/operations.d.ts.map +0 -1
  1137. package/dist/browser/api/beta/toolboxes/operations.js +0 -277
  1138. package/dist/browser/api/beta/toolboxes/operations.js.map +0 -1
  1139. package/dist/browser/api/beta/toolboxes/options.d.ts.map +0 -1
  1140. package/dist/browser/api/beta/toolboxes/options.js.map +0 -1
  1141. package/dist/browser/classic/beta/toolboxes/index.d.ts +0 -25
  1142. package/dist/browser/classic/beta/toolboxes/index.d.ts.map +0 -1
  1143. package/dist/browser/classic/beta/toolboxes/index.js +0 -21
  1144. package/dist/browser/classic/beta/toolboxes/index.js.map +0 -1
  1145. package/dist/commonjs/api/beta/toolboxes/index.d.ts +0 -3
  1146. package/dist/commonjs/api/beta/toolboxes/index.d.ts.map +0 -1
  1147. package/dist/commonjs/api/beta/toolboxes/index.js.map +0 -7
  1148. package/dist/commonjs/api/beta/toolboxes/operations.d.ts +0 -38
  1149. package/dist/commonjs/api/beta/toolboxes/operations.d.ts.map +0 -1
  1150. package/dist/commonjs/api/beta/toolboxes/operations.js.map +0 -7
  1151. package/dist/commonjs/api/beta/toolboxes/options.d.ts.map +0 -1
  1152. package/dist/commonjs/api/beta/toolboxes/options.js.map +0 -7
  1153. package/dist/commonjs/classic/beta/toolboxes/index.d.ts +0 -25
  1154. package/dist/commonjs/classic/beta/toolboxes/index.d.ts.map +0 -1
  1155. package/dist/commonjs/classic/beta/toolboxes/index.js.map +0 -7
  1156. package/dist/esm/api/beta/toolboxes/index.d.ts +0 -3
  1157. package/dist/esm/api/beta/toolboxes/index.d.ts.map +0 -1
  1158. package/dist/esm/api/beta/toolboxes/index.js.map +0 -1
  1159. package/dist/esm/api/beta/toolboxes/operations.d.ts +0 -38
  1160. package/dist/esm/api/beta/toolboxes/operations.d.ts.map +0 -1
  1161. package/dist/esm/api/beta/toolboxes/operations.js +0 -277
  1162. package/dist/esm/api/beta/toolboxes/operations.js.map +0 -1
  1163. package/dist/esm/api/beta/toolboxes/options.d.ts.map +0 -1
  1164. package/dist/esm/api/beta/toolboxes/options.js.map +0 -1
  1165. package/dist/esm/classic/beta/toolboxes/index.d.ts +0 -25
  1166. package/dist/esm/classic/beta/toolboxes/index.d.ts.map +0 -1
  1167. package/dist/esm/classic/beta/toolboxes/index.js +0 -21
  1168. package/dist/esm/classic/beta/toolboxes/index.js.map +0 -1
  1169. package/dist/react-native/api/beta/toolboxes/index.d.ts +0 -3
  1170. package/dist/react-native/api/beta/toolboxes/index.d.ts.map +0 -1
  1171. package/dist/react-native/api/beta/toolboxes/index.js.map +0 -1
  1172. package/dist/react-native/api/beta/toolboxes/operations.d.ts +0 -38
  1173. package/dist/react-native/api/beta/toolboxes/operations.d.ts.map +0 -1
  1174. package/dist/react-native/api/beta/toolboxes/operations.js +0 -277
  1175. package/dist/react-native/api/beta/toolboxes/operations.js.map +0 -1
  1176. package/dist/react-native/api/beta/toolboxes/options.d.ts.map +0 -1
  1177. package/dist/react-native/api/beta/toolboxes/options.js.map +0 -1
  1178. package/dist/react-native/classic/beta/toolboxes/index.d.ts +0 -25
  1179. package/dist/react-native/classic/beta/toolboxes/index.d.ts.map +0 -1
  1180. package/dist/react-native/classic/beta/toolboxes/index.js +0 -21
  1181. package/dist/react-native/classic/beta/toolboxes/index.js.map +0 -1
  1182. /package/dist/browser/api/beta/{toolboxes → datasets}/options.js +0 -0
  1183. /package/dist/{esm/api/beta/toolboxes → browser/api/beta/models}/options.js +0 -0
  1184. /package/dist/{react-native/api/beta/toolboxes → browser/api/beta/routines}/options.js +0 -0
  1185. /package/dist/browser/api/{beta/toolboxes → toolboxes}/index.js +0 -0
  1186. /package/dist/commonjs/api/beta/{toolboxes → datasets}/options.js +0 -0
  1187. /package/dist/commonjs/api/{beta/toolboxes → toolboxes}/index.js +0 -0
  1188. /package/dist/esm/api/{beta/toolboxes → toolboxes}/index.js +0 -0
  1189. /package/dist/react-native/api/{beta/toolboxes → toolboxes}/index.js +0 -0
@@ -1,3 +1,5 @@
1
+ import type { NodeReadableStream } from "../static-helpers/platform-types.js";
2
+ import type { FileContents } from "../static-helpers/multipartHelpers.js";
1
3
  /**
2
4
  * This file contains only generated model types and their (de)serializers.
3
5
  * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
@@ -10,12 +12,14 @@ export interface Agent {
10
12
  id: string;
11
13
  /** The name of the agent. */
12
14
  name: string;
15
+ /** The operational state of the agent. Controls whether the agent endpoint accepts or rejects requests. */
16
+ readonly state: AgentState;
13
17
  /** The latest version of the agent. */
14
18
  versions: {
15
19
  latest: AgentVersion;
16
20
  };
17
21
  /** The endpoint configuration for the agent */
18
- agent_endpoint?: AgentEndpoint;
22
+ agent_endpoint?: AgentEndpointConfig;
19
23
  /** The instance identity of the agent */
20
24
  readonly instance_identity?: AgentIdentity;
21
25
  /** The blueprint for the agent */
@@ -25,6 +29,8 @@ export interface Agent {
25
29
  agent_card?: AgentCard;
26
30
  }
27
31
  export declare function agentDeserializer(item: any): Agent;
32
+ /** The operational state of an agent. */
33
+ export type AgentState = "enabled" | "disabled";
28
34
  /**
29
35
  * Helper interface for agent version references.
30
36
  */
@@ -45,7 +51,7 @@ export interface AgentVersion {
45
51
  * Keys are strings with a maximum length of 64 characters. Values are strings
46
52
  * with a maximum length of 512 characters.
47
53
  */
48
- metadata: Record<string, string>;
54
+ metadata?: Record<string, string>;
49
55
  /** The object type, which is always 'agent.version'. */
50
56
  object: "agent.version";
51
57
  /** The unique identifier of the agent version. */
@@ -60,14 +66,16 @@ export interface AgentVersion {
60
66
  created_at: Date;
61
67
  /** The definition of the agent. */
62
68
  definition: AgentDefinitionUnion;
69
+ /** Whether this agent version is a draft (candidate) rather than a release. Draft versions are recorded but excluded from default 'latest' resolution and are not auto-promoted. Defaults to false. */
70
+ draft?: boolean;
71
+ /** The provisioning status of the agent version. Defaults to 'active' for non-hosted agents. For hosted agents, reflects infrastructure readiness. */
72
+ status?: AgentVersionStatus;
63
73
  /** The instance identity of the agent */
64
74
  readonly instance_identity?: AgentIdentity;
65
75
  /** The blueprint for the agent */
66
76
  readonly blueprint?: AgentIdentity;
67
77
  /** The blueprint for the agent */
68
78
  readonly blueprint_reference?: AgentBlueprintReferenceUnion;
69
- /** The current status of the agent version. */
70
- status?: "creating" | "active" | "failed" | "deleting" | "deleted";
71
79
  /** The unique GUID identifier of the agent. */
72
80
  readonly agent_guid?: string;
73
81
  }
@@ -86,16 +94,16 @@ export declare function agentDefinitionSerializer(item: AgentDefinition): any;
86
94
  export declare function agentDefinitionDeserializer(item: any): AgentDefinition;
87
95
  /**
88
96
  * Union type for all agent definition types.
89
- * Supports workflow, hosted, container app, and prompt agents.
97
+ * Supports workflow, hosted, container app, prompt and external agents.
90
98
  */
91
- export type AgentDefinitionUnion = HostedAgentDefinition | PromptAgentDefinition | WorkflowAgentDefinition | AgentDefinition;
99
+ export type AgentDefinitionUnion = HostedAgentDefinition | PromptAgentDefinition | WorkflowAgentDefinition | ExternalAgentDefinition | AgentDefinition;
92
100
  export declare function agentDefinitionUnionSerializer(item: AgentDefinitionUnion): any;
93
101
  export declare function agentDefinitionUnionDeserializer(item: any): AgentDefinitionUnion;
94
102
  /**
95
103
  * Defines the type/kind of agent.
96
104
  * Determines which agent definition structure is used.
97
105
  */
98
- export type AgentKind = "prompt" | "hosted" | "workflow";
106
+ export type AgentKind = "prompt" | "hosted" | "workflow" | "external";
99
107
  /** Configuration for Responsible AI (RAI) content filtering and safety features. */
100
108
  export interface RaiConfig {
101
109
  /** The name of the RAI policy to apply. */
@@ -106,27 +114,20 @@ export declare function raiConfigDeserializer(item: any): RaiConfig;
106
114
  /** The hosted agent definition. */
107
115
  export interface HostedAgentDefinition extends AgentDefinition {
108
116
  kind: "hosted";
109
- /**
110
- * An array of tools the hosted agent's model may call while generating a response. You
111
- * can specify which tool to use by setting the `tool_choice` parameter.
112
- */
113
- tools?: ToolUnion[];
114
- /** The protocols that the agent supports for ingress communication of the containers. */
115
- container_protocol_versions?: ProtocolVersionRecord[];
116
117
  /** The CPU configuration for the hosted agent. */
117
118
  cpu: string;
118
119
  /** The memory configuration for the hosted agent. */
119
120
  memory: string;
120
121
  /** Environment variables to set in the hosted agent container. */
121
122
  environment_variables?: Record<string, string>;
122
- /** The image ID for the agent, applicable to image-based hosted agents. */
123
- image?: string;
124
123
  /** Container-based deployment configuration. Provide this for image-based deployments. Mutually exclusive with code_configuration — the service validates that exactly one is set. */
125
124
  container_configuration?: ContainerConfiguration;
126
125
  /** The protocols that the agent supports for ingress communication. */
127
126
  protocol_versions?: ProtocolVersionRecord[];
128
127
  /** Code-based deployment configuration. Provide this for code-based deployments. Mutually exclusive with container_configuration — the service validates that exactly one is set. */
129
128
  code_configuration?: CodeConfiguration;
129
+ /** Optional customer-supplied telemetry configuration for exporting container logs, traces, and metrics. */
130
+ telemetry_config?: TelemetryConfig;
130
131
  }
131
132
  export declare function hostedAgentDefinitionSerializer(item: HostedAgentDefinition): any;
132
133
  export declare function hostedAgentDefinitionDeserializer(item: any): HostedAgentDefinition;
@@ -140,20 +141,43 @@ export interface Tool {
140
141
  export declare function toolSerializer(item: Tool): any;
141
142
  export declare function toolDeserializer(item: any): Tool;
142
143
  /** Alias for ToolUnion */
143
- export type ToolUnion = BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | WorkIQPreviewTool | MemorySearchPreviewTool | CodeInterpreterTool | FunctionTool | FileSearchTool | ComputerUsePreviewTool | WebSearchTool | MCPTool | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | ComputerTool | NamespaceToolParam | ToolSearchToolParam | Tool;
144
+ export type ToolUnion = BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | WorkIQPreviewTool | FabricIQPreviewTool | MemorySearchPreviewTool | CodeInterpreterTool | FileSearchTool | WebSearchTool | MCPTool | FunctionTool | ComputerUsePreviewTool | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | ComputerTool | NamespaceToolParam | ToolSearchToolParam | Tool;
144
145
  export declare function toolUnionSerializer(item: ToolUnion): any;
145
146
  export declare function toolUnionDeserializer(item: any): ToolUnion;
146
147
  /** Type of ToolType */
147
- export type ToolType = "function" | "file_search" | "computer" | "computer_use_preview" | "web_search" | "mcp" | "code_interpreter" | "image_generation" | "local_shell" | "shell" | "custom" | "namespace" | "tool_search" | "web_search_preview" | "apply_patch" | "a2a_preview" | "bing_custom_search_preview" | "browser_automation_preview" | "fabric_dataagent_preview" | "sharepoint_grounding_preview" | "memory_search_preview" | "work_iq_preview" | "azure_ai_search" | "azure_function" | "bing_grounding" | "capture_structured_outputs" | "openapi";
148
+ export type ToolType = "function" | "file_search" | "computer" | "computer_use_preview" | "web_search" | "mcp" | "code_interpreter" | "image_generation" | "local_shell" | "shell" | "custom" | "namespace" | "tool_search" | "web_search_preview" | "apply_patch" | "a2a_preview" | "bing_custom_search_preview" | "browser_automation_preview" | "fabric_dataagent_preview" | "sharepoint_grounding_preview" | "memory_search_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search_preview" | "azure_ai_search" | "azure_function" | "bing_grounding" | "capture_structured_outputs" | "openapi";
148
149
  /** The input definition information for a bing grounding search tool as used to configure an agent. */
149
150
  export interface BingGroundingTool extends Tool {
150
151
  /** The object type, which is always 'bing_grounding'. */
151
152
  type: "bing_grounding";
153
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
154
+ name?: string;
155
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
156
+ description?: string;
157
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
158
+ tool_configs?: Record<string, ToolConfig>;
152
159
  /** The bing grounding search tool parameters. */
153
160
  bing_grounding: BingGroundingSearchToolParameters;
154
161
  }
155
162
  export declare function bingGroundingToolSerializer(item: BingGroundingTool): any;
156
163
  export declare function bingGroundingToolDeserializer(item: any): BingGroundingTool;
164
+ export declare function toolConfigRecordSerializer(item: Record<string, ToolConfig>): Record<string, any>;
165
+ export declare function toolConfigRecordDeserializer(item: Record<string, any>): Record<string, ToolConfig>;
166
+ /** Per-tool configuration that controls tool visibility and search behavior. */
167
+ export interface ToolConfig {
168
+ /**
169
+ * When true, the tool is always included in agent context and visible in `tools/list`.
170
+ * When false (default), the tool is hidden from `tools/list` and only discoverable via `tool_search`.
171
+ */
172
+ pin?: boolean;
173
+ /**
174
+ * Additional text indexed for tool_search. Supplements the native tool description
175
+ * to improve discoverability. Does not alter `tools/list` output.
176
+ */
177
+ additional_search_text?: string;
178
+ }
179
+ export declare function toolConfigSerializer(item: ToolConfig): any;
180
+ export declare function toolConfigDeserializer(item: any): ToolConfig;
157
181
  /** The bing grounding search tool parameters. */
158
182
  export interface BingGroundingSearchToolParameters {
159
183
  /**
@@ -232,6 +256,12 @@ export declare function sharepointGroundingToolParametersDeserializer(item: any)
232
256
  export interface AzureAISearchTool extends Tool {
233
257
  /** The object type, which is always 'azure_ai_search'. */
234
258
  type: "azure_ai_search";
259
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
260
+ name?: string;
261
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
262
+ description?: string;
263
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
264
+ tool_configs?: Record<string, ToolConfig>;
235
265
  /** The azure ai search index resource. */
236
266
  azure_ai_search: AzureAISearchToolResource;
237
267
  }
@@ -272,6 +302,8 @@ export type AzureAISearchQueryType = "simple" | "semantic" | "vector" | "vector_
272
302
  export interface OpenApiTool extends Tool {
273
303
  /** The object type, which is always 'openapi'. */
274
304
  type: "openapi";
305
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
306
+ tool_configs?: Record<string, ToolConfig>;
275
307
  /** The openapi function definition. */
276
308
  openapi: OpenApiFunctionDefinition;
277
309
  }
@@ -432,6 +464,8 @@ export declare function browserAutomationToolConnectionParametersDeserializer(it
432
464
  export interface AzureFunctionTool extends Tool {
433
465
  /** The object type, which is always 'browser_automation'. */
434
466
  type: "azure_function";
467
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
468
+ tool_configs?: Record<string, ToolConfig>;
435
469
  /** The Azure Function Tool definition. */
436
470
  azure_function: AzureFunctionDefinition;
437
471
  }
@@ -485,10 +519,12 @@ export declare function azureFunctionStorageQueueDeserializer(item: any): AzureF
485
519
  export interface CaptureStructuredOutputsTool extends Tool {
486
520
  /** The type of the tool. Always `capture_structured_outputs`. */
487
521
  type: "capture_structured_outputs";
488
- /** Optional user-defined name for this tool or configuration. */
522
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
489
523
  name?: string;
490
- /** Optional user-defined description for this tool or configuration. */
524
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
491
525
  description?: string;
526
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
527
+ tool_configs?: Record<string, ToolConfig>;
492
528
  /** The structured outputs to capture from the model. */
493
529
  outputs: StructuredOutputDefinition;
494
530
  }
@@ -503,7 +539,7 @@ export interface StructuredOutputDefinition {
503
539
  /** The JSON schema for the structured output. */
504
540
  schema: Record<string, unknown>;
505
541
  /** Whether to enforce strict validation. Default `true`. */
506
- strict: boolean;
542
+ strict?: boolean;
507
543
  }
508
544
  export declare function structuredOutputDefinitionSerializer(item: StructuredOutputDefinition): any;
509
545
  export declare function structuredOutputDefinitionDeserializer(item: any): StructuredOutputDefinition;
@@ -523,6 +559,12 @@ export interface A2APreviewTool extends Tool {
523
559
  * The connection stores authentication and other connection details needed to connect to the A2A server.
524
560
  */
525
561
  project_connection_id?: string;
562
+ /**
563
+ * When `true`, Foundry sends its credentials when fetching the remote
564
+ * agent's Agent Card. The service defaults to `false` if a value is not
565
+ * specified by the caller (anonymous fetch).
566
+ */
567
+ send_credentials_for_agent_card?: boolean;
526
568
  }
527
569
  export declare function a2APreviewToolSerializer(item: A2APreviewTool): any;
528
570
  export declare function a2APreviewToolDeserializer(item: any): A2APreviewTool;
@@ -530,22 +572,50 @@ export declare function a2APreviewToolDeserializer(item: any): A2APreviewTool;
530
572
  export interface WorkIQPreviewTool extends Tool {
531
573
  /** The object type, which is always 'work_iq_preview'. */
532
574
  type: "work_iq_preview";
533
- /** Optional user-defined name for this tool or configuration. */
534
- name?: string;
535
- /** Optional user-defined description for this tool or configuration. */
536
- description?: string;
537
- /** The WorkIQ tool parameters. */
538
- work_iq_preview: WorkIQPreviewToolParameters;
575
+ /** The ID of the WorkIQ project connection. */
576
+ project_connection_id: string;
539
577
  }
540
578
  export declare function workIQPreviewToolSerializer(item: WorkIQPreviewTool): any;
541
579
  export declare function workIQPreviewToolDeserializer(item: any): WorkIQPreviewTool;
542
- /** The WorkIQ tool parameters. */
543
- export interface WorkIQPreviewToolParameters {
544
- /** The ID of the WorkIQ project connection. */
580
+ /** A FabricIQ server-side tool. */
581
+ export interface FabricIQPreviewTool extends Tool {
582
+ /** The object type, which is always 'fabric_iq_preview'. */
583
+ type: "fabric_iq_preview";
584
+ /** The ID of the FabricIQ project connection. */
545
585
  project_connection_id: string;
586
+ /** (Optional) The label of the FabricIQ MCP server to connect to. */
587
+ server_label?: string;
588
+ /** (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the project connection will be used. */
589
+ server_url?: string;
590
+ /** (Optional) Whether the agent requires approval before executing actions. Default is always. */
591
+ require_approval?: MCPToolRequireApproval | string;
592
+ }
593
+ export declare function fabricIQPreviewToolSerializer(item: FabricIQPreviewTool): any;
594
+ export declare function fabricIQPreviewToolDeserializer(item: any): FabricIQPreviewTool;
595
+ /** Alias for _FabricIQPreviewToolRequireApproval */
596
+ export type _FabricIQPreviewToolRequireApproval = MCPToolRequireApproval | string;
597
+ export declare function _fabricIQPreviewToolRequireApprovalSerializer(item: _FabricIQPreviewToolRequireApproval): any;
598
+ export declare function _fabricIQPreviewToolRequireApprovalDeserializer(item: any): _FabricIQPreviewToolRequireApproval;
599
+ /** model interface MCPToolRequireApproval */
600
+ export interface MCPToolRequireApproval {
601
+ always?: MCPToolFilter;
602
+ never?: MCPToolFilter;
603
+ }
604
+ export declare function mcpToolRequireApprovalSerializer(item: MCPToolRequireApproval): any;
605
+ export declare function mcpToolRequireApprovalDeserializer(item: any): MCPToolRequireApproval;
606
+ /** A filter object to specify which tools are allowed. */
607
+ export interface MCPToolFilter {
608
+ /** List of allowed tool names. */
609
+ tool_names?: string[];
610
+ /**
611
+ * Indicates whether or not a tool modifies data or is read-only. If an
612
+ * MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
613
+ * it will match this filter.
614
+ */
615
+ read_only?: boolean;
546
616
  }
547
- export declare function workIQPreviewToolParametersSerializer(item: WorkIQPreviewToolParameters): any;
548
- export declare function workIQPreviewToolParametersDeserializer(item: any): WorkIQPreviewToolParameters;
617
+ export declare function mcpToolFilterSerializer(item: MCPToolFilter): any;
618
+ export declare function mcpToolFilterDeserializer(item: any): MCPToolFilter;
549
619
  /** A tool for integrating memories into the agent. */
550
620
  export interface MemorySearchPreviewTool extends Tool {
551
621
  /** The type of the tool. Always `memory_search_preview`. */
@@ -576,10 +646,12 @@ export declare function memorySearchOptionsDeserializer(item: any): MemorySearch
576
646
  export interface CodeInterpreterTool extends Tool {
577
647
  /** The type of the code interpreter tool. Always `code_interpreter`. */
578
648
  type: "code_interpreter";
579
- /** Optional user-defined name for this tool or configuration. */
649
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
580
650
  name?: string;
581
- /** Optional user-defined description for this tool or configuration. */
651
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
582
652
  description?: string;
653
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
654
+ tool_configs?: Record<string, ToolConfig>;
583
655
  /**
584
656
  * The code interpreter container. Can be a container ID or an object that
585
657
  * specifies uploaded file IDs to make available to your code, along with an
@@ -662,9 +734,9 @@ export interface FunctionTool extends Tool {
662
734
  /** A description of the function tool. */
663
735
  description?: string;
664
736
  /** The parameters schema for the function. */
665
- parameters: Record<string, unknown>;
737
+ parameters?: Record<string, unknown>;
666
738
  /** Whether the function arguments must strictly match the parameters schema. */
667
- strict: boolean;
739
+ strict?: boolean;
668
740
  /** Whether this function is deferred and loaded via tool search. */
669
741
  defer_loading?: boolean;
670
742
  }
@@ -682,10 +754,12 @@ export interface FileSearchTool extends Tool {
682
754
  ranking_options?: RankingOptions;
683
755
  /** Filters to apply to the file search. */
684
756
  filters?: Filters;
685
- /** Optional user-defined name for this tool or configuration. */
757
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
686
758
  name?: string;
687
- /** Optional user-defined description for this tool or configuration. */
759
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
688
760
  description?: string;
761
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
762
+ tool_configs?: Record<string, ToolConfig>;
689
763
  }
690
764
  export declare function fileSearchToolSerializer(item: FileSearchTool): any;
691
765
  export declare function fileSearchToolDeserializer(item: any): FileSearchTool;
@@ -732,20 +806,22 @@ export interface ComparisonFilter {
732
806
  /** The key to compare against the value. */
733
807
  key: string;
734
808
  /** The value to compare against the attribute key; supports string, number, or boolean types. */
735
- value: string | number | boolean | ComparisonFilterValueItems[];
809
+ value: string | number | boolean | _FileSearchToolFiltersValue[];
736
810
  }
737
811
  export declare function comparisonFilterSerializer(item: ComparisonFilter): any;
738
812
  export declare function comparisonFilterDeserializer(item: any): ComparisonFilter;
739
- /** Alias for _ComparisonFilterValue */
740
- export type _ComparisonFilterValue = string | number | boolean | ComparisonFilterValueItems[];
741
- export declare function _comparisonFilterValueSerializer(item: _ComparisonFilterValue): any;
742
- export declare function _comparisonFilterValueDeserializer(item: any): _ComparisonFilterValue;
743
- export declare function comparisonFilterValueItemsArraySerializer(result: Array<ComparisonFilterValueItems>): any[];
744
- export declare function comparisonFilterValueItemsArrayDeserializer(result: Array<ComparisonFilterValueItems>): any[];
813
+ /** Alias for FileSearchToolFiltersValue */
814
+ export type FileSearchToolFiltersValue = string | number | boolean | _FileSearchToolFiltersValue[];
815
+ export declare function _fileSearchToolFiltersValueSerializer(item: FileSearchToolFiltersValue): any;
816
+ export declare function _fileSearchToolFiltersValueDeserializer(item: any): FileSearchToolFiltersValue;
817
+ export declare function _fileSearchToolFiltersValue1ArraySerializer(result: Array<_FileSearchToolFiltersValue>): any[];
818
+ export declare function _fileSearchToolFiltersValue1ArrayDeserializer(result: Array<_FileSearchToolFiltersValue>): any[];
819
+ /** Alias for _FileSearchToolFiltersValue */
820
+ export type _FileSearchToolFiltersValue = string | number;
745
821
  /** Alias for ComparisonFilterValueItems */
746
- export type ComparisonFilterValueItems = string | number;
747
- export declare function comparisonFilterValueItemsSerializer(item: ComparisonFilterValueItems): any;
748
- export declare function comparisonFilterValueItemsDeserializer(item: any): ComparisonFilterValueItems;
822
+ export type ComparisonFilterValueItems = _FileSearchToolFiltersValue;
823
+ export declare function _fileSearchToolFiltersValue1Serializer(item: _FileSearchToolFiltersValue): any;
824
+ export declare function _fileSearchToolFiltersValue1Deserializer(item: any): _FileSearchToolFiltersValue;
749
825
  /** Combine multiple filters using `and` or `or`. */
750
826
  export interface CompoundFilter {
751
827
  /** Type of operation: `and` or `or`. */
@@ -755,12 +831,12 @@ export interface CompoundFilter {
755
831
  }
756
832
  export declare function compoundFilterSerializer(item: CompoundFilter): any;
757
833
  export declare function compoundFilterDeserializer(item: any): CompoundFilter;
758
- export declare function _compoundFilterFilterArraySerializer(result: Array<_CompoundFilterFilter>): any[];
759
- export declare function _compoundFilterFilterArrayDeserializer(result: Array<_CompoundFilterFilter>): any[];
760
- /** Alias for _CompoundFilterFilter */
761
- export type _CompoundFilterFilter = ComparisonFilter | CompoundFilter;
762
- export declare function _compoundFilterFilterSerializer(item: _CompoundFilterFilter): any;
763
- export declare function _compoundFilterFilterDeserializer(item: any): _CompoundFilterFilter;
834
+ export declare function _fileSearchToolFiltersFilterArraySerializer(result: Array<_FileSearchToolFiltersFilter>): any[];
835
+ export declare function _fileSearchToolFiltersFilterArrayDeserializer(result: Array<_FileSearchToolFiltersFilter>): any[];
836
+ /** Alias for _FileSearchToolFiltersFilter */
837
+ export type _FileSearchToolFiltersFilter = ComparisonFilter | CompoundFilter;
838
+ export declare function _fileSearchToolFiltersFilterSerializer(item: _FileSearchToolFiltersFilter): any;
839
+ export declare function _fileSearchToolFiltersFilterDeserializer(item: any): _FileSearchToolFiltersFilter;
764
840
  /** A tool that controls a virtual computer. Learn more about the [computer tool](https://platform.openai.com/docs/guides/tools-computer-use). */
765
841
  export interface ComputerUsePreviewTool extends Tool {
766
842
  /** The type of the computer use tool. Always `computer_use_preview`. */
@@ -789,10 +865,12 @@ export interface WebSearchTool extends Tool {
789
865
  user_location?: WebSearchApproximateLocation;
790
866
  /** High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. */
791
867
  search_context_size?: "low" | "medium" | "high";
792
- /** Optional user-defined name for this tool or configuration. */
868
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
793
869
  name?: string;
794
- /** Optional user-defined description for this tool or configuration. */
870
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
795
871
  description?: string;
872
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
873
+ tool_configs?: Record<string, ToolConfig>;
796
874
  /**
797
875
  * The project connections attached to this tool. There can be a maximum of 1 connection
798
876
  * resource attached to the tool.
@@ -842,14 +920,14 @@ export interface MCPTool extends Tool {
842
920
  /** A label for this MCP server, used to identify it in tool calls. */
843
921
  server_label: string;
844
922
  /**
845
- * The URL for the MCP server. One of `server_url` or `connector_id` must be
846
- * provided.
923
+ * The URL for the MCP server. One of `server_url`, `connector_id`, or
924
+ * `tunnel_id` must be provided.
847
925
  */
848
926
  server_url?: string;
849
927
  /**
850
928
  * Identifier for service connectors, like those available in ChatGPT. One of
851
- * `server_url` or `connector_id` must be provided. Learn more about service
852
- * connectors [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
929
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
930
+ * about service connectors [here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
853
931
  * Currently supported `connector_id` values are:
854
932
  * - Dropbox: `connector_dropbox`
855
933
  * - Gmail: `connector_gmail`
@@ -861,6 +939,11 @@ export interface MCPTool extends Tool {
861
939
  * - SharePoint: `connector_sharepoint`
862
940
  */
863
941
  connector_id?: "connector_dropbox" | "connector_gmail" | "connector_googlecalendar" | "connector_googledrive" | "connector_microsoftteams" | "connector_outlookcalendar" | "connector_outlookemail" | "connector_sharepoint";
942
+ /**
943
+ * The Secure MCP Tunnel ID to use instead of a direct server URL. One of
944
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided.
945
+ */
946
+ tunnel_id?: string;
864
947
  /**
865
948
  * An OAuth access token that can be used with a remote MCP server, either
866
949
  * with a custom MCP server URL or a service connector. Your application
@@ -879,6 +962,8 @@ export interface MCPTool extends Tool {
879
962
  defer_loading?: boolean;
880
963
  /** The connection ID in the project for the MCP server. The connection stores authentication and other connection details needed to connect to the MCP server. */
881
964
  project_connection_id?: string;
965
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
966
+ tool_configs?: Record<string, ToolConfig>;
882
967
  }
883
968
  export declare function mcpToolSerializer(item: MCPTool): any;
884
969
  export declare function mcpToolDeserializer(item: any): MCPTool;
@@ -886,32 +971,10 @@ export declare function mcpToolDeserializer(item: any): MCPTool;
886
971
  export type _MCPToolAllowedTools = string[] | MCPToolFilter;
887
972
  export declare function _mcpToolAllowedToolsSerializer(item: _MCPToolAllowedTools): any;
888
973
  export declare function _mcpToolAllowedToolsDeserializer(item: any): _MCPToolAllowedTools;
889
- /** A filter object to specify which tools are allowed. */
890
- export interface MCPToolFilter {
891
- /** List of allowed tool names. */
892
- tool_names?: string[];
893
- /**
894
- * Indicates whether or not a tool modifies data or is read-only. If an
895
- * MCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
896
- * it will match this filter.
897
- */
898
- read_only?: boolean;
899
- }
900
- export declare function mcpToolFilterSerializer(item: MCPToolFilter): any;
901
- export declare function mcpToolFilterDeserializer(item: any): MCPToolFilter;
902
974
  /** Alias for _MCPToolRequireApproval */
903
975
  export type _MCPToolRequireApproval = MCPToolRequireApproval | "always" | "never";
904
976
  export declare function _mcpToolRequireApprovalSerializer(item: _MCPToolRequireApproval): any;
905
977
  export declare function _mcpToolRequireApprovalDeserializer(item: any): _MCPToolRequireApproval;
906
- /** model interface MCPToolRequireApproval */
907
- export interface MCPToolRequireApproval {
908
- /** Tools that always require approval before execution. */
909
- always?: MCPToolFilter;
910
- /** Tools that never require approval before execution. */
911
- never?: MCPToolFilter;
912
- }
913
- export declare function mcpToolRequireApprovalSerializer(item: MCPToolRequireApproval): any;
914
- export declare function mcpToolRequireApprovalDeserializer(item: any): MCPToolRequireApproval;
915
978
  /** A tool that generates images using the GPT image models. */
916
979
  export interface ImageGenTool extends Tool {
917
980
  /** The type of the image generation tool. Always `image_generation`. */
@@ -923,10 +986,7 @@ export interface ImageGenTool extends Tool {
923
986
  * or `auto`. Default: `auto`.
924
987
  */
925
988
  quality?: "low" | "medium" | "high" | "auto";
926
- /**
927
- * The size of the generated image. One of `1024x1024`, `1024x1536`,
928
- * `1536x1024`, or `auto`. Default: `auto`.
929
- */
989
+ /** The size of the generated images. For `gpt-image-2` and `gpt-image-2-2026-04-21`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. For `dall-e-2`, use one of `256x256`, `512x512`, or `1024x1024`. For `dall-e-3`, use one of `1024x1024`, `1792x1024`, or `1024x1792`. */
930
990
  size?: "1024x1024" | "1024x1536" | "1536x1024" | "auto";
931
991
  /**
932
992
  * The output format of the generated image. One of `png`, `webp`, or
@@ -953,10 +1013,12 @@ export interface ImageGenTool extends Tool {
953
1013
  partial_images?: number;
954
1014
  /** Whether to generate a new image or edit an existing image. Default: `auto`. */
955
1015
  action?: ImageGenAction;
956
- /** Optional user-defined name for this tool or configuration. */
1016
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
957
1017
  name?: string;
958
- /** Optional user-defined description for this tool or configuration. */
1018
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
959
1019
  description?: string;
1020
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
1021
+ tool_configs?: Record<string, ToolConfig>;
960
1022
  }
961
1023
  export declare function imageGenToolSerializer(item: ImageGenTool): any;
962
1024
  export declare function imageGenToolDeserializer(item: any): ImageGenTool;
@@ -977,10 +1039,12 @@ export type ImageGenAction = "generate" | "edit" | "auto";
977
1039
  export interface LocalShellToolParam extends Tool {
978
1040
  /** The type of the local shell tool. Always `local_shell`. */
979
1041
  type: "local_shell";
980
- /** Optional user-defined name for this tool or configuration. */
1042
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
981
1043
  name?: string;
982
- /** Optional user-defined description for this tool or configuration. */
1044
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
983
1045
  description?: string;
1046
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
1047
+ tool_configs?: Record<string, ToolConfig>;
984
1048
  }
985
1049
  export declare function localShellToolParamSerializer(item: LocalShellToolParam): any;
986
1050
  export declare function localShellToolParamDeserializer(item: any): LocalShellToolParam;
@@ -990,10 +1054,12 @@ export interface FunctionShellToolParam extends Tool {
990
1054
  type: "shell";
991
1055
  /** The environment configuration for the function shell tool. */
992
1056
  environment?: FunctionShellToolParamEnvironmentUnion;
993
- /** Optional user-defined name for this tool or configuration. */
1057
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
994
1058
  name?: string;
995
- /** Optional user-defined description for this tool or configuration. */
1059
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
996
1060
  description?: string;
1061
+ /** Deprecated. This property is deprecated and will be removed in a future version. */
1062
+ tool_configs?: Record<string, ToolConfig>;
997
1063
  }
998
1064
  export declare function functionShellToolParamSerializer(item: FunctionShellToolParam): any;
999
1065
  export declare function functionShellToolParamDeserializer(item: any): FunctionShellToolParam;
@@ -1248,35 +1314,115 @@ export declare function toolSearchToolParamSerializer(item: ToolSearchToolParam)
1248
1314
  export declare function toolSearchToolParamDeserializer(item: any): ToolSearchToolParam;
1249
1315
  /** Type of ToolSearchExecutionType */
1250
1316
  export type ToolSearchExecutionType = "server" | "client";
1317
+ /** Container-based deployment configuration for a hosted agent. */
1318
+ export interface ContainerConfiguration {
1319
+ /** The container image for the hosted agent. */
1320
+ image: string;
1321
+ }
1322
+ export declare function containerConfigurationSerializer(item: ContainerConfiguration): any;
1323
+ export declare function containerConfigurationDeserializer(item: any): ContainerConfiguration;
1251
1324
  export declare function protocolVersionRecordArraySerializer(result: Array<ProtocolVersionRecord>): any[];
1252
1325
  export declare function protocolVersionRecordArrayDeserializer(result: Array<ProtocolVersionRecord>): any[];
1253
1326
  /** A record mapping for a single protocol and its version. */
1254
1327
  export interface ProtocolVersionRecord {
1255
1328
  /** The protocol type. */
1256
1329
  protocol: AgentProtocol;
1257
- /** The version string for the protocol, e.g. 'v0.1.1'. */
1330
+ /** The version string for the protocol, e.g. '1.0.0'. */
1258
1331
  version: string;
1259
1332
  }
1260
1333
  export declare function protocolVersionRecordSerializer(item: ProtocolVersionRecord): any;
1261
1334
  export declare function protocolVersionRecordDeserializer(item: any): ProtocolVersionRecord;
1262
1335
  /** Type of AgentProtocol */
1263
- export type AgentProtocol = "activity_protocol" | "responses" | "invocations";
1264
- /** Container-based deployment configuration for a hosted agent. */
1265
- export interface ContainerConfiguration {
1266
- /** The container image for the hosted agent. */
1267
- image: string;
1268
- }
1269
- export declare function containerConfigurationSerializer(item: ContainerConfiguration): any;
1270
- export declare function containerConfigurationDeserializer(item: any): ContainerConfiguration;
1336
+ export type AgentProtocol = "activity" | "responses" | "a2a" | "mcp" | "invocations" | "invocations_ws";
1271
1337
  /** Code-based deployment configuration for a hosted agent. */
1272
1338
  export interface CodeConfiguration {
1273
- /** The runtime identifier for code execution (e.g., 'python_3_11', 'python_3_12', 'python_3_13'). */
1339
+ /** The runtime identifier for code execution ('python_3_14'). */
1274
1340
  runtime: string;
1275
1341
  /** The entry point command and arguments for the code execution. */
1276
1342
  entry_point: string[];
1343
+ /**
1344
+ * How package dependencies are resolved at deployment time. Defaults to `bundled`,
1345
+ * where the caller bundles all dependencies into the uploaded zip and the service
1346
+ * performs no remote build. `remote_build` instructs the service to build
1347
+ * dependencies remotely from the manifest included in the uploaded zip.
1348
+ */
1349
+ dependency_resolution: CodeDependencyResolution;
1350
+ /** The SHA-256 hex digest of the uploaded code zip. Set by the service from the `x-ms-code-zip-sha256` request header; read-only in responses and never accepted in request payloads. */
1351
+ readonly content_hash?: string;
1277
1352
  }
1278
1353
  export declare function codeConfigurationSerializer(item: CodeConfiguration): any;
1279
1354
  export declare function codeConfigurationDeserializer(item: any): CodeConfiguration;
1355
+ /** How package dependencies are resolved at deployment time for a code-based hosted agent. */
1356
+ export type CodeDependencyResolution = "bundled" | "remote_build";
1357
+ /** Customer-supplied telemetry configuration for exporting container logs, traces, and metrics. */
1358
+ export interface TelemetryConfig {
1359
+ /** Customer-supplied telemetry export endpoint configurations. */
1360
+ endpoints: TelemetryEndpointUnion[];
1361
+ }
1362
+ export declare function telemetryConfigSerializer(item: TelemetryConfig): any;
1363
+ export declare function telemetryConfigDeserializer(item: any): TelemetryConfig;
1364
+ export declare function telemetryEndpointUnionArraySerializer(result: Array<TelemetryEndpointUnion>): any[];
1365
+ export declare function telemetryEndpointUnionArrayDeserializer(result: Array<TelemetryEndpointUnion>): any[];
1366
+ /** A telemetry export endpoint configuration. */
1367
+ export interface TelemetryEndpoint {
1368
+ /** The telemetry export endpoint kind. */
1369
+ /** The discriminator possible values: OTLP */
1370
+ kind: TelemetryEndpointKind;
1371
+ /** Data types to export to this endpoint. Use an empty array to export no data. */
1372
+ data: TelemetryDataKind[];
1373
+ /** Optional authentication configuration. */
1374
+ auth?: TelemetryEndpointAuthUnion;
1375
+ }
1376
+ export declare function telemetryEndpointSerializer(item: TelemetryEndpoint): any;
1377
+ export declare function telemetryEndpointDeserializer(item: any): TelemetryEndpoint;
1378
+ /** Alias for TelemetryEndpointUnion */
1379
+ export type TelemetryEndpointUnion = OtlpTelemetryEndpoint | TelemetryEndpoint;
1380
+ export declare function telemetryEndpointUnionSerializer(item: TelemetryEndpointUnion): any;
1381
+ export declare function telemetryEndpointUnionDeserializer(item: any): TelemetryEndpointUnion;
1382
+ /** The kind of telemetry export endpoint. */
1383
+ export type TelemetryEndpointKind = "OTLP";
1384
+ /** The type of telemetry data to export. */
1385
+ export type TelemetryDataKind = "ContainerStdoutStderr" | "ContainerOtel" | "Metrics";
1386
+ /** Authentication configuration for a telemetry endpoint. */
1387
+ export interface TelemetryEndpointAuth {
1388
+ /** The authentication type. */
1389
+ /** The discriminator possible values: header */
1390
+ type: TelemetryEndpointAuthType;
1391
+ }
1392
+ export declare function telemetryEndpointAuthSerializer(item: TelemetryEndpointAuth): any;
1393
+ export declare function telemetryEndpointAuthDeserializer(item: any): TelemetryEndpointAuth;
1394
+ /** Alias for TelemetryEndpointAuthUnion */
1395
+ export type TelemetryEndpointAuthUnion = HeaderTelemetryEndpointAuth | TelemetryEndpointAuth;
1396
+ export declare function telemetryEndpointAuthUnionSerializer(item: TelemetryEndpointAuthUnion): any;
1397
+ export declare function telemetryEndpointAuthUnionDeserializer(item: any): TelemetryEndpointAuthUnion;
1398
+ /** The type of authentication for a telemetry endpoint. */
1399
+ export type TelemetryEndpointAuthType = "header";
1400
+ /** Header-based secret authentication for a telemetry endpoint. The resolved secret value is injected as an HTTP header. */
1401
+ export interface HeaderTelemetryEndpointAuth extends TelemetryEndpointAuth {
1402
+ /** The authentication type, always 'header' for header-based secret authentication. */
1403
+ type: "header";
1404
+ /** The name of the HTTP header to inject the secret value into. */
1405
+ header_name: string;
1406
+ /** The identifier of the secret store or connection. */
1407
+ secret_id: string;
1408
+ /** The key within the secret to retrieve the authentication value. */
1409
+ secret_key: string;
1410
+ }
1411
+ export declare function headerTelemetryEndpointAuthSerializer(item: HeaderTelemetryEndpointAuth): any;
1412
+ export declare function headerTelemetryEndpointAuthDeserializer(item: any): HeaderTelemetryEndpointAuth;
1413
+ /** An OTLP (OpenTelemetry Protocol) telemetry export endpoint. */
1414
+ export interface OtlpTelemetryEndpoint extends TelemetryEndpoint {
1415
+ /** The endpoint kind, always 'OTLP' for OpenTelemetry Protocol endpoints. */
1416
+ kind: "OTLP";
1417
+ /** The OTLP collector endpoint URL. */
1418
+ endpoint: string;
1419
+ /** The transport protocol for the OTLP endpoint. */
1420
+ protocol: TelemetryTransportProtocol;
1421
+ }
1422
+ export declare function otlpTelemetryEndpointSerializer(item: OtlpTelemetryEndpoint): any;
1423
+ export declare function otlpTelemetryEndpointDeserializer(item: any): OtlpTelemetryEndpoint;
1424
+ /** The transport protocol for telemetry export. */
1425
+ export type TelemetryTransportProtocol = "Http" | "Grpc";
1280
1426
  /** The prompt agent definition */
1281
1427
  export interface PromptAgentDefinition extends AgentDefinition {
1282
1428
  kind: "prompt";
@@ -1286,16 +1432,15 @@ export interface PromptAgentDefinition extends AgentDefinition {
1286
1432
  instructions?: string;
1287
1433
  /**
1288
1434
  * 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.
1289
- * We generally recommend altering this or `top_p` but not both.
1435
+ * We generally recommend altering this or `top_p` but not both. Defaults to `1`.
1290
1436
  */
1291
1437
  temperature?: number;
1292
1438
  /**
1293
1439
  * An alternative to sampling with temperature, called nucleus sampling,
1294
1440
  * where the model considers the results of the tokens with top_p probability
1295
1441
  * mass. So 0.1 means only the tokens comprising the top 10% probability mass
1296
- * are considered.
1297
- *
1298
- * We generally recommend altering this or `temperature` but not both.
1442
+ * are considered. We generally recommend altering this or `temperature` but not both.
1443
+ * Defaults to `1`.
1299
1444
  */
1300
1445
  top_p?: number;
1301
1446
  reasoning?: Reasoning;
@@ -1324,6 +1469,7 @@ export declare function promptAgentDefinitionDeserializer(item: any): PromptAgen
1324
1469
  export interface Reasoning {
1325
1470
  effort?: ReasoningEffort;
1326
1471
  summary?: "auto" | "concise" | "detailed";
1472
+ context?: "auto" | "current_turn" | "all_turns";
1327
1473
  generate_summary?: "auto" | "concise" | "detailed";
1328
1474
  }
1329
1475
  export declare function reasoningSerializer(item: Reasoning): any;
@@ -1579,7 +1725,7 @@ export interface StructuredInputDefinition {
1579
1725
  default_value?: unknown;
1580
1726
  /** The JSON schema for the structured input (optional). */
1581
1727
  schema?: Record<string, unknown>;
1582
- /** Whether the input property is required when the agent is invoked. */
1728
+ /** Whether the input property is required when the agent is invoked. Defaults to `false`. */
1583
1729
  required?: boolean;
1584
1730
  }
1585
1731
  export declare function structuredInputDefinitionSerializer(item: StructuredInputDefinition): any;
@@ -1592,6 +1738,26 @@ export interface WorkflowAgentDefinition extends AgentDefinition {
1592
1738
  }
1593
1739
  export declare function workflowAgentDefinitionSerializer(item: WorkflowAgentDefinition): any;
1594
1740
  export declare function workflowAgentDefinitionDeserializer(item: any): WorkflowAgentDefinition;
1741
+ /**
1742
+ * The external agent definition. Represents a third-party agent hosted outside Foundry (for example, on GCP or AWS).
1743
+ * Registration is metadata-only: Foundry records the agent definition to light up observability experiences (traces, evaluations)
1744
+ * over customer-emitted OpenTelemetry data.
1745
+ */
1746
+ export interface ExternalAgentDefinition extends AgentDefinition {
1747
+ kind: "external";
1748
+ /**
1749
+ * The OpenTelemetry agent identifier used to attribute customer-emitted spans to this Foundry agent.
1750
+ * Spans must include the attribute `gen_ai.agent.id = <otel_agent_id>` to appear under this registration.
1751
+ * Defaults to the top-level agent name when omitted. Provide an explicit value only for migration scenarios
1752
+ * where the running external agent already emits a stable id that differs from the Foundry agent name.
1753
+ * The resolved value is always echoed on read.
1754
+ */
1755
+ otel_agent_id?: string;
1756
+ }
1757
+ export declare function externalAgentDefinitionSerializer(item: ExternalAgentDefinition): any;
1758
+ export declare function externalAgentDefinitionDeserializer(item: any): ExternalAgentDefinition;
1759
+ /** The provisioning status of an agent version. */
1760
+ export type AgentVersionStatus = "creating" | "active" | "failed" | "deleting" | "deleted";
1595
1761
  /** model interface AgentIdentity */
1596
1762
  export interface AgentIdentity {
1597
1763
  /** The principal ID of the agent instance */
@@ -1620,17 +1786,19 @@ export interface ManagedAgentIdentityBlueprintReference extends AgentBlueprintRe
1620
1786
  }
1621
1787
  export declare function managedAgentIdentityBlueprintReferenceSerializer(item: ManagedAgentIdentityBlueprintReference): any;
1622
1788
  export declare function managedAgentIdentityBlueprintReferenceDeserializer(item: any): ManagedAgentIdentityBlueprintReference;
1623
- /** model interface AgentEndpoint */
1624
- export interface AgentEndpoint {
1789
+ /** model interface AgentEndpointConfig */
1790
+ export interface AgentEndpointConfig {
1625
1791
  /** The version selector of the agent endpoint determines how traffic is routed to different versions of the agent. */
1626
1792
  version_selector?: VersionSelector;
1627
- /** The protocols that the agent supports */
1628
- protocols?: AgentEndpointProtocol[];
1793
+ /** Per-protocol configuration for the agent endpoint. */
1794
+ protocol_configuration?: ProtocolConfiguration;
1629
1795
  /** The authorization schemes supported by the agent endpoint */
1630
1796
  authorization_schemes?: AgentEndpointAuthorizationSchemeUnion[];
1631
1797
  }
1632
- export declare function agentEndpointSerializer(item: AgentEndpoint): any;
1633
- export declare function agentEndpointDeserializer(item: any): AgentEndpoint;
1798
+ export declare function agentEndpointConfigSerializer(item: AgentEndpointConfig): any;
1799
+ export declare function agentEndpointConfigDeserializer(item: any): AgentEndpointConfig;
1800
+ /** @deprecated Use AgentEndpointConfig instead. */
1801
+ export type AgentEndpoint = AgentEndpointConfig;
1634
1802
  /** model interface VersionSelector */
1635
1803
  export interface VersionSelector {
1636
1804
  version_selection_rules: VersionSelectionRuleUnion[];
@@ -1641,7 +1809,7 @@ export declare function versionSelectionRuleUnionArraySerializer(result: Array<V
1641
1809
  export declare function versionSelectionRuleUnionArrayDeserializer(result: Array<VersionSelectionRuleUnion>): any[];
1642
1810
  /** model interface VersionSelectionRule */
1643
1811
  export interface VersionSelectionRule {
1644
- type: VersionSelectorType;
1812
+ type: VersionSelectionRuleType;
1645
1813
  /** The agent version to route traffic to */
1646
1814
  agent_version: string;
1647
1815
  }
@@ -1651,8 +1819,8 @@ export declare function versionSelectionRuleDeserializer(item: any): VersionSele
1651
1819
  export type VersionSelectionRuleUnion = FixedRatioVersionSelectionRule | VersionSelectionRule;
1652
1820
  export declare function versionSelectionRuleUnionSerializer(item: VersionSelectionRuleUnion): any;
1653
1821
  export declare function versionSelectionRuleUnionDeserializer(item: any): VersionSelectionRuleUnion;
1654
- /** Type of VersionSelectorType */
1655
- export type VersionSelectorType = "FixedRatio";
1822
+ /** Type of VersionSelectionRuleType */
1823
+ export type VersionSelectionRuleType = "FixedRatio";
1656
1824
  /** model interface FixedRatioVersionSelectionRule */
1657
1825
  export interface FixedRatioVersionSelectionRule extends VersionSelectionRule {
1658
1826
  type: "FixedRatio";
@@ -1661,8 +1829,55 @@ export interface FixedRatioVersionSelectionRule extends VersionSelectionRule {
1661
1829
  }
1662
1830
  export declare function fixedRatioVersionSelectionRuleSerializer(item: FixedRatioVersionSelectionRule): any;
1663
1831
  export declare function fixedRatioVersionSelectionRuleDeserializer(item: any): FixedRatioVersionSelectionRule;
1664
- /** Type of AgentEndpointProtocol */
1665
- export type AgentEndpointProtocol = "activity" | "responses" | "a2a" | "invocations";
1832
+ /** Per-protocol configuration for the agent endpoint. */
1833
+ export interface ProtocolConfiguration {
1834
+ /** Configuration for the activity protocol. */
1835
+ activity?: ActivityProtocolConfiguration;
1836
+ /** Configuration for the responses protocol. */
1837
+ responses?: ResponsesProtocolConfiguration;
1838
+ /** Configuration for the A2A protocol. */
1839
+ a2a?: A2AProtocolConfiguration;
1840
+ /** Configuration for the MCP protocol. */
1841
+ mcp?: McpProtocolConfiguration;
1842
+ /** Configuration for the invocations protocol. */
1843
+ invocations?: InvocationsProtocolConfiguration;
1844
+ /** Configuration for the WebSocket-based invocations protocol. */
1845
+ invocations_ws?: InvocationsWsProtocolConfiguration;
1846
+ }
1847
+ export declare function protocolConfigurationSerializer(item: ProtocolConfiguration): any;
1848
+ export declare function protocolConfigurationDeserializer(item: any): ProtocolConfiguration;
1849
+ /** Configuration specific to the activity protocol. */
1850
+ export interface ActivityProtocolConfiguration {
1851
+ /** Whether to enable the M365 public endpoint for the activity protocol. */
1852
+ enable_m365_public_endpoint?: boolean;
1853
+ }
1854
+ export declare function activityProtocolConfigurationSerializer(item: ActivityProtocolConfiguration): any;
1855
+ export declare function activityProtocolConfigurationDeserializer(item: any): ActivityProtocolConfiguration;
1856
+ /** Configuration specific to the responses protocol. */
1857
+ export interface ResponsesProtocolConfiguration {
1858
+ }
1859
+ export declare function responsesProtocolConfigurationSerializer(_item: ResponsesProtocolConfiguration): any;
1860
+ export declare function responsesProtocolConfigurationDeserializer(item: any): ResponsesProtocolConfiguration;
1861
+ /** Configuration specific to the A2A protocol. */
1862
+ export interface A2AProtocolConfiguration {
1863
+ }
1864
+ export declare function a2AProtocolConfigurationSerializer(_item: A2AProtocolConfiguration): any;
1865
+ export declare function a2AProtocolConfigurationDeserializer(item: any): A2AProtocolConfiguration;
1866
+ /** Configuration specific to the MCP protocol. */
1867
+ export interface McpProtocolConfiguration {
1868
+ }
1869
+ export declare function mcpProtocolConfigurationSerializer(_item: McpProtocolConfiguration): any;
1870
+ export declare function mcpProtocolConfigurationDeserializer(item: any): McpProtocolConfiguration;
1871
+ /** Configuration specific to the invocations protocol. */
1872
+ export interface InvocationsProtocolConfiguration {
1873
+ }
1874
+ export declare function invocationsProtocolConfigurationSerializer(_item: InvocationsProtocolConfiguration): any;
1875
+ export declare function invocationsProtocolConfigurationDeserializer(item: any): InvocationsProtocolConfiguration;
1876
+ /** Configuration specific to the WebSocket-based invocations protocol. */
1877
+ export interface InvocationsWsProtocolConfiguration {
1878
+ }
1879
+ export declare function invocationsWsProtocolConfigurationSerializer(_item: InvocationsWsProtocolConfiguration): any;
1880
+ export declare function invocationsWsProtocolConfigurationDeserializer(item: any): InvocationsWsProtocolConfiguration;
1666
1881
  export declare function agentEndpointAuthorizationSchemeUnionArraySerializer(result: Array<AgentEndpointAuthorizationSchemeUnion>): any[];
1667
1882
  export declare function agentEndpointAuthorizationSchemeUnionArrayDeserializer(result: Array<AgentEndpointAuthorizationSchemeUnion>): any[];
1668
1883
  /** model interface AgentEndpointAuthorizationScheme */
@@ -1672,46 +1887,17 @@ export interface AgentEndpointAuthorizationScheme {
1672
1887
  export declare function agentEndpointAuthorizationSchemeSerializer(item: AgentEndpointAuthorizationScheme): any;
1673
1888
  export declare function agentEndpointAuthorizationSchemeDeserializer(item: any): AgentEndpointAuthorizationScheme;
1674
1889
  /** Alias for AgentEndpointAuthorizationSchemeUnion */
1675
- export type AgentEndpointAuthorizationSchemeUnion = EntraAuthorizationScheme | BotServiceAuthorizationScheme | BotServiceRbacAuthorizationScheme | AgentEndpointAuthorizationScheme;
1890
+ export type AgentEndpointAuthorizationSchemeUnion = EntraAuthorizationScheme | BotServiceAuthorizationScheme | BotServiceRbacAuthorizationScheme | BotServiceTenantAuthorizationScheme | AgentEndpointAuthorizationScheme;
1676
1891
  export declare function agentEndpointAuthorizationSchemeUnionSerializer(item: AgentEndpointAuthorizationSchemeUnion): any;
1677
1892
  export declare function agentEndpointAuthorizationSchemeUnionDeserializer(item: any): AgentEndpointAuthorizationSchemeUnion;
1678
1893
  /** Type of AgentEndpointAuthorizationSchemeType */
1679
- export type AgentEndpointAuthorizationSchemeType = "Entra" | "BotService" | "BotServiceRbac";
1894
+ export type AgentEndpointAuthorizationSchemeType = "Entra" | "BotService" | "BotServiceRbac" | "BotServiceTenant";
1680
1895
  /** model interface EntraAuthorizationScheme */
1681
1896
  export interface EntraAuthorizationScheme extends AgentEndpointAuthorizationScheme {
1682
1897
  type: "Entra";
1683
- isolation_key_source: IsolationKeySourceUnion;
1684
1898
  }
1685
1899
  export declare function entraAuthorizationSchemeSerializer(item: EntraAuthorizationScheme): any;
1686
1900
  export declare function entraAuthorizationSchemeDeserializer(item: any): EntraAuthorizationScheme;
1687
- /** model interface IsolationKeySource */
1688
- export interface IsolationKeySource {
1689
- kind: IsolationKeySourceKind;
1690
- }
1691
- export declare function isolationKeySourceSerializer(item: IsolationKeySource): any;
1692
- export declare function isolationKeySourceDeserializer(item: any): IsolationKeySource;
1693
- /** Alias for IsolationKeySourceUnion */
1694
- export type IsolationKeySourceUnion = EntraIsolationKeySource | HeaderIsolationKeySource | IsolationKeySource;
1695
- export declare function isolationKeySourceUnionSerializer(item: IsolationKeySourceUnion): any;
1696
- export declare function isolationKeySourceUnionDeserializer(item: any): IsolationKeySourceUnion;
1697
- /** Type of IsolationKeySourceKind */
1698
- export type IsolationKeySourceKind = "Entra" | "Header";
1699
- /** model interface EntraIsolationKeySource */
1700
- export interface EntraIsolationKeySource extends IsolationKeySource {
1701
- kind: "Entra";
1702
- }
1703
- export declare function entraIsolationKeySourceSerializer(item: EntraIsolationKeySource): any;
1704
- export declare function entraIsolationKeySourceDeserializer(item: any): EntraIsolationKeySource;
1705
- /** model interface HeaderIsolationKeySource */
1706
- export interface HeaderIsolationKeySource extends IsolationKeySource {
1707
- kind: "Header";
1708
- /** The user isolation key header value */
1709
- user_isolation_key: string;
1710
- /** The chat isolation key header value */
1711
- chat_isolation_key: string;
1712
- }
1713
- export declare function headerIsolationKeySourceSerializer(item: HeaderIsolationKeySource): any;
1714
- export declare function headerIsolationKeySourceDeserializer(item: any): HeaderIsolationKeySource;
1715
1901
  /** model interface BotServiceAuthorizationScheme */
1716
1902
  export interface BotServiceAuthorizationScheme extends AgentEndpointAuthorizationScheme {
1717
1903
  type: "BotService";
@@ -1724,6 +1910,12 @@ export interface BotServiceRbacAuthorizationScheme extends AgentEndpointAuthoriz
1724
1910
  }
1725
1911
  export declare function botServiceRbacAuthorizationSchemeSerializer(item: BotServiceRbacAuthorizationScheme): any;
1726
1912
  export declare function botServiceRbacAuthorizationSchemeDeserializer(item: any): BotServiceRbacAuthorizationScheme;
1913
+ /** model interface BotServiceTenantAuthorizationScheme */
1914
+ export interface BotServiceTenantAuthorizationScheme extends AgentEndpointAuthorizationScheme {
1915
+ type: "BotServiceTenant";
1916
+ }
1917
+ export declare function botServiceTenantAuthorizationSchemeSerializer(item: BotServiceTenantAuthorizationScheme): any;
1918
+ export declare function botServiceTenantAuthorizationSchemeDeserializer(item: any): BotServiceTenantAuthorizationScheme;
1727
1919
  /** model interface AgentCard */
1728
1920
  export interface AgentCard {
1729
1921
  /** The version of the agent card. */
@@ -1775,8 +1967,8 @@ export interface ErrorModel {
1775
1967
  /** Debug information for the error. */
1776
1968
  debugInfo?: Record<string, unknown>;
1777
1969
  }
1778
- export declare function errorDeserializer(item: any): ErrorModel;
1779
- export declare function errorArrayDeserializer(result: Array<ErrorModel>): any[];
1970
+ export declare function apiErrorDeserializer(item: any): ErrorModel;
1971
+ export declare function apiErrorArrayDeserializer(result: Array<ErrorModel>): any[];
1780
1972
  /** A deleted agent Object */
1781
1973
  export interface DeleteAgentResponse {
1782
1974
  /** The object type. Always 'agent.deleted'. */
@@ -1868,6 +2060,8 @@ export interface ContinuousEvaluationRuleAction extends EvaluationRuleAction {
1868
2060
  evalId: string;
1869
2061
  /** Maximum number of evaluation runs allowed per hour. */
1870
2062
  maxHourlyRuns?: number;
2063
+ /** Percentage (0-100] chance that a matching event triggers an evaluation. When omitted, the service-default is to evaluate every event, which is equivalent to setting a sampling rate of 100. */
2064
+ samplingRate?: number;
1871
2065
  }
1872
2066
  export declare function continuousEvaluationRuleActionSerializer(item: ContinuousEvaluationRuleAction): any;
1873
2067
  export declare function continuousEvaluationRuleActionDeserializer(item: any): ContinuousEvaluationRuleAction;
@@ -2042,7 +2236,7 @@ export interface PendingUploadRequest {
2042
2236
  pendingUploadId?: string;
2043
2237
  /** Azure Storage Account connection name to use for generating temporary SAS token */
2044
2238
  connectionName?: string;
2045
- /** BlobReference is the only supported type. */
2239
+ /** The type of pending upload. */
2046
2240
  pendingUploadType: "BlobReference";
2047
2241
  }
2048
2242
  export declare function pendingUploadRequestSerializer(item: PendingUploadRequest): any;
@@ -2054,7 +2248,7 @@ export interface PendingUploadResponse {
2054
2248
  pendingUploadId: string;
2055
2249
  /** Version of asset to be created if user did not specify version when initially creating upload */
2056
2250
  version?: string;
2057
- /** BlobReference is the only supported type */
2251
+ /** The type of pending upload. */
2058
2252
  pendingUploadType: "BlobReference";
2059
2253
  }
2060
2254
  export declare function pendingUploadResponseDeserializer(item: any): PendingUploadResponse;
@@ -2076,6 +2270,8 @@ export interface SasCredential {
2076
2270
  readonly type: "SAS";
2077
2271
  }
2078
2272
  export declare function blobReferenceSasCredentialDeserializer(item: any): SasCredential;
2273
+ /** Type alias for BlobReferenceSasCredential - same as SasCredential */
2274
+ export type BlobReferenceSasCredential = SasCredential;
2079
2275
  /** Represents a reference to a blob for consumption */
2080
2276
  export interface DatasetCredential {
2081
2277
  /** Credential info to access the storage account. */
@@ -2236,6 +2432,42 @@ export interface EmbeddingConfiguration {
2236
2432
  }
2237
2433
  export declare function embeddingConfigurationSerializer(item: EmbeddingConfiguration): any;
2238
2434
  export declare function embeddingConfigurationDeserializer(item: any): EmbeddingConfiguration;
2435
+ /** File contents with optional metadata for multipart uploads. */
2436
+ export interface FileWithMetadata {
2437
+ contents: FileContents;
2438
+ contentType?: string;
2439
+ filename?: string;
2440
+ }
2441
+ /** Multipart request body for updating or versioning a code-based agent (POST /agents/{name} and POST /agents/{name}/versions). */
2442
+ export interface CreateAgentVersionFromCodeContent {
2443
+ /** JSON metadata including description and hosted definition. */
2444
+ metadata: CreateAgentVersionFromCodeMetadata;
2445
+ /** The code zip file (max 250 MB). */
2446
+ code: FileContents | FileWithMetadata;
2447
+ }
2448
+ export declare function createAgentVersionFromCodeContentSerializer(item: CreateAgentVersionFromCodeContent): any;
2449
+ /**
2450
+ * JSON metadata for code-based agent operations (create, update, create version).
2451
+ * The agent name comes from the URL path parameter or the `x-ms-agent-name` header,
2452
+ * so it is not included in this model.
2453
+ * The content hash (SHA-256 of the zip) is carried in the `x-ms-code-zip-sha256` header.
2454
+ */
2455
+ export interface CreateAgentVersionFromCodeMetadata {
2456
+ /** A human-readable description of the agent. */
2457
+ description?: string;
2458
+ /**
2459
+ * Set of 16 key-value pairs that can be attached to an object. This can be
2460
+ * useful for storing additional information about the object in a structured
2461
+ * format, and querying for objects via API or the dashboard.
2462
+ *
2463
+ * Keys are strings with a maximum length of 64 characters. Values are strings
2464
+ * with a maximum length of 512 characters.
2465
+ */
2466
+ metadata?: Record<string, string>;
2467
+ /** The hosted agent definition including code_configuration (runtime, entry_point), cpu, memory, and protocol_versions. */
2468
+ definition: HostedAgentDefinition;
2469
+ }
2470
+ export declare function createAgentVersionFromCodeMetadataSerializer(item: CreateAgentVersionFromCodeMetadata): any;
2239
2471
  /** Version indicator determining which agent version backs the session. */
2240
2472
  export interface VersionIndicator {
2241
2473
  /** The type of version indicator. */
@@ -2290,6 +2522,39 @@ export interface _AgentsPagedResultAgentSessionResource {
2290
2522
  }
2291
2523
  export declare function _agentsPagedResultAgentSessionResourceDeserializer(item: any): _AgentsPagedResultAgentSessionResource;
2292
2524
  export declare function agentSessionResourceArrayDeserializer(result: Array<AgentSessionResource>): any[];
2525
+ /**
2526
+ * A single Server-Sent Event frame emitted by the hosted agent session log stream.
2527
+ *
2528
+ * Each frame contains an `event` field identifying the event type and a `data`
2529
+ * field carrying the payload as plain text. Although the current `data` payload
2530
+ * is JSON-formatted, its schema is not contractual — additional keys may appear
2531
+ * and the format may change over time. Clients should treat `data` as an
2532
+ * opaque string and optionally attempt JSON parsing.
2533
+ *
2534
+ * New event types may be added in the future. Clients should gracefully
2535
+ * ignore unrecognized event types.
2536
+ *
2537
+ * Wire format:
2538
+ * ```
2539
+ * event: log
2540
+ * data: {"timestamp":"2026-03-10T09:33:17.121Z","stream":"stdout","message":"Starting server on port 18080"}
2541
+ *
2542
+ * event: log
2543
+ * data: {"timestamp":"2026-03-10T09:34:52.714Z","stream":"status","message":"Successfully connected to container"}
2544
+ * ```
2545
+ */
2546
+ export interface SessionLogEvent {
2547
+ /** The SSE event type. Currently `log`, but additional event types may be added in the future. Clients should ignore unrecognized event types. */
2548
+ event: SessionLogEventType;
2549
+ /** The event payload as plain text. Currently JSON-formatted but the schema is not contractual and may change. */
2550
+ data: string;
2551
+ }
2552
+ export declare function sessionLogEventDeserializer(item: any): SessionLogEvent;
2553
+ /**
2554
+ * Known SSE event types emitted by the hosted agent session log stream.
2555
+ * Additional event types may be introduced in future versions.
2556
+ */
2557
+ export type SessionLogEventType = "log";
2293
2558
  /** Response from uploading a file to a session sandbox. */
2294
2559
  export interface SessionFileWriteResponse {
2295
2560
  /** The path where the file was written, relative to the session home directory. */
@@ -2300,6 +2565,12 @@ export interface SessionFileWriteResponse {
2300
2565
  export declare function sessionFileWriteResponseDeserializer(item: any): SessionFileWriteResponse;
2301
2566
  /** Response from listing a directory in a session sandbox. */
2302
2567
  export interface SessionDirectoryListResponse {
2568
+ /** The first ID represented in this list. */
2569
+ first_id?: string;
2570
+ /** The last ID represented in this list. */
2571
+ last_id?: string;
2572
+ /** A value indicating whether there are additional values available not captured in this list. */
2573
+ has_more: boolean;
2303
2574
  /** The path that was listed, relative to the session home directory. */
2304
2575
  path: string;
2305
2576
  /** The directory entries. */
@@ -2315,94 +2586,389 @@ export interface SessionDirectoryEntry {
2315
2586
  size: number;
2316
2587
  /** Whether this entry is a directory. */
2317
2588
  is_directory: boolean;
2318
- /** The last modification time in UTC (ISO 8601). */
2589
+ /** The Unix timestamp (in seconds) when the file was last modified. */
2319
2590
  modified_time: Date;
2320
2591
  }
2321
2592
  export declare function sessionDirectoryEntryDeserializer(item: any): SessionDirectoryEntry;
2322
- /** Evaluation Taxonomy Definition */
2323
- export interface EvaluationTaxonomy {
2324
- /** Asset ID, a unique identifier for the asset */
2325
- readonly id?: string;
2326
- /** The name of the resource */
2327
- readonly name: string;
2328
- /** The version of the resource */
2329
- readonly version: string;
2330
- /** The asset description text. */
2593
+ export declare function toolboxToolUnionArraySerializer(result: Array<ToolboxToolUnion>): any[];
2594
+ export declare function toolboxToolUnionArrayDeserializer(result: Array<ToolboxToolUnion>): any[];
2595
+ /** An abstract representation of a tool stored in a toolbox. */
2596
+ export interface ToolboxTool {
2597
+ /** The type of tool. */
2598
+ /** The discriminator possible values: code_interpreter, file_search, web_search, mcp, azure_ai_search, openapi, a2a_preview, browser_automation_preview, reminder_preview, work_iq_preview, fabric_iq_preview, toolbox_search_preview */
2599
+ type: ToolboxToolType;
2600
+ /** Optional user-defined name for this tool or configuration. */
2601
+ name?: string;
2602
+ /** Optional user-defined description for this tool or configuration. */
2331
2603
  description?: string;
2332
- /** Tag dictionary. Tags can be added, removed, and updated. */
2333
- tags?: Record<string, string>;
2334
- /** Input configuration for the evaluation taxonomy. */
2335
- taxonomyInput: EvaluationTaxonomyInputUnion;
2336
- /** List of taxonomy categories. */
2337
- taxonomyCategories?: TaxonomyCategory[];
2338
- /** Additional properties for the evaluation taxonomy. */
2339
- properties?: Record<string, string>;
2604
+ /**
2605
+ * Per-tool configuration map. Keys are tool names or `*` (catch-all default).
2606
+ * Resolution order: exact tool name match takes priority over `*`.
2607
+ * Unknown tool names are silently ignored at runtime.
2608
+ */
2609
+ tool_configs?: Record<string, ToolConfig>;
2610
+ }
2611
+ export declare function toolboxToolSerializer(item: ToolboxTool): any;
2612
+ export declare function toolboxToolDeserializer(item: any): ToolboxTool;
2613
+ /** Alias for ToolboxToolUnion */
2614
+ export type ToolboxToolUnion = CodeInterpreterToolboxTool | FileSearchToolboxTool | WebSearchToolboxTool | MCPToolboxTool | AzureAISearchToolboxTool | OpenApiToolboxTool | A2APreviewToolboxTool | BrowserAutomationPreviewToolboxTool | ReminderPreviewToolboxTool | WorkIQPreviewToolboxTool | FabricIQPreviewToolboxTool | ToolboxSearchPreviewToolboxTool | ToolboxTool;
2615
+ export declare function toolboxToolUnionSerializer(item: ToolboxToolUnion): any;
2616
+ export declare function toolboxToolUnionDeserializer(item: any): ToolboxToolUnion;
2617
+ /** Supported tool types for tools stored in a toolbox. */
2618
+ export type ToolboxToolType = "code_interpreter" | "file_search" | "web_search" | "mcp" | "azure_ai_search" | "openapi" | "a2a_preview" | "browser_automation_preview" | "reminder_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search_preview";
2619
+ /** A code interpreter tool stored in a toolbox. */
2620
+ export interface CodeInterpreterToolboxTool extends ToolboxTool {
2621
+ type: "code_interpreter";
2622
+ /**
2623
+ * The code interpreter container. Can be a container ID or an object that
2624
+ * specifies uploaded file IDs to make available to your code, along with an
2625
+ * optional `memory_limit` setting.
2626
+ * If not provided, the service assumes auto.
2627
+ */
2628
+ container?: string | AutoCodeInterpreterToolParam;
2340
2629
  }
2341
- export declare function evaluationTaxonomySerializer(item: EvaluationTaxonomy): any;
2342
- export declare function evaluationTaxonomyDeserializer(item: any): EvaluationTaxonomy;
2343
- /** Input configuration for the evaluation taxonomy. */
2344
- export interface EvaluationTaxonomyInput {
2345
- /** Input type of the evaluation taxonomy. */
2346
- /** The discriminator possible values: agent */
2347
- type: EvaluationTaxonomyInputType;
2630
+ export declare function codeInterpreterToolboxToolSerializer(item: CodeInterpreterToolboxTool): any;
2631
+ export declare function codeInterpreterToolboxToolDeserializer(item: any): CodeInterpreterToolboxTool;
2632
+ /** A file search tool stored in a toolbox. */
2633
+ export interface FileSearchToolboxTool extends ToolboxTool {
2634
+ type: "file_search";
2635
+ /** The maximum number of results to return. This number should be between 1 and 50 inclusive. */
2636
+ max_num_results?: number;
2637
+ /** Ranking options for search. */
2638
+ ranking_options?: RankingOptions;
2639
+ filters?: Filters;
2640
+ /** The IDs of the vector stores to search. */
2641
+ vector_store_ids?: string[];
2348
2642
  }
2349
- export declare function evaluationTaxonomyInputSerializer(item: EvaluationTaxonomyInput): any;
2350
- export declare function evaluationTaxonomyInputDeserializer(item: any): EvaluationTaxonomyInput;
2351
- /** Alias for EvaluationTaxonomyInputUnion */
2352
- export type EvaluationTaxonomyInputUnion = AgentTaxonomyInput | EvaluationTaxonomyInput;
2353
- export declare function evaluationTaxonomyInputUnionSerializer(item: EvaluationTaxonomyInputUnion): any;
2354
- export declare function evaluationTaxonomyInputUnionDeserializer(item: any): EvaluationTaxonomyInputUnion;
2355
- /** Type of the evaluation taxonomy input. */
2356
- export type EvaluationTaxonomyInputType = "agent" | "policy";
2357
- /** Input configuration for the evaluation taxonomy when the input type is agent. */
2358
- export interface AgentTaxonomyInput extends EvaluationTaxonomyInput {
2359
- /** Input type of the evaluation taxonomy. */
2360
- type: "agent";
2361
- /** Target configuration for the agent. */
2362
- target: TargetUnion;
2363
- /** List of risk categories to evaluate against. */
2364
- riskCategories: RiskCategory[];
2643
+ export declare function fileSearchToolboxToolSerializer(item: FileSearchToolboxTool): any;
2644
+ export declare function fileSearchToolboxToolDeserializer(item: any): FileSearchToolboxTool;
2645
+ /** A web search tool stored in a toolbox. */
2646
+ export interface WebSearchToolboxTool extends ToolboxTool {
2647
+ type: "web_search";
2648
+ filters?: WebSearchToolFilters;
2649
+ user_location?: WebSearchApproximateLocation;
2650
+ /** High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. */
2651
+ search_context_size?: "low" | "medium" | "high";
2652
+ /**
2653
+ * The project connections attached to this tool. There can be a maximum of 1 connection
2654
+ * resource attached to the tool.
2655
+ */
2656
+ custom_search_configuration?: WebSearchConfiguration;
2365
2657
  }
2366
- export declare function agentTaxonomyInputSerializer(item: AgentTaxonomyInput): any;
2367
- export declare function agentTaxonomyInputDeserializer(item: any): AgentTaxonomyInput;
2368
- /** Base class for targets with discriminator support. */
2369
- export interface Target {
2370
- /** The type of target. */
2371
- /** The discriminator possible values: azure_ai_model, azure_ai_agent */
2372
- type: string;
2658
+ export declare function webSearchToolboxToolSerializer(item: WebSearchToolboxTool): any;
2659
+ export declare function webSearchToolboxToolDeserializer(item: any): WebSearchToolboxTool;
2660
+ /** An MCP tool stored in a toolbox. */
2661
+ export interface MCPToolboxTool extends ToolboxTool {
2662
+ type: "mcp";
2663
+ /** A label for this MCP server, used to identify it in tool calls. */
2664
+ server_label: string;
2665
+ /**
2666
+ * The URL for the MCP server. One of `server_url`, `connector_id`, or
2667
+ * `tunnel_id` must be provided.
2668
+ */
2669
+ server_url?: string;
2670
+ /**
2671
+ * Identifier for service connectors, like those available in ChatGPT. One of
2672
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
2673
+ * about service connectors [here](/docs/guides/tools-remote-mcp#connectors).
2674
+ * Currently supported `connector_id` values are:
2675
+ * - Dropbox: `connector_dropbox`
2676
+ * - Gmail: `connector_gmail`
2677
+ * - Google Calendar: `connector_googlecalendar`
2678
+ * - Google Drive: `connector_googledrive`
2679
+ * - Microsoft Teams: `connector_microsoftteams`
2680
+ * - Outlook Calendar: `connector_outlookcalendar`
2681
+ * - Outlook Email: `connector_outlookemail`
2682
+ * - SharePoint: `connector_sharepoint`
2683
+ */
2684
+ connector_id?: "connector_dropbox" | "connector_gmail" | "connector_googlecalendar" | "connector_googledrive" | "connector_microsoftteams" | "connector_outlookcalendar" | "connector_outlookemail" | "connector_sharepoint";
2685
+ /**
2686
+ * The Secure MCP Tunnel ID to use instead of a direct server URL. One of
2687
+ * `server_url`, `connector_id`, or `tunnel_id` must be provided.
2688
+ */
2689
+ tunnel_id?: string;
2690
+ /**
2691
+ * An OAuth access token that can be used with a remote MCP server, either
2692
+ * with a custom MCP server URL or a service connector. Your application
2693
+ * must handle the OAuth authorization flow and provide the token here.
2694
+ */
2695
+ authorization?: string;
2696
+ /** Optional description of the MCP server, used to provide more context. */
2697
+ server_description?: string;
2698
+ headers?: Record<string, string>;
2699
+ allowed_tools?: string[] | MCPToolFilter;
2700
+ require_approval?: MCPToolRequireApproval | "always" | "never";
2701
+ /** Whether this MCP tool is deferred and discovered via tool search. */
2702
+ defer_loading?: boolean;
2703
+ /** The connection ID in the project for the MCP server. The connection stores authentication and other connection details needed to connect to the MCP server. */
2704
+ project_connection_id?: string;
2373
2705
  }
2374
- export declare function targetSerializer(item: Target): any;
2375
- export declare function targetDeserializer(item: any): Target;
2376
- /** Alias for TargetUnion */
2377
- export type TargetUnion = AzureAIModelTarget | AzureAIAgentTarget | Target;
2378
- export declare function targetUnionSerializer(item: TargetUnion): any;
2379
- export declare function targetUnionDeserializer(item: any): TargetUnion;
2380
- /** Represents a target specifying an Azure AI model for operations requiring model selection. */
2381
- export interface AzureAIModelTarget extends Target {
2382
- /** The type of target, always `azure_ai_model`. */
2383
- type: "azure_ai_model";
2384
- /** The unique identifier of the Azure AI model. */
2385
- model?: string;
2386
- /** The parameters used to control the sampling behavior of the model during text generation. */
2387
- sampling_params?: ModelSamplingParams;
2706
+ export declare function mcpToolboxToolSerializer(item: MCPToolboxTool): any;
2707
+ export declare function mcpToolboxToolDeserializer(item: any): MCPToolboxTool;
2708
+ /** An Azure AI Search tool stored in a toolbox. */
2709
+ export interface AzureAISearchToolboxTool extends ToolboxTool {
2710
+ type: "azure_ai_search";
2711
+ /** The azure ai search index resource. */
2712
+ azure_ai_search: AzureAISearchToolResource;
2388
2713
  }
2389
- export declare function azureAIModelTargetSerializer(item: AzureAIModelTarget): any;
2390
- export declare function azureAIModelTargetDeserializer(item: any): AzureAIModelTarget;
2714
+ export declare function azureAISearchToolboxToolSerializer(item: AzureAISearchToolboxTool): any;
2715
+ export declare function azureAISearchToolboxToolDeserializer(item: any): AzureAISearchToolboxTool;
2716
+ /** An OpenAPI tool stored in a toolbox. */
2717
+ export interface OpenApiToolboxTool extends ToolboxTool {
2718
+ type: "openapi";
2719
+ /** The openapi function definition. */
2720
+ openapi: OpenApiFunctionDefinition;
2721
+ }
2722
+ export declare function openApiToolboxToolSerializer(item: OpenApiToolboxTool): any;
2723
+ export declare function openApiToolboxToolDeserializer(item: any): OpenApiToolboxTool;
2724
+ /** An A2A tool stored in a toolbox. */
2725
+ export interface A2APreviewToolboxTool extends ToolboxTool {
2726
+ type: "a2a_preview";
2727
+ /** Base URL of the agent. */
2728
+ base_url?: string;
2729
+ /**
2730
+ * The path to the agent card relative to the `base_url`.
2731
+ * If not provided, defaults to `/.well-known/agent-card.json`
2732
+ */
2733
+ agent_card_path?: string;
2734
+ /**
2735
+ * The connection ID in the project for the A2A server.
2736
+ * The connection stores authentication and other connection details needed to connect to the A2A server.
2737
+ */
2738
+ project_connection_id?: string;
2739
+ /**
2740
+ * When `true`, Foundry sends its credentials when fetching the remote
2741
+ * agent's Agent Card. The service defaults to `false` if a value is not
2742
+ * specified by the caller (anonymous fetch).
2743
+ */
2744
+ send_credentials_for_agent_card?: boolean;
2745
+ }
2746
+ export declare function a2APreviewToolboxToolSerializer(item: A2APreviewToolboxTool): any;
2747
+ export declare function a2APreviewToolboxToolDeserializer(item: any): A2APreviewToolboxTool;
2748
+ /** A browser automation tool stored in a toolbox. */
2749
+ export interface BrowserAutomationPreviewToolboxTool extends ToolboxTool {
2750
+ type: "browser_automation_preview";
2751
+ /** The Browser Automation Tool parameters. */
2752
+ browser_automation_preview: BrowserAutomationToolParameters;
2753
+ }
2754
+ export declare function browserAutomationPreviewToolboxToolSerializer(item: BrowserAutomationPreviewToolboxTool): any;
2755
+ export declare function browserAutomationPreviewToolboxToolDeserializer(item: any): BrowserAutomationPreviewToolboxTool;
2756
+ /** A reminder tool stored in a toolbox. */
2757
+ export interface ReminderPreviewToolboxTool extends ToolboxTool {
2758
+ type: "reminder_preview";
2759
+ }
2760
+ export declare function reminderPreviewToolboxToolSerializer(item: ReminderPreviewToolboxTool): any;
2761
+ export declare function reminderPreviewToolboxToolDeserializer(item: any): ReminderPreviewToolboxTool;
2762
+ /** A WorkIQ tool stored in a toolbox. */
2763
+ export interface WorkIQPreviewToolboxTool extends ToolboxTool {
2764
+ type: "work_iq_preview";
2765
+ /** The ID of the WorkIQ project connection. */
2766
+ project_connection_id: string;
2767
+ }
2768
+ export declare function workIQPreviewToolboxToolSerializer(item: WorkIQPreviewToolboxTool): any;
2769
+ export declare function workIQPreviewToolboxToolDeserializer(item: any): WorkIQPreviewToolboxTool;
2770
+ /** A FabricIQ tool stored in a toolbox. */
2771
+ export interface FabricIQPreviewToolboxTool extends ToolboxTool {
2772
+ type: "fabric_iq_preview";
2773
+ /** The ID of the FabricIQ project connection. */
2774
+ project_connection_id: string;
2775
+ /** (Optional) The label of the FabricIQ MCP server to connect to. */
2776
+ server_label?: string;
2777
+ /** (Optional) The URL of the FabricIQ MCP server. If not provided, the URL from the project connection will be used. */
2778
+ server_url?: string;
2779
+ /** (Optional) Whether the agent requires approval before executing actions. Default is always. */
2780
+ require_approval?: MCPToolRequireApproval | string;
2781
+ }
2782
+ export declare function fabricIQPreviewToolboxToolSerializer(item: FabricIQPreviewToolboxTool): any;
2783
+ export declare function fabricIQPreviewToolboxToolDeserializer(item: any): FabricIQPreviewToolboxTool;
2784
+ /** A toolbox search tool stored in a toolbox. */
2785
+ export interface ToolboxSearchPreviewToolboxTool extends ToolboxTool {
2786
+ /** The type of the tool. Always `toolbox_search_preview`. */
2787
+ type: "toolbox_search_preview";
2788
+ }
2789
+ export declare function toolboxSearchPreviewToolboxToolSerializer(item: ToolboxSearchPreviewToolboxTool): any;
2790
+ export declare function toolboxSearchPreviewToolboxToolDeserializer(item: any): ToolboxSearchPreviewToolboxTool;
2791
+ export declare function toolboxSkillUnionArraySerializer(result: Array<ToolboxSkillUnion>): any[];
2792
+ export declare function toolboxSkillUnionArrayDeserializer(result: Array<ToolboxSkillUnion>): any[];
2793
+ /** A skill source included in a toolbox. */
2794
+ export interface ToolboxSkill {
2795
+ /** The type of skill source. */
2796
+ /** The discriminator possible values: skill_reference */
2797
+ type: string;
2798
+ }
2799
+ export declare function toolboxSkillSerializer(item: ToolboxSkill): any;
2800
+ export declare function toolboxSkillDeserializer(item: any): ToolboxSkill;
2801
+ /** Alias for ToolboxSkillUnion */
2802
+ export type ToolboxSkillUnion = ToolboxSkillReference | ToolboxSkill;
2803
+ export declare function toolboxSkillUnionSerializer(item: ToolboxSkillUnion): any;
2804
+ export declare function toolboxSkillUnionDeserializer(item: any): ToolboxSkillUnion;
2805
+ /** A reference to an existing skill to include in a toolbox. */
2806
+ export interface ToolboxSkillReference extends ToolboxSkill {
2807
+ /** The type of skill source. */
2808
+ type: "skill_reference";
2809
+ /** The name of the skill. */
2810
+ name: string;
2811
+ /** The version of the skill. If not specified, the skill's default version is used. When a version is specified, the reference is pinned to that immutable version. */
2812
+ version?: string;
2813
+ }
2814
+ export declare function toolboxSkillReferenceSerializer(item: ToolboxSkillReference): any;
2815
+ export declare function toolboxSkillReferenceDeserializer(item: any): ToolboxSkillReference;
2816
+ /** Policy configuration for a toolbox, including content safety and other governance settings. */
2817
+ export interface ToolboxPolicies {
2818
+ /** Responsible AI content filtering configuration. */
2819
+ rai_config?: RaiConfig;
2820
+ }
2821
+ export declare function toolboxPoliciesSerializer(item: ToolboxPolicies): any;
2822
+ export declare function toolboxPoliciesDeserializer(item: any): ToolboxPolicies;
2823
+ /** A specific version of a toolbox. */
2824
+ export interface ToolboxVersionObject {
2825
+ /**
2826
+ * Set of 16 key-value pairs that can be attached to an object. This can be
2827
+ * useful for storing additional information about the object in a structured
2828
+ * format, and querying for objects via API or the dashboard.
2829
+ *
2830
+ * Keys are strings with a maximum length of 64 characters. Values are strings
2831
+ * with a maximum length of 512 characters.
2832
+ */
2833
+ metadata: Record<string, string> | null;
2834
+ /** The unique identifier of the toolbox version. */
2835
+ id: string;
2836
+ /** The name of the toolbox. */
2837
+ name: string;
2838
+ /** The version identifier of the toolbox. Toolbox versions are immutable and every update creates a new version. */
2839
+ version: string;
2840
+ /** A human-readable description of the toolbox. */
2841
+ description?: string;
2842
+ /** The Unix timestamp (seconds) when the toolbox version was created. */
2843
+ created_at: Date;
2844
+ /** The list of tools contained in this toolbox version. */
2845
+ tools: ToolboxToolUnion[];
2846
+ /** The list of skill sources included in this toolbox version. */
2847
+ skills?: ToolboxSkillUnion[];
2848
+ /** Policy configuration for the toolbox version. */
2849
+ policies?: ToolboxPolicies;
2850
+ }
2851
+ export declare function toolboxVersionObjectDeserializer(item: any): ToolboxVersionObject;
2852
+ /** A toolbox that stores reusable tool definitions for agents. */
2853
+ export interface ToolboxObject {
2854
+ /** The unique identifier of the toolbox. */
2855
+ id: string;
2856
+ /** The name of the toolbox. */
2857
+ name: string;
2858
+ /** The version identifier that the toolbox currently points to. Defaults to the latest version. Can be changed via updateToolbox. */
2859
+ default_version: string;
2860
+ }
2861
+ export declare function toolboxObjectDeserializer(item: any): ToolboxObject;
2862
+ /** The response data for a requested list of items. */
2863
+ export interface _AgentsPagedResultToolboxObject {
2864
+ /** The requested list of items. */
2865
+ data: ToolboxObject[];
2866
+ /** The first ID represented in this list. */
2867
+ first_id?: string;
2868
+ /** The last ID represented in this list. */
2869
+ last_id?: string;
2870
+ /** A value indicating whether there are additional values available not captured in this list. */
2871
+ has_more: boolean;
2872
+ }
2873
+ export declare function _agentsPagedResultToolboxObjectDeserializer(item: any): _AgentsPagedResultToolboxObject;
2874
+ export declare function toolboxObjectArrayDeserializer(result: Array<ToolboxObject>): any[];
2875
+ /** The response data for a requested list of items. */
2876
+ export interface _AgentsPagedResultToolboxVersionObject {
2877
+ /** The requested list of items. */
2878
+ data: ToolboxVersionObject[];
2879
+ /** The first ID represented in this list. */
2880
+ first_id?: string;
2881
+ /** The last ID represented in this list. */
2882
+ last_id?: string;
2883
+ /** A value indicating whether there are additional values available not captured in this list. */
2884
+ has_more: boolean;
2885
+ }
2886
+ export declare function _agentsPagedResultToolboxVersionObjectDeserializer(item: any): _AgentsPagedResultToolboxVersionObject;
2887
+ export declare function toolboxVersionObjectArrayDeserializer(result: Array<ToolboxVersionObject>): any[];
2888
+ /** Evaluation Taxonomy Definition */
2889
+ export interface EvaluationTaxonomy {
2890
+ /** Asset ID, a unique identifier for the asset */
2891
+ readonly id?: string;
2892
+ /** The name of the resource */
2893
+ readonly name: string;
2894
+ /** The version of the resource */
2895
+ readonly version: string;
2896
+ /** The asset description text. */
2897
+ description?: string;
2898
+ /** Tag dictionary. Tags can be added, removed, and updated. */
2899
+ tags?: Record<string, string>;
2900
+ /** Input configuration for the evaluation taxonomy. */
2901
+ taxonomyInput: EvaluationTaxonomyInputUnion;
2902
+ /** List of taxonomy categories. */
2903
+ taxonomyCategories?: TaxonomyCategory[];
2904
+ /** Additional properties for the evaluation taxonomy. */
2905
+ properties?: Record<string, string>;
2906
+ }
2907
+ export declare function evaluationTaxonomySerializer(item: EvaluationTaxonomy): any;
2908
+ export declare function evaluationTaxonomyDeserializer(item: any): EvaluationTaxonomy;
2909
+ /** Input configuration for the evaluation taxonomy. */
2910
+ export interface EvaluationTaxonomyInput {
2911
+ /** Input type of the evaluation taxonomy. */
2912
+ /** The discriminator possible values: agent */
2913
+ type: EvaluationTaxonomyInputType;
2914
+ }
2915
+ export declare function evaluationTaxonomyInputSerializer(item: EvaluationTaxonomyInput): any;
2916
+ export declare function evaluationTaxonomyInputDeserializer(item: any): EvaluationTaxonomyInput;
2917
+ /** Alias for EvaluationTaxonomyInputUnion */
2918
+ export type EvaluationTaxonomyInputUnion = AgentTaxonomyInput | EvaluationTaxonomyInput;
2919
+ export declare function evaluationTaxonomyInputUnionSerializer(item: EvaluationTaxonomyInputUnion): any;
2920
+ export declare function evaluationTaxonomyInputUnionDeserializer(item: any): EvaluationTaxonomyInputUnion;
2921
+ /** Type of the evaluation taxonomy input. */
2922
+ export type EvaluationTaxonomyInputType = "agent" | "policy";
2923
+ /** Input configuration for the evaluation taxonomy when the input type is agent. */
2924
+ export interface AgentTaxonomyInput extends EvaluationTaxonomyInput {
2925
+ /** Input type of the evaluation taxonomy. */
2926
+ type: "agent";
2927
+ /** Target configuration for the agent. */
2928
+ target: EvaluationTargetUnion;
2929
+ /** List of risk categories to evaluate against. */
2930
+ riskCategories: RiskCategory[];
2931
+ }
2932
+ export declare function agentTaxonomyInputSerializer(item: AgentTaxonomyInput): any;
2933
+ export declare function agentTaxonomyInputDeserializer(item: any): AgentTaxonomyInput;
2934
+ /** Base class for targets with discriminator support. */
2935
+ export interface EvaluationTarget {
2936
+ /** The type of target. */
2937
+ /** The discriminator possible values: azure_ai_model, azure_ai_agent */
2938
+ type: string;
2939
+ }
2940
+ export declare function evaluationTargetSerializer(item: EvaluationTarget): any;
2941
+ export declare function evaluationTargetDeserializer(item: any): EvaluationTarget;
2942
+ /** Alias for EvaluationTargetUnion */
2943
+ export type EvaluationTargetUnion = AzureAIModelTarget | AzureAIAgentTarget | EvaluationTarget;
2944
+ export declare function evaluationTargetUnionSerializer(item: EvaluationTargetUnion): any;
2945
+ export declare function evaluationTargetUnionDeserializer(item: any): EvaluationTargetUnion;
2946
+ /** Represents a target specifying an Azure AI model for operations requiring model selection. */
2947
+ export interface AzureAIModelTarget extends EvaluationTarget {
2948
+ /** The type of target, always `azure_ai_model`. */
2949
+ type: "azure_ai_model";
2950
+ /** The unique identifier of the Azure AI model. */
2951
+ model?: string;
2952
+ /** The parameters used to control the sampling behavior of the model during text generation. */
2953
+ sampling_params?: ModelSamplingParams;
2954
+ }
2955
+ export declare function azureAIModelTargetSerializer(item: AzureAIModelTarget): any;
2956
+ export declare function azureAIModelTargetDeserializer(item: any): AzureAIModelTarget;
2391
2957
  /** Represents a set of parameters used to control the sampling behavior of a language model during text generation. */
2392
2958
  export interface ModelSamplingParams {
2393
- /** The temperature parameter for sampling. */
2394
- temperature: number;
2395
- /** The top-p parameter for nucleus sampling. */
2396
- top_p: number;
2397
- /** The random seed for reproducibility. */
2398
- seed: number;
2959
+ /** The temperature parameter for sampling. Defaults to 1.0. */
2960
+ temperature?: number;
2961
+ /** The top-p parameter for nucleus sampling. Defaults to 1.0. */
2962
+ top_p?: number;
2963
+ /** The random seed for reproducibility. Defaults to 42. */
2964
+ seed?: number;
2399
2965
  /** The maximum number of tokens allowed in the completion. */
2400
- max_completion_tokens: number;
2966
+ max_completion_tokens?: number;
2401
2967
  }
2402
2968
  export declare function modelSamplingParamsSerializer(item: ModelSamplingParams): any;
2403
2969
  export declare function modelSamplingParamsDeserializer(item: any): ModelSamplingParams;
2404
2970
  /** Represents a target specifying an Azure AI agent. */
2405
- export interface AzureAIAgentTarget extends Target {
2971
+ export interface AzureAIAgentTarget extends EvaluationTarget {
2406
2972
  /** The type of target, always `azure_ai_agent`. */
2407
2973
  type: "azure_ai_agent";
2408
2974
  /** The unique identifier of the Azure AI agent. */
@@ -2411,6 +2977,7 @@ export interface AzureAIAgentTarget extends Target {
2411
2977
  version?: string;
2412
2978
  /** The parameters used to control the sampling behavior of the agent during text generation. */
2413
2979
  tool_descriptions?: ToolDescription[];
2980
+ tools?: ToolUnion[];
2414
2981
  }
2415
2982
  export declare function azureAIAgentTargetSerializer(item: AzureAIAgentTarget): any;
2416
2983
  export declare function azureAIAgentTargetDeserializer(item: any): AzureAIAgentTarget;
@@ -2493,8 +3060,12 @@ export interface EvaluatorVersion {
2493
3060
  evaluator_type: EvaluatorType;
2494
3061
  /** The categories of the evaluator */
2495
3062
  categories: EvaluatorCategory[];
3063
+ /** Evaluation levels this evaluator supports (e.g., `turn`, `conversation`). When omitted on create, the service defaults to `["turn"]`. On update, omitting this field leaves it unchanged; an empty list is rejected. Custom code-based evaluators support only `turn`; custom prompt-based evaluators support exactly one level (`turn` or `conversation`). */
3064
+ supported_evaluation_levels?: EvaluationLevel[];
2496
3065
  /** Definition of the evaluator */
2497
3066
  definition: EvaluatorDefinitionUnion;
3067
+ /** Provenance artifacts from the generation pipeline. Read-only; present only on evaluator versions created via an EvaluatorGenerationJob. Each artifact resolves to a versioned Foundry Dataset. */
3068
+ readonly generation_artifacts?: EvaluatorGenerationArtifacts;
2498
3069
  /** Creator of the evaluator */
2499
3070
  readonly created_by?: string;
2500
3071
  /** Creation date/time of the evaluator */
@@ -2518,10 +3089,12 @@ export declare function evaluatorVersionDeserializer(item: any): EvaluatorVersio
2518
3089
  export type EvaluatorType = "builtin" | "custom";
2519
3090
  /** The category of the evaluator */
2520
3091
  export type EvaluatorCategory = "quality" | "safety" | "agents";
3092
+ /** The level at which evaluation is performed. */
3093
+ export type EvaluationLevel = "turn" | "conversation";
2521
3094
  /** Base evaluator configuration with discriminator */
2522
3095
  export interface EvaluatorDefinition {
2523
3096
  /** The type of evaluator definition */
2524
- /** The discriminator possible values: code, prompt */
3097
+ /** The discriminator possible values: code, prompt, rubric, endpoint */
2525
3098
  type: EvaluatorDefinitionType;
2526
3099
  /** The JSON schema (Draft 2020-12) for the evaluator's input parameters. This includes parameters like type, properties, required. */
2527
3100
  init_parameters?: Record<string, unknown>;
@@ -2533,11 +3106,11 @@ export interface EvaluatorDefinition {
2533
3106
  export declare function evaluatorDefinitionSerializer(item: EvaluatorDefinition): any;
2534
3107
  export declare function evaluatorDefinitionDeserializer(item: any): EvaluatorDefinition;
2535
3108
  /** Alias for EvaluatorDefinitionUnion */
2536
- export type EvaluatorDefinitionUnion = CodeBasedEvaluatorDefinition | PromptBasedEvaluatorDefinition | EvaluatorDefinition;
3109
+ export type EvaluatorDefinitionUnion = CodeBasedEvaluatorDefinition | PromptBasedEvaluatorDefinition | RubricBasedEvaluatorDefinition | EndpointBasedEvaluatorDefinition | EvaluatorDefinition;
2537
3110
  export declare function evaluatorDefinitionUnionSerializer(item: EvaluatorDefinitionUnion): any;
2538
3111
  export declare function evaluatorDefinitionUnionDeserializer(item: any): EvaluatorDefinitionUnion;
2539
3112
  /** The type of evaluator definition */
2540
- export type EvaluatorDefinitionType = "prompt" | "code" | "prompt_and_code" | "service" | "openai_graders";
3113
+ export type EvaluatorDefinitionType = "prompt" | "code" | "prompt_and_code" | "service" | "openai_graders" | "endpoint" | "rubric";
2541
3114
  export declare function evaluatorMetricRecordSerializer(item: Record<string, EvaluatorMetric>): Record<string, any>;
2542
3115
  export declare function evaluatorMetricRecordDeserializer(item: Record<string, any>): Record<string, EvaluatorMetric>;
2543
3116
  /** Evaluator Metric */
@@ -2585,14 +3158,203 @@ export interface PromptBasedEvaluatorDefinition extends EvaluatorDefinition {
2585
3158
  }
2586
3159
  export declare function promptBasedEvaluatorDefinitionSerializer(item: PromptBasedEvaluatorDefinition): any;
2587
3160
  export declare function promptBasedEvaluatorDefinitionDeserializer(item: any): PromptBasedEvaluatorDefinition;
3161
+ /** Rubric-based evaluator definition — stores dimensions produced by the generate API. Used for both quality and safety evaluators. */
3162
+ export interface RubricBasedEvaluatorDefinition extends EvaluatorDefinition {
3163
+ type: "rubric";
3164
+ /** The set of dimensions — the scoring blueprint used by the LLM judge. Quality evaluators include a non-editable residual dimension with id 'general_quality' (always_applicable: true); safety evaluators include 'general_policy_compliance'. Both use the same Dimension structure. */
3165
+ dimensions: Dimension[];
3166
+ /** Pass/fail threshold for the aggregate rubric score, on the same normalized 0.0-1.0 scale as the emitted `score`. When the runtime weighted average meets or exceeds this value, the result is `pass`. Defaults to 0.5 (equivalent to a raw 1-5 weighted average of 3.0). The 'any dimension scored 1 → fail' rule still applies regardless of this threshold. */
3167
+ pass_threshold?: number;
3168
+ }
3169
+ export declare function rubricBasedEvaluatorDefinitionSerializer(item: RubricBasedEvaluatorDefinition): any;
3170
+ export declare function rubricBasedEvaluatorDefinitionDeserializer(item: any): RubricBasedEvaluatorDefinition;
3171
+ export declare function dimensionArraySerializer(result: Array<Dimension>): any[];
3172
+ export declare function dimensionArrayDeserializer(result: Array<Dimension>): any[];
3173
+ /** A single dimension — one independent, measurable quality dimension within a rubric evaluator's scoring blueprint. */
3174
+ export interface Dimension {
3175
+ /** Stable identifier for this dimension (snake_case, e.g., `correct_resolution`). Required. Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a generated set; the generation pipeline produces an initial value the user can edit. Editable when saving new versions. */
3176
+ id: string;
3177
+ /** What this dimension measures (e.g., 'Correctly identifies the user's reservation intent and pursues the appropriate workflow'). */
3178
+ description: string;
3179
+ /** Relative weight of this dimension (1-10). The generation pipeline assigns exactly one dimension weight 8-10; all others use 1-6. User edits are not constrained by this heuristic. */
3180
+ weight: number;
3181
+ /** When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set this on their own custom dimensions. The service defaults to `false` if a value is not specified by the caller. */
3182
+ always_applicable?: boolean;
3183
+ }
3184
+ export declare function dimensionSerializer(item: Dimension): any;
3185
+ export declare function dimensionDeserializer(item: any): Dimension;
3186
+ /** Endpoint-based evaluator definition. The customer owns and hosts an HTTP endpoint that implements the evaluation contract. The evaluator references a Project Connection by name; the connection stores the endpoint URL and credentials (API Key or Entra ID). At execution time, the service resolves the connection to obtain the endpoint URL and authentication details, then calls the endpoint for each evaluation row. */
3187
+ export interface EndpointBasedEvaluatorDefinition extends EvaluatorDefinition {
3188
+ type: "endpoint";
3189
+ /** Name of the Project Connection that stores the endpoint URL and credentials. The connection must exist on the project and have a non-empty target URL. Supported auth types: ApiKey (sends `api-key` header) and AAD/Entra ID (acquires a bearer token via the project's Managed Identity). */
3190
+ connection_name: string;
3191
+ }
3192
+ export declare function endpointBasedEvaluatorDefinitionSerializer(item: EndpointBasedEvaluatorDefinition): any;
3193
+ export declare function endpointBasedEvaluatorDefinitionDeserializer(item: any): EndpointBasedEvaluatorDefinition;
3194
+ /** Service-managed provenance artifacts produced by an evaluator generation job. Present only on EvaluatorVersion resources created via the generation pipeline. The combined-JSONL Foundry Dataset is read-only and resolves to a versioned dataset in a service-reserved namespace. */
3195
+ export interface EvaluatorGenerationArtifacts {
3196
+ /** Reference to the single Foundry Dataset (one combined JSONL file, version-aligned to `EvaluatorVersion.version`) holding all artifacts produced by the generation pipeline. Each row in the JSONL carries a `kind` field discriminating its content (e.g. `spec`, `tools`, `context`). */
3197
+ dataset: DatasetReference;
3198
+ /** The kinds of rows present in `dataset`. Always contains `"spec"` (the generated evaluation specification, a Markdown document describing what the evaluator measures). May additionally contain `"tools"` (when the generation pipeline produced or inferred OpenAI tool schemas) and/or `"context"` (when supplementary materials such as file uploads or trace samples were used during generation). */
3199
+ kinds: string[];
3200
+ }
3201
+ export declare function evaluatorGenerationArtifactsDeserializer(item: any): EvaluatorGenerationArtifacts;
3202
+ /** Reference to a versioned Foundry Dataset. */
3203
+ export interface DatasetReference {
3204
+ /** Dataset name. */
3205
+ name: string;
3206
+ /** Dataset version. */
3207
+ version: string;
3208
+ }
3209
+ export declare function datasetReferenceDeserializer(item: any): DatasetReference;
3210
+ /** Request body for getting evaluator credentials */
3211
+ export interface EvaluatorCredentialRequest {
3212
+ /** The blob URI for the evaluator storage. Example: `https://account.blob.core.windows.net:443/container` */
3213
+ blob_uri: string;
3214
+ }
3215
+ export declare function evaluatorCredentialRequestSerializer(item: EvaluatorCredentialRequest): any;
3216
+ /** Evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions from source materials. On success, the result is the persisted EvaluatorVersion. */
3217
+ export interface EvaluatorGenerationJob {
3218
+ /** Server-assigned unique identifier. */
3219
+ readonly id?: string;
3220
+ /** Caller-supplied inputs. */
3221
+ inputs?: EvaluatorGenerationInputs;
3222
+ /** Result produced on success. */
3223
+ readonly result?: EvaluatorVersion;
3224
+ /** Current lifecycle status. */
3225
+ readonly status?: JobStatus;
3226
+ /** Error details — populated only on failure. */
3227
+ readonly error?: ErrorModel;
3228
+ /** The timestamp when the job was created, represented in Unix time (seconds since January 1, 1970). */
3229
+ readonly created_at?: Date;
3230
+ /** The timestamp when the job finished, represented in Unix time (seconds since January 1, 1970). */
3231
+ readonly finished_at?: Date;
3232
+ /** Token consumption summary. Populated when the job reaches a terminal state. */
3233
+ readonly usage?: EvaluatorGenerationTokenUsage;
3234
+ }
3235
+ export declare function evaluatorGenerationJobSerializer(item: EvaluatorGenerationJob): any;
3236
+ export declare function evaluatorGenerationJobDeserializer(item: any): EvaluatorGenerationJob;
3237
+ /** Caller-supplied inputs for an evaluator generation job. */
3238
+ export interface EvaluatorGenerationInputs {
3239
+ /** Source materials for generation — agent descriptions, prompts, traces, or datasets. Each entry is an `EvaluatorGenerationJobSource` variant discriminated by `type`. */
3240
+ sources: EvaluatorGenerationJobSourceUnion[];
3241
+ /** The LLM model to use for rubric generation (e.g., 'gpt-4o'). Required — users must provide their own model rather than relying on service-owned capacity. */
3242
+ model: string;
3243
+ /** The evaluator name (immutable identifier). 1-256 characters; allowed characters are ASCII letters, digits, underscore (`_`), period (`.`), tilde (`~`), and hyphen (`-`). The prefix `builtin.` is reserved for system-managed evaluators and is rejected by the service. If an evaluator with this name already exists in the project (and is rubric-subtype), the service creates a new version under the same name and uses the prior version's `dimensions` as context for incremental improvement (foundation of the post-//build adaptive loop). Old versions remain queryable via `get_version(name, version)`. If the existing evaluator is not a rubric-subtype evaluator (built-in, prompt-based, code-based), the request is rejected with `400 Bad Request`. */
3244
+ evaluator_name: string;
3245
+ /** Optional human-friendly display name for the resulting evaluator. Surfaced as `EvaluatorVersion.display_name` on the persisted evaluator. When omitted, the service uses `evaluator_name` as the display name. The `evaluator_` prefix disambiguates this from the immutable `evaluator_name` identifier. */
3246
+ evaluator_display_name?: string;
3247
+ /** Optional human-friendly description for the resulting evaluator. Surfaced as `EvaluatorVersion.description` on the persisted evaluator. Typically collected from the UI alongside `evaluator_display_name`. The `evaluator_` prefix disambiguates this from any other description fields on related models. */
3248
+ evaluator_description?: string;
3249
+ }
3250
+ export declare function evaluatorGenerationInputsSerializer(item: EvaluatorGenerationInputs): any;
3251
+ export declare function evaluatorGenerationInputsDeserializer(item: any): EvaluatorGenerationInputs;
3252
+ export declare function evaluatorGenerationJobSourceUnionArraySerializer(result: Array<EvaluatorGenerationJobSourceUnion>): any[];
3253
+ export declare function evaluatorGenerationJobSourceUnionArrayDeserializer(result: Array<EvaluatorGenerationJobSourceUnion>): any[];
3254
+ /** The base source model for evaluator generation jobs. Polymorphic over `type`. */
3255
+ export interface EvaluatorGenerationJobSource {
3256
+ /** The type of source. */
3257
+ /** The discriminator possible values: prompt, agent, traces, dataset */
3258
+ type: EvaluatorGenerationJobSourceType;
3259
+ }
3260
+ export declare function evaluatorGenerationJobSourceSerializer(item: EvaluatorGenerationJobSource): any;
3261
+ export declare function evaluatorGenerationJobSourceDeserializer(item: any): EvaluatorGenerationJobSource;
3262
+ /** Alias for EvaluatorGenerationJobSourceUnion */
3263
+ export type EvaluatorGenerationJobSourceUnion = PromptEvaluatorGenerationJobSource | AgentEvaluatorGenerationJobSource | TracesEvaluatorGenerationJobSource | DatasetEvaluatorGenerationJobSource | EvaluatorGenerationJobSource;
3264
+ export declare function evaluatorGenerationJobSourceUnionSerializer(item: EvaluatorGenerationJobSourceUnion): any;
3265
+ export declare function evaluatorGenerationJobSourceUnionDeserializer(item: any): EvaluatorGenerationJobSourceUnion;
3266
+ /** The supported source types for evaluator generation jobs. */
3267
+ export type EvaluatorGenerationJobSourceType = "prompt" | "agent" | "traces" | "dataset";
3268
+ /** Prompt source for evaluator generation jobs — inline text provided by the user. */
3269
+ export interface PromptEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource {
3270
+ /** Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). */
3271
+ description?: string;
3272
+ /** The source type for this source, which is Prompt. */
3273
+ type: "prompt";
3274
+ /** Inline prompt text (e.g., agent description, policy text, supplementary context). */
3275
+ prompt: string;
3276
+ }
3277
+ export declare function promptEvaluatorGenerationJobSourceSerializer(item: PromptEvaluatorGenerationJobSource): any;
3278
+ export declare function promptEvaluatorGenerationJobSourceDeserializer(item: any): PromptEvaluatorGenerationJobSource;
3279
+ /** Agent source for evaluator generation jobs — references an agent to fetch instructions and metadata from. */
3280
+ export interface AgentEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource {
3281
+ /** Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). */
3282
+ description?: string;
3283
+ /** The source type for this source, which is Agent. */
3284
+ type: "agent";
3285
+ /** The agent name to fetch instructions from. */
3286
+ agent_name: string;
3287
+ /** The agent version. If not specified, the latest version is used. */
3288
+ agent_version?: string;
3289
+ }
3290
+ export declare function agentEvaluatorGenerationJobSourceSerializer(item: AgentEvaluatorGenerationJobSource): any;
3291
+ export declare function agentEvaluatorGenerationJobSourceDeserializer(item: any): AgentEvaluatorGenerationJobSource;
3292
+ /** Traces source for evaluator generation jobs — conversation traces from Application Insights. */
3293
+ export interface TracesEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource {
3294
+ /** Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). */
3295
+ description?: string;
3296
+ /** The source type for this source, which is Traces. */
3297
+ type: "traces";
3298
+ /** The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — at least one is required. */
3299
+ agent_id?: string;
3300
+ /** The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at least one is required. */
3301
+ agent_name?: string;
3302
+ /** The agent version. If not specified, traces for ALL versions of the agent are included within the time window. */
3303
+ agent_version?: string;
3304
+ /** Start of the time window (Unix timestamp in seconds) for fetching traces. */
3305
+ start_time?: Date;
3306
+ /** End of the time window (Unix timestamp in seconds). Defaults to current time. */
3307
+ end_time?: Date;
3308
+ }
3309
+ export declare function tracesEvaluatorGenerationJobSourceSerializer(item: TracesEvaluatorGenerationJobSource): any;
3310
+ export declare function tracesEvaluatorGenerationJobSourceDeserializer(item: any): TracesEvaluatorGenerationJobSource;
3311
+ /** Dataset source for evaluator generation jobs — reference to a dataset. */
3312
+ export interface DatasetEvaluatorGenerationJobSource extends EvaluatorGenerationJobSource {
3313
+ /** Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). */
3314
+ description?: string;
3315
+ /** The source type for this source, which is Dataset. */
3316
+ type: "dataset";
3317
+ /** The name of the dataset. */
3318
+ name: string;
3319
+ /** The version of the dataset. If not specified, the latest version is used. */
3320
+ version?: string;
3321
+ }
3322
+ export declare function datasetEvaluatorGenerationJobSourceSerializer(item: DatasetEvaluatorGenerationJobSource): any;
3323
+ export declare function datasetEvaluatorGenerationJobSourceDeserializer(item: any): DatasetEvaluatorGenerationJobSource;
3324
+ /** Extensible status values shared by Foundry jobs. */
3325
+ export type JobStatus = "queued" | "in_progress" | "succeeded" | "failed" | "cancelled";
3326
+ /** Token consumption summary for an evaluator generation job. Populated when the job reaches a terminal state. */
3327
+ export interface EvaluatorGenerationTokenUsage {
3328
+ /** Number of input (prompt) tokens consumed. */
3329
+ input_tokens: number;
3330
+ /** Number of output (completion) tokens generated. */
3331
+ output_tokens: number;
3332
+ /** Total tokens consumed (input + output). */
3333
+ total_tokens: number;
3334
+ }
3335
+ export declare function evaluatorGenerationTokenUsageDeserializer(item: any): EvaluatorGenerationTokenUsage;
3336
+ /** The response data for a requested list of items. */
3337
+ export interface _AgentsPagedResultEvaluatorGenerationJob {
3338
+ /** The requested list of items. */
3339
+ data: EvaluatorGenerationJob[];
3340
+ /** The first ID represented in this list. */
3341
+ first_id?: string;
3342
+ /** The last ID represented in this list. */
3343
+ last_id?: string;
3344
+ /** A value indicating whether there are additional values available not captured in this list. */
3345
+ has_more: boolean;
3346
+ }
3347
+ export declare function _agentsPagedResultEvaluatorGenerationJobDeserializer(item: any): _AgentsPagedResultEvaluatorGenerationJob;
3348
+ export declare function evaluatorGenerationJobArraySerializer(result: Array<EvaluatorGenerationJob>): any[];
3349
+ export declare function evaluatorGenerationJobArrayDeserializer(result: Array<EvaluatorGenerationJob>): any[];
2588
3350
  /** The response body for cluster insights. */
2589
3351
  export interface Insight {
2590
3352
  /** The unique identifier for the insights report. */
2591
- readonly insight_id?: string;
3353
+ readonly insight_id: string;
2592
3354
  /** Metadata about the insights report. */
2593
- readonly metadata?: InsightsMetadata;
3355
+ readonly metadata: InsightsMetadata;
2594
3356
  /** The current state of the insights. */
2595
- readonly state?: OperationState;
3357
+ readonly state: OperationState;
2596
3358
  /** User friendly display name for the insight. */
2597
3359
  displayName: string;
2598
3360
  /** Request for the insights analysis. */
@@ -2917,8 +3679,12 @@ export interface MemoryStoreDefaultOptions {
2917
3679
  user_profile_enabled: boolean;
2918
3680
  /** Specific categories or types of user profile information to extract and store. */
2919
3681
  user_profile_details?: string;
2920
- /** Whether to enable chat summary extraction and storage. Default is true. */
3682
+ /** Whether to enable chat summary extraction and storage. Defaults to `true`. */
2921
3683
  chat_summary_enabled: boolean;
3684
+ /** Whether to enable procedural memory extraction and storage. The service defaults to `true` if a value is not specified by the caller. */
3685
+ procedural_memory_enabled?: boolean;
3686
+ /** The default time-to-live for memories in seconds. A value of `0` indicates that memories do not expire. Defaults to `0`. */
3687
+ default_ttl_seconds?: number;
2922
3688
  }
2923
3689
  export declare function memoryStoreDefaultOptionsSerializer(item: MemoryStoreDefaultOptions): any;
2924
3690
  export declare function memoryStoreDefaultOptionsDeserializer(item: any): MemoryStoreDefaultOptions;
@@ -2993,15 +3759,15 @@ export interface MemoryItem {
2993
3759
  /** The content of the memory. */
2994
3760
  content: string;
2995
3761
  /** The kind of the memory item. */
2996
- /** The discriminator possible values: user_profile, chat_summary */
3762
+ /** The discriminator possible values: user_profile, chat_summary, procedural */
2997
3763
  kind: MemoryItemKind;
2998
3764
  }
2999
3765
  export declare function memoryItemDeserializer(item: any): MemoryItem;
3000
3766
  /** Alias for MemoryItemUnion */
3001
- export type MemoryItemUnion = UserProfileMemoryItem | ChatSummaryMemoryItem | MemoryItem;
3767
+ export type MemoryItemUnion = UserProfileMemoryItem | ChatSummaryMemoryItem | ProceduralMemoryItem | MemoryItem;
3002
3768
  export declare function memoryItemUnionDeserializer(item: any): MemoryItemUnion;
3003
3769
  /** Memory item kind. */
3004
- export type MemoryItemKind = "user_profile" | "chat_summary";
3770
+ export type MemoryItemKind = "user_profile" | "chat_summary" | "procedural";
3005
3771
  /** A memory item specifically containing user profile information extracted from conversations, such as preferences, interests, and personal details. */
3006
3772
  export interface UserProfileMemoryItem extends MemoryItem {
3007
3773
  /** The kind of the memory item. */
@@ -3014,6 +3780,12 @@ export interface ChatSummaryMemoryItem extends MemoryItem {
3014
3780
  kind: "chat_summary";
3015
3781
  }
3016
3782
  export declare function chatSummaryMemoryItemDeserializer(item: any): ChatSummaryMemoryItem;
3783
+ /** A memory item containing a procedure extracted from conversations. */
3784
+ export interface ProceduralMemoryItem extends MemoryItem {
3785
+ /** The kind of the memory item. */
3786
+ kind: "procedural";
3787
+ }
3788
+ export declare function proceduralMemoryItemDeserializer(item: any): ProceduralMemoryItem;
3017
3789
  /** Usage statistics of a memory store operation. */
3018
3790
  export interface MemoryStoreOperationUsage {
3019
3791
  /** The number of embedding tokens. */
@@ -3038,7 +3810,6 @@ export interface ResponseUsageInputTokensDetails {
3038
3810
  export declare function responseUsageInputTokensDetailsDeserializer(item: any): ResponseUsageInputTokensDetails;
3039
3811
  /** model interface ResponseUsageOutputTokensDetails */
3040
3812
  export interface ResponseUsageOutputTokensDetails {
3041
- /** The number of output tokens used for reasoning. */
3042
3813
  reasoning_tokens: number;
3043
3814
  }
3044
3815
  export declare function responseUsageOutputTokensDetailsDeserializer(item: any): ResponseUsageOutputTokensDetails;
@@ -3089,6 +3860,161 @@ export interface MemoryStoreDeleteScopeResponse {
3089
3860
  deleted: boolean;
3090
3861
  }
3091
3862
  export declare function memoryStoreDeleteScopeResponseDeserializer(item: any): MemoryStoreDeleteScopeResponse;
3863
+ /** The response data for a requested list of items. */
3864
+ export interface _AgentsPagedResultMemoryItem {
3865
+ /** The requested list of items. */
3866
+ data: MemoryItemUnion[];
3867
+ /** The first ID represented in this list. */
3868
+ first_id?: string;
3869
+ /** The last ID represented in this list. */
3870
+ last_id?: string;
3871
+ /** A value indicating whether there are additional values available not captured in this list. */
3872
+ has_more: boolean;
3873
+ }
3874
+ export declare function _agentsPagedResultMemoryItemDeserializer(item: any): _AgentsPagedResultMemoryItem;
3875
+ export declare function memoryItemUnionArrayDeserializer(result: Array<MemoryItemUnion>): any[];
3876
+ /** Response for deleting a memory item from a memory store. */
3877
+ export interface DeleteMemoryResponse {
3878
+ /** The object type. Always 'memory_store.item.deleted'. */
3879
+ object: "memory_store.item.deleted";
3880
+ /** The unique ID of the deleted memory item. */
3881
+ memory_id: string;
3882
+ /** Whether the memory item was successfully deleted. */
3883
+ deleted: boolean;
3884
+ }
3885
+ export declare function deleteMemoryResponseDeserializer(item: any): DeleteMemoryResponse;
3886
+ /** Paged collection of ModelVersion items */
3887
+ export interface _PagedModelVersion {
3888
+ /** The ModelVersion items on this page */
3889
+ value: ModelVersion[];
3890
+ /** The link to the next page of items */
3891
+ nextLink?: string;
3892
+ }
3893
+ export declare function _pagedModelVersionDeserializer(item: any): _PagedModelVersion;
3894
+ export declare function modelVersionArraySerializer(result: Array<ModelVersion>): any[];
3895
+ export declare function modelVersionArrayDeserializer(result: Array<ModelVersion>): any[];
3896
+ /** Model Version Definition */
3897
+ export interface ModelVersion {
3898
+ /** URI of the model artifact in blob storage */
3899
+ blobUri: string;
3900
+ /** The weight type of the model */
3901
+ weightType?: FoundryModelWeightType;
3902
+ /** Base model asset ID */
3903
+ baseModel?: string;
3904
+ /** The source of the model */
3905
+ source?: ModelSourceData;
3906
+ /** Adapter-specific configuration. Required when weight_type is lora; ignored otherwise. May be auto-populated from adapter_config.json when present in the uploaded files — user-provided values take precedence over auto-detected values. */
3907
+ loraConfig?: LoraConfig;
3908
+ /** The artifact profile of the model */
3909
+ readonly artifactProfile?: ArtifactProfile;
3910
+ /** Service-computed advisory warnings derived from the artifact profile. */
3911
+ readonly warnings?: FoundryModelWarning[];
3912
+ /** Asset ID, a unique identifier for the asset */
3913
+ readonly id?: string;
3914
+ /** The name of the resource */
3915
+ readonly name: string;
3916
+ /** The version of the resource */
3917
+ readonly version: string;
3918
+ /** The asset description text. */
3919
+ description?: string;
3920
+ /** Tag dictionary. Tags can be added, removed, and updated. */
3921
+ tags?: Record<string, string>;
3922
+ }
3923
+ export declare function modelVersionSerializer(item: ModelVersion): any;
3924
+ export declare function modelVersionDeserializer(item: any): ModelVersion;
3925
+ /** The weight type of the model. */
3926
+ export type FoundryModelWeightType = "FullWeight" | "LoRA" | "DraftModel";
3927
+ /** Source information for the model */
3928
+ export interface ModelSourceData {
3929
+ /** The source type of the model */
3930
+ sourceType?: FoundryModelSourceType;
3931
+ /** The job ID that produced this model */
3932
+ jobId?: string;
3933
+ }
3934
+ export declare function modelSourceDataSerializer(item: ModelSourceData): any;
3935
+ export declare function modelSourceDataDeserializer(item: any): ModelSourceData;
3936
+ /** The source type of the model. */
3937
+ export type FoundryModelSourceType = "LocalUpload" | "TrainingJob";
3938
+ /** Adapter-specific metadata for LoRA models. Drives serving engine configuration at deployment time. */
3939
+ export interface LoraConfig {
3940
+ /** LoRA rank (r). Positive integer. Common values: 8, 16, 32, 64. */
3941
+ rank?: number;
3942
+ /** LoRA scaling factor (α). Positive integer; typically 2× the rank. */
3943
+ alpha?: number;
3944
+ /** Model layers modified by the adapter (e.g., q_proj, v_proj). Auto-detected from adapter_config.json if omitted. */
3945
+ targetModules?: string[];
3946
+ /** Dropout rate used during training. Informational — not used at serving time. */
3947
+ dropout?: number;
3948
+ }
3949
+ export declare function loraConfigSerializer(item: LoraConfig): any;
3950
+ export declare function loraConfigDeserializer(item: any): LoraConfig;
3951
+ /** Artifact profile of the model */
3952
+ export interface ArtifactProfile {
3953
+ /** The category of the artifact profile */
3954
+ category: FoundryModelArtifactProfileCategory;
3955
+ /** Signals detected in the model artifact */
3956
+ signals?: FoundryModelArtifactProfileSignal[];
3957
+ }
3958
+ export declare function artifactProfileDeserializer(item: any): ArtifactProfile;
3959
+ /** The artifact profile category. */
3960
+ export type FoundryModelArtifactProfileCategory = "DataOnly" | "RuntimeDependent" | "Unknown";
3961
+ /** Signals detected in the model artifact. */
3962
+ export type FoundryModelArtifactProfileSignal = "PickleDeserialization" | "CustomPythonCode" | "DynamicOps" | "NativeBinary" | "UnknownFormat";
3963
+ export declare function foundryModelWarningArrayDeserializer(result: Array<FoundryModelWarning>): any[];
3964
+ /** A warning associated with a model. */
3965
+ export interface FoundryModelWarning {
3966
+ /** The warning code. */
3967
+ code?: FoundryModelWarningCode;
3968
+ /** The warning message. */
3969
+ message?: string;
3970
+ }
3971
+ export declare function foundryModelWarningDeserializer(item: any): FoundryModelWarning;
3972
+ /** Warning code for model artifacts. */
3973
+ export type FoundryModelWarningCode = "RuntimeDependentArtifact" | "UnclassifiedArtifact";
3974
+ /** Request body for updating a model version. Only description and tags can be modified. */
3975
+ export interface UpdateModelVersionRequest {
3976
+ /** The asset description text. */
3977
+ description?: string;
3978
+ /** Tag dictionary. Tags can be added, removed, and updated. */
3979
+ tags?: Record<string, string>;
3980
+ }
3981
+ export declare function updateModelVersionRequestSerializer(item: UpdateModelVersionRequest): any;
3982
+ /** model interface _CreateAsyncResponse */
3983
+ export interface _CreateAsyncResponse {
3984
+ /** URL to poll for operation status. */
3985
+ location?: string;
3986
+ /** URL to the operation result, or null if the operation is still in progress. */
3987
+ operationResult?: string;
3988
+ }
3989
+ export declare function _createAsyncResponseDeserializer(item: any): _CreateAsyncResponse;
3990
+ /** Represents a request for a pending upload of a model version. */
3991
+ export interface ModelPendingUploadRequest {
3992
+ /** If PendingUploadId is not provided, a random GUID will be used. */
3993
+ pendingUploadId?: string;
3994
+ /** Azure Storage Account connection name to use for generating temporary SAS token */
3995
+ connectionName?: string;
3996
+ /** The type of pending upload. Only TemporaryBlobReference is supported for models. */
3997
+ pendingUploadType: "TemporaryBlobReference";
3998
+ }
3999
+ export declare function modelPendingUploadRequestSerializer(item: ModelPendingUploadRequest): any;
4000
+ /** Represents the response for a model pending upload request. */
4001
+ export interface ModelPendingUploadResponse {
4002
+ /** Container-level read, write, list SAS. */
4003
+ blobReference: BlobReference;
4004
+ /** ID for this upload request. */
4005
+ pendingUploadId: string;
4006
+ /** Version of asset to be created if user did not specify version when initially creating upload */
4007
+ version?: string;
4008
+ /** The type of pending upload. Only TemporaryBlobReference is supported for models. */
4009
+ pendingUploadType: "TemporaryBlobReference";
4010
+ }
4011
+ export declare function modelPendingUploadResponseDeserializer(item: any): ModelPendingUploadResponse;
4012
+ /** Request to fetch credentials for a model asset. */
4013
+ export interface ModelCredentialRequest {
4014
+ /** Blob URI of the model asset to fetch credentials for. */
4015
+ blobUri: string;
4016
+ }
4017
+ export declare function modelCredentialRequestSerializer(item: ModelCredentialRequest): any;
3092
4018
  /** Red team details. */
3093
4019
  export interface RedTeam {
3094
4020
  /** Identifier of the red team run. */
@@ -3099,7 +4025,7 @@ export interface RedTeam {
3099
4025
  numTurns?: number;
3100
4026
  /** List of attack strategies or nested lists of attack strategies. */
3101
4027
  attackStrategies?: AttackStrategy[];
3102
- /** Simulation-only or Simulation + Evaluation. Default false, if true the scan outputs conversation not evaluation result. */
4028
+ /** Simulation-only or Simulation + Evaluation. If `true` the scan outputs conversation not evaluation result. The service defaults to `false` if a value is not specified by the caller. */
3103
4029
  simulationOnly?: boolean;
3104
4030
  /** List of risk categories to generate attack objectives for. */
3105
4031
  riskCategories?: RiskCategory[];
@@ -3112,26 +4038,26 @@ export interface RedTeam {
3112
4038
  /** Status of the red-team. It is set by service and is read-only. */
3113
4039
  readonly status?: string;
3114
4040
  /** Target configuration for the red-team run. */
3115
- target?: TargetConfigUnion;
4041
+ target?: RedTeamTargetConfigUnion;
3116
4042
  }
3117
4043
  export declare function redTeamSerializer(item: RedTeam): any;
3118
4044
  export declare function redTeamDeserializer(item: any): RedTeam;
3119
4045
  /** Strategies for attacks. */
3120
4046
  export type AttackStrategy = "easy" | "moderate" | "difficult" | "ascii_art" | "ascii_smuggler" | "atbash" | "base64" | "binary" | "caesar" | "character_space" | "jailbreak" | "ansi_attack" | "character_swap" | "suffix_append" | "string_join" | "unicode_confusable" | "unicode_substitution" | "diacritic" | "flip" | "leetspeak" | "rot13" | "morse" | "url" | "baseline" | "indirect_jailbreak" | "tense" | "multi_turn" | "crescendo";
3121
4047
  /** Abstract class for target configuration. */
3122
- export interface TargetConfig {
4048
+ export interface RedTeamTargetConfig {
3123
4049
  /** Type of the model configuration. */
3124
4050
  /** The discriminator possible values: AzureOpenAIModel */
3125
4051
  type: string;
3126
4052
  }
3127
- export declare function targetConfigSerializer(item: TargetConfig): any;
3128
- export declare function targetConfigDeserializer(item: any): TargetConfig;
3129
- /** Alias for TargetConfigUnion */
3130
- export type TargetConfigUnion = AzureOpenAIModelConfiguration | TargetConfig;
3131
- export declare function targetConfigUnionSerializer(item: TargetConfigUnion): any;
3132
- export declare function targetConfigUnionDeserializer(item: any): TargetConfigUnion;
4053
+ export declare function redTeamTargetConfigSerializer(item: RedTeamTargetConfig): any;
4054
+ export declare function redTeamTargetConfigDeserializer(item: any): RedTeamTargetConfig;
4055
+ /** Alias for RedTeamTargetConfigUnion */
4056
+ export type RedTeamTargetConfigUnion = AzureOpenAIModelConfiguration | RedTeamTargetConfig;
4057
+ export declare function redTeamTargetConfigUnionSerializer(item: RedTeamTargetConfigUnion): any;
4058
+ export declare function redTeamTargetConfigUnionDeserializer(item: any): RedTeamTargetConfigUnion;
3133
4059
  /** Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */
3134
- export interface AzureOpenAIModelConfiguration extends TargetConfig {
4060
+ export interface AzureOpenAIModelConfiguration extends RedTeamTargetConfig {
3135
4061
  /** The type discriminator, always 'AzureOpenAIModel'. */
3136
4062
  type: "AzureOpenAIModel";
3137
4063
  /** Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (e.g. `my-aoai-connection/gpt-4o`). */
@@ -3149,6 +4075,255 @@ export interface _PagedRedTeam {
3149
4075
  export declare function _pagedRedTeamDeserializer(item: any): _PagedRedTeam;
3150
4076
  export declare function redTeamArraySerializer(result: Array<RedTeam>): any[];
3151
4077
  export declare function redTeamArrayDeserializer(result: Array<RedTeam>): any[];
4078
+ export declare function routineTriggerUnionRecordSerializer(item: Record<string, RoutineTrigger>): Record<string, any>;
4079
+ export declare function routineTriggerUnionRecordDeserializer(item: Record<string, any>): Record<string, RoutineTrigger>;
4080
+ /** Base model for a routine trigger. */
4081
+ export interface RoutineTrigger {
4082
+ /** The trigger type. */
4083
+ /** The discriminator possible values: schedule, timer, github_issue, custom */
4084
+ type: RoutineTriggerType;
4085
+ }
4086
+ export declare function routineTriggerSerializer(item: RoutineTrigger): any;
4087
+ export declare function routineTriggerDeserializer(item: any): RoutineTrigger;
4088
+ /** Alias for RoutineTriggerUnion */
4089
+ export type RoutineTriggerUnion = ScheduleRoutineTrigger | TimerRoutineTrigger | GitHubIssueRoutineTrigger | CustomRoutineTrigger | RoutineTrigger;
4090
+ export declare function routineTriggerUnionSerializer(item: RoutineTriggerUnion): any;
4091
+ export declare function routineTriggerUnionDeserializer(item: any): RoutineTriggerUnion;
4092
+ /** The discriminator values supported for routine triggers. */
4093
+ export type RoutineTriggerType = "custom" | "github_issue" | "schedule" | "timer";
4094
+ /** A recurring cron-based routine trigger. */
4095
+ export interface ScheduleRoutineTrigger extends RoutineTrigger {
4096
+ /** The trigger type. */
4097
+ type: "schedule";
4098
+ /** A 5-field cron expression. The service enforces a minimum interval of five minutes by default. */
4099
+ cron_expression: string;
4100
+ /** An IANA or Windows time zone identifier for the schedule. */
4101
+ time_zone: string;
4102
+ }
4103
+ export declare function scheduleRoutineTriggerSerializer(item: ScheduleRoutineTrigger): any;
4104
+ export declare function scheduleRoutineTriggerDeserializer(item: any): ScheduleRoutineTrigger;
4105
+ /** A one-shot timer routine trigger. */
4106
+ export interface TimerRoutineTrigger extends RoutineTrigger {
4107
+ /** The trigger type. */
4108
+ type: "timer";
4109
+ /** The UTC date and time at which the timer fires. */
4110
+ at?: Date;
4111
+ }
4112
+ export declare function timerRoutineTriggerSerializer(item: TimerRoutineTrigger): any;
4113
+ export declare function timerRoutineTriggerDeserializer(item: any): TimerRoutineTrigger;
4114
+ /** A GitHub issue routine trigger. */
4115
+ export interface GitHubIssueRoutineTrigger extends RoutineTrigger {
4116
+ /** The trigger type. */
4117
+ type: "github_issue";
4118
+ /** The workspace connection identifier that resolves the GitHub configuration for the trigger. */
4119
+ connection_id: string;
4120
+ /** The GitHub owner or organization that scopes which issues can fire the trigger. */
4121
+ owner: string;
4122
+ /** The GitHub repository filter that scopes which issues can fire the trigger. */
4123
+ repository: string;
4124
+ /** The GitHub issue event that fires the routine. */
4125
+ issue_event: GitHubIssueEvent;
4126
+ }
4127
+ export declare function gitHubIssueRoutineTriggerSerializer(item: GitHubIssueRoutineTrigger): any;
4128
+ export declare function gitHubIssueRoutineTriggerDeserializer(item: any): GitHubIssueRoutineTrigger;
4129
+ /** Known GitHub issue events that can fire a routine. */
4130
+ export type GitHubIssueEvent = "opened" | "closed";
4131
+ /** A custom event routine trigger. */
4132
+ export interface CustomRoutineTrigger extends RoutineTrigger {
4133
+ /** The trigger type. */
4134
+ type: "custom";
4135
+ /** The external provider that emits the custom event. */
4136
+ provider: string;
4137
+ /** The provider-specific event name that fires the routine. */
4138
+ event_name?: string;
4139
+ /** Provider-specific trigger parameters. */
4140
+ parameters: Record<string, any>;
4141
+ }
4142
+ export declare function customRoutineTriggerSerializer(item: CustomRoutineTrigger): any;
4143
+ export declare function customRoutineTriggerDeserializer(item: any): CustomRoutineTrigger;
4144
+ /** Base model for a routine action. */
4145
+ export interface RoutineAction {
4146
+ /** The action type. */
4147
+ /** The discriminator possible values: invoke_agent_responses_api, invoke_agent_invocations_api */
4148
+ type: RoutineActionType;
4149
+ }
4150
+ export declare function routineActionSerializer(item: RoutineAction): any;
4151
+ export declare function routineActionDeserializer(item: any): RoutineAction;
4152
+ /** Alias for RoutineActionUnion */
4153
+ export type RoutineActionUnion = InvokeAgentResponsesApiRoutineAction | InvokeAgentInvocationsApiRoutineAction | RoutineAction;
4154
+ export declare function routineActionUnionSerializer(item: RoutineActionUnion): any;
4155
+ export declare function routineActionUnionDeserializer(item: any): RoutineActionUnion;
4156
+ /** The discriminator values supported for routine actions. */
4157
+ export type RoutineActionType = "invoke_agent_responses_api" | "invoke_agent_invocations_api";
4158
+ /** Dispatches a routine through the responses API. Exactly one of agent_name or agent_endpoint_id must be provided. */
4159
+ export interface InvokeAgentResponsesApiRoutineAction extends RoutineAction {
4160
+ /** The action type. */
4161
+ type: "invoke_agent_responses_api";
4162
+ /** The project-scoped agent name for routine dispatch. */
4163
+ agent_name?: string;
4164
+ /** Legacy endpoint-scoped agent identifier for routine dispatch. */
4165
+ agent_endpoint_id?: string;
4166
+ /** Static JSON value sent as the complete downstream input when the routine fires. The value is passed through as-is; no templating is applied. */
4167
+ input?: any;
4168
+ /** An optional existing conversation identifier to continue during the downstream dispatch. */
4169
+ conversation?: string;
4170
+ }
4171
+ export declare function invokeAgentResponsesApiRoutineActionSerializer(item: InvokeAgentResponsesApiRoutineAction): any;
4172
+ export declare function invokeAgentResponsesApiRoutineActionDeserializer(item: any): InvokeAgentResponsesApiRoutineAction;
4173
+ /** Dispatches a routine through the raw invocations API. Exactly one of agent_name or agent_endpoint_id must be provided. */
4174
+ export interface InvokeAgentInvocationsApiRoutineAction extends RoutineAction {
4175
+ /** The action type. */
4176
+ type: "invoke_agent_invocations_api";
4177
+ /** The project-scoped agent name for routine dispatch. */
4178
+ agent_name?: string;
4179
+ /** Legacy endpoint-scoped agent identifier for routine dispatch. */
4180
+ agent_endpoint_id?: string;
4181
+ /** Static JSON value sent as the complete downstream input when the routine fires. The value is passed through as-is; no templating is applied. */
4182
+ input?: any;
4183
+ /** An optional existing hosted-agent session identifier to continue during the downstream dispatch. */
4184
+ session_id?: string;
4185
+ }
4186
+ export declare function invokeAgentInvocationsApiRoutineActionSerializer(item: InvokeAgentInvocationsApiRoutineAction): any;
4187
+ export declare function invokeAgentInvocationsApiRoutineActionDeserializer(item: any): InvokeAgentInvocationsApiRoutineAction;
4188
+ /** A routine definition returned by the service. */
4189
+ export interface Routine {
4190
+ /** The routine name. */
4191
+ name?: string;
4192
+ /** A human-readable description of the routine. */
4193
+ description?: string;
4194
+ /** Whether the routine is enabled. */
4195
+ enabled: boolean;
4196
+ /** The triggers configured for the routine. */
4197
+ triggers?: Record<string, RoutineTriggerUnion>;
4198
+ /** The action executed when the routine fires. */
4199
+ action?: RoutineActionUnion;
4200
+ /** The time when the routine was created. */
4201
+ created_at?: Date;
4202
+ /** The time when the routine was last updated. */
4203
+ updated_at?: Date;
4204
+ }
4205
+ export declare function routineDeserializer(item: any): Routine;
4206
+ /** The response data for a requested list of items. */
4207
+ export interface _AgentsPagedResultRoutine {
4208
+ /** The requested list of items. */
4209
+ data: Routine[];
4210
+ /** The first ID represented in this list. */
4211
+ first_id?: string;
4212
+ /** The last ID represented in this list. */
4213
+ last_id?: string;
4214
+ /** A value indicating whether there are additional values available not captured in this list. */
4215
+ has_more: boolean;
4216
+ }
4217
+ export declare function _agentsPagedResultRoutineDeserializer(item: any): _AgentsPagedResultRoutine;
4218
+ export declare function routineArrayDeserializer(result: Array<Routine>): any[];
4219
+ /** The response data for a requested list of items. */
4220
+ export interface _AgentsPagedResultRoutineRun {
4221
+ /** The requested list of items. */
4222
+ data: RoutineRun[];
4223
+ /** The first ID represented in this list. */
4224
+ first_id?: string;
4225
+ /** The last ID represented in this list. */
4226
+ last_id?: string;
4227
+ /** A value indicating whether there are additional values available not captured in this list. */
4228
+ has_more: boolean;
4229
+ }
4230
+ export declare function _agentsPagedResultRoutineRunDeserializer(item: any): _AgentsPagedResultRoutineRun;
4231
+ export declare function routineRunArrayDeserializer(result: Array<RoutineRun>): any[];
4232
+ /** A single routine run returned from the run history API. */
4233
+ export interface RoutineRun {
4234
+ /** The unique run identifier for the routine attempt. */
4235
+ readonly id: string;
4236
+ /** The run status. */
4237
+ status?: RoutineRunStatus;
4238
+ /** The AgentExtensions lifecycle phase for the routine attempt. */
4239
+ phase?: RoutineRunPhase;
4240
+ /** The trigger type that produced the routine attempt. */
4241
+ trigger_type?: RoutineTriggerType;
4242
+ /** The configured trigger name that produced the routine attempt. */
4243
+ trigger_name?: string;
4244
+ /** The event payload captured from the event that triggered the routine attempt, when available. */
4245
+ trigger_event_payload?: Record<string, any>;
4246
+ /** The source path that created the routine attempt. */
4247
+ attempt_source?: RoutineAttemptSource;
4248
+ /** The action type dispatched for the routine attempt. */
4249
+ action_type?: RoutineActionType;
4250
+ /** The project-scoped agent identifier recorded for the routine attempt. */
4251
+ agent_id?: string;
4252
+ /** The legacy endpoint-scoped agent identifier recorded for the routine attempt. */
4253
+ agent_endpoint_id?: string;
4254
+ /** The conversation identifier used by a responses API dispatch. */
4255
+ conversation_id?: string;
4256
+ /** The hosted-agent session identifier used by an invocations API dispatch. */
4257
+ session_id?: string;
4258
+ /** The logical trigger time recorded for the routine attempt. */
4259
+ triggered_at?: Date;
4260
+ /** The scheduled fire time recorded for timer and schedule deliveries. */
4261
+ scheduled_fire_at?: Date;
4262
+ /** The time when the underlying run started. */
4263
+ started_at?: Date;
4264
+ /** The time when the underlying run reached a terminal state. */
4265
+ ended_at?: Date;
4266
+ /** The dispatch identifier associated with the routine attempt. */
4267
+ dispatch_id?: string;
4268
+ /** The downstream action correlation identifier, when available. */
4269
+ action_correlation_id?: string;
4270
+ /** The downstream response or invocation identifier, when available. */
4271
+ response_id?: string;
4272
+ /** The workspace task identifier linked to the routine attempt, when available. */
4273
+ task_id?: string;
4274
+ /** The downstream error status code captured for a failed attempt, when available. */
4275
+ error_status_code?: number;
4276
+ /** The fully qualified error type captured for a failed attempt, when available. */
4277
+ error_type?: string;
4278
+ /** The truncated failure message captured for a failed attempt, when available. */
4279
+ error_message?: string;
4280
+ }
4281
+ export declare function routineRunDeserializer(item: any): RoutineRun;
4282
+ /** The status of a routine run. */
4283
+ export type RoutineRunStatus = string;
4284
+ export declare function routineRunStatusDeserializer(item: any): RoutineRunStatus;
4285
+ /** Known lifecycle phases recorded for a routine run. */
4286
+ export type RoutineRunPhase = "queued" | "dispatching" | "completed" | "failed";
4287
+ /** Known source paths that can produce a routine run. */
4288
+ export type RoutineAttemptSource = "event_fire" | "manual_dispatch" | "queued_dispatch" | "schedule_delivery" | "timer_delivery";
4289
+ /** Base model for a manual dispatch payload. */
4290
+ export interface RoutineDispatchPayload {
4291
+ /** The manual dispatch payload type. */
4292
+ /** The discriminator possible values: invoke_agent_responses_api, invoke_agent_invocations_api */
4293
+ type: RoutineDispatchPayloadType;
4294
+ }
4295
+ export declare function routineDispatchPayloadSerializer(item: RoutineDispatchPayload): any;
4296
+ /** Alias for RoutineDispatchPayloadUnion */
4297
+ export type RoutineDispatchPayloadUnion = InvokeAgentResponsesApiDispatchPayload | InvokeAgentInvocationsApiDispatchPayload | RoutineDispatchPayload;
4298
+ export declare function routineDispatchPayloadUnionSerializer(item: RoutineDispatchPayloadUnion): any;
4299
+ /** The discriminator values supported for manual routine dispatch payloads. */
4300
+ export type RoutineDispatchPayloadType = "invoke_agent_responses_api" | "invoke_agent_invocations_api";
4301
+ /** A manual payload used to test a responses API routine dispatch. */
4302
+ export interface InvokeAgentResponsesApiDispatchPayload extends RoutineDispatchPayload {
4303
+ /** The manual dispatch payload type. */
4304
+ type: "invoke_agent_responses_api";
4305
+ /** The JSON value sent as the complete downstream responses input. The value is passed through as-is and can be an object, string, number, boolean, array, or null. */
4306
+ input: unknown;
4307
+ }
4308
+ export declare function invokeAgentResponsesApiDispatchPayloadSerializer(item: InvokeAgentResponsesApiDispatchPayload): any;
4309
+ /** A manual payload used to test an invocations API routine dispatch. */
4310
+ export interface InvokeAgentInvocationsApiDispatchPayload extends RoutineDispatchPayload {
4311
+ /** The manual dispatch payload type. */
4312
+ type: "invoke_agent_invocations_api";
4313
+ /** The JSON value sent as the complete downstream invocations input. The value is passed through as-is and can be an object, string, number, boolean, array, or null. */
4314
+ input: unknown;
4315
+ }
4316
+ export declare function invokeAgentInvocationsApiDispatchPayloadSerializer(item: InvokeAgentInvocationsApiDispatchPayload): any;
4317
+ /** Identifiers returned after a routine dispatch is queued. */
4318
+ export interface DispatchRoutineResponse {
4319
+ /** The dispatch identifier created for the routine dispatch. */
4320
+ dispatch_id?: string;
4321
+ /** A downstream action correlation identifier, when available. */
4322
+ action_correlation_id?: string;
4323
+ /** A workspace task identifier created for the dispatch, when available. */
4324
+ task_id?: string;
4325
+ }
4326
+ export declare function dispatchRoutineResponseDeserializer(item: any): DispatchRoutineResponse;
3152
4327
  /** Schedule model. */
3153
4328
  export interface Schedule {
3154
4329
  /** Identifier of the schedule. */
@@ -3196,7 +4371,7 @@ export interface CronTrigger extends Trigger {
3196
4371
  type: "Cron";
3197
4372
  /** Cron expression that defines the schedule frequency. */
3198
4373
  expression: string;
3199
- /** Time zone for the cron schedule. */
4374
+ /** Time zone for the cron schedule. Defaults to `UTC`. */
3200
4375
  timeZone?: string;
3201
4376
  /** Start time for the cron schedule in ISO 8601 format. */
3202
4377
  startTime?: string;
@@ -3213,7 +4388,7 @@ export interface RecurrenceTrigger extends Trigger {
3213
4388
  startTime?: string;
3214
4389
  /** End time for the recurrence schedule in ISO 8601 format. */
3215
4390
  endTime?: string;
3216
- /** Time zone for the recurrence schedule. */
4391
+ /** Time zone for the recurrence schedule. Defaults to `UTC`. */
3217
4392
  timeZone?: string;
3218
4393
  /** Interval for the recurrence schedule. */
3219
4394
  interval: number;
@@ -3278,7 +4453,7 @@ export interface OneTimeTrigger extends Trigger {
3278
4453
  type: "OneTime";
3279
4454
  /** Date and time for the one-time trigger in ISO 8601 format. */
3280
4455
  triggerAt: string;
3281
- /** Time zone for the one-time trigger. */
4456
+ /** Time zone for the one-time trigger. Defaults to `UTC`. */
3282
4457
  timeZone?: string;
3283
4458
  }
3284
4459
  export declare function oneTimeTriggerSerializer(item: OneTimeTrigger): any;
@@ -3310,12 +4485,6 @@ export interface EvaluationScheduleTask extends ScheduleTask {
3310
4485
  }
3311
4486
  export declare function evaluationScheduleTaskSerializer(item: EvaluationScheduleTask): any;
3312
4487
  export declare function evaluationScheduleTaskDeserializer(item: any): EvaluationScheduleTask;
3313
- /** model interface _EvaluationScheduleTaskEvalRun */
3314
- export interface _EvaluationScheduleTaskEvalRun {
3315
- [key: string]: unknown;
3316
- }
3317
- export declare function _evaluationScheduleTaskEvalRunSerializer(_item: _EvaluationScheduleTaskEvalRun): any;
3318
- export declare function _evaluationScheduleTaskEvalRunDeserializer(item: any): _EvaluationScheduleTaskEvalRun;
3319
4488
  /** Insight task for the schedule. */
3320
4489
  export interface InsightScheduleTask extends ScheduleTask {
3321
4490
  /** Type of the task, which is always 'Insight'. */
@@ -3360,54 +4529,26 @@ export interface _PagedScheduleRun {
3360
4529
  }
3361
4530
  export declare function _pagedScheduleRunDeserializer(item: any): _PagedScheduleRun;
3362
4531
  export declare function scheduleRunArrayDeserializer(result: Array<ScheduleRun>): any[];
3363
- /** Policy configuration for a toolbox, including content safety and other governance settings. */
3364
- export interface ToolboxPolicies {
3365
- /** Responsible AI content filtering configuration. */
3366
- rai_config?: RaiConfig;
3367
- }
3368
- export declare function toolboxPoliciesSerializer(item: ToolboxPolicies): any;
3369
- export declare function toolboxPoliciesDeserializer(item: any): ToolboxPolicies;
3370
- /** A specific version of a toolbox. */
3371
- export interface ToolboxVersionObject {
3372
- /**
3373
- * Set of 16 key-value pairs that can be attached to an object. This can be
3374
- * useful for storing additional information about the object in a structured
3375
- * format, and querying for objects via API or the dashboard.
3376
- *
3377
- * Keys are strings with a maximum length of 64 characters. Values are strings
3378
- * with a maximum length of 512 characters.
3379
- */
3380
- metadata: Record<string, string>;
3381
- /** The unique identifier of the toolbox version. */
4532
+ /** A skill resource. */
4533
+ export interface Skill {
4534
+ /** The unique identifier of the skill. */
3382
4535
  id: string;
3383
- /** The name of the toolbox. */
4536
+ /** The unique name of the skill. */
3384
4537
  name: string;
3385
- /** The version identifier of the toolbox. Toolbox versions are immutable and every update creates a new version. */
3386
- version: string;
3387
- /** A human-readable description of the toolbox. */
3388
- description?: string;
3389
- /** The Unix timestamp (seconds) when the toolbox version was created. */
4538
+ /** A human-readable description of the skill. */
4539
+ description: string;
4540
+ /** The Unix timestamp (seconds) when the skill was created. */
3390
4541
  created_at: Date;
3391
- /** The list of tools contained in this toolbox version. */
3392
- tools: ToolUnion[];
3393
- /** Policy configuration for the toolbox version. */
3394
- policies?: ToolboxPolicies;
3395
- }
3396
- export declare function toolboxVersionObjectDeserializer(item: any): ToolboxVersionObject;
3397
- /** A toolbox that stores reusable tool definitions for agents. */
3398
- export interface ToolboxObject {
3399
- /** The unique identifier of the toolbox. */
3400
- id: string;
3401
- /** The name of the toolbox. */
3402
- name: string;
3403
- /** The version identifier that the toolbox currently points to. Defaults to the latest version. Can be changed via updateToolbox. */
4542
+ /** The default version for the skill. Can be changed via updateSkill. */
3404
4543
  default_version: string;
4544
+ /** The latest version for the skill. */
4545
+ latest_version: string;
3405
4546
  }
3406
- export declare function toolboxObjectDeserializer(item: any): ToolboxObject;
4547
+ export declare function skillDeserializer(item: any): Skill;
3407
4548
  /** The response data for a requested list of items. */
3408
- export interface _AgentsPagedResultToolboxObject {
4549
+ export interface _AgentsPagedResultSkill {
3409
4550
  /** The requested list of items. */
3410
- data: ToolboxObject[];
4551
+ data: Skill[];
3411
4552
  /** The first ID represented in this list. */
3412
4553
  first_id?: string;
3413
4554
  /** The last ID represented in this list. */
@@ -3415,12 +4556,66 @@ export interface _AgentsPagedResultToolboxObject {
3415
4556
  /** A value indicating whether there are additional values available not captured in this list. */
3416
4557
  has_more: boolean;
3417
4558
  }
3418
- export declare function _agentsPagedResultToolboxObjectDeserializer(item: any): _AgentsPagedResultToolboxObject;
3419
- export declare function toolboxObjectArrayDeserializer(result: Array<ToolboxObject>): any[];
4559
+ export declare function _agentsPagedResultSkillDeserializer(item: any): _AgentsPagedResultSkill;
4560
+ export declare function skillArrayDeserializer(result: Array<Skill>): any[];
4561
+ /** A deleted skill. */
4562
+ export interface DeleteSkillResponse {
4563
+ /** The unique identifier of the deleted skill. */
4564
+ id: string;
4565
+ /** The unique name of the skill. */
4566
+ name: string;
4567
+ /** Whether the skill was successfully deleted. */
4568
+ deleted: boolean;
4569
+ }
4570
+ export declare function deleteSkillResponseDeserializer(item: any): DeleteSkillResponse;
4571
+ /** Inline content for defining a simple skill without uploading files. Follows the agentskills.io SKILL.md specification. */
4572
+ export interface SkillInlineContent {
4573
+ /** A human-readable description of what the skill does and when to use it. */
4574
+ description: string;
4575
+ /** The skill instructions in markdown format. This is the body content of the SKILL.md file. */
4576
+ instructions: string;
4577
+ /** License name or reference to a bundled license file. */
4578
+ license?: string;
4579
+ /** Environment requirements or compatibility notes for the skill. */
4580
+ compatibility?: string;
4581
+ /** Arbitrary key-value metadata for additional properties. */
4582
+ metadata?: Record<string, string>;
4583
+ /** List of pre-approved tools the skill may use. Experimental. */
4584
+ allowed_tools?: string[];
4585
+ }
4586
+ export declare function skillInlineContentSerializer(item: SkillInlineContent): any;
4587
+ /** A specific version of a skill. */
4588
+ export interface SkillVersion {
4589
+ /** The unique identifier of the skill version. */
4590
+ id: string;
4591
+ /** The identifier of the parent skill. */
4592
+ skill_id: string;
4593
+ /** The name of the skill version. */
4594
+ name: string;
4595
+ /** The version identifier. Skill versions are immutable. */
4596
+ version: string;
4597
+ /** A human-readable description of the skill version. */
4598
+ description: string;
4599
+ /** The Unix timestamp (seconds) when the skill version was created. */
4600
+ created_at: Date;
4601
+ }
4602
+ export declare function skillVersionDeserializer(item: any): SkillVersion;
4603
+ /** Multipart request body for creating a skill version from files. Accepts either a single zip file or multiple individual skill files (directory upload). For zip uploads, the server extracts and validates contents. For directory uploads, files are validated as-is. */
4604
+ export interface CreateSkillVersionFromFilesBody {
4605
+ /** Skill files to upload. Upload a single zip file or multiple individual files with relative paths. */
4606
+ files: Array<FileContents | {
4607
+ contents: FileContents;
4608
+ contentType?: string;
4609
+ filename?: string;
4610
+ }>;
4611
+ /** Whether to set this version as the default. Defaults to false. */
4612
+ default?: boolean;
4613
+ }
4614
+ export declare function createSkillVersionFromFilesBodySerializer(item: CreateSkillVersionFromFilesBody): any;
3420
4615
  /** The response data for a requested list of items. */
3421
- export interface _AgentsPagedResultToolboxVersionObject {
4616
+ export interface _AgentsPagedResultSkillVersion {
3422
4617
  /** The requested list of items. */
3423
- data: ToolboxVersionObject[];
4618
+ data: SkillVersion[];
3424
4619
  /** The first ID represented in this list. */
3425
4620
  first_id?: string;
3426
4621
  /** The last ID represented in this list. */
@@ -3428,33 +4623,252 @@ export interface _AgentsPagedResultToolboxVersionObject {
3428
4623
  /** A value indicating whether there are additional values available not captured in this list. */
3429
4624
  has_more: boolean;
3430
4625
  }
3431
- export declare function _agentsPagedResultToolboxVersionObjectDeserializer(item: any): _AgentsPagedResultToolboxVersionObject;
3432
- export declare function toolboxVersionObjectArrayDeserializer(result: Array<ToolboxVersionObject>): any[];
3433
- /** A skill object. */
3434
- export interface SkillObject {
3435
- /** The unique identifier of the skill. */
3436
- skill_id: string;
3437
- /** Whether the skill was created from a zip blob package. */
3438
- has_blob: boolean;
3439
- /** The unique name of the skill. */
4626
+ export declare function _agentsPagedResultSkillVersionDeserializer(item: any): _AgentsPagedResultSkillVersion;
4627
+ export declare function skillVersionArrayDeserializer(result: Array<SkillVersion>): any[];
4628
+ /** A deleted skill version. */
4629
+ export interface DeleteSkillVersionResponse {
4630
+ /** The unique identifier of the deleted skill version. */
4631
+ id: string;
4632
+ /** The name of the skill. */
3440
4633
  name: string;
3441
- /** A human-readable description of the skill. */
4634
+ /** Whether the skill version was successfully deleted. */
4635
+ deleted: boolean;
4636
+ /** The version that was deleted. */
4637
+ version: string;
4638
+ }
4639
+ export declare function deleteSkillVersionResponseDeserializer(item: any): DeleteSkillVersionResponse;
4640
+ /** Data Generation Job resource. */
4641
+ export interface DataGenerationJob {
4642
+ /** Server-assigned unique identifier. */
4643
+ readonly id?: string;
4644
+ /** Caller-supplied inputs. */
4645
+ inputs?: DataGenerationJobInputs;
4646
+ /** Result produced on success. */
4647
+ readonly result?: DataGenerationJobResult;
4648
+ /** Current lifecycle status. */
4649
+ readonly status?: JobStatus;
4650
+ /** Error details — populated only on failure. */
4651
+ readonly error?: ErrorModel;
4652
+ /** The timestamp when the job was created, represented in Unix time (seconds since January 1, 1970). */
4653
+ readonly created_at?: Date;
4654
+ /** The timestamp when the job was finished, represented in Unix time (seconds since January 1, 1970). */
4655
+ readonly finished_at?: Date;
4656
+ }
4657
+ export declare function dataGenerationJobSerializer(item: DataGenerationJob): any;
4658
+ export declare function dataGenerationJobDeserializer(item: any): DataGenerationJob;
4659
+ /** Caller-supplied inputs for a data generation job. */
4660
+ export interface DataGenerationJobInputs {
4661
+ /** The display name of the data generation job. */
4662
+ name: string;
4663
+ /** The sources used for the data generation job. */
4664
+ sources: DataGenerationJobSourceUnion[];
4665
+ /** The options for the data generation job. */
4666
+ options: DataGenerationJobOptionsUnion;
4667
+ /** The scenario of the data generation job. Either for fine-tuning or evaluation. */
4668
+ scenario: DataGenerationJobScenario;
4669
+ /** Optional caller-supplied metadata for the job's output. See individual fields for whether they apply to file outputs (fine-tuning scenarios), dataset outputs (evaluation scenario), or both. */
4670
+ output_options?: DataGenerationJobOutputOptions;
4671
+ }
4672
+ export declare function dataGenerationJobInputsSerializer(item: DataGenerationJobInputs): any;
4673
+ export declare function dataGenerationJobInputsDeserializer(item: any): DataGenerationJobInputs;
4674
+ export declare function dataGenerationJobSourceUnionArraySerializer(result: Array<DataGenerationJobSourceUnion>): any[];
4675
+ export declare function dataGenerationJobSourceUnionArrayDeserializer(result: Array<DataGenerationJobSourceUnion>): any[];
4676
+ /** The base source model for data generation jobs. */
4677
+ export interface DataGenerationJobSource {
4678
+ /** The type of source. */
4679
+ /** The discriminator possible values: prompt, agent, traces, file */
4680
+ type: DataGenerationJobSourceType;
4681
+ /** Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). */
3442
4682
  description?: string;
3443
- /**
3444
- * Set of 16 key-value pairs that can be attached to an object. This can be
3445
- * useful for storing additional information about the object in a structured
3446
- * format, and querying for objects via API or the dashboard.
3447
- *
3448
- * Keys are strings with a maximum length of 64 characters. Values are strings
3449
- * with a maximum length of 512 characters.
3450
- */
3451
- metadata?: Record<string, string>;
3452
4683
  }
3453
- export declare function skillObjectDeserializer(item: any): SkillObject;
4684
+ export declare function dataGenerationJobSourceSerializer(item: DataGenerationJobSource): any;
4685
+ export declare function dataGenerationJobSourceDeserializer(item: any): DataGenerationJobSource;
4686
+ /** Alias for DataGenerationJobSourceUnion */
4687
+ export type DataGenerationJobSourceUnion = PromptDataGenerationJobSource | AgentDataGenerationJobSource | TracesDataGenerationJobSource | FileDataGenerationJobSource | DataGenerationJobSource;
4688
+ export declare function dataGenerationJobSourceUnionSerializer(item: DataGenerationJobSourceUnion): any;
4689
+ export declare function dataGenerationJobSourceUnionDeserializer(item: any): DataGenerationJobSourceUnion;
4690
+ /** The supported source types for data generation jobs. */
4691
+ export type DataGenerationJobSourceType = "prompt" | "agent" | "traces" | "file";
4692
+ /** Prompt source for data generation jobs — inline text provided by the user. */
4693
+ export interface PromptDataGenerationJobSource extends DataGenerationJobSource {
4694
+ /** Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). */
4695
+ description?: string;
4696
+ /** The source type for this source, which is Prompt. */
4697
+ type: "prompt";
4698
+ /** Inline prompt text (e.g., agent description, policy text, supplementary context). */
4699
+ prompt: string;
4700
+ }
4701
+ export declare function promptDataGenerationJobSourceSerializer(item: PromptDataGenerationJobSource): any;
4702
+ export declare function promptDataGenerationJobSourceDeserializer(item: any): PromptDataGenerationJobSource;
4703
+ /** Agent source for data generation jobs — references an agent to fetch instructions and metadata from. */
4704
+ export interface AgentDataGenerationJobSource extends DataGenerationJobSource {
4705
+ /** Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). */
4706
+ description?: string;
4707
+ /** The source type for this source, which is Agent. */
4708
+ type: "agent";
4709
+ /** The agent name to fetch instructions from. */
4710
+ agent_name: string;
4711
+ /** The agent version. If not specified, the latest version is used. */
4712
+ agent_version?: string;
4713
+ }
4714
+ export declare function agentDataGenerationJobSourceSerializer(item: AgentDataGenerationJobSource): any;
4715
+ export declare function agentDataGenerationJobSourceDeserializer(item: any): AgentDataGenerationJobSource;
4716
+ /** Traces source for data generation jobs — conversation traces from Application Insights. */
4717
+ export interface TracesDataGenerationJobSource extends DataGenerationJobSource {
4718
+ /** Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities'). */
4719
+ description?: string;
4720
+ /** The source type for this source, which is Traces. */
4721
+ type: "traces";
4722
+ /** The unique agent ID used to filter traces. Provide either `agent_id` or `agent_name` — at least one is required. */
4723
+ agent_id?: string;
4724
+ /** The agent name to fetch traces for. Provide either `agent_id` or `agent_name` — at least one is required. */
4725
+ agent_name?: string;
4726
+ /** The agent version. If not specified, traces for ALL versions of the agent are included within the time window. */
4727
+ agent_version?: string;
4728
+ /** Start of the time window (Unix timestamp in seconds) for fetching traces. */
4729
+ start_time: Date;
4730
+ /** End of the time window (Unix timestamp in seconds). Defaults to current time. */
4731
+ end_time?: Date;
4732
+ }
4733
+ export declare function tracesDataGenerationJobSourceSerializer(item: TracesDataGenerationJobSource): any;
4734
+ export declare function tracesDataGenerationJobSourceDeserializer(item: any): TracesDataGenerationJobSource;
4735
+ /** File source for data generation jobs — Azure OpenAI file input. */
4736
+ export interface FileDataGenerationJobSource extends DataGenerationJobSource {
4737
+ /** The source type for this job, which is File. */
4738
+ type: "file";
4739
+ /** Input Azure Open AI file id used for data generation. */
4740
+ id: string;
4741
+ }
4742
+ export declare function fileDataGenerationJobSourceSerializer(item: FileDataGenerationJobSource): any;
4743
+ export declare function fileDataGenerationJobSourceDeserializer(item: any): FileDataGenerationJobSource;
4744
+ /** Options for managing data generation jobs. */
4745
+ export interface DataGenerationJobOptions {
4746
+ /** The data generation job type. */
4747
+ /** The discriminator possible values: simple_qna, traces, tool_use */
4748
+ type: DataGenerationJobType;
4749
+ /** Maximum number of samples to generate. */
4750
+ max_samples: number;
4751
+ /** The proportion of the generated data to be used for training when the data is used for fine-tuning. The rest will be used for validation. Value should be between 0 and 1. */
4752
+ train_split?: number;
4753
+ /** The LLM model options. */
4754
+ model_options?: DataGenerationModelOptions;
4755
+ }
4756
+ export declare function dataGenerationJobOptionsSerializer(item: DataGenerationJobOptions): any;
4757
+ export declare function dataGenerationJobOptionsDeserializer(item: any): DataGenerationJobOptions;
4758
+ /** Alias for DataGenerationJobOptionsUnion */
4759
+ export type DataGenerationJobOptionsUnion = SimpleQnADataGenerationJobOptions | TracesDataGenerationJobOptions | ToolUseFineTuningDataGenerationJobOptions | DataGenerationJobOptions;
4760
+ export declare function dataGenerationJobOptionsUnionSerializer(item: DataGenerationJobOptionsUnion): any;
4761
+ export declare function dataGenerationJobOptionsUnionDeserializer(item: any): DataGenerationJobOptionsUnion;
4762
+ /** The supported data generation job types. */
4763
+ export type DataGenerationJobType = "simple_qna" | "traces" | "tool_use";
4764
+ /** LLM model options for data generation jobs. */
4765
+ export interface DataGenerationModelOptions {
4766
+ /** Base model name used to generate data. */
4767
+ model: string;
4768
+ }
4769
+ export declare function dataGenerationModelOptionsSerializer(item: DataGenerationModelOptions): any;
4770
+ export declare function dataGenerationModelOptionsDeserializer(item: any): DataGenerationModelOptions;
4771
+ /** The options for a data generation job with SimpleQnA type. */
4772
+ export interface SimpleQnADataGenerationJobOptions extends DataGenerationJobOptions {
4773
+ /** The data generation job type, which is SimpleQnA for this model. */
4774
+ type: "simple_qna";
4775
+ /** The question types to generate. Used only for fine-tuning scenarios. */
4776
+ question_types?: SimpleQnAFineTuningQuestionType[];
4777
+ }
4778
+ export declare function simpleQnADataGenerationJobOptionsSerializer(item: SimpleQnADataGenerationJobOptions): any;
4779
+ export declare function simpleQnADataGenerationJobOptionsDeserializer(item: any): SimpleQnADataGenerationJobOptions;
4780
+ /** The supported question types for SimpleQnA data generation jobs used for fine-tuning scenarios. */
4781
+ export type SimpleQnAFineTuningQuestionType = "short_answer" | "long_answer";
4782
+ /** The options for a data generation job with Traces type. */
4783
+ export interface TracesDataGenerationJobOptions extends DataGenerationJobOptions {
4784
+ /** The data generation job type, which is Traces for this model. */
4785
+ type: "traces";
4786
+ }
4787
+ export declare function tracesDataGenerationJobOptionsSerializer(item: TracesDataGenerationJobOptions): any;
4788
+ export declare function tracesDataGenerationJobOptionsDeserializer(item: any): TracesDataGenerationJobOptions;
4789
+ /** The options for a data generation job with ToolUse type. Used only for fine-tuning scenarios. */
4790
+ export interface ToolUseFineTuningDataGenerationJobOptions extends DataGenerationJobOptions {
4791
+ /** The data generation job type, which is ToolUse for this model. */
4792
+ type: "tool_use";
4793
+ }
4794
+ export declare function toolUseFineTuningDataGenerationJobOptionsSerializer(item: ToolUseFineTuningDataGenerationJobOptions): any;
4795
+ export declare function toolUseFineTuningDataGenerationJobOptionsDeserializer(item: any): ToolUseFineTuningDataGenerationJobOptions;
4796
+ /** The supported scenarios for a data generation job. */
4797
+ export type DataGenerationJobScenario = "supervised_finetuning" | "reinforcement_finetuning" | "evaluation";
4798
+ /** Output options for data generation job. */
4799
+ export interface DataGenerationJobOutputOptions {
4800
+ /** Name to assign to the output. Used as the filename for Azure OpenAI file outputs (fine-tuning scenarios) and as the dataset name for dataset outputs (evaluation scenario). */
4801
+ name?: string;
4802
+ /** Description to assign to the output. Applies only to dataset outputs (evaluation scenario); ignored for Azure OpenAI file outputs. */
4803
+ description?: string;
4804
+ /** Tags to assign to the output. Applies only to dataset outputs (evaluation scenario); ignored for Azure OpenAI file outputs. */
4805
+ tags?: Record<string, string>;
4806
+ }
4807
+ export declare function dataGenerationJobOutputOptionsSerializer(item: DataGenerationJobOutputOptions): any;
4808
+ export declare function dataGenerationJobOutputOptionsDeserializer(item: any): DataGenerationJobOutputOptions;
4809
+ /** Result produced by a successful data generation job. */
4810
+ export interface DataGenerationJobResult {
4811
+ /** The final job outputs: Azure OpenAI files for fine-tuning, or datasets for evaluation. */
4812
+ outputs?: DataGenerationJobOutputUnion[];
4813
+ /** The number of samples actually generated. */
4814
+ generated_samples: number;
4815
+ /** The token usage information for the data generation job. */
4816
+ token_usage?: DataGenerationTokenUsage;
4817
+ }
4818
+ export declare function dataGenerationJobResultDeserializer(item: any): DataGenerationJobResult;
4819
+ export declare function dataGenerationJobOutputUnionArrayDeserializer(result: Array<DataGenerationJobOutputUnion>): any[];
4820
+ /** Output information for a data generation job. */
4821
+ export interface DataGenerationJobOutput {
4822
+ /** The type of the output. */
4823
+ /** The discriminator possible values: file, dataset */
4824
+ type: DataGenerationJobOutputType;
4825
+ }
4826
+ export declare function dataGenerationJobOutputDeserializer(item: any): DataGenerationJobOutput;
4827
+ /** Alias for DataGenerationJobOutputUnion */
4828
+ export type DataGenerationJobOutputUnion = FileDataGenerationJobOutput | DatasetDataGenerationJobOutput | DataGenerationJobOutput;
4829
+ export declare function dataGenerationJobOutputUnionDeserializer(item: any): DataGenerationJobOutputUnion;
4830
+ /** The supported output file types for a data generation job. */
4831
+ export type DataGenerationJobOutputType = "file" | "dataset";
4832
+ /** Azure OpenAI file output for a data generation job. */
4833
+ export interface FileDataGenerationJobOutput extends DataGenerationJobOutput {
4834
+ /** Azure OpenAI file output. */
4835
+ type: "file";
4836
+ /** The id of the output Azure OpenAI file. */
4837
+ readonly id: string;
4838
+ /** The filename of the output Azure OpenAI file. */
4839
+ readonly filename: string;
4840
+ }
4841
+ export declare function fileDataGenerationJobOutputDeserializer(item: any): FileDataGenerationJobOutput;
4842
+ /** Dataset output for a data generation job. */
4843
+ export interface DatasetDataGenerationJobOutput extends DataGenerationJobOutput {
4844
+ /** Dataset output. */
4845
+ type: "dataset";
4846
+ /** The id of the output dataset created. */
4847
+ readonly id?: string;
4848
+ /** The name of the output dataset. */
4849
+ readonly name?: string;
4850
+ /** The version of the output dataset. */
4851
+ readonly version?: string;
4852
+ /** Description of the output dataset. */
4853
+ readonly description?: string;
4854
+ /** Tag dictionary of the output dataset. */
4855
+ readonly tags?: Record<string, string>;
4856
+ }
4857
+ export declare function datasetDataGenerationJobOutputDeserializer(item: any): DatasetDataGenerationJobOutput;
4858
+ /** Token usage information for a data generation job. */
4859
+ export interface DataGenerationTokenUsage {
4860
+ /** The number of prompt tokens used. */
4861
+ readonly prompt_tokens: number;
4862
+ /** The number of completion tokens generated. */
4863
+ readonly completion_tokens: number;
4864
+ /** Total number of tokens used. */
4865
+ readonly total_tokens: number;
4866
+ }
4867
+ export declare function dataGenerationTokenUsageDeserializer(item: any): DataGenerationTokenUsage;
3454
4868
  /** The response data for a requested list of items. */
3455
- export interface _AgentsPagedResultSkillObject {
4869
+ export interface _AgentsPagedResultDataGenerationJob {
3456
4870
  /** The requested list of items. */
3457
- data: SkillObject[];
4871
+ data: DataGenerationJob[];
3458
4872
  /** The first ID represented in this list. */
3459
4873
  first_id?: string;
3460
4874
  /** The last ID represented in this list. */
@@ -3462,20 +4876,228 @@ export interface _AgentsPagedResultSkillObject {
3462
4876
  /** A value indicating whether there are additional values available not captured in this list. */
3463
4877
  has_more: boolean;
3464
4878
  }
3465
- export declare function _agentsPagedResultSkillObjectDeserializer(item: any): _AgentsPagedResultSkillObject;
3466
- export declare function skillObjectArrayDeserializer(result: Array<SkillObject>): any[];
3467
- /** A deleted skill Object */
3468
- export interface DeleteSkillResponse {
3469
- /** The unique name of the skill. */
4879
+ export declare function _agentsPagedResultDataGenerationJobDeserializer(item: any): _AgentsPagedResultDataGenerationJob;
4880
+ export declare function dataGenerationJobArraySerializer(result: Array<DataGenerationJob>): any[];
4881
+ export declare function dataGenerationJobArrayDeserializer(result: Array<DataGenerationJob>): any[];
4882
+ /** Agent optimization job resource — a long-running job that optimizes an agent's configuration (instructions, model, skills, tools) to maximize evaluation scores. On success, the result contains scored candidates. */
4883
+ export interface OptimizationJob {
4884
+ /** Server-assigned unique identifier. */
4885
+ readonly id: string;
4886
+ /** Caller-supplied inputs. */
4887
+ inputs?: OptimizationJobInputs;
4888
+ /** Result produced on success. */
4889
+ readonly result?: OptimizationJobResult;
4890
+ /** Current lifecycle status. */
4891
+ readonly status: JobStatus;
4892
+ /** Error details — populated only on failure. */
4893
+ readonly error?: ErrorModel;
4894
+ /** The timestamp when the job was created, represented in Unix time. */
4895
+ readonly created_at: Date;
4896
+ /** The timestamp when the job was last updated, represented in Unix time. */
4897
+ readonly updated_at: Date;
4898
+ /** Progress snapshot. May be present in terminal states reflecting last-known progress. */
4899
+ readonly progress?: OptimizationJobProgress;
4900
+ /** Non-fatal warnings emitted at any point during optimization. */
4901
+ readonly warnings?: string[];
4902
+ }
4903
+ export declare function optimizationJobSerializer(item: OptimizationJob): any;
4904
+ export declare function optimizationJobDeserializer(item: any): OptimizationJob;
4905
+ /** Caller-supplied inputs for an optimization job. */
4906
+ export interface OptimizationJobInputs {
4907
+ /** The agent (and pinned version) being optimized. */
4908
+ agent: OptimizationAgentIdentifier;
4909
+ /** Training dataset — either inline items or a reference to a registered dataset. Required. */
4910
+ train_dataset: OptimizationDatasetInputUnion;
4911
+ /** Optional held-out validation dataset for measuring generalization of the final candidate. */
4912
+ validation_dataset?: OptimizationDatasetInputUnion;
4913
+ /** Job-level evaluators referenced by name and optional version. Required; at least one must be provided. */
4914
+ evaluators: OptimizationEvaluatorRef[];
4915
+ /** Tuning knobs and run-mode. */
4916
+ options?: OptimizationOptions;
4917
+ }
4918
+ export declare function optimizationJobInputsSerializer(item: OptimizationJobInputs): any;
4919
+ export declare function optimizationJobInputsDeserializer(item: any): OptimizationJobInputs;
4920
+ /** Identifies the registered Foundry agent to optimize (request-only). Skills, tools, and system_prompt are specified in options.optimization_config. */
4921
+ export interface OptimizationAgentIdentifier {
4922
+ /** Registered Foundry agent name (required). */
4923
+ agent_name: string;
4924
+ /** Pinned agent version. Defaults to latest if omitted. */
4925
+ agent_version?: string;
4926
+ }
4927
+ export declare function optimizationAgentIdentifierSerializer(item: OptimizationAgentIdentifier): any;
4928
+ export declare function optimizationAgentIdentifierDeserializer(item: any): OptimizationAgentIdentifier;
4929
+ /** Base discriminated model for dataset input. Either inline items or a registered reference. */
4930
+ export interface OptimizationDatasetInput {
4931
+ /** Dataset input type discriminator. */
4932
+ /** The discriminator possible values: inline, reference */
4933
+ type: OptimizationDatasetInputType;
4934
+ }
4935
+ export declare function optimizationDatasetInputSerializer(item: OptimizationDatasetInput): any;
4936
+ export declare function optimizationDatasetInputDeserializer(item: any): OptimizationDatasetInput;
4937
+ /** Alias for OptimizationDatasetInputUnion */
4938
+ export type OptimizationDatasetInputUnion = OptimizationInlineDatasetInput | OptimizationReferenceDatasetInput | OptimizationDatasetInput;
4939
+ export declare function optimizationDatasetInputUnionSerializer(item: OptimizationDatasetInputUnion): any;
4940
+ export declare function optimizationDatasetInputUnionDeserializer(item: any): OptimizationDatasetInputUnion;
4941
+ /** Discriminator values for the dataset input union. */
4942
+ export type OptimizationDatasetInputType = "inline" | "reference";
4943
+ /** Inline dataset — items supplied directly in the request body. */
4944
+ export interface OptimizationInlineDatasetInput extends OptimizationDatasetInput {
4945
+ /** Dataset input type discriminator. */
4946
+ type: "inline";
4947
+ /** Dataset items. */
4948
+ items: OptimizationDatasetItem[];
4949
+ }
4950
+ export declare function optimizationInlineDatasetInputSerializer(item: OptimizationInlineDatasetInput): any;
4951
+ export declare function optimizationInlineDatasetInputDeserializer(item: any): OptimizationInlineDatasetInput;
4952
+ export declare function optimizationDatasetItemArraySerializer(result: Array<OptimizationDatasetItem>): any[];
4953
+ export declare function optimizationDatasetItemArrayDeserializer(result: Array<OptimizationDatasetItem>): any[];
4954
+ /** A single item in an inline dataset. */
4955
+ export interface OptimizationDatasetItem {
4956
+ /** The user query / prompt. */
4957
+ query?: string;
4958
+ /** Expected ground truth answer. */
4959
+ ground_truth?: string;
4960
+ /** Desired number of conversation turns for simulation mode (1-20). */
4961
+ desired_num_turns?: number;
4962
+ /** Per-item evaluation criteria. */
4963
+ criteria?: OptimizationDatasetCriterion[];
4964
+ }
4965
+ export declare function optimizationDatasetItemSerializer(item: OptimizationDatasetItem): any;
4966
+ export declare function optimizationDatasetItemDeserializer(item: any): OptimizationDatasetItem;
4967
+ export declare function optimizationDatasetCriterionArraySerializer(result: Array<OptimizationDatasetCriterion>): any[];
4968
+ export declare function optimizationDatasetCriterionArrayDeserializer(result: Array<OptimizationDatasetCriterion>): any[];
4969
+ /** Evaluation criterion: a name + instruction pair used for per-item scoring. */
4970
+ export interface OptimizationDatasetCriterion {
4971
+ /** Criterion name. */
3470
4972
  name: string;
3471
- /** Whether the skill was successfully deleted. */
3472
- deleted: boolean;
4973
+ /** Criterion instruction / description. */
4974
+ instruction: string;
4975
+ }
4976
+ export declare function optimizationDatasetCriterionSerializer(item: OptimizationDatasetCriterion): any;
4977
+ export declare function optimizationDatasetCriterionDeserializer(item: any): OptimizationDatasetCriterion;
4978
+ /** Reference to a registered Foundry dataset. */
4979
+ export interface OptimizationReferenceDatasetInput extends OptimizationDatasetInput {
4980
+ /** Dataset input type discriminator. */
4981
+ type: "reference";
4982
+ /** Registered dataset name. */
4983
+ name: string;
4984
+ /** Dataset version. If not specified, the latest version is used. */
4985
+ version?: string;
3473
4986
  }
3474
- export declare function deleteSkillResponseDeserializer(item: any): DeleteSkillResponse;
4987
+ export declare function optimizationReferenceDatasetInputSerializer(item: OptimizationReferenceDatasetInput): any;
4988
+ export declare function optimizationReferenceDatasetInputDeserializer(item: any): OptimizationReferenceDatasetInput;
4989
+ export declare function optimizationEvaluatorRefArraySerializer(result: Array<OptimizationEvaluatorRef>): any[];
4990
+ export declare function optimizationEvaluatorRefArrayDeserializer(result: Array<OptimizationEvaluatorRef>): any[];
4991
+ /** Reference to a named evaluator, optionally pinned to a version. */
4992
+ export interface OptimizationEvaluatorRef {
4993
+ /** Evaluator name. */
4994
+ name: string;
4995
+ /** Evaluator version. If not specified, the latest version is used. */
4996
+ version?: string;
4997
+ }
4998
+ export declare function optimizationEvaluatorRefSerializer(item: OptimizationEvaluatorRef): any;
4999
+ export declare function optimizationEvaluatorRefDeserializer(item: any): OptimizationEvaluatorRef;
5000
+ /** Tuning knobs and run-mode for an optimization job. */
5001
+ export interface OptimizationOptions {
5002
+ /** Maximum number of optimization candidates to generate. Must be >= 1. Default: 5. */
5003
+ max_candidates?: number;
5004
+ /** Per-target-attribute configuration overrides. Contains skills, tools, system_prompt for the agent, plus model space for model optimization. */
5005
+ optimization_config?: Record<string, any>;
5006
+ /** Model deployment used for evaluation. Defaults to server config (typically 'gpt-4o'). */
5007
+ eval_model?: string;
5008
+ /** Model deployment for optimization reasoning (must be gpt-5 family). Falls back to the default eval model when not set. */
5009
+ optimization_model?: string;
5010
+ /** Evaluation granularity. Null/omitted means per-item single-turn. Set to 'conversation' for per-conversation multi-turn simulation scoring. */
5011
+ evaluation_level?: EvaluationLevel;
5012
+ }
5013
+ export declare function optimizationOptionsSerializer(item: OptimizationOptions): any;
5014
+ export declare function optimizationOptionsDeserializer(item: any): OptimizationOptions;
5015
+ /** Terminal-state result body. Populated when status is succeeded or failed. */
5016
+ export interface OptimizationJobResult {
5017
+ /** Candidate ID of the original (un-optimized) baseline evaluation. */
5018
+ baseline?: string;
5019
+ /** Candidate ID of the highest-scoring candidate found during optimization. */
5020
+ best?: string;
5021
+ /** All evaluated candidates including baseline. */
5022
+ candidates?: OptimizationCandidate[];
5023
+ }
5024
+ export declare function optimizationJobResultDeserializer(item: any): OptimizationJobResult;
5025
+ export declare function optimizationCandidateArrayDeserializer(result: Array<OptimizationCandidate>): any[];
5026
+ /** Aggregated evaluation result for a single candidate agent configuration across all tasks. */
5027
+ export interface OptimizationCandidate {
5028
+ /** Server-assigned candidate identifier. Use with GET /candidates/{id} sub-endpoints. */
5029
+ candidate_id?: string;
5030
+ /** Display name of the candidate (e.g., 'baseline', 'instruction-v2'). */
5031
+ name: string;
5032
+ /** What was mutated from the baseline (e.g., {system_prompt: 'new prompt'}). */
5033
+ mutations?: Record<string, any>;
5034
+ /** Average composite score across all tasks. */
5035
+ avg_score: number;
5036
+ /** Average token usage across all tasks. */
5037
+ avg_tokens: number;
5038
+ /** Foundry evaluation identifier used to score this candidate. */
5039
+ eval_id?: string;
5040
+ /** Foundry evaluation run identifier for this candidate's scoring run. */
5041
+ eval_run_id?: string;
5042
+ /** Promotion metadata. Null if the candidate has not been promoted. */
5043
+ promotion?: PromotionInfo;
5044
+ }
5045
+ export declare function optimizationCandidateDeserializer(item: any): OptimizationCandidate;
5046
+ /** Promotion metadata recorded when a candidate is deployed to a Foundry agent. */
5047
+ export interface PromotionInfo {
5048
+ /** Timestamp when promotion occurred, represented in Unix time. */
5049
+ promoted_at: Date;
5050
+ /** Name of the Foundry agent this candidate was promoted to. */
5051
+ agent_name: string;
5052
+ /** Version of the Foundry agent this candidate was promoted to. */
5053
+ agent_version: string;
5054
+ }
5055
+ export declare function promotionInfoDeserializer(item: any): PromotionInfo;
5056
+ /** In-flight progress; only populated while status is queued or in_progress. */
5057
+ export interface OptimizationJobProgress {
5058
+ /** Number of candidates whose evaluation has completed so far. */
5059
+ candidates_completed: number;
5060
+ /** Best score observed so far across all candidates. */
5061
+ best_score: number;
5062
+ /** Wall-clock time elapsed in seconds since the job began executing. */
5063
+ elapsed_seconds: number;
5064
+ }
5065
+ export declare function optimizationJobProgressDeserializer(item: any): OptimizationJobProgress;
5066
+ /** The response data for a requested list of items. */
5067
+ export interface _AgentsPagedResultOptimizationJobListItem {
5068
+ /** The requested list of items. */
5069
+ data: OptimizationJobListItem[];
5070
+ /** The first ID represented in this list. */
5071
+ first_id?: string;
5072
+ /** The last ID represented in this list. */
5073
+ last_id?: string;
5074
+ /** A value indicating whether there are additional values available not captured in this list. */
5075
+ has_more: boolean;
5076
+ }
5077
+ export declare function _agentsPagedResultOptimizationJobListItemDeserializer(item: any): _AgentsPagedResultOptimizationJobListItem;
5078
+ export declare function optimizationJobListItemArrayDeserializer(result: Array<OptimizationJobListItem>): any[];
5079
+ /** Slim job representation returned by the LIST endpoint. */
5080
+ export interface OptimizationJobListItem {
5081
+ /** Server-assigned unique identifier. */
5082
+ readonly id: string;
5083
+ /** Current lifecycle status. */
5084
+ readonly status: JobStatus;
5085
+ /** Error details — populated only on failure. */
5086
+ readonly error?: ErrorModel;
5087
+ /** The timestamp when the job was created, represented in Unix time. */
5088
+ readonly created_at: Date;
5089
+ /** The timestamp when the job was last updated, represented in Unix time. */
5090
+ readonly updated_at: Date;
5091
+ /** Progress snapshot. May be present in terminal states reflecting last-known progress. */
5092
+ readonly progress?: OptimizationJobProgress;
5093
+ /** The agent targeted by this optimization job. */
5094
+ readonly agent?: OptimizationAgentIdentifier;
5095
+ }
5096
+ export declare function optimizationJobListItemDeserializer(item: any): OptimizationJobListItem;
3475
5097
  /** model interface UpdateToolboxRequest */
3476
5098
  export interface UpdateToolboxRequest {
3477
5099
  /** The name of the toolbox to update. */
3478
- toolbox_name: string;
5100
+ name: string;
3479
5101
  /** The version identifier that the toolbox should point to. When set, the toolbox's default version will resolve to this version instead of the latest. */
3480
5102
  default_version: string;
3481
5103
  }
@@ -3486,21 +5108,37 @@ export declare function _listVersionsRequestTypeSerializer(item: _ListVersionsRe
3486
5108
  /** Type of AgentType */
3487
5109
  export type AgentType = "agent" | "agent.version" | "agent.deleted" | "agent.version.deleted" | "agent.container";
3488
5110
  /** Feature opt-in keys for agent definition operations supporting hosted or workflow agents. */
3489
- export type AgentDefinitionOptInKeys = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview" | "ContainerAgents=V1Preview" | "AgentEndpoints=V1Preview";
5111
+ export type AgentDefinitionOptInKeys = "WorkflowAgents=V1Preview" | "ExternalAgents=V1Preview" | "DraftAgents=V1Preview";
3490
5112
  /** Type of PageOrder */
3491
5113
  export type PageOrder = "asc" | "desc";
3492
5114
  /** Type of FoundryFeaturesOptInKeys */
3493
- export type FoundryFeaturesOptInKeys = "Skills=V1Preview" | "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "MemoryStores=V1Preview" | "Toolboxes=V1Preview";
5115
+ export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "MemoryStores=V1Preview" | "Routines=V1Preview" | "Skills=V1Preview" | "DataGenerationJobs=V1Preview" | "Models=V1Preview" | "AgentsOptimization=V2Preview";
3494
5116
  /** The type of pending upload. */
3495
- export type PendingUploadType = "None" | "BlobReference";
5117
+ export type PendingUploadType = "None" | "BlobReference" | "TemporaryBlobReference";
3496
5118
  /** Type of MemoryStoreType */
3497
- export type MemoryStoreType = "memory_store" | "memory_store.deleted" | "memory_store.scope.deleted";
5119
+ export type MemoryStoreType = "memory_store" | "memory_store.deleted" | "memory_store.scope.deleted" | "memory_store.item.deleted";
3498
5120
  /** Microsoft Foundry API versions */
3499
5121
  export declare enum KnownApiVersions {
3500
5122
  /** Microsoft Foundry API version v1. */
3501
5123
  v1 = "v1"
3502
5124
  }
3503
- export type BetaSkillsDownloadResponse = {
5125
+ export type AgentsDownloadSessionFileResponse = {
5126
+ /**
5127
+ * BROWSER ONLY
5128
+ *
5129
+ * The response body as a browser Blob.
5130
+ * Always `undefined` in node.js.
5131
+ */
5132
+ blobBody?: Promise<Blob>;
5133
+ /**
5134
+ * NODEJS ONLY
5135
+ *
5136
+ * The response body as a node.js Readable stream.
5137
+ * Always `undefined` in the browser.
5138
+ */
5139
+ readableStreamBody?: NodeReadableStream;
5140
+ };
5141
+ export type AgentsDownloadAgentCodeResponse = {
3504
5142
  /**
3505
5143
  * BROWSER ONLY
3506
5144
  *
@@ -3514,9 +5152,25 @@ export type BetaSkillsDownloadResponse = {
3514
5152
  * The response body as a node.js Readable stream.
3515
5153
  * Always `undefined` in the browser.
3516
5154
  */
3517
- readableStreamBody?: NodeJS.ReadableStream;
5155
+ readableStreamBody?: NodeReadableStream;
3518
5156
  };
3519
- export type BetaAgentsDownloadSessionFileResponse = {
5157
+ export type DownloadVersionResponse = {
5158
+ /**
5159
+ * BROWSER ONLY
5160
+ *
5161
+ * The response body as a browser Blob.
5162
+ * Always `undefined` in node.js.
5163
+ */
5164
+ blobBody?: Promise<Blob>;
5165
+ /**
5166
+ * NODEJS ONLY
5167
+ *
5168
+ * The response body as a node.js Readable stream.
5169
+ * Always `undefined` in the browser.
5170
+ */
5171
+ readableStreamBody?: NodeReadableStream;
5172
+ };
5173
+ export type BetaSkillsDownloadResponse = {
3520
5174
  /**
3521
5175
  * BROWSER ONLY
3522
5176
  *
@@ -3530,6 +5184,6 @@ export type BetaAgentsDownloadSessionFileResponse = {
3530
5184
  * The response body as a node.js Readable stream.
3531
5185
  * Always `undefined` in the browser.
3532
5186
  */
3533
- readableStreamBody?: NodeJS.ReadableStream;
5187
+ readableStreamBody?: NodeReadableStream;
3534
5188
  };
3535
5189
  //# sourceMappingURL=models.d.ts.map