@orq-ai/node 4.11.0-rc.1 → 4.11.0-rc.3

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 (268) hide show
  1. package/FUNCTIONS.md +4 -4
  2. package/README.md +81 -70
  3. package/examples/{postV2FeedbackEvaluationRemove.example.ts → evalsAll.example.ts} +4 -2
  4. package/funcs/{agentsPostV2AgentsKeyCardRefresh.d.ts → agentsRefreshKeyCard.d.ts} +2 -2
  5. package/funcs/agentsRefreshKeyCard.d.ts.map +1 -0
  6. package/funcs/{agentsPostV2AgentsKeyCardRefresh.js → agentsRefreshKeyCard.js} +3 -3
  7. package/funcs/agentsRefreshKeyCard.js.map +1 -0
  8. package/funcs/{evalsGetV2EvaluatorsIdVersions.d.ts → evalsListVersions.d.ts} +2 -2
  9. package/funcs/evalsListVersions.d.ts.map +1 -0
  10. package/funcs/{evalsGetV2EvaluatorsIdVersions.js → evalsListVersions.js} +3 -3
  11. package/funcs/evalsListVersions.js.map +1 -0
  12. package/funcs/{feedbackPostV2FeedbackRemove.d.ts → feedbackCreate.d.ts} +2 -2
  13. package/funcs/feedbackCreate.d.ts.map +1 -0
  14. package/funcs/{feedbackPostV2Feedback.js → feedbackCreate.js} +3 -3
  15. package/funcs/feedbackCreate.js.map +1 -0
  16. package/funcs/{postV2FeedbackEvaluation.d.ts → feedbackCreateEvaluation.d.ts} +2 -2
  17. package/funcs/{postV2FeedbackEvaluation.d.ts.map → feedbackCreateEvaluation.d.ts.map} +1 -1
  18. package/funcs/{postV2FeedbackEvaluation.js → feedbackCreateEvaluation.js} +3 -3
  19. package/funcs/{postV2FeedbackEvaluation.js.map → feedbackCreateEvaluation.js.map} +1 -1
  20. package/funcs/{feedbackPostV2Feedback.d.ts → feedbackRemove.d.ts} +2 -2
  21. package/funcs/feedbackRemove.d.ts.map +1 -0
  22. package/funcs/{feedbackPostV2FeedbackRemove.js → feedbackRemove.js} +3 -3
  23. package/funcs/feedbackRemove.js.map +1 -0
  24. package/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.d.ts → feedbackRemoveEvaluation.d.ts} +2 -5
  25. package/funcs/feedbackRemoveEvaluation.d.ts.map +1 -0
  26. package/funcs/{postV2FeedbackEvaluationRemove.js → feedbackRemoveEvaluation.js} +3 -3
  27. package/funcs/feedbackRemoveEvaluation.js.map +1 -0
  28. package/funcs/guardrailRulesList.js +4 -0
  29. package/funcs/guardrailRulesList.js.map +1 -1
  30. package/funcs/guardrailRulesListUsedGuardrails.d.ts +17 -0
  31. package/funcs/guardrailRulesListUsedGuardrails.d.ts.map +1 -0
  32. package/funcs/guardrailRulesListUsedGuardrails.js +105 -0
  33. package/funcs/guardrailRulesListUsedGuardrails.js.map +1 -0
  34. package/funcs/{humanReviewSetsPostV2HumanEvalSets.d.ts → humanReviewSetsCreate.d.ts} +2 -2
  35. package/funcs/humanReviewSetsCreate.d.ts.map +1 -0
  36. package/funcs/{humanReviewSetsPostV2HumanEvalSets.js → humanReviewSetsCreate.js} +3 -3
  37. package/funcs/humanReviewSetsCreate.js.map +1 -0
  38. package/funcs/{humanReviewSetsGetV2HumanEvalSets.d.ts → humanReviewSetsDelete.d.ts} +3 -3
  39. package/funcs/humanReviewSetsDelete.d.ts.map +1 -0
  40. package/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.js → humanReviewSetsDelete.js} +3 -3
  41. package/funcs/humanReviewSetsDelete.js.map +1 -0
  42. package/funcs/{postV2FeedbackEvaluationRemove.d.ts → humanReviewSetsGet.d.ts} +5 -2
  43. package/funcs/humanReviewSetsGet.d.ts.map +1 -0
  44. package/funcs/{humanReviewSetsGetV2HumanEvalSetsId.js → humanReviewSetsGet.js} +3 -3
  45. package/funcs/humanReviewSetsGet.js.map +1 -0
  46. package/funcs/{humanReviewSetsGetV2HumanEvalSetsId.d.ts → humanReviewSetsList.d.ts} +3 -3
  47. package/funcs/humanReviewSetsList.d.ts.map +1 -0
  48. package/funcs/{humanReviewSetsGetV2HumanEvalSets.js → humanReviewSetsList.js} +3 -3
  49. package/funcs/humanReviewSetsList.js.map +1 -0
  50. package/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.d.ts → humanReviewSetsUpdate.d.ts} +2 -2
  51. package/funcs/humanReviewSetsUpdate.d.ts.map +1 -0
  52. package/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.js → humanReviewSetsUpdate.js} +3 -3
  53. package/funcs/humanReviewSetsUpdate.js.map +1 -0
  54. package/funcs/routingRulesList.js +3 -0
  55. package/funcs/routingRulesList.js.map +1 -1
  56. package/funcs/routingRulesListUsedModels.d.ts +17 -0
  57. package/funcs/routingRulesListUsedModels.d.ts.map +1 -0
  58. package/funcs/routingRulesListUsedModels.js +105 -0
  59. package/funcs/routingRulesListUsedModels.js.map +1 -0
  60. package/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.d.ts → toolsGetVersion.d.ts} +2 -2
  61. package/funcs/toolsGetVersion.d.ts.map +1 -0
  62. package/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.js → toolsGetVersion.js} +3 -3
  63. package/funcs/toolsGetVersion.js.map +1 -0
  64. package/funcs/{toolsGetV2ToolsToolIdVersions.d.ts → toolsListVersions.d.ts} +2 -2
  65. package/funcs/toolsListVersions.d.ts.map +1 -0
  66. package/funcs/{toolsGetV2ToolsToolIdVersions.js → toolsListVersions.js} +3 -3
  67. package/funcs/toolsListVersions.js.map +1 -0
  68. package/jsr.json +1 -1
  69. package/lib/config.d.ts +2 -2
  70. package/lib/config.js +2 -2
  71. package/models/components/createfilerequest.d.ts +1 -1
  72. package/models/components/reasoningpart.js +1 -1
  73. package/models/operations/createdataset.js +1 -1
  74. package/models/operations/createdatasetitem.js +4 -4
  75. package/models/operations/createdatasource.js +1 -1
  76. package/models/operations/createeval.d.ts +22 -22
  77. package/models/operations/createeval.d.ts.map +1 -1
  78. package/models/operations/createeval.js +32 -32
  79. package/models/operations/createeval.js.map +1 -1
  80. package/models/operations/createknowledge.d.ts +10 -10
  81. package/models/operations/createknowledge.d.ts.map +1 -1
  82. package/models/operations/createknowledge.js +11 -11
  83. package/models/operations/createknowledge.js.map +1 -1
  84. package/models/operations/createtool.d.ts +10 -10
  85. package/models/operations/createtool.d.ts.map +1 -1
  86. package/models/operations/createtool.js +16 -16
  87. package/models/operations/createtool.js.map +1 -1
  88. package/models/operations/getalltools.d.ts +10 -10
  89. package/models/operations/getalltools.d.ts.map +1 -1
  90. package/models/operations/getalltools.js +16 -16
  91. package/models/operations/getalltools.js.map +1 -1
  92. package/models/operations/getevals.d.ts +6 -6
  93. package/models/operations/getevals.d.ts.map +1 -1
  94. package/models/operations/getevals.js +22 -22
  95. package/models/operations/getevals.js.map +1 -1
  96. package/models/operations/getv2humanevalsets.js +2 -2
  97. package/models/operations/getv2humanevalsetsid.js +2 -2
  98. package/models/operations/guardrailrulelist.d.ts +35 -0
  99. package/models/operations/guardrailrulelist.d.ts.map +1 -1
  100. package/models/operations/guardrailrulelist.js +18 -1
  101. package/models/operations/guardrailrulelist.js.map +1 -1
  102. package/models/operations/guardrailrulelistusedguardrails.d.ts +14 -0
  103. package/models/operations/guardrailrulelistusedguardrails.d.ts.map +1 -0
  104. package/models/operations/guardrailrulelistusedguardrails.js +56 -0
  105. package/models/operations/guardrailrulelistusedguardrails.js.map +1 -0
  106. package/models/operations/index.d.ts +2 -0
  107. package/models/operations/index.d.ts.map +1 -1
  108. package/models/operations/index.js +2 -0
  109. package/models/operations/index.js.map +1 -1
  110. package/models/operations/listdatasetdatapoints.js +4 -4
  111. package/models/operations/listdatasets.js +1 -1
  112. package/models/operations/listdatasources.js +1 -1
  113. package/models/operations/listknowledgebases.d.ts +2 -5
  114. package/models/operations/listknowledgebases.d.ts.map +1 -1
  115. package/models/operations/listknowledgebases.js +1 -1
  116. package/models/operations/listknowledgebases.js.map +1 -1
  117. package/models/operations/patchv2humanevalsetsid.js +2 -2
  118. package/models/operations/postv2feedbackevaluation.d.ts +14 -14
  119. package/models/operations/postv2feedbackevaluation.d.ts.map +1 -1
  120. package/models/operations/postv2feedbackevaluation.js +18 -18
  121. package/models/operations/postv2feedbackevaluation.js.map +1 -1
  122. package/models/operations/postv2humanevalsets.js +2 -2
  123. package/models/operations/retrievedatapoint.js +4 -4
  124. package/models/operations/retrievedataset.js +1 -1
  125. package/models/operations/retrievedatasource.js +1 -1
  126. package/models/operations/retrievetool.d.ts +10 -10
  127. package/models/operations/retrievetool.d.ts.map +1 -1
  128. package/models/operations/retrievetool.js +16 -16
  129. package/models/operations/retrievetool.js.map +1 -1
  130. package/models/operations/routingrulelist.d.ts +15 -0
  131. package/models/operations/routingrulelist.d.ts.map +1 -1
  132. package/models/operations/routingrulelist.js +3 -0
  133. package/models/operations/routingrulelist.js.map +1 -1
  134. package/models/operations/routingrulelistusedmodels.d.ts +14 -0
  135. package/models/operations/routingrulelistusedmodels.d.ts.map +1 -0
  136. package/models/operations/routingrulelistusedmodels.js +51 -0
  137. package/models/operations/routingrulelistusedmodels.js.map +1 -0
  138. package/models/operations/runagent.js +1 -1
  139. package/models/operations/streamrunagent.js +1 -1
  140. package/models/operations/updatedatapoint.js +4 -4
  141. package/models/operations/updatedataset.js +1 -1
  142. package/models/operations/updatedatasource.js +1 -1
  143. package/models/operations/updateeval.d.ts +6 -6
  144. package/models/operations/updateeval.d.ts.map +1 -1
  145. package/models/operations/updateeval.js +22 -22
  146. package/models/operations/updateeval.js.map +1 -1
  147. package/models/operations/updatetool.d.ts +10 -10
  148. package/models/operations/updatetool.d.ts.map +1 -1
  149. package/models/operations/updatetool.js +17 -17
  150. package/models/operations/updatetool.js.map +1 -1
  151. package/package.json +8 -8
  152. package/sdk/agents.d.ts +1 -1
  153. package/sdk/agents.d.ts.map +1 -1
  154. package/sdk/agents.js +3 -3
  155. package/sdk/agents.js.map +1 -1
  156. package/sdk/evals.d.ts +1 -1
  157. package/sdk/evals.d.ts.map +1 -1
  158. package/sdk/evals.js +3 -3
  159. package/sdk/evals.js.map +1 -1
  160. package/sdk/feedback.d.ts +10 -2
  161. package/sdk/feedback.d.ts.map +1 -1
  162. package/sdk/feedback.js +20 -6
  163. package/sdk/feedback.js.map +1 -1
  164. package/sdk/guardrailrules.d.ts +7 -0
  165. package/sdk/guardrailrules.d.ts.map +1 -1
  166. package/sdk/guardrailrules.js +10 -0
  167. package/sdk/guardrailrules.js.map +1 -1
  168. package/sdk/humanreviewsets.d.ts +5 -5
  169. package/sdk/humanreviewsets.d.ts.map +1 -1
  170. package/sdk/humanreviewsets.js +15 -15
  171. package/sdk/humanreviewsets.js.map +1 -1
  172. package/sdk/routingrules.d.ts +7 -0
  173. package/sdk/routingrules.d.ts.map +1 -1
  174. package/sdk/routingrules.js +10 -0
  175. package/sdk/routingrules.js.map +1 -1
  176. package/sdk/sdk.d.ts +1 -4
  177. package/sdk/sdk.d.ts.map +1 -1
  178. package/sdk/sdk.js +0 -9
  179. package/sdk/sdk.js.map +1 -1
  180. package/sdk/tools.d.ts +2 -2
  181. package/sdk/tools.d.ts.map +1 -1
  182. package/sdk/tools.js +6 -6
  183. package/sdk/tools.js.map +1 -1
  184. package/src/funcs/{agentsPostV2AgentsKeyCardRefresh.ts → agentsRefreshKeyCard.ts} +1 -1
  185. package/src/funcs/{evalsGetV2EvaluatorsIdVersions.ts → evalsListVersions.ts} +1 -1
  186. package/src/funcs/{feedbackPostV2Feedback.ts → feedbackCreate.ts} +1 -1
  187. package/src/funcs/{postV2FeedbackEvaluation.ts → feedbackCreateEvaluation.ts} +1 -1
  188. package/src/funcs/{feedbackPostV2FeedbackRemove.ts → feedbackRemove.ts} +1 -1
  189. package/src/funcs/{postV2FeedbackEvaluationRemove.ts → feedbackRemoveEvaluation.ts} +1 -1
  190. package/src/funcs/guardrailRulesList.ts +4 -0
  191. package/src/funcs/guardrailRulesListUsedGuardrails.ts +147 -0
  192. package/src/funcs/{humanReviewSetsPostV2HumanEvalSets.ts → humanReviewSetsCreate.ts} +1 -1
  193. package/src/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.ts → humanReviewSetsDelete.ts} +1 -1
  194. package/src/funcs/{humanReviewSetsGetV2HumanEvalSetsId.ts → humanReviewSetsGet.ts} +1 -1
  195. package/src/funcs/{humanReviewSetsGetV2HumanEvalSets.ts → humanReviewSetsList.ts} +1 -1
  196. package/src/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.ts → humanReviewSetsUpdate.ts} +1 -1
  197. package/src/funcs/routingRulesList.ts +3 -0
  198. package/src/funcs/routingRulesListUsedModels.ts +144 -0
  199. package/src/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.ts → toolsGetVersion.ts} +1 -1
  200. package/src/funcs/{toolsGetV2ToolsToolIdVersions.ts → toolsListVersions.ts} +1 -1
  201. package/src/lib/config.ts +2 -2
  202. package/src/models/components/createfilerequest.ts +1 -1
  203. package/src/models/components/reasoningpart.ts +1 -1
  204. package/src/models/operations/createdataset.ts +1 -1
  205. package/src/models/operations/createdatasetitem.ts +4 -4
  206. package/src/models/operations/createdatasource.ts +1 -1
  207. package/src/models/operations/createeval.ts +62 -57
  208. package/src/models/operations/createknowledge.ts +19 -33
  209. package/src/models/operations/createtool.ts +26 -26
  210. package/src/models/operations/getalltools.ts +26 -26
  211. package/src/models/operations/getevals.ts +33 -30
  212. package/src/models/operations/getv2humanevalsets.ts +2 -2
  213. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  214. package/src/models/operations/guardrailrulelist.ts +44 -0
  215. package/src/models/operations/guardrailrulelistusedguardrails.ts +48 -0
  216. package/src/models/operations/index.ts +2 -0
  217. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  218. package/src/models/operations/listdatasets.ts +1 -1
  219. package/src/models/operations/listdatasources.ts +1 -1
  220. package/src/models/operations/listknowledgebases.ts +3 -6
  221. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  222. package/src/models/operations/postv2feedbackevaluation.ts +43 -31
  223. package/src/models/operations/postv2humanevalsets.ts +2 -2
  224. package/src/models/operations/retrievedatapoint.ts +4 -4
  225. package/src/models/operations/retrievedataset.ts +1 -1
  226. package/src/models/operations/retrievedatasource.ts +1 -1
  227. package/src/models/operations/retrievetool.ts +26 -26
  228. package/src/models/operations/routingrulelist.ts +18 -0
  229. package/src/models/operations/routingrulelistusedmodels.ts +37 -0
  230. package/src/models/operations/runagent.ts +1 -1
  231. package/src/models/operations/streamrunagent.ts +1 -1
  232. package/src/models/operations/updatedatapoint.ts +4 -4
  233. package/src/models/operations/updatedataset.ts +1 -1
  234. package/src/models/operations/updatedatasource.ts +1 -1
  235. package/src/models/operations/updateeval.ts +33 -30
  236. package/src/models/operations/updatetool.ts +27 -27
  237. package/src/sdk/agents.ts +3 -3
  238. package/src/sdk/evals.ts +3 -3
  239. package/src/sdk/feedback.ts +36 -6
  240. package/src/sdk/guardrailrules.ts +16 -0
  241. package/src/sdk/humanreviewsets.ts +15 -15
  242. package/src/sdk/routingrules.ts +16 -0
  243. package/src/sdk/sdk.ts +1 -27
  244. package/src/sdk/tools.ts +6 -6
  245. package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +0 -1
  246. package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +0 -1
  247. package/funcs/evalsGetV2EvaluatorsIdVersions.d.ts.map +0 -1
  248. package/funcs/evalsGetV2EvaluatorsIdVersions.js.map +0 -1
  249. package/funcs/feedbackPostV2Feedback.d.ts.map +0 -1
  250. package/funcs/feedbackPostV2Feedback.js.map +0 -1
  251. package/funcs/feedbackPostV2FeedbackRemove.d.ts.map +0 -1
  252. package/funcs/feedbackPostV2FeedbackRemove.js.map +0 -1
  253. package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.d.ts.map +0 -1
  254. package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.js.map +0 -1
  255. package/funcs/humanReviewSetsGetV2HumanEvalSets.d.ts.map +0 -1
  256. package/funcs/humanReviewSetsGetV2HumanEvalSets.js.map +0 -1
  257. package/funcs/humanReviewSetsGetV2HumanEvalSetsId.d.ts.map +0 -1
  258. package/funcs/humanReviewSetsGetV2HumanEvalSetsId.js.map +0 -1
  259. package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.d.ts.map +0 -1
  260. package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.js.map +0 -1
  261. package/funcs/humanReviewSetsPostV2HumanEvalSets.d.ts.map +0 -1
  262. package/funcs/humanReviewSetsPostV2HumanEvalSets.js.map +0 -1
  263. package/funcs/postV2FeedbackEvaluationRemove.d.ts.map +0 -1
  264. package/funcs/postV2FeedbackEvaluationRemove.js.map +0 -1
  265. package/funcs/toolsGetV2ToolsToolIdVersions.d.ts.map +0 -1
  266. package/funcs/toolsGetV2ToolsToolIdVersions.js.map +0 -1
  267. package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.d.ts.map +0 -1
  268. package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.js.map +0 -1
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
2358
2358
  .default("orq"),
