@meetkai/mka1 0.55.25 → 0.55.27

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 (368) hide show
  1. package/README.md +410 -410
  2. package/bin/mcp-server.js +2373 -1975
  3. package/bin/mcp-server.js.map +36 -32
  4. package/dist/commonjs/funcs/billingCreateOrganizationBillingPortal.d.ts +2 -0
  5. package/dist/commonjs/funcs/billingCreateOrganizationBillingPortal.d.ts.map +1 -1
  6. package/dist/commonjs/funcs/billingCreateOrganizationBillingPortal.js +2 -0
  7. package/dist/commonjs/funcs/billingCreateOrganizationBillingPortal.js.map +1 -1
  8. package/dist/commonjs/funcs/billingCreateOrganizationBillingSetup.d.ts +2 -0
  9. package/dist/commonjs/funcs/billingCreateOrganizationBillingSetup.d.ts.map +1 -1
  10. package/dist/commonjs/funcs/billingCreateOrganizationBillingSetup.js +2 -0
  11. package/dist/commonjs/funcs/billingCreateOrganizationBillingSetup.js.map +1 -1
  12. package/dist/commonjs/funcs/billingGetOrganizationBilling.d.ts +2 -0
  13. package/dist/commonjs/funcs/billingGetOrganizationBilling.d.ts.map +1 -1
  14. package/dist/commonjs/funcs/billingGetOrganizationBilling.js +2 -0
  15. package/dist/commonjs/funcs/billingGetOrganizationBilling.js.map +1 -1
  16. package/dist/commonjs/funcs/billingListOrganizationBillingInvoices.d.ts +2 -0
  17. package/dist/commonjs/funcs/billingListOrganizationBillingInvoices.d.ts.map +1 -1
  18. package/dist/commonjs/funcs/billingListOrganizationBillingInvoices.js +2 -0
  19. package/dist/commonjs/funcs/billingListOrganizationBillingInvoices.js.map +1 -1
  20. package/dist/commonjs/funcs/billingSetOrganizationBillingEnabled.d.ts +2 -0
  21. package/dist/commonjs/funcs/billingSetOrganizationBillingEnabled.d.ts.map +1 -1
  22. package/dist/commonjs/funcs/billingSetOrganizationBillingEnabled.js +2 -0
  23. package/dist/commonjs/funcs/billingSetOrganizationBillingEnabled.js.map +1 -1
  24. package/dist/commonjs/funcs/billingUpdateOrganizationBillingProfile.d.ts +2 -0
  25. package/dist/commonjs/funcs/billingUpdateOrganizationBillingProfile.d.ts.map +1 -1
  26. package/dist/commonjs/funcs/billingUpdateOrganizationBillingProfile.js +2 -0
  27. package/dist/commonjs/funcs/billingUpdateOrganizationBillingProfile.js.map +1 -1
  28. package/dist/commonjs/funcs/llmAuditGetRequestTrace.d.ts +19 -0
  29. package/dist/commonjs/funcs/llmAuditGetRequestTrace.d.ts.map +1 -0
  30. package/dist/commonjs/funcs/llmAuditGetRequestTrace.js +132 -0
  31. package/dist/commonjs/funcs/llmAuditGetRequestTrace.js.map +1 -0
  32. package/dist/commonjs/lib/config.d.ts +2 -2
  33. package/dist/commonjs/lib/config.js +2 -2
  34. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  35. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  36. package/dist/commonjs/mcp-server/server.js +3 -1
  37. package/dist/commonjs/mcp-server/server.js.map +1 -1
  38. package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingPortal.d.ts.map +1 -1
  39. package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingPortal.js +1 -1
  40. package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingPortal.js.map +1 -1
  41. package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingSetup.d.ts.map +1 -1
  42. package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingSetup.js +1 -1
  43. package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingSetup.js.map +1 -1
  44. package/dist/commonjs/mcp-server/tools/billingGetOrganizationBilling.d.ts.map +1 -1
  45. package/dist/commonjs/mcp-server/tools/billingGetOrganizationBilling.js +1 -1
  46. package/dist/commonjs/mcp-server/tools/billingGetOrganizationBilling.js.map +1 -1
  47. package/dist/commonjs/mcp-server/tools/billingListOrganizationBillingInvoices.d.ts.map +1 -1
  48. package/dist/commonjs/mcp-server/tools/billingListOrganizationBillingInvoices.js +1 -1
  49. package/dist/commonjs/mcp-server/tools/billingListOrganizationBillingInvoices.js.map +1 -1
  50. package/dist/commonjs/mcp-server/tools/billingSetOrganizationBillingEnabled.d.ts.map +1 -1
  51. package/dist/commonjs/mcp-server/tools/billingSetOrganizationBillingEnabled.js +1 -1
  52. package/dist/commonjs/mcp-server/tools/billingSetOrganizationBillingEnabled.js.map +1 -1
  53. package/dist/commonjs/mcp-server/tools/billingUpdateOrganizationBillingProfile.d.ts.map +1 -1
  54. package/dist/commonjs/mcp-server/tools/billingUpdateOrganizationBillingProfile.js +1 -1
  55. package/dist/commonjs/mcp-server/tools/billingUpdateOrganizationBillingProfile.js.map +1 -1
  56. package/dist/commonjs/mcp-server/tools/llmAuditGetRequestTrace.d.ts +8 -0
  57. package/dist/commonjs/mcp-server/tools/llmAuditGetRequestTrace.d.ts.map +1 -0
  58. package/dist/commonjs/mcp-server/tools/llmAuditGetRequestTrace.js +64 -0
  59. package/dist/commonjs/mcp-server/tools/llmAuditGetRequestTrace.js.map +1 -0
  60. package/dist/commonjs/models/components/banwordsguardrail.d.ts +27 -0
  61. package/dist/commonjs/models/components/banwordsguardrail.d.ts.map +1 -1
  62. package/dist/commonjs/models/components/banwordsguardrail.js +21 -1
  63. package/dist/commonjs/models/components/banwordsguardrail.js.map +1 -1
  64. package/dist/commonjs/models/components/classifierguardrail.d.ts +27 -0
  65. package/dist/commonjs/models/components/classifierguardrail.d.ts.map +1 -1
  66. package/dist/commonjs/models/components/classifierguardrail.js +21 -1
  67. package/dist/commonjs/models/components/classifierguardrail.js.map +1 -1
  68. package/dist/commonjs/models/components/clusterdefaultrulesummary.d.ts +21 -0
  69. package/dist/commonjs/models/components/clusterdefaultrulesummary.d.ts.map +1 -1
  70. package/dist/commonjs/models/components/clusterdefaultrulesummary.js +16 -1
  71. package/dist/commonjs/models/components/clusterdefaultrulesummary.js.map +1 -1
  72. package/dist/commonjs/models/components/createvectorstorerequest.d.ts +1 -1
  73. package/dist/commonjs/models/components/embeddingmodellimits.d.ts +5 -5
  74. package/dist/commonjs/models/components/embeddingmodellimits.d.ts.map +1 -1
  75. package/dist/commonjs/models/components/embeddingmodellimits.js +6 -6
  76. package/dist/commonjs/models/components/embeddingmodellimits.js.map +1 -1
  77. package/dist/commonjs/models/components/embeddingsrequest.d.ts +1 -1
  78. package/dist/commonjs/models/components/index.d.ts +1 -0
  79. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  80. package/dist/commonjs/models/components/index.js +1 -0
  81. package/dist/commonjs/models/components/index.js.map +1 -1
  82. package/dist/commonjs/models/components/leakageguardrail.d.ts +27 -0
  83. package/dist/commonjs/models/components/leakageguardrail.d.ts.map +1 -1
  84. package/dist/commonjs/models/components/leakageguardrail.js +21 -1
  85. package/dist/commonjs/models/components/leakageguardrail.js.map +1 -1
  86. package/dist/commonjs/models/components/outputwindow.d.ts +28 -0
  87. package/dist/commonjs/models/components/outputwindow.d.ts.map +1 -0
  88. package/dist/commonjs/models/components/outputwindow.js +71 -0
  89. package/dist/commonjs/models/components/outputwindow.js.map +1 -0
  90. package/dist/commonjs/models/components/promptinjectionguardrail.d.ts +27 -0
  91. package/dist/commonjs/models/components/promptinjectionguardrail.d.ts.map +1 -1
  92. package/dist/commonjs/models/components/promptinjectionguardrail.js +21 -1
  93. package/dist/commonjs/models/components/promptinjectionguardrail.js.map +1 -1
  94. package/dist/commonjs/models/components/tooldefinition.d.ts +1 -1
  95. package/dist/commonjs/models/components/vectorstore.d.ts +1 -1
  96. package/dist/commonjs/models/operations/getmodel.d.ts +2 -2
  97. package/dist/commonjs/models/operations/getrequesttrace.d.ts +203 -0
  98. package/dist/commonjs/models/operations/getrequesttrace.d.ts.map +1 -0
  99. package/dist/commonjs/models/operations/getrequesttrace.js +277 -0
  100. package/dist/commonjs/models/operations/getrequesttrace.js.map +1 -0
  101. package/dist/commonjs/models/operations/index.d.ts +1 -0
  102. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  103. package/dist/commonjs/models/operations/index.js +1 -0
  104. package/dist/commonjs/models/operations/index.js.map +1 -1
  105. package/dist/commonjs/models/operations/listmodels.d.ts +2 -2
  106. package/dist/commonjs/react-query/billingCreateOrganizationBillingPortal.d.ts +3 -0
  107. package/dist/commonjs/react-query/billingCreateOrganizationBillingPortal.d.ts.map +1 -1
  108. package/dist/commonjs/react-query/billingCreateOrganizationBillingPortal.js +3 -0
  109. package/dist/commonjs/react-query/billingCreateOrganizationBillingPortal.js.map +1 -1
  110. package/dist/commonjs/react-query/billingCreateOrganizationBillingSetup.d.ts +3 -0
  111. package/dist/commonjs/react-query/billingCreateOrganizationBillingSetup.d.ts.map +1 -1
  112. package/dist/commonjs/react-query/billingCreateOrganizationBillingSetup.js +3 -0
  113. package/dist/commonjs/react-query/billingCreateOrganizationBillingSetup.js.map +1 -1
  114. package/dist/commonjs/react-query/billingGetOrganizationBilling.d.ts +6 -0
  115. package/dist/commonjs/react-query/billingGetOrganizationBilling.d.ts.map +1 -1
  116. package/dist/commonjs/react-query/billingGetOrganizationBilling.js +6 -0
  117. package/dist/commonjs/react-query/billingGetOrganizationBilling.js.map +1 -1
  118. package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.d.ts +6 -0
  119. package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.d.ts.map +1 -1
  120. package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.js +6 -0
  121. package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.js.map +1 -1
  122. package/dist/commonjs/react-query/billingSetOrganizationBillingEnabled.d.ts +3 -0
  123. package/dist/commonjs/react-query/billingSetOrganizationBillingEnabled.d.ts.map +1 -1
  124. package/dist/commonjs/react-query/billingSetOrganizationBillingEnabled.js +3 -0
  125. package/dist/commonjs/react-query/billingSetOrganizationBillingEnabled.js.map +1 -1
  126. package/dist/commonjs/react-query/billingUpdateOrganizationBillingProfile.d.ts +3 -0
  127. package/dist/commonjs/react-query/billingUpdateOrganizationBillingProfile.d.ts.map +1 -1
  128. package/dist/commonjs/react-query/billingUpdateOrganizationBillingProfile.js +3 -0
  129. package/dist/commonjs/react-query/billingUpdateOrganizationBillingProfile.js.map +1 -1
  130. package/dist/commonjs/react-query/index.d.ts +1 -0
  131. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  132. package/dist/commonjs/react-query/index.js +1 -0
  133. package/dist/commonjs/react-query/index.js.map +1 -1
  134. package/dist/commonjs/react-query/llmAuditGetRequestTrace.core.d.ts +12 -0
  135. package/dist/commonjs/react-query/llmAuditGetRequestTrace.core.d.ts.map +1 -0
  136. package/dist/commonjs/react-query/llmAuditGetRequestTrace.core.js +34 -0
  137. package/dist/commonjs/react-query/llmAuditGetRequestTrace.core.js.map +1 -0
  138. package/dist/commonjs/react-query/llmAuditGetRequestTrace.d.ts +28 -0
  139. package/dist/commonjs/react-query/llmAuditGetRequestTrace.d.ts.map +1 -0
  140. package/dist/commonjs/react-query/llmAuditGetRequestTrace.js +60 -0
  141. package/dist/commonjs/react-query/llmAuditGetRequestTrace.js.map +1 -0
  142. package/dist/commonjs/sdk/audit.d.ts +5 -3
  143. package/dist/commonjs/sdk/audit.d.ts.map +1 -1
  144. package/dist/commonjs/sdk/audit.js +7 -4
  145. package/dist/commonjs/sdk/audit.js.map +1 -1
  146. package/dist/commonjs/sdk/billing.d.ts +18 -0
  147. package/dist/commonjs/sdk/billing.d.ts.map +1 -1
  148. package/dist/commonjs/sdk/billing.js +18 -0
  149. package/dist/commonjs/sdk/billing.js.map +1 -1
  150. package/dist/commonjs/sdk/flags.d.ts +2 -2
  151. package/dist/commonjs/sdk/flags.d.ts.map +1 -1
  152. package/dist/commonjs/sdk/flags.js +2 -2
  153. package/dist/commonjs/sdk/flags.js.map +1 -1
  154. package/dist/commonjs/sdk/llm.d.ts +3 -0
  155. package/dist/commonjs/sdk/llm.d.ts.map +1 -1
  156. package/dist/commonjs/sdk/llm.js +4 -0
  157. package/dist/commonjs/sdk/llm.js.map +1 -1
  158. package/dist/commonjs/sdk/sdkaudit.d.ts +10 -0
  159. package/dist/commonjs/sdk/sdkaudit.d.ts.map +1 -0
  160. package/dist/commonjs/sdk/sdkaudit.js +19 -0
  161. package/dist/commonjs/sdk/sdkaudit.js.map +1 -0
  162. package/dist/esm/funcs/billingCreateOrganizationBillingPortal.d.ts +2 -0
  163. package/dist/esm/funcs/billingCreateOrganizationBillingPortal.d.ts.map +1 -1
  164. package/dist/esm/funcs/billingCreateOrganizationBillingPortal.js +2 -0
  165. package/dist/esm/funcs/billingCreateOrganizationBillingPortal.js.map +1 -1
  166. package/dist/esm/funcs/billingCreateOrganizationBillingSetup.d.ts +2 -0
  167. package/dist/esm/funcs/billingCreateOrganizationBillingSetup.d.ts.map +1 -1
  168. package/dist/esm/funcs/billingCreateOrganizationBillingSetup.js +2 -0
  169. package/dist/esm/funcs/billingCreateOrganizationBillingSetup.js.map +1 -1
  170. package/dist/esm/funcs/billingGetOrganizationBilling.d.ts +2 -0
  171. package/dist/esm/funcs/billingGetOrganizationBilling.d.ts.map +1 -1
  172. package/dist/esm/funcs/billingGetOrganizationBilling.js +2 -0
  173. package/dist/esm/funcs/billingGetOrganizationBilling.js.map +1 -1
  174. package/dist/esm/funcs/billingListOrganizationBillingInvoices.d.ts +2 -0
  175. package/dist/esm/funcs/billingListOrganizationBillingInvoices.d.ts.map +1 -1
  176. package/dist/esm/funcs/billingListOrganizationBillingInvoices.js +2 -0
  177. package/dist/esm/funcs/billingListOrganizationBillingInvoices.js.map +1 -1
  178. package/dist/esm/funcs/billingSetOrganizationBillingEnabled.d.ts +2 -0
  179. package/dist/esm/funcs/billingSetOrganizationBillingEnabled.d.ts.map +1 -1
  180. package/dist/esm/funcs/billingSetOrganizationBillingEnabled.js +2 -0
  181. package/dist/esm/funcs/billingSetOrganizationBillingEnabled.js.map +1 -1
  182. package/dist/esm/funcs/billingUpdateOrganizationBillingProfile.d.ts +2 -0
  183. package/dist/esm/funcs/billingUpdateOrganizationBillingProfile.d.ts.map +1 -1
  184. package/dist/esm/funcs/billingUpdateOrganizationBillingProfile.js +2 -0
  185. package/dist/esm/funcs/billingUpdateOrganizationBillingProfile.js.map +1 -1
  186. package/dist/esm/funcs/llmAuditGetRequestTrace.d.ts +19 -0
  187. package/dist/esm/funcs/llmAuditGetRequestTrace.d.ts.map +1 -0
  188. package/dist/esm/funcs/llmAuditGetRequestTrace.js +96 -0
  189. package/dist/esm/funcs/llmAuditGetRequestTrace.js.map +1 -0
  190. package/dist/esm/lib/config.d.ts +2 -2
  191. package/dist/esm/lib/config.js +2 -2
  192. package/dist/esm/mcp-server/mcp-server.js +1 -1
  193. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  194. package/dist/esm/mcp-server/server.js +3 -1
  195. package/dist/esm/mcp-server/server.js.map +1 -1
  196. package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingPortal.d.ts.map +1 -1
  197. package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingPortal.js +1 -1
  198. package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingPortal.js.map +1 -1
  199. package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingSetup.d.ts.map +1 -1
  200. package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingSetup.js +1 -1
  201. package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingSetup.js.map +1 -1
  202. package/dist/esm/mcp-server/tools/billingGetOrganizationBilling.d.ts.map +1 -1
  203. package/dist/esm/mcp-server/tools/billingGetOrganizationBilling.js +1 -1
  204. package/dist/esm/mcp-server/tools/billingGetOrganizationBilling.js.map +1 -1
  205. package/dist/esm/mcp-server/tools/billingListOrganizationBillingInvoices.d.ts.map +1 -1
  206. package/dist/esm/mcp-server/tools/billingListOrganizationBillingInvoices.js +1 -1
  207. package/dist/esm/mcp-server/tools/billingListOrganizationBillingInvoices.js.map +1 -1
  208. package/dist/esm/mcp-server/tools/billingSetOrganizationBillingEnabled.d.ts.map +1 -1
  209. package/dist/esm/mcp-server/tools/billingSetOrganizationBillingEnabled.js +1 -1
  210. package/dist/esm/mcp-server/tools/billingSetOrganizationBillingEnabled.js.map +1 -1
  211. package/dist/esm/mcp-server/tools/billingUpdateOrganizationBillingProfile.d.ts.map +1 -1
  212. package/dist/esm/mcp-server/tools/billingUpdateOrganizationBillingProfile.js +1 -1
  213. package/dist/esm/mcp-server/tools/billingUpdateOrganizationBillingProfile.js.map +1 -1
  214. package/dist/esm/mcp-server/tools/llmAuditGetRequestTrace.d.ts +8 -0
  215. package/dist/esm/mcp-server/tools/llmAuditGetRequestTrace.d.ts.map +1 -0
  216. package/dist/esm/mcp-server/tools/llmAuditGetRequestTrace.js +28 -0
  217. package/dist/esm/mcp-server/tools/llmAuditGetRequestTrace.js.map +1 -0
  218. package/dist/esm/models/components/banwordsguardrail.d.ts +27 -0
  219. package/dist/esm/models/components/banwordsguardrail.d.ts.map +1 -1
  220. package/dist/esm/models/components/banwordsguardrail.js +20 -0
  221. package/dist/esm/models/components/banwordsguardrail.js.map +1 -1
  222. package/dist/esm/models/components/classifierguardrail.d.ts +27 -0
  223. package/dist/esm/models/components/classifierguardrail.d.ts.map +1 -1
  224. package/dist/esm/models/components/classifierguardrail.js +20 -0
  225. package/dist/esm/models/components/classifierguardrail.js.map +1 -1
  226. package/dist/esm/models/components/clusterdefaultrulesummary.d.ts +21 -0
  227. package/dist/esm/models/components/clusterdefaultrulesummary.d.ts.map +1 -1
  228. package/dist/esm/models/components/clusterdefaultrulesummary.js +15 -0
  229. package/dist/esm/models/components/clusterdefaultrulesummary.js.map +1 -1
  230. package/dist/esm/models/components/createvectorstorerequest.d.ts +1 -1
  231. package/dist/esm/models/components/embeddingmodellimits.d.ts +5 -5
  232. package/dist/esm/models/components/embeddingmodellimits.d.ts.map +1 -1
  233. package/dist/esm/models/components/embeddingmodellimits.js +6 -6
  234. package/dist/esm/models/components/embeddingmodellimits.js.map +1 -1
  235. package/dist/esm/models/components/embeddingsrequest.d.ts +1 -1
  236. package/dist/esm/models/components/index.d.ts +1 -0
  237. package/dist/esm/models/components/index.d.ts.map +1 -1
  238. package/dist/esm/models/components/index.js +1 -0
  239. package/dist/esm/models/components/index.js.map +1 -1
  240. package/dist/esm/models/components/leakageguardrail.d.ts +27 -0
  241. package/dist/esm/models/components/leakageguardrail.d.ts.map +1 -1
  242. package/dist/esm/models/components/leakageguardrail.js +20 -0
  243. package/dist/esm/models/components/leakageguardrail.js.map +1 -1
  244. package/dist/esm/models/components/outputwindow.d.ts +28 -0
  245. package/dist/esm/models/components/outputwindow.d.ts.map +1 -0
  246. package/dist/esm/models/components/outputwindow.js +33 -0
  247. package/dist/esm/models/components/outputwindow.js.map +1 -0
  248. package/dist/esm/models/components/promptinjectionguardrail.d.ts +27 -0
  249. package/dist/esm/models/components/promptinjectionguardrail.d.ts.map +1 -1
  250. package/dist/esm/models/components/promptinjectionguardrail.js +20 -0
  251. package/dist/esm/models/components/promptinjectionguardrail.js.map +1 -1
  252. package/dist/esm/models/components/tooldefinition.d.ts +1 -1
  253. package/dist/esm/models/components/vectorstore.d.ts +1 -1
  254. package/dist/esm/models/operations/getmodel.d.ts +2 -2
  255. package/dist/esm/models/operations/getrequesttrace.d.ts +203 -0
  256. package/dist/esm/models/operations/getrequesttrace.d.ts.map +1 -0
  257. package/dist/esm/models/operations/getrequesttrace.js +231 -0
  258. package/dist/esm/models/operations/getrequesttrace.js.map +1 -0
  259. package/dist/esm/models/operations/index.d.ts +1 -0
  260. package/dist/esm/models/operations/index.d.ts.map +1 -1
  261. package/dist/esm/models/operations/index.js +1 -0
  262. package/dist/esm/models/operations/index.js.map +1 -1
  263. package/dist/esm/models/operations/listmodels.d.ts +2 -2
  264. package/dist/esm/react-query/billingCreateOrganizationBillingPortal.d.ts +3 -0
  265. package/dist/esm/react-query/billingCreateOrganizationBillingPortal.d.ts.map +1 -1
  266. package/dist/esm/react-query/billingCreateOrganizationBillingPortal.js +3 -0
  267. package/dist/esm/react-query/billingCreateOrganizationBillingPortal.js.map +1 -1
  268. package/dist/esm/react-query/billingCreateOrganizationBillingSetup.d.ts +3 -0
  269. package/dist/esm/react-query/billingCreateOrganizationBillingSetup.d.ts.map +1 -1
  270. package/dist/esm/react-query/billingCreateOrganizationBillingSetup.js +3 -0
  271. package/dist/esm/react-query/billingCreateOrganizationBillingSetup.js.map +1 -1
  272. package/dist/esm/react-query/billingGetOrganizationBilling.d.ts +6 -0
  273. package/dist/esm/react-query/billingGetOrganizationBilling.d.ts.map +1 -1
  274. package/dist/esm/react-query/billingGetOrganizationBilling.js +6 -0
  275. package/dist/esm/react-query/billingGetOrganizationBilling.js.map +1 -1
  276. package/dist/esm/react-query/billingListOrganizationBillingInvoices.d.ts +6 -0
  277. package/dist/esm/react-query/billingListOrganizationBillingInvoices.d.ts.map +1 -1
  278. package/dist/esm/react-query/billingListOrganizationBillingInvoices.js +6 -0
  279. package/dist/esm/react-query/billingListOrganizationBillingInvoices.js.map +1 -1
  280. package/dist/esm/react-query/billingSetOrganizationBillingEnabled.d.ts +3 -0
  281. package/dist/esm/react-query/billingSetOrganizationBillingEnabled.d.ts.map +1 -1
  282. package/dist/esm/react-query/billingSetOrganizationBillingEnabled.js +3 -0
  283. package/dist/esm/react-query/billingSetOrganizationBillingEnabled.js.map +1 -1
  284. package/dist/esm/react-query/billingUpdateOrganizationBillingProfile.d.ts +3 -0
  285. package/dist/esm/react-query/billingUpdateOrganizationBillingProfile.d.ts.map +1 -1
  286. package/dist/esm/react-query/billingUpdateOrganizationBillingProfile.js +3 -0
  287. package/dist/esm/react-query/billingUpdateOrganizationBillingProfile.js.map +1 -1
  288. package/dist/esm/react-query/index.d.ts +1 -0
  289. package/dist/esm/react-query/index.d.ts.map +1 -1
  290. package/dist/esm/react-query/index.js +1 -0
  291. package/dist/esm/react-query/index.js.map +1 -1
  292. package/dist/esm/react-query/llmAuditGetRequestTrace.core.d.ts +12 -0
  293. package/dist/esm/react-query/llmAuditGetRequestTrace.core.d.ts.map +1 -0
  294. package/dist/esm/react-query/llmAuditGetRequestTrace.core.js +29 -0
  295. package/dist/esm/react-query/llmAuditGetRequestTrace.core.js.map +1 -0
  296. package/dist/esm/react-query/llmAuditGetRequestTrace.d.ts +28 -0
  297. package/dist/esm/react-query/llmAuditGetRequestTrace.d.ts.map +1 -0
  298. package/dist/esm/react-query/llmAuditGetRequestTrace.js +50 -0
  299. package/dist/esm/react-query/llmAuditGetRequestTrace.js.map +1 -0
  300. package/dist/esm/sdk/audit.d.ts +5 -3
  301. package/dist/esm/sdk/audit.d.ts.map +1 -1
  302. package/dist/esm/sdk/audit.js +7 -4
  303. package/dist/esm/sdk/audit.js.map +1 -1
  304. package/dist/esm/sdk/billing.d.ts +18 -0
  305. package/dist/esm/sdk/billing.d.ts.map +1 -1
  306. package/dist/esm/sdk/billing.js +18 -0
  307. package/dist/esm/sdk/billing.js.map +1 -1
  308. package/dist/esm/sdk/flags.d.ts +2 -2
  309. package/dist/esm/sdk/flags.d.ts.map +1 -1
  310. package/dist/esm/sdk/flags.js +2 -2
  311. package/dist/esm/sdk/flags.js.map +1 -1
  312. package/dist/esm/sdk/llm.d.ts +3 -0
  313. package/dist/esm/sdk/llm.d.ts.map +1 -1
  314. package/dist/esm/sdk/llm.js +4 -0
  315. package/dist/esm/sdk/llm.js.map +1 -1
  316. package/dist/esm/sdk/sdkaudit.d.ts +10 -0
  317. package/dist/esm/sdk/sdkaudit.d.ts.map +1 -0
  318. package/dist/esm/sdk/sdkaudit.js +15 -0
  319. package/dist/esm/sdk/sdkaudit.js.map +1 -0
  320. package/jsr.json +1 -1
  321. package/package.json +1 -1
  322. package/src/funcs/billingCreateOrganizationBillingPortal.ts +2 -0
  323. package/src/funcs/billingCreateOrganizationBillingSetup.ts +2 -0
  324. package/src/funcs/billingGetOrganizationBilling.ts +2 -0
  325. package/src/funcs/billingListOrganizationBillingInvoices.ts +2 -0
  326. package/src/funcs/billingSetOrganizationBillingEnabled.ts +2 -0
  327. package/src/funcs/billingUpdateOrganizationBillingProfile.ts +2 -0
  328. package/src/funcs/llmAuditGetRequestTrace.ts +181 -0
  329. package/src/lib/config.ts +2 -2
  330. package/src/mcp-server/mcp-server.ts +1 -1
  331. package/src/mcp-server/server.ts +3 -1
  332. package/src/mcp-server/tools/billingCreateOrganizationBillingPortal.ts +2 -1
  333. package/src/mcp-server/tools/billingCreateOrganizationBillingSetup.ts +2 -1
  334. package/src/mcp-server/tools/billingGetOrganizationBilling.ts +2 -1
  335. package/src/mcp-server/tools/billingListOrganizationBillingInvoices.ts +2 -1
  336. package/src/mcp-server/tools/billingSetOrganizationBillingEnabled.ts +2 -1
  337. package/src/mcp-server/tools/billingUpdateOrganizationBillingProfile.ts +2 -1
  338. package/src/mcp-server/tools/llmAuditGetRequestTrace.ts +37 -0
  339. package/src/models/components/banwordsguardrail.ts +44 -0
  340. package/src/models/components/classifierguardrail.ts +48 -0
  341. package/src/models/components/clusterdefaultrulesummary.ts +34 -0
  342. package/src/models/components/createvectorstorerequest.ts +1 -1
  343. package/src/models/components/embeddingmodellimits.ts +11 -11
  344. package/src/models/components/embeddingsrequest.ts +1 -1
  345. package/src/models/components/index.ts +1 -0
  346. package/src/models/components/leakageguardrail.ts +48 -0
  347. package/src/models/components/outputwindow.ts +71 -0
  348. package/src/models/components/promptinjectionguardrail.ts +49 -0
  349. package/src/models/components/tooldefinition.ts +1 -1
  350. package/src/models/components/vectorstore.ts +1 -1
  351. package/src/models/operations/getmodel.ts +2 -2
  352. package/src/models/operations/getrequesttrace.ts +501 -0
  353. package/src/models/operations/index.ts +1 -0
  354. package/src/models/operations/listmodels.ts +2 -2
  355. package/src/react-query/billingCreateOrganizationBillingPortal.ts +3 -0
  356. package/src/react-query/billingCreateOrganizationBillingSetup.ts +3 -0
  357. package/src/react-query/billingGetOrganizationBilling.ts +6 -0
  358. package/src/react-query/billingListOrganizationBillingInvoices.ts +6 -0
  359. package/src/react-query/billingSetOrganizationBillingEnabled.ts +3 -0
  360. package/src/react-query/billingUpdateOrganizationBillingProfile.ts +3 -0
  361. package/src/react-query/index.ts +1 -0
  362. package/src/react-query/llmAuditGetRequestTrace.core.ts +71 -0
  363. package/src/react-query/llmAuditGetRequestTrace.ts +136 -0
  364. package/src/sdk/audit.ts +9 -7
  365. package/src/sdk/billing.ts +18 -0
  366. package/src/sdk/flags.ts +4 -4
  367. package/src/sdk/llm.ts +6 -0
  368. package/src/sdk/sdkaudit.ts +25 -0
