llama-stack-client 0.3.4-rc3 → 0.4.0-rc1

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 (573) hide show
  1. package/CHANGELOG.md +153 -0
  2. package/README.md +19 -21
  3. package/error.d.ts.map +1 -1
  4. package/error.js +1 -0
  5. package/error.js.map +1 -1
  6. package/error.mjs.map +1 -1
  7. package/index.d.mts +23 -50
  8. package/index.d.ts +23 -50
  9. package/index.d.ts.map +1 -1
  10. package/index.js +20 -29
  11. package/index.js.map +1 -1
  12. package/index.mjs +18 -28
  13. package/index.mjs.map +1 -1
  14. package/lib/response-helpers.d.ts +23 -0
  15. package/lib/response-helpers.d.ts.map +1 -0
  16. package/lib/response-helpers.js +53 -0
  17. package/lib/response-helpers.js.map +1 -0
  18. package/lib/response-helpers.mjs +49 -0
  19. package/lib/response-helpers.mjs.map +1 -0
  20. package/package.json +1 -1
  21. package/pagination.d.ts.map +1 -1
  22. package/pagination.js +2 -4
  23. package/pagination.js.map +1 -1
  24. package/pagination.mjs +1 -4
  25. package/pagination.mjs.map +1 -1
  26. package/resource.d.ts.map +1 -1
  27. package/resource.js.map +1 -1
  28. package/resource.mjs.map +1 -1
  29. package/resources/alpha/alpha.d.ts +22 -0
  30. package/resources/alpha/alpha.d.ts.map +1 -0
  31. package/resources/alpha/alpha.js +57 -0
  32. package/resources/alpha/alpha.js.map +1 -0
  33. package/resources/alpha/alpha.mjs +30 -0
  34. package/resources/alpha/alpha.mjs.map +1 -0
  35. package/resources/{benchmarks.d.ts → alpha/benchmarks.d.ts} +25 -35
  36. package/resources/alpha/benchmarks.d.ts.map +1 -0
  37. package/resources/{benchmarks.js → alpha/benchmarks.js} +18 -4
  38. package/resources/alpha/benchmarks.js.map +1 -0
  39. package/resources/alpha/benchmarks.mjs +44 -0
  40. package/resources/alpha/benchmarks.mjs.map +1 -0
  41. package/resources/alpha/eval/eval.d.ts +160 -0
  42. package/resources/alpha/eval/eval.d.ts.map +1 -0
  43. package/resources/{eval → alpha/eval}/eval.js +7 -6
  44. package/resources/alpha/eval/eval.js.map +1 -0
  45. package/resources/{eval → alpha/eval}/eval.mjs +7 -5
  46. package/resources/alpha/eval/eval.mjs.map +1 -0
  47. package/resources/alpha/eval/index.d.ts +3 -0
  48. package/resources/alpha/eval/index.d.ts.map +1 -0
  49. package/resources/{eval → alpha/eval}/index.js +2 -1
  50. package/resources/alpha/eval/index.js.map +1 -0
  51. package/resources/{eval → alpha/eval}/index.mjs +2 -0
  52. package/resources/alpha/eval/index.mjs.map +1 -0
  53. package/resources/{eval → alpha/eval}/jobs.d.ts +2 -2
  54. package/resources/alpha/eval/jobs.d.ts.map +1 -0
  55. package/resources/{eval → alpha/eval}/jobs.js +6 -5
  56. package/resources/alpha/eval/jobs.js.map +1 -0
  57. package/resources/{eval → alpha/eval}/jobs.mjs +6 -4
  58. package/resources/alpha/eval/jobs.mjs.map +1 -0
  59. package/resources/alpha/eval.d.ts.map +1 -0
  60. package/resources/{eval.js → alpha/eval.js} +1 -0
  61. package/resources/alpha/eval.js.map +1 -0
  62. package/resources/alpha/eval.mjs.map +1 -0
  63. package/resources/alpha/index.d.ts +6 -0
  64. package/resources/alpha/index.d.ts.map +1 -0
  65. package/resources/alpha/index.js +21 -0
  66. package/resources/alpha/index.js.map +1 -0
  67. package/resources/alpha/index.mjs +13 -0
  68. package/resources/alpha/index.mjs.map +1 -0
  69. package/resources/alpha/inference.d.ts +85 -0
  70. package/resources/alpha/inference.d.ts.map +1 -0
  71. package/resources/{agents/steps.js → alpha/inference.js} +9 -8
  72. package/resources/alpha/inference.js.map +1 -0
  73. package/resources/alpha/inference.mjs +17 -0
  74. package/resources/alpha/inference.mjs.map +1 -0
  75. package/resources/alpha/post-training/index.d.ts +3 -0
  76. package/resources/alpha/post-training/index.d.ts.map +1 -0
  77. package/resources/{post-training → alpha/post-training}/index.js +2 -1
  78. package/resources/alpha/post-training/index.js.map +1 -0
  79. package/resources/{post-training → alpha/post-training}/index.mjs +2 -0
  80. package/resources/alpha/post-training/index.mjs.map +1 -0
  81. package/resources/alpha/post-training/job.d.ts +116 -0
  82. package/resources/alpha/post-training/job.d.ts.map +1 -0
  83. package/resources/{post-training → alpha/post-training}/job.js +7 -6
  84. package/resources/alpha/post-training/job.js.map +1 -0
  85. package/resources/{post-training → alpha/post-training}/job.mjs +7 -5
  86. package/resources/alpha/post-training/job.mjs.map +1 -0
  87. package/resources/alpha/post-training/post-training.d.ts +242 -0
  88. package/resources/alpha/post-training/post-training.d.ts.map +1 -0
  89. package/resources/{post-training → alpha/post-training}/post-training.js +5 -4
  90. package/resources/alpha/post-training/post-training.js.map +1 -0
  91. package/resources/{post-training → alpha/post-training}/post-training.mjs +5 -3
  92. package/resources/alpha/post-training/post-training.mjs.map +1 -0
  93. package/resources/alpha/post-training.d.ts.map +1 -0
  94. package/resources/{post-training.js → alpha/post-training.js} +2 -1
  95. package/resources/alpha/post-training.js.map +1 -0
  96. package/resources/{post-training.mjs → alpha/post-training.mjs} +2 -0
  97. package/resources/alpha/post-training.mjs.map +1 -0
  98. package/resources/alpha.d.ts +2 -0
  99. package/resources/alpha.d.ts.map +1 -0
  100. package/resources/alpha.js +25 -0
  101. package/resources/alpha.js.map +1 -0
  102. package/resources/alpha.mjs +9 -0
  103. package/resources/alpha.mjs.map +1 -0
  104. package/resources/batches.d.ts +322 -0
  105. package/resources/batches.d.ts.map +1 -0
  106. package/resources/batches.js +45 -0
  107. package/resources/batches.js.map +1 -0
  108. package/resources/batches.mjs +40 -0
  109. package/resources/batches.mjs.map +1 -0
  110. package/resources/beta/beta.d.ts +10 -0
  111. package/resources/beta/beta.d.ts.map +1 -0
  112. package/resources/{tool-runtime/tool-runtime.js → beta/beta.js} +10 -22
  113. package/resources/beta/beta.js.map +1 -0
  114. package/resources/beta/beta.mjs +18 -0
  115. package/resources/beta/beta.mjs.map +1 -0
  116. package/resources/beta/datasets.d.ts +257 -0
  117. package/resources/beta/datasets.d.ts.map +1 -0
  118. package/resources/{datasets.js → beta/datasets.js} +14 -9
  119. package/resources/beta/datasets.js.map +1 -0
  120. package/resources/{datasets.mjs → beta/datasets.mjs} +14 -8
  121. package/resources/beta/datasets.mjs.map +1 -0
  122. package/resources/beta/index.d.ts +3 -0
  123. package/resources/beta/index.d.ts.map +1 -0
  124. package/resources/beta/index.js +15 -0
  125. package/resources/beta/index.js.map +1 -0
  126. package/resources/beta/index.mjs +10 -0
  127. package/resources/beta/index.mjs.map +1 -0
  128. package/resources/beta.d.ts +2 -0
  129. package/resources/beta.d.ts.map +1 -0
  130. package/resources/{agents.js → beta.js} +4 -3
  131. package/resources/beta.js.map +1 -0
  132. package/resources/beta.mjs +9 -0
  133. package/resources/beta.mjs.map +1 -0
  134. package/resources/chat/chat.d.ts +73 -78
  135. package/resources/chat/chat.d.ts.map +1 -1
  136. package/resources/chat/chat.js +2 -2
  137. package/resources/chat/chat.js.map +1 -1
  138. package/resources/chat/chat.mjs +3 -2
  139. package/resources/chat/chat.mjs.map +1 -1
  140. package/resources/chat/completions.d.ts +756 -1402
  141. package/resources/chat/completions.d.ts.map +1 -1
  142. package/resources/chat/completions.js +8 -14
  143. package/resources/chat/completions.js.map +1 -1
  144. package/resources/chat/completions.mjs +7 -11
  145. package/resources/chat/completions.mjs.map +1 -1
  146. package/resources/chat/index.d.ts +1 -1
  147. package/resources/chat/index.d.ts.map +1 -1
  148. package/resources/chat/index.js +3 -3
  149. package/resources/chat/index.js.map +1 -1
  150. package/resources/chat/index.mjs +3 -1
  151. package/resources/chat/index.mjs.map +1 -1
  152. package/resources/chat.js +2 -1
  153. package/resources/chat.js.map +1 -1
  154. package/resources/chat.mjs +2 -0
  155. package/resources/chat.mjs.map +1 -1
  156. package/resources/completions.d.ts +52 -95
  157. package/resources/completions.d.ts.map +1 -1
  158. package/resources/completions.js +3 -6
  159. package/resources/completions.js.map +1 -1
  160. package/resources/completions.mjs +3 -5
  161. package/resources/completions.mjs.map +1 -1
  162. package/resources/conversations/conversations.d.ts +292 -0
  163. package/resources/conversations/conversations.d.ts.map +1 -0
  164. package/resources/conversations/conversations.js +78 -0
  165. package/resources/conversations/conversations.js.map +1 -0
  166. package/resources/conversations/conversations.mjs +51 -0
  167. package/resources/conversations/conversations.mjs.map +1 -0
  168. package/resources/conversations/index.d.ts +3 -0
  169. package/resources/conversations/index.d.ts.map +1 -0
  170. package/resources/conversations/index.js +16 -0
  171. package/resources/conversations/index.js.map +1 -0
  172. package/resources/conversations/index.mjs +10 -0
  173. package/resources/conversations/index.mjs.map +1 -0
  174. package/resources/conversations/items.d.ts +762 -0
  175. package/resources/conversations/items.d.ts.map +1 -0
  176. package/resources/conversations/items.js +51 -0
  177. package/resources/conversations/items.js.map +1 -0
  178. package/resources/conversations/items.mjs +46 -0
  179. package/resources/conversations/items.mjs.map +1 -0
  180. package/resources/conversations.d.ts +2 -0
  181. package/resources/conversations.d.ts.map +1 -0
  182. package/resources/conversations.js +25 -0
  183. package/resources/conversations.js.map +1 -0
  184. package/resources/conversations.mjs +9 -0
  185. package/resources/conversations.mjs.map +1 -0
  186. package/resources/embeddings.d.ts +10 -52
  187. package/resources/embeddings.d.ts.map +1 -1
  188. package/resources/embeddings.js +5 -2
  189. package/resources/embeddings.js.map +1 -1
  190. package/resources/embeddings.mjs +5 -1
  191. package/resources/embeddings.mjs.map +1 -1
  192. package/resources/files.d.ts +44 -54
  193. package/resources/files.d.ts.map +1 -1
  194. package/resources/files.js +18 -9
  195. package/resources/files.js.map +1 -1
  196. package/resources/files.mjs +18 -8
  197. package/resources/files.mjs.map +1 -1
  198. package/resources/index.d.ts +9 -13
  199. package/resources/index.d.ts.map +1 -1
  200. package/resources/index.js +15 -21
  201. package/resources/index.js.map +1 -1
  202. package/resources/index.mjs +9 -11
  203. package/resources/index.mjs.map +1 -1
  204. package/resources/inspect.d.ts +6 -32
  205. package/resources/inspect.d.ts.map +1 -1
  206. package/resources/inspect.js +6 -1
  207. package/resources/inspect.js.map +1 -1
  208. package/resources/inspect.mjs +6 -0
  209. package/resources/inspect.mjs.map +1 -1
  210. package/resources/models/index.d.ts +2 -2
  211. package/resources/models/index.d.ts.map +1 -1
  212. package/resources/models/index.js +2 -1
  213. package/resources/models/index.js.map +1 -1
  214. package/resources/models/index.mjs +2 -0
  215. package/resources/models/index.mjs.map +1 -1
  216. package/resources/models/models.d.ts +71 -31
  217. package/resources/models/models.d.ts.map +1 -1
  218. package/resources/models/models.js +13 -2
  219. package/resources/models/models.js.map +1 -1
  220. package/resources/models/models.mjs +13 -1
  221. package/resources/models/models.mjs.map +1 -1
  222. package/resources/models/openai.d.ts +2 -16
  223. package/resources/models/openai.d.ts.map +1 -1
  224. package/resources/models/openai.js +3 -2
  225. package/resources/models/openai.js.map +1 -1
  226. package/resources/models/openai.mjs +3 -1
  227. package/resources/models/openai.mjs.map +1 -1
  228. package/resources/models.js +2 -1
  229. package/resources/models.js.map +1 -1
  230. package/resources/models.mjs +2 -0
  231. package/resources/models.mjs.map +1 -1
  232. package/resources/moderations.d.ts +9 -35
  233. package/resources/moderations.d.ts.map +1 -1
  234. package/resources/moderations.js +5 -2
  235. package/resources/moderations.js.map +1 -1
  236. package/resources/moderations.mjs +5 -1
  237. package/resources/moderations.mjs.map +1 -1
  238. package/resources/prompts/index.d.ts +3 -0
  239. package/resources/prompts/index.d.ts.map +1 -0
  240. package/resources/prompts/index.js +15 -0
  241. package/resources/prompts/index.js.map +1 -0
  242. package/resources/prompts/index.mjs +10 -0
  243. package/resources/prompts/index.mjs.map +1 -0
  244. package/resources/prompts/prompts.d.ts +96 -0
  245. package/resources/prompts/prompts.d.ts.map +1 -0
  246. package/resources/{agents/agents.js → prompts/prompts.js} +43 -30
  247. package/resources/prompts/prompts.js.map +1 -0
  248. package/resources/prompts/prompts.mjs +66 -0
  249. package/resources/prompts/prompts.mjs.map +1 -0
  250. package/resources/prompts/versions.d.ts +12 -0
  251. package/resources/prompts/versions.d.ts.map +1 -0
  252. package/resources/prompts/versions.js +23 -0
  253. package/resources/prompts/versions.js.map +1 -0
  254. package/resources/prompts/versions.mjs +19 -0
  255. package/resources/prompts/versions.mjs.map +1 -0
  256. package/resources/prompts.d.ts +2 -0
  257. package/resources/prompts.d.ts.map +1 -0
  258. package/resources/prompts.js +25 -0
  259. package/resources/prompts.js.map +1 -0
  260. package/resources/prompts.mjs +9 -0
  261. package/resources/prompts.mjs.map +1 -0
  262. package/resources/providers.d.ts +4 -6
  263. package/resources/providers.d.ts.map +1 -1
  264. package/resources/providers.js +6 -1
  265. package/resources/providers.js.map +1 -1
  266. package/resources/providers.mjs +6 -0
  267. package/resources/providers.mjs.map +1 -1
  268. package/resources/responses/index.js +2 -1
  269. package/resources/responses/index.js.map +1 -1
  270. package/resources/responses/index.mjs +2 -0
  271. package/resources/responses/index.mjs.map +1 -1
  272. package/resources/responses/input-items.d.ts +190 -151
  273. package/resources/responses/input-items.d.ts.map +1 -1
  274. package/resources/responses/input-items.js +3 -2
  275. package/resources/responses/input-items.js.map +1 -1
  276. package/resources/responses/input-items.mjs +3 -1
  277. package/resources/responses/input-items.mjs.map +1 -1
  278. package/resources/responses/responses.d.ts +1387 -1449
  279. package/resources/responses/responses.d.ts.map +1 -1
  280. package/resources/responses/responses.js +8 -11
  281. package/resources/responses/responses.js.map +1 -1
  282. package/resources/responses/responses.mjs +8 -10
  283. package/resources/responses/responses.mjs.map +1 -1
  284. package/resources/responses.js +2 -1
  285. package/resources/responses.js.map +1 -1
  286. package/resources/responses.mjs +2 -0
  287. package/resources/responses.mjs.map +1 -1
  288. package/resources/routes.d.ts +7 -7
  289. package/resources/routes.d.ts.map +1 -1
  290. package/resources/routes.js +8 -6
  291. package/resources/routes.js.map +1 -1
  292. package/resources/routes.mjs +8 -5
  293. package/resources/routes.mjs.map +1 -1
  294. package/resources/safety.d.ts +144 -10
  295. package/resources/safety.d.ts.map +1 -1
  296. package/resources/safety.js +4 -1
  297. package/resources/safety.js.map +1 -1
  298. package/resources/safety.mjs +4 -0
  299. package/resources/safety.mjs.map +1 -1
  300. package/resources/scoring-functions.d.ts +120 -50
  301. package/resources/scoring-functions.d.ts.map +1 -1
  302. package/resources/scoring-functions.js +15 -1
  303. package/resources/scoring-functions.js.map +1 -1
  304. package/resources/scoring-functions.mjs +15 -0
  305. package/resources/scoring-functions.mjs.map +1 -1
  306. package/resources/scoring.d.ts +85 -26
  307. package/resources/scoring.d.ts.map +1 -1
  308. package/resources/scoring.js +2 -1
  309. package/resources/scoring.js.map +1 -1
  310. package/resources/scoring.mjs +2 -0
  311. package/resources/scoring.mjs.map +1 -1
  312. package/resources/shared.d.ts +125 -629
  313. package/resources/shared.d.ts.map +1 -1
  314. package/resources/shared.js +2 -0
  315. package/resources/shared.js.map +1 -1
  316. package/resources/shared.mjs +2 -0
  317. package/resources/shared.mjs.map +1 -1
  318. package/resources/shields.d.ts +19 -24
  319. package/resources/shields.d.ts.map +1 -1
  320. package/resources/shields.js +6 -1
  321. package/resources/shields.js.map +1 -1
  322. package/resources/shields.mjs +6 -0
  323. package/resources/shields.mjs.map +1 -1
  324. package/resources/tool-runtime.d.ts +151 -1
  325. package/resources/tool-runtime.d.ts.map +1 -1
  326. package/resources/tool-runtime.js +22 -16
  327. package/resources/tool-runtime.js.map +1 -1
  328. package/resources/tool-runtime.mjs +20 -1
  329. package/resources/tool-runtime.mjs.map +1 -1
  330. package/resources/toolgroups.d.ts +27 -37
  331. package/resources/toolgroups.d.ts.map +1 -1
  332. package/resources/toolgroups.js +10 -1
  333. package/resources/toolgroups.js.map +1 -1
  334. package/resources/toolgroups.mjs +10 -0
  335. package/resources/toolgroups.mjs.map +1 -1
  336. package/resources/tools.d.ts +9 -76
  337. package/resources/tools.d.ts.map +1 -1
  338. package/resources/tools.js +4 -1
  339. package/resources/tools.js.map +1 -1
  340. package/resources/tools.mjs +4 -0
  341. package/resources/tools.mjs.map +1 -1
  342. package/resources/vector-io.d.ts +272 -148
  343. package/resources/vector-io.d.ts.map +1 -1
  344. package/resources/vector-io.js +2 -1
  345. package/resources/vector-io.js.map +1 -1
  346. package/resources/vector-io.mjs +2 -0
  347. package/resources/vector-io.mjs.map +1 -1
  348. package/resources/vector-stores/file-batches.d.ts +111 -0
  349. package/resources/vector-stores/file-batches.d.ts.map +1 -0
  350. package/resources/vector-stores/file-batches.js +45 -0
  351. package/resources/vector-stores/file-batches.js.map +1 -0
  352. package/resources/vector-stores/file-batches.mjs +41 -0
  353. package/resources/vector-stores/file-batches.mjs.map +1 -0
  354. package/resources/vector-stores/files.d.ts +83 -135
  355. package/resources/vector-stores/files.d.ts.map +1 -1
  356. package/resources/vector-stores/files.js +15 -14
  357. package/resources/vector-stores/files.js.map +1 -1
  358. package/resources/vector-stores/files.mjs +15 -13
  359. package/resources/vector-stores/files.mjs.map +1 -1
  360. package/resources/vector-stores/index.d.ts +2 -1
  361. package/resources/vector-stores/index.d.ts.map +1 -1
  362. package/resources/vector-stores/index.js +5 -2
  363. package/resources/vector-stores/index.js.map +1 -1
  364. package/resources/vector-stores/index.mjs +3 -0
  365. package/resources/vector-stores/index.mjs.map +1 -1
  366. package/resources/vector-stores/vector-stores.d.ts +118 -217
  367. package/resources/vector-stores/vector-stores.d.ts.map +1 -1
  368. package/resources/vector-stores/vector-stores.js +18 -12
  369. package/resources/vector-stores/vector-stores.js.map +1 -1
  370. package/resources/vector-stores/vector-stores.mjs +18 -11
  371. package/resources/vector-stores/vector-stores.mjs.map +1 -1
  372. package/resources/vector-stores.js +2 -1
  373. package/resources/vector-stores.js.map +1 -1
  374. package/resources/vector-stores.mjs +2 -0
  375. package/resources/vector-stores.mjs.map +1 -1
  376. package/src/error.ts +1 -0
  377. package/src/index.ts +82 -252
  378. package/src/lib/response-helpers.ts +60 -0
  379. package/src/pagination.ts +2 -5
  380. package/src/resource.ts +1 -0
  381. package/src/resources/alpha/alpha.ts +85 -0
  382. package/src/resources/{benchmarks.ts → alpha/benchmarks.ts} +36 -37
  383. package/src/resources/{eval → alpha/eval}/eval.ts +83 -65
  384. package/src/resources/{eval → alpha/eval}/index.ts +1 -2
  385. package/src/resources/{eval → alpha/eval}/jobs.ts +6 -6
  386. package/src/resources/{eval.ts → alpha/eval.ts} +1 -0
  387. package/src/resources/alpha/index.ts +34 -0
  388. package/src/resources/alpha/inference.ts +132 -0
  389. package/src/resources/{post-training → alpha/post-training}/index.ts +2 -2
  390. package/src/resources/alpha/post-training/job.ts +182 -0
  391. package/src/resources/alpha/post-training/post-training.ts +369 -0
  392. package/src/resources/{post-training.ts → alpha/post-training.ts} +1 -1
  393. package/src/resources/alpha.ts +9 -0
  394. package/src/resources/batches.ts +572 -0
  395. package/src/resources/beta/beta.ts +41 -0
  396. package/src/resources/beta/datasets.ts +350 -0
  397. package/src/resources/beta/index.ts +20 -0
  398. package/src/resources/{agents.ts → beta.ts} +2 -2
  399. package/src/resources/chat/chat.ts +82 -81
  400. package/src/resources/chat/completions.ts +874 -1484
  401. package/src/resources/chat/index.ts +1 -2
  402. package/src/resources/chat.ts +1 -1
  403. package/src/resources/completions.ts +57 -101
  404. package/src/resources/conversations/conversations.ts +455 -0
  405. package/src/resources/conversations/index.ts +25 -0
  406. package/src/resources/conversations/items.ts +1221 -0
  407. package/src/resources/conversations.ts +9 -0
  408. package/src/resources/embeddings.ts +14 -55
  409. package/src/resources/files.ts +54 -61
  410. package/src/resources/index.ts +33 -109
  411. package/src/resources/inspect.ts +7 -33
  412. package/src/resources/models/index.ts +4 -2
  413. package/src/resources/models/models.ts +79 -30
  414. package/src/resources/models/openai.ts +4 -24
  415. package/src/resources/models.ts +1 -1
  416. package/src/resources/moderations.ts +10 -36
  417. package/src/resources/prompts/index.ts +19 -0
  418. package/src/resources/prompts/prompts.ts +171 -0
  419. package/src/resources/prompts/versions.ts +26 -0
  420. package/src/resources/prompts.ts +9 -0
  421. package/src/resources/providers.ts +5 -7
  422. package/src/resources/responses/index.ts +1 -1
  423. package/src/resources/responses/input-items.ts +293 -161
  424. package/src/resources/responses/responses.ts +2112 -1632
  425. package/src/resources/responses.ts +1 -1
  426. package/src/resources/routes.ts +25 -10
  427. package/src/resources/safety.ts +199 -9
  428. package/src/resources/scoring-functions.ts +168 -52
  429. package/src/resources/scoring.ts +125 -22
  430. package/src/resources/shared.ts +141 -714
  431. package/src/resources/shields.ts +18 -23
  432. package/src/resources/tool-runtime.ts +210 -2
  433. package/src/resources/toolgroups.ts +26 -36
  434. package/src/resources/tools.ts +10 -94
  435. package/src/resources/vector-io.ts +323 -145
  436. package/src/resources/vector-stores/file-batches.ts +201 -0
  437. package/src/resources/vector-stores/files.ts +123 -143
  438. package/src/resources/vector-stores/index.ts +9 -1
  439. package/src/resources/vector-stores/vector-stores.ts +150 -216
  440. package/src/resources/vector-stores.ts +1 -1
  441. package/src/version.ts +1 -1
  442. package/version.d.ts +1 -1
  443. package/version.js +1 -1
  444. package/version.mjs +1 -1
  445. package/resources/agents/agents.d.ts +0 -246
  446. package/resources/agents/agents.d.ts.map +0 -1
  447. package/resources/agents/agents.js.map +0 -1
  448. package/resources/agents/agents.mjs +0 -52
  449. package/resources/agents/agents.mjs.map +0 -1
  450. package/resources/agents/index.d.ts +0 -5
  451. package/resources/agents/index.d.ts.map +0 -1
  452. package/resources/agents/index.js +0 -18
  453. package/resources/agents/index.js.map +0 -1
  454. package/resources/agents/index.mjs +0 -10
  455. package/resources/agents/index.mjs.map +0 -1
  456. package/resources/agents/session.d.ts +0 -98
  457. package/resources/agents/session.d.ts.map +0 -1
  458. package/resources/agents/session.js +0 -42
  459. package/resources/agents/session.js.map +0 -1
  460. package/resources/agents/session.mjs +0 -37
  461. package/resources/agents/session.mjs.map +0 -1
  462. package/resources/agents/steps.d.ts +0 -22
  463. package/resources/agents/steps.d.ts.map +0 -1
  464. package/resources/agents/steps.js.map +0 -1
  465. package/resources/agents/steps.mjs +0 -15
  466. package/resources/agents/steps.mjs.map +0 -1
  467. package/resources/agents/turn.d.ts +0 -461
  468. package/resources/agents/turn.d.ts.map +0 -1
  469. package/resources/agents/turn.js +0 -34
  470. package/resources/agents/turn.js.map +0 -1
  471. package/resources/agents/turn.mjs +0 -29
  472. package/resources/agents/turn.mjs.map +0 -1
  473. package/resources/agents.d.ts +0 -2
  474. package/resources/agents.d.ts.map +0 -1
  475. package/resources/agents.js.map +0 -1
  476. package/resources/agents.mjs +0 -7
  477. package/resources/agents.mjs.map +0 -1
  478. package/resources/benchmarks.d.ts.map +0 -1
  479. package/resources/benchmarks.js.map +0 -1
  480. package/resources/benchmarks.mjs +0 -31
  481. package/resources/benchmarks.mjs.map +0 -1
  482. package/resources/datasets.d.ts +0 -320
  483. package/resources/datasets.d.ts.map +0 -1
  484. package/resources/datasets.js.map +0 -1
  485. package/resources/datasets.mjs.map +0 -1
  486. package/resources/eval/eval.d.ts +0 -159
  487. package/resources/eval/eval.d.ts.map +0 -1
  488. package/resources/eval/eval.js.map +0 -1
  489. package/resources/eval/eval.mjs.map +0 -1
  490. package/resources/eval/index.d.ts +0 -3
  491. package/resources/eval/index.d.ts.map +0 -1
  492. package/resources/eval/index.js.map +0 -1
  493. package/resources/eval/index.mjs.map +0 -1
  494. package/resources/eval/jobs.d.ts.map +0 -1
  495. package/resources/eval/jobs.js.map +0 -1
  496. package/resources/eval/jobs.mjs.map +0 -1
  497. package/resources/eval.d.ts.map +0 -1
  498. package/resources/eval.js.map +0 -1
  499. package/resources/eval.mjs.map +0 -1
  500. package/resources/inference.d.ts +0 -580
  501. package/resources/inference.d.ts.map +0 -1
  502. package/resources/inference.js +0 -54
  503. package/resources/inference.js.map +0 -1
  504. package/resources/inference.mjs +0 -49
  505. package/resources/inference.mjs.map +0 -1
  506. package/resources/post-training/index.d.ts +0 -3
  507. package/resources/post-training/index.d.ts.map +0 -1
  508. package/resources/post-training/index.js.map +0 -1
  509. package/resources/post-training/index.mjs.map +0 -1
  510. package/resources/post-training/job.d.ts +0 -205
  511. package/resources/post-training/job.d.ts.map +0 -1
  512. package/resources/post-training/job.js.map +0 -1
  513. package/resources/post-training/job.mjs.map +0 -1
  514. package/resources/post-training/post-training.d.ts +0 -402
  515. package/resources/post-training/post-training.d.ts.map +0 -1
  516. package/resources/post-training/post-training.js.map +0 -1
  517. package/resources/post-training/post-training.mjs.map +0 -1
  518. package/resources/post-training.d.ts.map +0 -1
  519. package/resources/post-training.js.map +0 -1
  520. package/resources/post-training.mjs.map +0 -1
  521. package/resources/synthetic-data-generation.d.ts +0 -47
  522. package/resources/synthetic-data-generation.d.ts.map +0 -1
  523. package/resources/synthetic-data-generation.js +0 -20
  524. package/resources/synthetic-data-generation.js.map +0 -1
  525. package/resources/synthetic-data-generation.mjs +0 -15
  526. package/resources/synthetic-data-generation.mjs.map +0 -1
  527. package/resources/telemetry.d.ts +0 -519
  528. package/resources/telemetry.d.ts.map +0 -1
  529. package/resources/telemetry.js +0 -70
  530. package/resources/telemetry.js.map +0 -1
  531. package/resources/telemetry.mjs +0 -65
  532. package/resources/telemetry.mjs.map +0 -1
  533. package/resources/tool-runtime/index.d.ts +0 -3
  534. package/resources/tool-runtime/index.d.ts.map +0 -1
  535. package/resources/tool-runtime/index.js +0 -14
  536. package/resources/tool-runtime/index.js.map +0 -1
  537. package/resources/tool-runtime/index.mjs +0 -8
  538. package/resources/tool-runtime/index.mjs.map +0 -1
  539. package/resources/tool-runtime/rag-tool.d.ts +0 -45
  540. package/resources/tool-runtime/rag-tool.d.ts.map +0 -1
  541. package/resources/tool-runtime/rag-tool.js +0 -30
  542. package/resources/tool-runtime/rag-tool.js.map +0 -1
  543. package/resources/tool-runtime/rag-tool.mjs +0 -25
  544. package/resources/tool-runtime/rag-tool.mjs.map +0 -1
  545. package/resources/tool-runtime/tool-runtime.d.ts +0 -132
  546. package/resources/tool-runtime/tool-runtime.d.ts.map +0 -1
  547. package/resources/tool-runtime/tool-runtime.js.map +0 -1
  548. package/resources/tool-runtime/tool-runtime.mjs +0 -29
  549. package/resources/tool-runtime/tool-runtime.mjs.map +0 -1
  550. package/resources/vector-dbs.d.ts +0 -128
  551. package/resources/vector-dbs.d.ts.map +0 -1
  552. package/resources/vector-dbs.js +0 -41
  553. package/resources/vector-dbs.js.map +0 -1
  554. package/resources/vector-dbs.mjs +0 -36
  555. package/resources/vector-dbs.mjs.map +0 -1
  556. package/src/resources/agents/agents.ts +0 -372
  557. package/src/resources/agents/index.ts +0 -44
  558. package/src/resources/agents/session.ts +0 -169
  559. package/src/resources/agents/steps.ts +0 -47
  560. package/src/resources/agents/turn.ts +0 -638
  561. package/src/resources/datasets.ts +0 -413
  562. package/src/resources/inference.ts +0 -768
  563. package/src/resources/post-training/job.ts +0 -274
  564. package/src/resources/post-training/post-training.ts +0 -516
  565. package/src/resources/synthetic-data-generation.ts +0 -65
  566. package/src/resources/telemetry.ts +0 -692
  567. package/src/resources/tool-runtime/index.ts +0 -17
  568. package/src/resources/tool-runtime/rag-tool.ts +0 -69
  569. package/src/resources/tool-runtime/tool-runtime.ts +0 -191
  570. package/src/resources/vector-dbs.ts +0 -191
  571. /package/resources/{eval.d.ts → alpha/eval.d.ts} +0 -0
  572. /package/resources/{eval.mjs → alpha/eval.mjs} +0 -0
  573. /package/resources/{post-training.d.ts → alpha/post-training.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"post-training.d.ts","sourceRoot":"","sources":["../../src/resources/post-training/post-training.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,OAAO,CAAC;AAChC,OAAO,EACL,GAAG,EACH,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAEf,qBAAa,YAAa,SAAQ,WAAW;IAC3C,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAE/C;;OAEG;IACH,kBAAkB,CAChB,IAAI,EAAE,oCAAoC,EAC1C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC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;eAEG;YACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;SACtC;QAED;;WAEG;QACH,UAAiB,eAAe;YAC9B;;eAEG;YACH,EAAE,EAAE,MAAM,CAAC;YAEX;;eAEG;YACH,gBAAgB,EAAE,MAAM,CAAC;YAEzB;;eAEG;YACH,cAAc,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;YAEzC;;eAEG;YACH,YAAY,EAAE,MAAM,CAAC;SACtB;KACF;CACF;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;IAEF,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"post-training.js","sourceRoot":"","sources":["../../src/resources/post-training/post-training.ts"],"names":[],"mappings":";AAAA,qDAAqD;AACrD,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1C,sFAAsF;AAEtF,gDAA6C;AAE7C,iDAAgC;AAChC,kCAQe;AAEf,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqBjD,CAAC;IAnBC;;OAEG;IACH,kBAAkB,CAChB,IAA0C,EAC1C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,IAA0C,EAC1C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAtBD,oCAsBC;AAocD,YAAY,CAAC,GAAG,GAAG,SAAG,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"post-training.mjs","sourceRoot":"","sources":["../../src/resources/post-training/post-training.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;OAInC,EAAE,WAAW,EAAE;OAEf,KAAK,MAAM;OACX,EACL,GAAG,GAOJ;AAED,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqBjD,CAAC;IAnBC;;OAEG;IACH,kBAAkB,CAChB,IAA0C,EAC1C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,IAA0C,EAC1C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAocD,YAAY,CAAC,GAAG,GAAG,GAAG,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"post-training.d.ts","sourceRoot":"","sources":["../src/resources/post-training.ts"],"names":[],"mappings":"AAQA,cAAc,uBAAuB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"post-training.js","sourceRoot":"","sources":["../src/resources/post-training.ts"],"names":[],"mappings":";AAAA,qDAAqD;AACrD,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;;;;;;;;;;;;;;;;AAE1C,sFAAsF;AAEtF,2DAAsC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"post-training.mjs","sourceRoot":"","sources":["../src/resources/post-training.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C"}
@@ -1,47 +0,0 @@
1
- import { APIResource } from "../resource.js";
2
- import * as Core from "../core.js";
3
- import * as Shared from "./shared.js";
4
- export declare class SyntheticDataGeneration extends APIResource {
5
- /**
6
- * Generate synthetic data based on input dialogs and apply filtering.
7
- */
8
- generate(body: SyntheticDataGenerationGenerateParams, options?: Core.RequestOptions): Core.APIPromise<SyntheticDataGenerationResponse>;
9
- }
10
- /**
11
- * Response from the synthetic data generation. Batch of (prompt, response, score)
12
- * tuples that pass the threshold.
13
- */
14
- export interface SyntheticDataGenerationResponse {
15
- /**
16
- * List of generated synthetic data samples that passed the filtering criteria
17
- */
18
- synthetic_data: Array<{
19
- [key: string]: boolean | number | string | Array<unknown> | unknown | null;
20
- }>;
21
- /**
22
- * (Optional) Statistical information about the generation process and filtering
23
- * results
24
- */
25
- statistics?: {
26
- [key: string]: boolean | number | string | Array<unknown> | unknown | null;
27
- };
28
- }
29
- export interface SyntheticDataGenerationGenerateParams {
30
- /**
31
- * List of conversation messages to use as input for synthetic data generation
32
- */
33
- dialogs: Array<Shared.Message>;
34
- /**
35
- * Type of filtering to apply to generated synthetic data samples
36
- */
37
- filtering_function: 'none' | 'random' | 'top_k' | 'top_p' | 'top_k_top_p' | 'sigmoid';
38
- /**
39
- * (Optional) The identifier of the model to use. The model must be registered with
40
- * Llama Stack and available via the /models endpoint
41
- */
42
- model?: string;
43
- }
44
- export declare namespace SyntheticDataGeneration {
45
- export { type SyntheticDataGenerationResponse as SyntheticDataGenerationResponse, type SyntheticDataGenerationGenerateParams as SyntheticDataGenerationGenerateParams, };
46
- }
47
- //# sourceMappingURL=synthetic-data-generation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synthetic-data-generation.d.ts","sourceRoot":"","sources":["../src/resources/synthetic-data-generation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,qBAAa,uBAAwB,SAAQ,WAAW;IACtD;;OAEG;IACH,QAAQ,CACN,IAAI,EAAE,qCAAqC,EAC3C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;;GAGG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,OAAO,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IAEtG;;;OAGG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,OAAO,GAAG,IAAI,CAAA;KAAE,CAAC;CAC7F;AAED,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAE/B;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,CAAC;IAEtF;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,uBAAuB,CAAC;IAC/C,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Meta Platforms, Inc. and affiliates.
3
- // All rights reserved.
4
- //
5
- // This source code is licensed under the terms described in the LICENSE file in
6
- // the root directory of this source tree.
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.SyntheticDataGeneration = void 0;
9
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
10
- const resource_1 = require("../resource.js");
11
- class SyntheticDataGeneration extends resource_1.APIResource {
12
- /**
13
- * Generate synthetic data based on input dialogs and apply filtering.
14
- */
15
- generate(body, options) {
16
- return this._client.post('/v1/synthetic-data-generation/generate', { body, ...options });
17
- }
18
- }
19
- exports.SyntheticDataGeneration = SyntheticDataGeneration;
20
- //# sourceMappingURL=synthetic-data-generation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synthetic-data-generation.js","sourceRoot":"","sources":["../src/resources/synthetic-data-generation.ts"],"names":[],"mappings":";AAAA,qDAAqD;AACrD,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;;;AAE1C,sFAAsF;AAEtF,6CAA0C;AAI1C,MAAa,uBAAwB,SAAQ,sBAAW;IACtD;;OAEG;IACH,QAAQ,CACN,IAA2C,EAC3C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAVD,0DAUC"}
@@ -1,15 +0,0 @@
1
- // Copyright (c) Meta Platforms, Inc. and affiliates.
2
- // All rights reserved.
3
- //
4
- // This source code is licensed under the terms described in the LICENSE file in
5
- // the root directory of this source tree.
6
- import { APIResource } from "../resource.mjs";
7
- export class SyntheticDataGeneration extends APIResource {
8
- /**
9
- * Generate synthetic data based on input dialogs and apply filtering.
10
- */
11
- generate(body, options) {
12
- return this._client.post('/v1/synthetic-data-generation/generate', { body, ...options });
13
- }
14
- }
15
- //# sourceMappingURL=synthetic-data-generation.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synthetic-data-generation.mjs","sourceRoot":"","sources":["../src/resources/synthetic-data-generation.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,uBAAuB;AACvB,EAAE;AACF,gFAAgF;AAChF,0CAA0C;OAInC,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,uBAAwB,SAAQ,WAAW;IACtD;;OAEG;IACH,QAAQ,CACN,IAA2C,EAC3C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF"}
@@ -1,519 +0,0 @@
1
- import { APIResource } from "../resource.js";
2
- import * as Core from "../core.js";
3
- export declare class Telemetry extends APIResource {
4
- /**
5
- * Get a span by its ID.
6
- */
7
- getSpan(traceId: string, spanId: string, options?: Core.RequestOptions): Core.APIPromise<TelemetryGetSpanResponse>;
8
- /**
9
- * Get a span tree by its ID.
10
- */
11
- getSpanTree(spanId: string, body: TelemetryGetSpanTreeParams, options?: Core.RequestOptions): Core.APIPromise<TelemetryGetSpanTreeResponse>;
12
- /**
13
- * Get a trace by its ID.
14
- */
15
- getTrace(traceId: string, options?: Core.RequestOptions): Core.APIPromise<Trace>;
16
- /**
17
- * Log an event.
18
- */
19
- logEvent(body: TelemetryLogEventParams, options?: Core.RequestOptions): Core.APIPromise<void>;
20
- /**
21
- * Query metrics.
22
- */
23
- queryMetrics(metricName: string, body: TelemetryQueryMetricsParams, options?: Core.RequestOptions): Core.APIPromise<TelemetryQueryMetricsResponse>;
24
- /**
25
- * Query spans.
26
- */
27
- querySpans(body: TelemetryQuerySpansParams, options?: Core.RequestOptions): Core.APIPromise<TelemetryQuerySpansResponse>;
28
- /**
29
- * Query traces.
30
- */
31
- queryTraces(body: TelemetryQueryTracesParams, options?: Core.RequestOptions): Core.APIPromise<TelemetryQueryTracesResponse>;
32
- /**
33
- * Save spans to a dataset.
34
- */
35
- saveSpansToDataset(body: TelemetrySaveSpansToDatasetParams, options?: Core.RequestOptions): Core.APIPromise<void>;
36
- }
37
- /**
38
- * An unstructured log event containing a simple text message.
39
- */
40
- export type Event = Event.UnstructuredLogEvent | Event.MetricEvent | Event.StructuredLogEvent;
41
- export declare namespace Event {
42
- /**
43
- * An unstructured log event containing a simple text message.
44
- */
45
- interface UnstructuredLogEvent {
46
- /**
47
- * The log message text
48
- */
49
- message: string;
50
- /**
51
- * The severity level of the log message
52
- */
53
- severity: 'verbose' | 'debug' | 'info' | 'warn' | 'error' | 'critical';
54
- /**
55
- * Unique identifier for the span this event belongs to
56
- */
57
- span_id: string;
58
- /**
59
- * Timestamp when the event occurred
60
- */
61
- timestamp: string;
62
- /**
63
- * Unique identifier for the trace this event belongs to
64
- */
65
- trace_id: string;
66
- /**
67
- * Event type identifier set to UNSTRUCTURED_LOG
68
- */
69
- type: 'unstructured_log';
70
- /**
71
- * (Optional) Key-value pairs containing additional metadata about the event
72
- */
73
- attributes?: {
74
- [key: string]: string | number | boolean | null;
75
- };
76
- }
77
- /**
78
- * A metric event containing a measured value.
79
- */
80
- interface MetricEvent {
81
- /**
82
- * The name of the metric being measured
83
- */
84
- metric: string;
85
- /**
86
- * Unique identifier for the span this event belongs to
87
- */
88
- span_id: string;
89
- /**
90
- * Timestamp when the event occurred
91
- */
92
- timestamp: string;
93
- /**
94
- * Unique identifier for the trace this event belongs to
95
- */
96
- trace_id: string;
97
- /**
98
- * Event type identifier set to METRIC
99
- */
100
- type: 'metric';
101
- /**
102
- * The unit of measurement for the metric value
103
- */
104
- unit: string;
105
- /**
106
- * The numeric value of the metric measurement
107
- */
108
- value: number;
109
- /**
110
- * (Optional) Key-value pairs containing additional metadata about the event
111
- */
112
- attributes?: {
113
- [key: string]: string | number | boolean | null;
114
- };
115
- }
116
- /**
117
- * A structured log event containing typed payload data.
118
- */
119
- interface StructuredLogEvent {
120
- /**
121
- * The structured payload data for the log event
122
- */
123
- payload: StructuredLogEvent.SpanStartPayload | StructuredLogEvent.SpanEndPayload;
124
- /**
125
- * Unique identifier for the span this event belongs to
126
- */
127
- span_id: string;
128
- /**
129
- * Timestamp when the event occurred
130
- */
131
- timestamp: string;
132
- /**
133
- * Unique identifier for the trace this event belongs to
134
- */
135
- trace_id: string;
136
- /**
137
- * Event type identifier set to STRUCTURED_LOG
138
- */
139
- type: 'structured_log';
140
- /**
141
- * (Optional) Key-value pairs containing additional metadata about the event
142
- */
143
- attributes?: {
144
- [key: string]: string | number | boolean | null;
145
- };
146
- }
147
- namespace StructuredLogEvent {
148
- /**
149
- * Payload for a span start event.
150
- */
151
- interface SpanStartPayload {
152
- /**
153
- * Human-readable name describing the operation this span represents
154
- */
155
- name: string;
156
- /**
157
- * Payload type identifier set to SPAN_START
158
- */
159
- type: 'span_start';
160
- /**
161
- * (Optional) Unique identifier for the parent span, if this is a child span
162
- */
163
- parent_span_id?: string;
164
- }
165
- /**
166
- * Payload for a span end event.
167
- */
168
- interface SpanEndPayload {
169
- /**
170
- * The final status of the span indicating success or failure
171
- */
172
- status: 'ok' | 'error';
173
- /**
174
- * Payload type identifier set to SPAN_END
175
- */
176
- type: 'span_end';
177
- }
178
- }
179
- }
180
- /**
181
- * A condition for filtering query results.
182
- */
183
- export interface QueryCondition {
184
- /**
185
- * The attribute key to filter on
186
- */
187
- key: string;
188
- /**
189
- * The comparison operator to apply
190
- */
191
- op: 'eq' | 'ne' | 'gt' | 'lt';
192
- /**
193
- * The value to compare against
194
- */
195
- value: boolean | number | string | Array<unknown> | unknown | null;
196
- }
197
- /**
198
- * Response containing a list of spans.
199
- */
200
- export interface QuerySpansResponse {
201
- /**
202
- * List of spans matching the query criteria
203
- */
204
- data: TelemetryQuerySpansResponse;
205
- }
206
- /**
207
- * A span that includes status information.
208
- */
209
- export interface SpanWithStatus {
210
- /**
211
- * Human-readable name describing the operation this span represents
212
- */
213
- name: string;
214
- /**
215
- * Unique identifier for the span
216
- */
217
- span_id: string;
218
- /**
219
- * Timestamp when the operation began
220
- */
221
- start_time: string;
222
- /**
223
- * Unique identifier for the trace this span belongs to
224
- */
225
- trace_id: string;
226
- /**
227
- * (Optional) Key-value pairs containing additional metadata about the span
228
- */
229
- attributes?: {
230
- [key: string]: boolean | number | string | Array<unknown> | unknown | null;
231
- };
232
- /**
233
- * (Optional) Timestamp when the operation finished, if completed
234
- */
235
- end_time?: string;
236
- /**
237
- * (Optional) Unique identifier for the parent span, if this is a child span
238
- */
239
- parent_span_id?: string;
240
- /**
241
- * (Optional) The current status of the span
242
- */
243
- status?: 'ok' | 'error';
244
- }
245
- /**
246
- * A trace representing the complete execution path of a request across multiple
247
- * operations.
248
- */
249
- export interface Trace {
250
- /**
251
- * Unique identifier for the root span that started this trace
252
- */
253
- root_span_id: string;
254
- /**
255
- * Timestamp when the trace began
256
- */
257
- start_time: string;
258
- /**
259
- * Unique identifier for the trace
260
- */
261
- trace_id: string;
262
- /**
263
- * (Optional) Timestamp when the trace finished, if completed
264
- */
265
- end_time?: string;
266
- }
267
- /**
268
- * A span representing a single operation within a trace.
269
- */
270
- export interface TelemetryGetSpanResponse {
271
- /**
272
- * Human-readable name describing the operation this span represents
273
- */
274
- name: string;
275
- /**
276
- * Unique identifier for the span
277
- */
278
- span_id: string;
279
- /**
280
- * Timestamp when the operation began
281
- */
282
- start_time: string;
283
- /**
284
- * Unique identifier for the trace this span belongs to
285
- */
286
- trace_id: string;
287
- /**
288
- * (Optional) Key-value pairs containing additional metadata about the span
289
- */
290
- attributes?: {
291
- [key: string]: boolean | number | string | Array<unknown> | unknown | null;
292
- };
293
- /**
294
- * (Optional) Timestamp when the operation finished, if completed
295
- */
296
- end_time?: string;
297
- /**
298
- * (Optional) Unique identifier for the parent span, if this is a child span
299
- */
300
- parent_span_id?: string;
301
- }
302
- /**
303
- * Dictionary mapping span IDs to spans with status information
304
- */
305
- export type TelemetryGetSpanTreeResponse = {
306
- [key: string]: SpanWithStatus;
307
- };
308
- /**
309
- * List of metric series matching the query criteria
310
- */
311
- export type TelemetryQueryMetricsResponse = Array<TelemetryQueryMetricsResponse.TelemetryQueryMetricsResponseItem>;
312
- export declare namespace TelemetryQueryMetricsResponse {
313
- /**
314
- * A time series of metric data points.
315
- */
316
- interface TelemetryQueryMetricsResponseItem {
317
- /**
318
- * List of labels associated with this metric series
319
- */
320
- labels: Array<TelemetryQueryMetricsResponseItem.Label>;
321
- /**
322
- * The name of the metric
323
- */
324
- metric: string;
325
- /**
326
- * List of data points in chronological order
327
- */
328
- values: Array<TelemetryQueryMetricsResponseItem.Value>;
329
- }
330
- namespace TelemetryQueryMetricsResponseItem {
331
- /**
332
- * A label associated with a metric.
333
- */
334
- interface Label {
335
- /**
336
- * The name of the label
337
- */
338
- name: string;
339
- /**
340
- * The value of the label
341
- */
342
- value: string;
343
- }
344
- /**
345
- * A single data point in a metric time series.
346
- */
347
- interface Value {
348
- /**
349
- * Unix timestamp when the metric value was recorded
350
- */
351
- timestamp: number;
352
- unit: string;
353
- /**
354
- * The numeric value of the metric at this timestamp
355
- */
356
- value: number;
357
- }
358
- }
359
- }
360
- /**
361
- * List of spans matching the query criteria
362
- */
363
- export type TelemetryQuerySpansResponse = Array<TelemetryQuerySpansResponse.TelemetryQuerySpansResponseItem>;
364
- export declare namespace TelemetryQuerySpansResponse {
365
- /**
366
- * A span representing a single operation within a trace.
367
- */
368
- interface TelemetryQuerySpansResponseItem {
369
- /**
370
- * Human-readable name describing the operation this span represents
371
- */
372
- name: string;
373
- /**
374
- * Unique identifier for the span
375
- */
376
- span_id: string;
377
- /**
378
- * Timestamp when the operation began
379
- */
380
- start_time: string;
381
- /**
382
- * Unique identifier for the trace this span belongs to
383
- */
384
- trace_id: string;
385
- /**
386
- * (Optional) Key-value pairs containing additional metadata about the span
387
- */
388
- attributes?: {
389
- [key: string]: boolean | number | string | Array<unknown> | unknown | null;
390
- };
391
- /**
392
- * (Optional) Timestamp when the operation finished, if completed
393
- */
394
- end_time?: string;
395
- /**
396
- * (Optional) Unique identifier for the parent span, if this is a child span
397
- */
398
- parent_span_id?: string;
399
- }
400
- }
401
- /**
402
- * List of traces matching the query criteria
403
- */
404
- export type TelemetryQueryTracesResponse = Array<Trace>;
405
- export interface TelemetryGetSpanTreeParams {
406
- /**
407
- * The attributes to return in the tree.
408
- */
409
- attributes_to_return?: Array<string>;
410
- /**
411
- * The maximum depth of the tree.
412
- */
413
- max_depth?: number;
414
- }
415
- export interface TelemetryLogEventParams {
416
- /**
417
- * The event to log.
418
- */
419
- event: Event;
420
- /**
421
- * The time to live of the event.
422
- */
423
- ttl_seconds: number;
424
- }
425
- export interface TelemetryQueryMetricsParams {
426
- /**
427
- * The type of query to perform.
428
- */
429
- query_type: 'range' | 'instant';
430
- /**
431
- * The start time of the metric to query.
432
- */
433
- start_time: number;
434
- /**
435
- * The end time of the metric to query.
436
- */
437
- end_time?: number;
438
- /**
439
- * The granularity of the metric to query.
440
- */
441
- granularity?: string;
442
- /**
443
- * The label matchers to apply to the metric.
444
- */
445
- label_matchers?: Array<TelemetryQueryMetricsParams.LabelMatcher>;
446
- }
447
- export declare namespace TelemetryQueryMetricsParams {
448
- /**
449
- * A matcher for filtering metrics by label values.
450
- */
451
- interface LabelMatcher {
452
- /**
453
- * The name of the label to match
454
- */
455
- name: string;
456
- /**
457
- * The comparison operator to use for matching
458
- */
459
- operator: '=' | '!=' | '=~' | '!~';
460
- /**
461
- * The value to match against
462
- */
463
- value: string;
464
- }
465
- }
466
- export interface TelemetryQuerySpansParams {
467
- /**
468
- * The attribute filters to apply to the spans.
469
- */
470
- attribute_filters: Array<QueryCondition>;
471
- /**
472
- * The attributes to return in the spans.
473
- */
474
- attributes_to_return: Array<string>;
475
- /**
476
- * The maximum depth of the tree.
477
- */
478
- max_depth?: number;
479
- }
480
- export interface TelemetryQueryTracesParams {
481
- /**
482
- * The attribute filters to apply to the traces.
483
- */
484
- attribute_filters?: Array<QueryCondition>;
485
- /**
486
- * The limit of traces to return.
487
- */
488
- limit?: number;
489
- /**
490
- * The offset of the traces to return.
491
- */
492
- offset?: number;
493
- /**
494
- * The order by of the traces to return.
495
- */
496
- order_by?: Array<string>;
497
- }
498
- export interface TelemetrySaveSpansToDatasetParams {
499
- /**
500
- * The attribute filters to apply to the spans.
501
- */
502
- attribute_filters: Array<QueryCondition>;
503
- /**
504
- * The attributes to save to the dataset.
505
- */
506
- attributes_to_save: Array<string>;
507
- /**
508
- * The ID of the dataset to save the spans to.
509
- */
510
- dataset_id: string;
511
- /**
512
- * The maximum depth of the tree.
513
- */
514
- max_depth?: number;
515
- }
516
- export declare namespace Telemetry {
517
- export { type Event as Event, type QueryCondition as QueryCondition, type QuerySpansResponse as QuerySpansResponse, type SpanWithStatus as SpanWithStatus, type Trace as Trace, type TelemetryGetSpanResponse as TelemetryGetSpanResponse, type TelemetryGetSpanTreeResponse as TelemetryGetSpanTreeResponse, type TelemetryQueryMetricsResponse as TelemetryQueryMetricsResponse, type TelemetryQuerySpansResponse as TelemetryQuerySpansResponse, type TelemetryQueryTracesResponse as TelemetryQueryTracesResponse, type TelemetryGetSpanTreeParams as TelemetryGetSpanTreeParams, type TelemetryLogEventParams as TelemetryLogEventParams, type TelemetryQueryMetricsParams as TelemetryQueryMetricsParams, type TelemetryQuerySpansParams as TelemetryQuerySpansParams, type TelemetryQueryTracesParams as TelemetryQueryTracesParams, type TelemetrySaveSpansToDatasetParams as TelemetrySaveSpansToDatasetParams, };
518
- }
519
- //# sourceMappingURL=telemetry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../src/resources/telemetry.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,I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