2359
2359
  reviewed_by_id: z.string(),
2360
2360
  reviewed_at: z.string().datetime({ offset: true }).default(
2361
- "2026-06-05T06:12:43.253Z",
2361
+ "2026-06-08T13:07:39.464Z",
2362
2362
  ).transform(v => new Date(v)),
2363
2363
  type: z.literal("string_array"),
2364
2364
  values: z.array(z.string()),
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
2404
2404
  source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
2405
2405
  reviewed_by_id: z.string(),
2406
2406
  reviewed_at: z.string().datetime({ offset: true }).default(
2407
- "2026-06-05T06:12:43.253Z",
2407
+ "2026-06-08T13:07:39.463Z",
2408
2408
  ).transform(v => new Date(v)),
2409
2409
  type: z.literal("number"),
2410
2410
  value: z.number(),
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
2449
2449
  source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
2450
2450
  reviewed_by_id: z.string(),
2451
2451
  reviewed_at: z.string().datetime({ offset: true }).default(
2452
- "2026-06-05T06:12:43.252Z",
2452
+ "2026-06-08T13:07:39.462Z",
2453
2453
  ).transform(v => new Date(v)),
2454
2454
  type: z.literal("string"),
2455
2455
  value: z.string(),
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
2530
2530
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2531
2531
  .optional(),