@@ -0,0 +1,28 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ /**
5
+ * When a streaming output check runs: whichever of max_chars and max_ms fills first
6
+ */
7
+ export type OutputWindow = {
8
+ /**
9
+ * Check once this many characters of unchecked text have accumulated
10
+ */
11
+ maxChars?: number | undefined;
12
+ /**
13
+ * Check once the oldest unchecked text has been held this many milliseconds
14
+ */
15
+ maxMs?: number | undefined;
16
+ };
17
+ /** @internal */
18
+ export declare const OutputWindow$inboundSchema: z.ZodType<OutputWindow, z.ZodTypeDef, unknown>;
19
+ /** @internal */
20
+ export type OutputWindow$Outbound = {
21
+ max_chars?: number | undefined;
22
+ max_ms?: number | undefined;
23
+ };
24
+ /** @internal */
25
+ export declare const OutputWindow$outboundSchema: z.ZodType<OutputWindow$Outbound, z.ZodTypeDef, OutputWindow>;
26
+ export declare function outputWindowToJSON(outputWindow: OutputWindow): string;
27
+ export declare function outputWindowFromJSON(jsonString: string): SafeParseResult<OutputWindow, SDKValidationError>;
28
+ //# sourceMappingURL=outputwindow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outputwindow.d.ts","sourceRoot":"","sources":["../../../../src/models/components/outputwindow.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CASZ,CAAC;AAEH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AACD,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v3";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ /** @internal */
8
+ export const OutputWindow$inboundSchema = z.object({
9
+ max_chars: z.number().int().optional(),
10
+ max_ms: z.number().int().optional(),
11
+ }).transform((v) => {
12
+ return remap$(v, {
13
+ "max_chars": "maxChars",
14
+ "max_ms": "maxMs",
15
+ });
16
+ });
17
+ /** @internal */
18
+ export const OutputWindow$outboundSchema = z.object({
19
+ maxChars: z.number().int().optional(),
20
+ maxMs: z.number().int().optional(),
21
+ }).transform((v) => {
22
+ return remap$(v, {
23
+ maxChars: "max_chars",
24
+ maxMs: "max_ms",
25
+ });
26
+ });
27
+ export function outputWindowToJSON(outputWindow) {
28
+ return JSON.stringify(OutputWindow$outboundSchema.parse(outputWindow));
29
+ }
30
+ export function outputWindowFromJSON(jsonString) {
31
+ return safeParse(jsonString, (x) => OutputWindow$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OutputWindow' from JSON`);
32
+ }
33
+ //# sourceMappingURL=outputwindow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outputwindow.js","sourceRoot":"","sources":["../../../../src/models/components/outputwindow.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAkBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AACD,MAAM,UAAU,oBAAoB,CAClC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0BAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
@@ -1,8 +1,21 @@
1
1
  import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
2
3
  import { Result as SafeParseResult } from "../../types/fp.js";
3
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
5
  import { GuardrailInputSource } from "./guardrailinputsource.js";
6
+ import { OutputWindow, OutputWindow$Outbound } from "./outputwindow.js";
5
7
  import { PromptInjectionConfig, PromptInjectionConfig$Outbound } from "./promptinjectionconfig.js";
8
+ /**
9
+ * When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared
10
+ */
11
+ export declare const PromptInjectionGuardrailOutputTiming: {
12
+ readonly Final: "final";
13
+ readonly Streaming: "streaming";
14
+ };
15
+ /**
16
+ * When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared
17
+ */
18
+ export type PromptInjectionGuardrailOutputTiming = ClosedEnum<typeof PromptInjectionGuardrailOutputTiming>;
6
19
  /**
7
20
  * Prompt injection guardrail
8
21
  */
@@ -16,6 +29,14 @@ export type PromptInjectionGuardrail = {
16
29
  * Also apply this guardrail to model output, not just the request
17
30
  */
18
31
  checkOutput?: boolean | undefined;
32
+ /**
33
+ * When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared
34
+ */
35
+ outputTiming?: PromptInjectionGuardrailOutputTiming | undefined;
36
+ /**
37
+ * When a streaming output check runs: whichever of max_chars and max_ms fills first
38
+ */
39
+ outputWindow?: OutputWindow | undefined;
19
40
  /**
20
41
  * Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.
21
42
  */
@@ -26,12 +47,18 @@ export type PromptInjectionGuardrail = {
26
47
  config?: PromptInjectionConfig | undefined;
27
48
  };
28
49
  /** @internal */
50
+ export declare const PromptInjectionGuardrailOutputTiming$inboundSchema: z.ZodNativeEnum<typeof PromptInjectionGuardrailOutputTiming>;
51
+ /** @internal */
52
+ export declare const PromptInjectionGuardrailOutputTiming$outboundSchema: z.ZodNativeEnum<typeof PromptInjectionGuardrailOutputTiming>;
53
+ /** @internal */
29
54
  export declare const PromptInjectionGuardrail$inboundSchema: z.ZodType<PromptInjectionGuardrail, z.ZodTypeDef, unknown>;
30
55
  /** @internal */
31
56
  export type PromptInjectionGuardrail$Outbound = {
32
57
  mode: "prompt_injection";
33
58
  enabled: boolean;
34
59
  check_output?: boolean | undefined;
60
+ output_timing?: string | undefined;
61
+ output_window?: OutputWindow$Outbound | undefined;
35
62
  input_sources?: Array<string> | undefined;
36
63
  config?: PromptInjectionConfig$Outbound | undefined;
37
64
  };
@@ -1 +1 @@
1
- {"version":3,"file":"promptinjectionguardrail.d.ts","sourceRoot":"","sources":["../../../../src/models/components/promptinjectionguardrail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,oBAAoB,EAGrB,MAAM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,CAAC;AAEvD,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,aAAa,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAClD,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC1C,MAAM,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAgBxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AACD,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
@@ -5,17 +5,33 @@ import * as z from "zod/v3";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import { GuardrailInputSource$inboundSchema, GuardrailInputSource$outboundSchema, } from "./guardrailinputsource.js";
8
+ import { OutputWindow$inboundSchema, OutputWindow$outboundSchema, } from "./outputwindow.js";
8
9
  import { PromptInjectionConfig$inboundSchema, PromptInjectionConfig$outboundSchema, } from "./promptinjectionconfig.js";
10
+ /**
11
+ * When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared
12
+ */
13
+ export const PromptInjectionGuardrailOutputTiming = {
14
+ Final: "final",
15
+ Streaming: "streaming",
16
+ };
17
+ /** @internal */
18
+ export const PromptInjectionGuardrailOutputTiming$inboundSchema = z.nativeEnum(PromptInjectionGuardrailOutputTiming);
19
+ /** @internal */
20
+ export const PromptInjectionGuardrailOutputTiming$outboundSchema = PromptInjectionGuardrailOutputTiming$inboundSchema;
9
21
  /** @internal */
10
22
  export const PromptInjectionGuardrail$inboundSchema = z.object({
11
23
  mode: z.literal("prompt_injection"),
12
24
  enabled: z.boolean().default(true),
13
25
  check_output: z.boolean().optional(),
26
+ output_timing: PromptInjectionGuardrailOutputTiming$inboundSchema.optional(),
27
+ output_window: OutputWindow$inboundSchema.optional(),
14
28
  input_sources: z.array(GuardrailInputSource$inboundSchema).optional(),
15
29
  config: PromptInjectionConfig$inboundSchema.optional(),
16
30
  }).transform((v) => {
17
31
  return remap$(v, {
18
32
  "check_output": "checkOutput",
33
+ "output_timing": "outputTiming",
34
+ "output_window": "outputWindow",
19
35
  "input_sources": "inputSources",
20
36
  });
21
37
  });
@@ -24,11 +40,15 @@ export const PromptInjectionGuardrail$outboundSchema = z.object({
24
40
  mode: z.literal("prompt_injection"),
25
41
  enabled: z.boolean().default(true),
26
42
  checkOutput: z.boolean().optional(),
43
+ outputTiming: PromptInjectionGuardrailOutputTiming$outboundSchema.optional(),
44
+ outputWindow: OutputWindow$outboundSchema.optional(),
27
45
  inputSources: z.array(GuardrailInputSource$outboundSchema).optional(),
28
46
  config: PromptInjectionConfig$outboundSchema.optional(),
29
47
  }).transform((v) => {
30
48
  return remap$(v, {
31
49
  checkOutput: "check_output",
50
+ outputTiming: "output_timing",
51
+ outputWindow: "output_window",
32
52
  inputSources: "input_sources",
33
53
  });
34
54
  });
@@ -1 +1 @@
1
- {"version":3,"file":"promptinjectionguardrail.js","sourceRoot":"","sources":["../../../../src/models/components/promptinjectionguardrail.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,C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C,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"promptinjectionguardrail.js","sourceRoot":"","sources":["../../../../src/models/components/promptinjectionguardrail.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,kCAAkC,EAClC,mCAAmC,GACpC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,0BAA0B,EAE1B,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,mCAAmC,EAEnC,oCAAoC,GACrC,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAClD,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;CACd,CAAC;AAuCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,kDAAkD,GACE,CAAC,CAAC,UAAU,CACzE,oCAAoC,CACrC,CAAC;AACJ,gBAAgB;AAChB,MAAM,CAAC,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xD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,YAAY,EAAE,eAAe;QAC7B,YAAY,EAAE,eAAe;QAC7B,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
@@ -69,7 +69,7 @@ export declare const ToolDefinition9Type: {
69
69
  };
70
70
  export type ToolDefinition9Type = ClosedEnum<typeof ToolDefinition9Type>;
71
71
  /**
72
- * Another saved agent of the same team, called as a tool. mkllm-gateway starts a run of that agent and returns its answer.
72
+ * Another saved agent of the same team, called as a tool. The Responses API starts a run of that agent and returns its answer.
73
73
  */
74
74
  export type Nine = {
75
75
  type: ToolDefinition9Type;
@@ -70,7 +70,7 @@ export type VectorStore = {
70
70
  */
71
71
  embeddingModel: string | null;
72
72
  /**
73
- * The number of dimensions for the embedding vectors in this vector store. Null for legacy vector stores.
73
+ * The number of dimensions for the embedding vectors in this vector store. Null for legacy vector stores. If the embedding model's declared dimensions stop including this size, or the model returns embeddings of another width, search fails with 412 and new files fail to ingest.
74
74
  */
75
75
  embeddingDimensions: number | null;
76
76
  /**
@@ -144,7 +144,7 @@ export type GetModelResponseBody = {
144
144
  */
145
145
  outputModalities: Array<string>;
146
146
  /**
147
- * Context window in tokens, mirroring the registry's `contextWindow`. For an LLM it is the input plus output tokens one request can span: the Responses API trims the oldest conversation items to fit it, reserving nothing for the output, unless the request sets `truncation` to `disabled`, which rejects an oversized request instead; a separate request-size limit in bytes applies the same way. Chat completions forwards requests unchanged. For an embeddings model `/embeddings` derives its per-input character cap from it, which `GET /embeddings/models` reports as `max_input_length`; a gateway-wide per-input ceiling also applies. On other model types the gateway does not read it, so a recorded value is informational only and not enforced. Null when the registry does not record one.
147
+ * Context window in tokens, mirroring the registry's `contextWindow`. For an LLM it is the input plus output tokens one request can span: the Responses API trims the oldest conversation items to fit it, reserving nothing for the output, unless the request sets `truncation` to `disabled`, which rejects an oversized request instead; a separate request-size limit in bytes applies the same way. Chat completions forwards requests unchanged. For an embeddings model `/embeddings` derives a per-input character cap from it, alongside a gateway-wide per-input ceiling; `GET /embeddings/models` reports whichever binds first as `max_input_length`. On other model types the gateway does not read it, so a recorded value is informational only and not enforced. Null when the registry does not record one.
148
148
  */
149
149
  contextWindow: number | null;
150
150
  /**
@@ -156,7 +156,7 @@ export type GetModelResponseBody = {
156
156
  */
157
157
  minImageResolution: MinImageResolution | null;
158
158
  /**
159
- * Output vector sizes declared for this model, mirroring the registry's `embeddingLimits.dimensions`, which is normally recorded only on embeddings models. A model with a single fixed size reports it as `min`, `max` and `default` alike, so when `min` equals `max` the size is fixed and a request should omit `dimensions`. Vector stores reject a size outside the range. `/embeddings` does not check it: it drops a requested `dimensions` for a fixed-size model and otherwise forwards it to the upstream. Null when the registry does not record dimensions; a vector store using such a model must then be created with an explicit size (`embedding_dimensions` on `POST /vector_stores`). Distinct from the vector store's own `embedding_dimensions`, which is a single size.
159
+ * Output vector sizes declared for this model, mirroring the registry's `embeddingLimits.dimensions`, which is normally recorded only on embeddings models. When `min` equals `max` the size is fixed: `/embeddings` ignores a requested `dimensions` and returns that size, and vector stores accept only that size. Otherwise a requested size must lie within the range: `/embeddings` and vector stores reject one outside it with 400. Null when the registry does not record dimensions; a vector store using such a model must then be created with an explicit size (`embedding_dimensions` on `POST /vector_stores`). Distinct from the vector store's own `embedding_dimensions`, which is a single size.
160
160
  */
161
161
  embeddingDimensionRange: EmbeddingDimensionRange | null;
162
162
  /**
@@ -0,0 +1,203 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type GetRequestTraceRequest = {
6
+ requestId: string;
7
+ };
8
+ export type Gateway = {
9
+ kongRequestId: string;
10
+ /**
11
+ * The X-Request-ID returned to the client; null on records stored before it was kept
12
+ */
13
+ requestId: string | null;
14
+ /**
15
+ * The ID responses are joined on: the client's X-Correlation-ID when sent, otherwise the X-Request-ID
16
+ */
17
+ correlationId: string | null;
18
+ traceId: string | null;
19
+ method: string | null;
20
+ path: string | null;
21
+ statusCode: number | null;
22
+ startedAt: Date | null;
23
+ completedAt: Date | null;
24
+ /**
25
+ * Total time at the edge
26
+ */
27
+ latencyMs: number | null;
28
+ /**
29
+ * Time spent in the API gateway itself
30
+ */
31
+ gatewayLatencyMs: number | null;
32
+ /**
33
+ * Time the upstream service took
34
+ */
35
+ upstreamLatencyMs: number | null;
36
+ };
37
+ /**
38
+ * A model invocation or a tool call
39
+ */
40
+ export declare const Kind: {
41
+ readonly Model: "model";
42
+ readonly Tool: "tool";
43
+ };
44
+ /**
45
+ * A model invocation or a tool call
46
+ */
47
+ export type Kind = ClosedEnum<typeof Kind>;
48
+ export type Spans = {
49
+ /**
50
+ * A model invocation or a tool call
51
+ */
52
+ kind: Kind;
53
+ /**
54
+ * Model that served the invocation, or the tool's name
55
+ */
56
+ name: string | null;
57
+ /**
58
+ * Tool call ID; null for model invocations
59
+ */
60
+ callId: string | null;
61
+ /**
62
+ * Agent loop step of a model invocation
63
+ */
64
+ step: number | null;
65
+ /**
66
+ * Attempt within the step (retries and failover)
67
+ */
68
+ attempt: number | null;
69
+ status: string | null;
70
+ startedAt: Date | null;
71
+ /**
72
+ * Null while the span is still running
73
+ */
74
+ completedAt: Date | null;
75
+ durationMs: number | null;
76
+ };
77
+ export type Responses = {
78
+ responseId: string;
79
+ /**
80
+ * The response whose agent tool started this one; null for the request's own responses
81
+ */
82
+ parentResponseId: string | null;
83
+ conversationId: string | null;
84
+ status: string | null;
85
+ requestedModel: string | null;
86
+ effectiveModel: string | null;
87
+ startedAt: Date | null;
88
+ completedAt: Date | null;
89
+ durationMs: number | null;
90
+ /**
91
+ * Model invocations and tool calls, in the order they were first recorded
92
+ */
93
+ spans: Array<Spans>;
94
+ };
95
+ /**
96
+ * End-to-end trace of one API request
97
+ */
98
+ export type GetRequestTraceResponseBody = {
99
+ object: "audit.request_trace";
100
+ /**
101
+ * The ID that was looked up
102
+ */
103
+ requestId: string;
104
+ /**
105
+ * True when more gateway records or responses matched than are returned
106
+ */
107
+ truncated: boolean;
108
+ /**
109
+ * Edge records for the request
110
+ */
111
+ gateway: Array<Gateway>;
112
+ /**
113
+ * Responses the request created, including agents it called
114
+ */
115
+ responses: Array<Responses>;
116
+ };
117
+ /** @internal */
118
+ export declare const GetRequestTraceRequest$inboundSchema: z.ZodType<GetRequestTraceRequest, z.ZodTypeDef, unknown>;
119
+ /** @internal */
120
+ export type GetRequestTraceRequest$Outbound = {
121
+ request_id: string;
122
+ };
123
+ /** @internal */
124
+ export declare const GetRequestTraceRequest$outboundSchema: z.ZodType<GetRequestTraceRequest$Outbound, z.ZodTypeDef, GetRequestTraceRequest>;
125
+ export declare function getRequestTraceRequestToJSON(getRequestTraceRequest: GetRequestTraceRequest): string;
126
+ export declare function getRequestTraceRequestFromJSON(jsonString: string): SafeParseResult<GetRequestTraceRequest, SDKValidationError>;
127
+ /** @internal */
128
+ export declare const Gateway$inboundSchema: z.ZodType<Gateway, z.ZodTypeDef, unknown>;
129
+ /** @internal */
130
+ export type Gateway$Outbound = {
131
+ kong_request_id: string;
132
+ request_id: string | null;
133
+ correlation_id: string | null;
134
+ trace_id: string | null;
135
+ method: string | null;
136
+ path: string | null;
137
+ status_code: number | null;
138
+ started_at: string | null;
139
+ completed_at: string | null;
140
+ latency_ms: number | null;
141
+ gateway_latency_ms: number | null;
142
+ upstream_latency_ms: number | null;
143
+ };
144
+ /** @internal */
145
+ export declare const Gateway$outboundSchema: z.ZodType<Gateway$Outbound, z.ZodTypeDef, Gateway>;
146
+ export declare function gatewayToJSON(gateway: Gateway): string;
147
+ export declare function gatewayFromJSON(jsonString: string): SafeParseResult<Gateway, SDKValidationError>;
148
+ /** @internal */
149
+ export declare const Kind$inboundSchema: z.ZodNativeEnum<typeof Kind>;
150
+ /** @internal */
151
+ export declare const Kind$outboundSchema: z.ZodNativeEnum<typeof Kind>;
152
+ /** @internal */
153
+ export declare const Spans$inboundSchema: z.ZodType<Spans, z.ZodTypeDef, unknown>;
154
+ /** @internal */
155
+ export type Spans$Outbound = {
156
+ kind: string;
157
+ name: string | null;
158
+ call_id: string | null;
159
+ step: number | null;
160
+ attempt: number | null;
161
+ status: string | null;
162
+ started_at: string | null;
163
+ completed_at: string | null;
164
+ duration_ms: number | null;
165
+ };
166
+ /** @internal */
167
+ export declare const Spans$outboundSchema: z.ZodType<Spans$Outbound, z.ZodTypeDef, Spans>;
168
+ export declare function spansToJSON(spans: Spans): string;
169
+ export declare function spansFromJSON(jsonString: string): SafeParseResult<Spans, SDKValidationError>;
170
+ /** @internal */
171
+ export declare const Responses$inboundSchema: z.ZodType<Responses, z.ZodTypeDef, unknown>;
172
+ /** @internal */
173
+ export type Responses$Outbound = {
174
+ response_id: string;
175
+ parent_response_id: string | null;
176
+ conversation_id: string | null;
177
+ status: string | null;
178
+ requested_model: string | null;
179
+ effective_model: string | null;
180
+ started_at: string | null;
181
+ completed_at: string | null;
182
+ duration_ms: number | null;
183
+ spans: Array<Spans$Outbound>;
184
+ };
185
+ /** @internal */
186
+ export declare const Responses$outboundSchema: z.ZodType<Responses$Outbound, z.ZodTypeDef, Responses>;
187
+ export declare function responsesToJSON(responses: Responses): string;
188
+ export declare function responsesFromJSON(jsonString: string): SafeParseResult<Responses, SDKValidationError>;
189
+ /** @internal */
190
+ export declare const GetRequestTraceResponseBody$inboundSchema: z.ZodType<GetRequestTraceResponseBody, z.ZodTypeDef, unknown>;
191
+ /** @internal */
192
+ export type GetRequestTraceResponseBody$Outbound = {
193
+ object: "audit.request_trace";
194
+ request_id: string;
195
+ truncated: boolean;
196
+ gateway: Array<Gateway$Outbound>;
197
+ responses: Array<Responses$Outbound>;
198
+ };
199
+ /** @internal */
200
+ export declare const GetRequestTraceResponseBody$outboundSchema: z.ZodType<GetRequestTraceResponseBody$Outbound, z.ZodTypeDef, GetRequestTraceResponseBody>;
201
+ export declare function getRequestTraceResponseBodyToJSON(getRequestTraceResponseBody: GetRequestTraceResponseBody): string;
202
+ export declare function getRequestTraceResponseBodyFromJSON(jsonString: string): SafeParseResult<GetRequestTraceResponseBody, SDKValidationError>;
203
+ //# sourceMappingURL=getrequesttrace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getrequesttrace.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getrequesttrace.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MA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