2532
2532
  updated: z.string().datetime({ offset: true }).default(
2533
- "2026-06-05T06:12:26.568Z",
2533
+ "2026-06-08T13:07:17.066Z",
2534
2534
  ).transform(v => new Date(v)),
2535
2535
  }).transform((v) => {
2536
2536
  return remap$(v, {
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
182
182
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
183
183
  .optional(),
184
184
  updated: z.string().datetime({ offset: true }).default(
185
- "2026-06-05T06:12:26.568Z",
185
+ "2026-06-08T13:07:17.066Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
152
152
  z.ZodTypeDef,
153
153
  unknown
154
154
  > = z.object({
155
- _id: z.string().default("01KTB6K60N4R7W3MKW1TH8MXAA"),
155
+ _id: z.string().default("01KTKNH3QDABEVYHCA34ASKR3A"),
156
156
  display_name: z.string(),
157
157
  description: z.nullable(z.string()).optional(),
158
158
  status: UpdateDatasourceStatus$inboundSchema,
@@ -867,10 +867,13 @@ export type UpdateEvalLlm2 = {
867
867
  | null
868
868
  | undefined;
869
869
  type: UpdateEvalLLMEvalsType;
870
- repetitions?: number | undefined;
870
+ repetitions?: number | null | undefined;
871
871
  prompt: string;
872
- categories?: Array<string> | undefined;
873
- categoricalLabels?: Array<UpdateEvalLLMEvalsCategoricalLabels> | undefined;
872
+ categories?: Array<string> | null | undefined;
873
+ categoricalLabels?:
874
+ | Array<UpdateEvalLLMEvalsCategoricalLabels>
875
+ | null
876
+ | undefined;
874
877
  datasetId?: string | undefined;
875
878
  key: string;
876
879
  mode: "jury";
@@ -945,10 +948,10 @@ export type UpdateEvalLlm1 = {
945
948
  | null
946
949
  | undefined;
947
950
  type: UpdateEvalLLMType;
948
- repetitions?: number | undefined;
951
+ repetitions?: number | null | undefined;
949
952
  prompt: string;
950
- categories?: Array<string> | undefined;
951
- categoricalLabels?: Array<UpdateEvalLLMCategoricalLabels> | undefined;
953
+ categories?: Array<string> | null | undefined;
954
+ categoricalLabels?: Array<UpdateEvalLLMCategoricalLabels> | null | undefined;
952
955
  datasetId?: string | undefined;
953
956
  key: string;
954
957
  mode: "single";
@@ -1550,8 +1553,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
1550
1553
  > = z.object({
1551
1554
  _id: z.string(),
1552
1555
  description: z.string(),
1553
- created: z.string().default("2026-06-05T06:12:28.028Z"),
1554
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
1556
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
1557
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
1555
1558
  updated_by_id: z.nullable(z.string()).optional(),
1556
1559
  guardrail_config: z.nullable(
1557
1560
  z.union([
@@ -1746,8 +1749,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
1746
1749
  > = z.object({
1747
1750
  _id: z.string(),
1748
1751
  description: z.string(),
1749
- created: z.string().default("2026-06-05T06:12:28.028Z"),
1750
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
1752
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
1753
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
1751
1754
  updated_by_id: z.nullable(z.string()).optional(),
1752
1755
  guardrail_config: z.nullable(
1753
1756
  z.union([
@@ -2605,8 +2608,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
2605
2608
  > = z.object({
2606
2609
  _id: z.string(),
2607
2610
  description: z.string(),
2608
- created: z.string().default("2026-06-05T06:12:28.028Z"),
2609
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
2611
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
2612
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
2610
2613
  updated_by_id: z.nullable(z.string()).optional(),
2611
2614
  guardrail_config: z.nullable(
2612
2615
  z.union([
@@ -2824,8 +2827,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
2824
2827
  > = z.object({
2825
2828
  _id: z.string(),
2826
2829
  description: z.string(),
2827
- created: z.string().default("2026-06-05T06:12:28.028Z"),
2828
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
2830
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
2831
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
2829
2832
  updated_by_id: z.nullable(z.string()).optional(),
2830
2833
  guardrail_config: z.nullable(
2831
2834
  z.union([
@@ -2993,8 +2996,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
2993
2996
  > = z.object({
2994
2997
  _id: z.string(),
2995
2998
  description: z.string(),
2996
- created: z.string().default("2026-06-05T06:12:28.028Z"),
2997
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
2999
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
3000
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
2998
3001
  updated_by_id: z.nullable(z.string()).optional(),
2999
3002
  guardrail_config: z.nullable(
3000
3003
  z.union([
@@ -3147,8 +3150,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
3147
3150
  > = z.object({
3148
3151
  _id: z.string(),
3149
3152
  description: z.string(),
3150
- created: z.string().default("2026-06-05T06:12:28.028Z"),
3151
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
3153
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
3154
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
3152
3155
  updated_by_id: z.nullable(z.string()).optional(),
3153
3156
  guardrail_config: z.nullable(
3154
3157
  z.union([
@@ -3510,8 +3513,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
3510
3513
  > = z.object({
3511
3514
  _id: z.string(),
3512
3515
  description: z.string(),
3513
- created: z.string().default("2026-06-05T06:12:28.028Z"),
3514
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
3516
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
3517
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
3515
3518
  updated_by_id: z.nullable(z.string()).optional(),
3516
3519
  guardrail_config: z.nullable(
3517
3520
  z.union([
@@ -3527,11 +3530,11 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
3527
3530
  ]),
3528
3531
  ).optional(),
3529
3532
  type: UpdateEvalLLMEvalsType$inboundSchema,
3530
- repetitions: z.number().int().optional(),
3533
+ repetitions: z.nullable(z.number().int()).optional(),
3531
3534
  prompt: z.string(),
3532
- categories: z.array(z.string()).optional(),
3533
- categorical_labels: z.array(
3534
- z.lazy(() => UpdateEvalLLMEvalsCategoricalLabels$inboundSchema),
3535
+ categories: z.nullable(z.array(z.string())).optional(),
3536
+ categorical_labels: z.nullable(
3537
+ z.array(z.lazy(() => UpdateEvalLLMEvalsCategoricalLabels$inboundSchema)),
3535
3538
  ).optional(),
3536
3539
  dataset_id: z.string().optional(),
3537
3540
  key: z.string(),
@@ -3723,8 +3726,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
3723
3726
  > = z.object({
3724
3727
  _id: z.string(),
3725
3728
  description: z.string(),
3726
- created: z.string().default("2026-06-05T06:12:28.028Z"),
3727
- updated: z.string().default("2026-06-05T06:12:28.028Z"),
3729
+ created: z.string().default("2026-06-08T13:07:18.574Z"),
3730
+ updated: z.string().default("2026-06-08T13:07:18.574Z"),
3728
3731
  updated_by_id: z.nullable(z.string()).optional(),
3729
3732
  guardrail_config: z.nullable(
3730
3733
  z.union([
@@ -3740,11 +3743,11 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
3740
3743
  ]),
3741
3744
  ).optional(),
3742
3745
  type: UpdateEvalLLMType$inboundSchema,
3743
- repetitions: z.number().int().optional(),
3746
+ repetitions: z.nullable(z.number().int()).optional(),
3744
3747
  prompt: z.string(),
3745
- categories: z.array(z.string()).optional(),
3746
- categorical_labels: z.array(
3747
- z.lazy(() => UpdateEvalLLMCategoricalLabels$inboundSchema),
3748
+ categories: z.nullable(z.array(z.string())).optional(),
3749
+ categorical_labels: z.nullable(
3750
+ z.array(z.lazy(() => UpdateEvalLLMCategoricalLabels$inboundSchema)),
3748
3751
  ).optional(),
3749
3752
  dataset_id: z.string().optional(),
3750
3753
  key: z.string(),
@@ -736,11 +736,11 @@ export type UpdateToolResponseBodyCodeExecutionTool = {
736
736
  /**
737
737
  * The id of the user that created the tool
738
738
  */
739
- createdById?: string | undefined;
739
+ createdById?: string | null | undefined;
740
740
  /**
741
741
  * The id of the user that last updated the tool
742
742
  */
743
- updatedById?: string | undefined;
743
+ updatedById?: string | null | undefined;
744
744
  projectId: string;
745
745
  workspaceId: string;
746
746
  created: string;
@@ -860,11 +860,11 @@ export type UpdateToolResponseBodyMCPTool = {
860
860
  /**
861
861
  * The id of the user that created the tool
862
862
  */
863
- createdById?: string | undefined;
863
+ createdById?: string | null | undefined;
864
864
  /**
865
865
  * The id of the user that last updated the tool
866
866
  */
867
- updatedById?: string | undefined;
867
+ updatedById?: string | null | undefined;
868
868
  projectId: string;
869
869
  workspaceId: string;
870
870
  created: string;
@@ -1019,11 +1019,11 @@ export type UpdateToolResponseBodyHTTPTool = {
1019
1019
  /**
1020
1020
  * The id of the user that created the tool
1021
1021
  */
1022
- createdById?: string | undefined;
1022
+ createdById?: string | null | undefined;
1023
1023
  /**
1024
1024
  * The id of the user that last updated the tool
1025
1025
  */
1026
- updatedById?: string | undefined;
1026
+ updatedById?: string | null | undefined;
1027
1027
  projectId: string;
1028
1028
  workspaceId: string;
1029
1029
  created: string;
@@ -1120,11 +1120,11 @@ export type UpdateToolResponseBodyJSONSchemaTool = {
1120
1120
  /**
1121
1121
  * The id of the user that created the tool
1122
1122
  */
1123
- createdById?: string | undefined;
1123
+ createdById?: string | null | undefined;
1124
1124
  /**
1125
1125
  * The id of the user that last updated the tool
1126
1126
  */
1127
- updatedById?: string | undefined;
1127
+ updatedById?: string | null | undefined;
1128
1128
  projectId: string;
1129
1129
  workspaceId: string;
1130
1130
  created: string;
@@ -1233,11 +1233,11 @@ export type UpdateToolResponseBodyFunctionTool = {
1233
1233
  /**
1234
1234
  * The id of the user that created the tool
1235
1235
  */
1236
- createdById?: string | undefined;
1236
+ createdById?: string | null | undefined;
1237
1237
  /**
1238
1238
  * The id of the user that last updated the tool
1239
1239
  */
1240
- updatedById?: string | undefined;
1240
+ updatedById?: string | null | undefined;
1241
1241
  projectId: string;
1242
1242
  workspaceId: string;
1243
1243
  created: string;
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
1472
1472
  z.ZodTypeDef,
1473
1473
  RequestBodyTools
1474
1474
  > = z.object({
1475
- id: z.string().default("01KTB6K5WQD68A2C8J5DCER5JX"),
1475
+ id: z.string().default("01KTKNH3KFKX7AK3WV20RRP38T"),
1476
1476
  name: z.string(),
1477
1477
  description: z.string().optional(),
1478
1478
  schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
@@ -2193,13 +2193,13 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
2193
2193
  z.ZodTypeDef,
2194
2194
  unknown
2195
2195
  > = z.object({
2196
- _id: z.string().default("tool_01KTB6K5WC3Q99A2633CMH2CA4"),
2196
+ _id: z.string().default("tool_01KTKNH3K8JFHFTR5BCNDZ0VGJ"),
2197
2197
  path: z.string(),
2198
2198
  key: z.string(),
2199
2199
  display_name: z.string().optional(),
2200
2200
  description: z.string(),
2201
- created_by_id: z.string().optional(),
2202
- updated_by_id: z.string().optional(),
2201
+ created_by_id: z.nullable(z.string()).optional(),
2202
+ updated_by_id: z.nullable(z.string()).optional(),
2203
2203
  project_id: z.string(),
2204
2204
  workspace_id: z.string(),
2205
2205
  created: z.string(),
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
2296
2296
  z.ZodTypeDef,
2297
2297
  unknown
2298
2298
  > = z.object({
2299
- id: z.string().default("01KTB6K5WB2CMBWCSAVRD6PRWA"),
2299
+ id: z.string().default("01KTKNH3K7NCSFM9850QJ3ANWP"),
2300
2300
  name: z.string(),
2301
2301
  description: z.string().optional(),
2302
2302
  schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
@@ -2354,13 +2354,13 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
2354
2354
  z.ZodTypeDef,
2355
2355
  unknown
2356
2356
  > = z.object({
2357
- _id: z.string().default("tool_01KTB6K5W97K4FEVBJHNCGKPPT"),
2357
+ _id: z.string().default("tool_01KTKNH3K61609S0WBV1PP0Q30"),
2358
2358
  path: z.string(),
2359
2359
  key: z.string(),
2360
2360
  display_name: z.string().optional(),
2361
2361
  description: z.string(),
2362
- created_by_id: z.string().optional(),
2363
- updated_by_id: z.string().optional(),
2362
+ created_by_id: z.nullable(z.string()).optional(),
2363
+ updated_by_id: z.nullable(z.string()).optional(),
2364
2364
  project_id: z.string(),
2365
2365
  workspace_id: z.string(),
2366
2366
  created: z.string(),
@@ -2543,13 +2543,13 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
2543
2543
  z.ZodTypeDef,
2544
2544
  unknown
2545
2545
  > = z.object({
2546
- _id: z.string().default("tool_01KTB6K5W73Q0JZFPEBGVTCSCN"),
2546
+ _id: z.string().default("tool_01KTKNH3K3ZMVWEFC2FAA2678F"),
2547
2547
  path: z.string(),
2548
2548
  key: z.string(),
2549
2549
  display_name: z.string().optional(),
2550
2550
  description: z.string(),
2551
- created_by_id: z.string().optional(),
2552
- updated_by_id: z.string().optional(),
2551
+ created_by_id: z.nullable(z.string()).optional(),
2552
+ updated_by_id: z.nullable(z.string()).optional(),
2553
2553
  project_id: z.string(),
2554
2554
  workspace_id: z.string(),
2555
2555
  created: z.string(),
@@ -2638,13 +2638,13 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2638
2638
  z.ZodTypeDef,
2639
2639
  unknown
2640
2640
  > = z.object({
2641
- _id: z.string().default("tool_01KTB6K5W5PXA26S32K325Z0C6"),
2641
+ _id: z.string().default("tool_01KTKNH3K1R2G6CZCRRPSWGNBD"),
2642
2642
  path: z.string(),
2643
2643
  key: z.string(),
2644
2644
  display_name: z.string().optional(),
2645
2645
  description: z.string(),
2646
- created_by_id: z.string().optional(),
2647
- updated_by_id: z.string().optional(),
2646
+ created_by_id: z.nullable(z.string()).optional(),
2647
+ updated_by_id: z.nullable(z.string()).optional(),
2648
2648
  project_id: z.string(),
2649
2649
  workspace_id: z.string(),
2650
2650
  created: z.string(),
@@ -2741,13 +2741,13 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2741
2741
  z.ZodTypeDef,
2742
2742
  unknown
2743
2743
  > = z.object({
2744
- _id: z.string().default("tool_01KTB6K5W4F1R4G1BKXMCE0CM7"),
2744
+ _id: z.string().default("tool_01KTKNH3K0R0TY6AW2FBX8KMAD"),
2745
2745
  path: z.string(),
2746
2746
  key: z.string(),
2747
2747
  display_name: z.string().optional(),
2748
2748
  description: z.string(),
2749
- created_by_id: z.string().optional(),
2750
- updated_by_id: z.string().optional(),
2749
+ created_by_id: z.nullable(z.string()).optional(),
2750
+ updated_by_id: z.nullable(z.string()).optional(),
2751
2751
  project_id: z.string(),
2752
2752
  workspace_id: z.string(),
2753
2753
  created: z.string(),
package/src/sdk/agents.ts CHANGED
@@ -6,7 +6,7 @@ import { agentsCreate } from "../funcs/agentsCreate.js";
6
6
  import { agentsDelete } from "../funcs/agentsDelete.js";
7
7
  import { agentsInvoke } from "../funcs/agentsInvoke.js";
8
8
  import { agentsList } from "../funcs/agentsList.js";
9
- import { agentsPostV2AgentsKeyCardRefresh } from "../funcs/agentsPostV2AgentsKeyCardRefresh.js";
9
+ import { agentsRefreshKeyCard } from "../funcs/agentsRefreshKeyCard.js";
10
10
  import { agentsRetrieve } from "../funcs/agentsRetrieve.js";
11
11
  import { agentsRun } from "../funcs/agentsRun.js";
12
12
  import { agentsStream } from "../funcs/agentsStream.js";
@@ -203,11 +203,11 @@ export class Agents extends ClientSDK {
203
203
  * @remarks
204
204
  * Fetches the latest agent card from the external A2A agent and updates the cached card in the database. Similar to MCP server refresh functionality.
205
205
  */
206
- async postV2AgentsKeyCardRefresh(
206
+ async refreshKeyCard(
207
207
  request: operations.PostV2AgentsKeyCardRefreshRequest,
208
208
  options?: RequestOptions,
209
209
  ): Promise<operations.PostV2AgentsKeyCardRefreshResponseBody> {
210
- return unwrapAsync(agentsPostV2AgentsKeyCardRefresh(
210
+ return unwrapAsync(agentsRefreshKeyCard(
211
211
  this,
212
212
  request,
213
213
  options,
package/src/sdk/evals.ts CHANGED
@@ -5,8 +5,8 @@
5
5
  import { evalsAll } from "../funcs/evalsAll.js";
6
6
  import { evalsCreate } from "../funcs/evalsCreate.js";
7
7
  import { evalsDelete } from "../funcs/evalsDelete.js";
8
- import { evalsGetV2EvaluatorsIdVersions } from "../funcs/evalsGetV2EvaluatorsIdVersions.js";
9
8
  import { evalsInvoke } from "../funcs/evalsInvoke.js";
9
+ import { evalsListVersions } from "../funcs/evalsListVersions.js";
10
10
  import { evalsUpdate } from "../funcs/evalsUpdate.js";
11
11
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
12
12
  import * as operations from "../models/operations/index.js";
@@ -89,11 +89,11 @@ export class Evals extends ClientSDK {
89
89
  * @remarks
90
90
  * Returns version history for a specific evaluator
91
91
  */
92
- async getV2EvaluatorsIdVersions(
92
+ async listVersions(
93
93
  request: operations.GetV2EvaluatorsIdVersionsRequest,
94
94
  options?: RequestOptions,
95
95
  ): Promise<operations.GetV2EvaluatorsIdVersionsResponseBody> {
96
- return unwrapAsync(evalsGetV2EvaluatorsIdVersions(
96
+ return unwrapAsync(evalsListVersions(
97
97
  this,
98
98
  request,
99
99
  options,
@@ -2,29 +2,59 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { feedbackPostV2Feedback } from "../funcs/feedbackPostV2Feedback.js";
6
- import { feedbackPostV2FeedbackRemove } from "../funcs/feedbackPostV2FeedbackRemove.js";
5
+ import { feedbackCreate } from "../funcs/feedbackCreate.js";
6
+ import { feedbackCreateEvaluation } from "../funcs/feedbackCreateEvaluation.js";
7
+ import { feedbackRemove } from "../funcs/feedbackRemove.js";
8
+ import { feedbackRemoveEvaluation } from "../funcs/feedbackRemoveEvaluation.js";
7
9
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
10
  import * as operations from "../models/operations/index.js";
9
11
  import { unwrapAsync } from "../types/fp.js";
10
12
 
11
13
  export class Feedback extends ClientSDK {
12
- async postV2FeedbackRemove(
14
+ async removeEvaluation(
15
+ request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined,
16
+ options?: RequestOptions,
17
+ ): Promise<void> {
18
+ return unwrapAsync(feedbackRemoveEvaluation(
19
+ this,
20
+ request,
21
+ options,
22
+ ));
23
+ }
24
+
25
+ async createEvaluation(
26
+ request?: operations.PostV2FeedbackEvaluationRequestBody | undefined,
27
+ options?: RequestOptions,
28
+ ): Promise<void> {
29
+ return unwrapAsync(feedbackCreateEvaluation(
30
+ this,
31
+ request,
32
+ options,
33
+ ));
34
+ }
35
+
36
+ async remove(
13
37
  request?: operations.PostV2FeedbackRemoveRequestBody | undefined,
14
38
  options?: RequestOptions,
15
39
  ): Promise<operations.PostV2FeedbackRemoveResponseBody> {
16
- return unwrapAsync(feedbackPostV2FeedbackRemove(
40
+ return unwrapAsync(feedbackRemove(
17
41
  this,
18
42
  request,
19
43
  options,
20
44
  ));
21
45
  }
22
46
 
23
- async postV2Feedback(
47
+ /**
48
+ * Create a new project
49
+ *
50
+ * @remarks
51
+ * Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access.
52
+ */
53
+ async create(
24
54
  request?: operations.PostV2FeedbackRequestBody | undefined,
25
55
  options?: RequestOptions,
26
56
  ): Promise<operations.PostV2FeedbackResponseBody> {
27
- return unwrapAsync(feedbackPostV2Feedback(
57
+ return unwrapAsync(feedbackCreate(
28
58
  this,
29
59
  request,
30
60
  options,
@@ -5,6 +5,7 @@
5
5
  import { guardrailRulesCreate } from "../funcs/guardrailRulesCreate.js";
6
6
  import { guardrailRulesDelete } from "../funcs/guardrailRulesDelete.js";
7
7
  import { guardrailRulesList } from "../funcs/guardrailRulesList.js";
8
+ import { guardrailRulesListUsedGuardrails } from "../funcs/guardrailRulesListUsedGuardrails.js";
8
9
  import { guardrailRulesRetrieve } from "../funcs/guardrailRulesRetrieve.js";
9
10
  import { guardrailRulesUpdate } from "../funcs/guardrailRulesUpdate.js";
10
11
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
@@ -46,6 +47,21 @@ export class GuardrailRules extends ClientSDK {
46
47
  ));
47
48
  }
48
49
 
50
+ /**
51
+ * List used guardrails
52
+ *
53
+ * @remarks
54
+ * Returns the distinct guardrail ids referenced across all guardrail rules in scope.
55
+ */
56
+ async listUsedGuardrails(
57
+ options?: RequestOptions,
58
+ ): Promise<operations.GuardrailRuleListUsedGuardrailsResponseBody> {
59
+ return unwrapAsync(guardrailRulesListUsedGuardrails(
60
+ this,
61
+ options,
62
+ ));
63
+ }
64
+
49
65
  /**
50
66
  * Delete guardrail rule
51
67
  *
@@ -2,11 +2,11 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { humanReviewSetsDeleteV2HumanEvalSetsId } from "../funcs/humanReviewSetsDeleteV2HumanEvalSetsId.js";
6
- import { humanReviewSetsGetV2HumanEvalSets } from "../funcs/humanReviewSetsGetV2HumanEvalSets.js";
7
- import { humanReviewSetsGetV2HumanEvalSetsId } from "../funcs/humanReviewSetsGetV2HumanEvalSetsId.js";
8
- import { humanReviewSetsPatchV2HumanEvalSetsId } from "../funcs/humanReviewSetsPatchV2HumanEvalSetsId.js";
9
- import { humanReviewSetsPostV2HumanEvalSets } from "../funcs/humanReviewSetsPostV2HumanEvalSets.js";
5
+ import { humanReviewSetsCreate } from "../funcs/humanReviewSetsCreate.js";
6
+ import { humanReviewSetsDelete } from "../funcs/humanReviewSetsDelete.js";
7
+ import { humanReviewSetsGet } from "../funcs/humanReviewSetsGet.js";
8
+ import { humanReviewSetsList } from "../funcs/humanReviewSetsList.js";
9
+ import { humanReviewSetsUpdate } from "../funcs/humanReviewSetsUpdate.js";
10
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
11
  import * as operations from "../models/operations/index.js";
12
12
  import { unwrapAsync } from "../types/fp.js";
@@ -15,11 +15,11 @@ export class HumanReviewSets extends ClientSDK {
15
15
  /**
16
16
  * Get all human review sets
17
17
  */
18
- async getV2HumanEvalSets(
18
+ async list(
19
19
  request?: operations.GetV2HumanEvalSetsRequest | undefined,
20
20
  options?: RequestOptions,
21
21
  ): Promise<Array<operations.GetV2HumanEvalSetsResponseBody>> {
22
- return unwrapAsync(humanReviewSetsGetV2HumanEvalSets(
22
+ return unwrapAsync(humanReviewSetsList(
23
23
  this,
24
24
  request,
25
25
  options,
@@ -29,11 +29,11 @@ export class HumanReviewSets extends ClientSDK {
29
29
  /**
30
30
  * Create a human review set
31
31
  */
32
- async postV2HumanEvalSets(
32
+ async create(
33
33
  request?: operations.PostV2HumanEvalSetsRequestBody | undefined,
34
34
  options?: RequestOptions,
35
35
  ): Promise<operations.PostV2HumanEvalSetsResponseBody> {
36
- return unwrapAsync(humanReviewSetsPostV2HumanEvalSets(
36
+ return unwrapAsync(humanReviewSetsCreate(
37
37
  this,
38
38
  request,
39
39
  options,
@@ -43,11 +43,11 @@ export class HumanReviewSets extends ClientSDK {
43
43
  /**
44
44
  * Get a human review set by ID
45
45
  */
46
- async getV2HumanEvalSetsId(
46
+ async get(
47
47
  request: operations.GetV2HumanEvalSetsIdRequest,
48
48
  options?: RequestOptions,
49
49
  ): Promise<operations.GetV2HumanEvalSetsIdResponseBody> {
50
- return unwrapAsync(humanReviewSetsGetV2HumanEvalSetsId(
50
+ return unwrapAsync(humanReviewSetsGet(
51
51
  this,
52
52
  request,
53
53
  options,
@@ -57,11 +57,11 @@ export class HumanReviewSets extends ClientSDK {
57
57
  /**
58
58
  * Update a human review set
59
59
  */
60
- async patchV2HumanEvalSetsId(
60
+ async update(
61
61
  request: operations.PatchV2HumanEvalSetsIdRequest,
62
62
  options?: RequestOptions,
63
63
  ): Promise<operations.PatchV2HumanEvalSetsIdResponseBody> {
64
- return unwrapAsync(humanReviewSetsPatchV2HumanEvalSetsId(
64
+ return unwrapAsync(humanReviewSetsUpdate(
65
65
  this,
66
66
  request,
67
67
  options,
@@ -71,11 +71,11 @@ export class HumanReviewSets extends ClientSDK {
71
71
  /**
72
72
  * Delete a human review set
73
73
  */
74
- async deleteV2HumanEvalSetsId(
74
+ async delete(
75
75
  request: operations.DeleteV2HumanEvalSetsIdRequest,
76
76
  options?: RequestOptions,
77
77
  ): Promise<void> {
78
- return unwrapAsync(humanReviewSetsDeleteV2HumanEvalSetsId(
78
+ return unwrapAsync(humanReviewSetsDelete(
79
79
  this,
80
80
  request,
81
81
  options,
@@ -5,6 +5,7 @@
5
5
  import { routingRulesCreate } from "../funcs/routingRulesCreate.js";
6
6
  import { routingRulesDelete } from "../funcs/routingRulesDelete.js";
7
7
  import { routingRulesList } from "../funcs/routingRulesList.js";
8
+ import { routingRulesListUsedModels } from "../funcs/routingRulesListUsedModels.js";
8
9
  import { routingRulesRetrieve } from "../funcs/routingRulesRetrieve.js";
9
10
  import { routingRulesUpdate } from "../funcs/routingRulesUpdate.js";
10
11
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
@@ -46,6 +47,21 @@ export class RoutingRules extends ClientSDK {
46
47
  ));
47
48
  }
48
49
 
50
+ /**
51
+ * List used models
52
+ *
53
+ * @remarks
54
+ * Returns the distinct model refs referenced across all routing rules in scope.
55
+ */
56
+ async listUsedModels(
57
+ options?: RequestOptions,
58
+ ): Promise<operations.RoutingRuleListUsedModelsResponseBody> {
59
+ return unwrapAsync(routingRulesListUsedModels(
60
+ this,
61
+ options,
62
+ ));
63
+ }
64
+
49
65
  /**
50
66
  * Delete routing rule
51
67
  *