@orq-ai/node 4.10.8 → 4.10.11

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 (138) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createdataset.js +1 -1
  7. package/models/operations/createdatasetitem.js +4 -4
  8. package/models/operations/createdatasource.js +1 -1
  9. package/models/operations/createeval.d.ts +18 -18
  10. package/models/operations/createeval.d.ts.map +1 -1
  11. package/models/operations/createeval.js +28 -28
  12. package/models/operations/createeval.js.map +1 -1
  13. package/models/operations/createtool.js +6 -6
  14. package/models/operations/getalltools.js +6 -6
  15. package/models/operations/getevals.d.ts +6 -6
  16. package/models/operations/getevals.d.ts.map +1 -1
  17. package/models/operations/getevals.js +22 -22
  18. package/models/operations/getevals.js.map +1 -1
  19. package/models/operations/getv2humanevalsets.js +2 -2
  20. package/models/operations/getv2humanevalsetsid.js +2 -2
  21. package/models/operations/listdatasetdatapoints.js +4 -4
  22. package/models/operations/listdatasets.js +1 -1
  23. package/models/operations/listdatasources.js +1 -1
  24. package/models/operations/listknowledgebases.d.ts +2 -5
  25. package/models/operations/listknowledgebases.d.ts.map +1 -1
  26. package/models/operations/listknowledgebases.js +1 -1
  27. package/models/operations/listknowledgebases.js.map +1 -1
  28. package/models/operations/patchv2humanevalsetsid.js +2 -2
  29. package/models/operations/postv2feedbackevaluation.js +3 -3
  30. package/models/operations/postv2humanevalsets.js +2 -2
  31. package/models/operations/retrievedatapoint.js +4 -4
  32. package/models/operations/retrievedataset.js +1 -1
  33. package/models/operations/retrievedatasource.js +1 -1
  34. package/models/operations/retrievetool.js +6 -6
  35. package/models/operations/runagent.js +1 -1
  36. package/models/operations/streamrunagent.js +1 -1
  37. package/models/operations/updatedatapoint.js +4 -4
  38. package/models/operations/updatedataset.js +1 -1
  39. package/models/operations/updatedatasource.js +1 -1
  40. package/models/operations/updateeval.d.ts +6 -6
  41. package/models/operations/updateeval.d.ts.map +1 -1
  42. package/models/operations/updateeval.js +22 -22
  43. package/models/operations/updateeval.js.map +1 -1
  44. package/models/operations/updatetool.js +7 -7
  45. package/package.json +7 -7
  46. package/packages/orq-rc/examples/{postV2FeedbackEvaluationRemove.example.ts → evalsAll.example.ts} +4 -2
  47. package/packages/orq-rc/src/funcs/{agentsPostV2AgentsKeyCardRefresh.ts → agentsRefreshKeyCard.ts} +1 -1
  48. package/packages/orq-rc/src/funcs/{evalsGetV2EvaluatorsIdVersions.ts → evalsListVersions.ts} +1 -1
  49. package/packages/orq-rc/src/funcs/{feedbackPostV2Feedback.ts → feedbackCreate.ts} +1 -1
  50. package/packages/orq-rc/src/funcs/{postV2FeedbackEvaluation.ts → feedbackCreateEvaluation.ts} +1 -1
  51. package/packages/orq-rc/src/funcs/{feedbackPostV2FeedbackRemove.ts → feedbackRemove.ts} +1 -1
  52. package/packages/orq-rc/src/funcs/{postV2FeedbackEvaluationRemove.ts → feedbackRemoveEvaluation.ts} +1 -1
  53. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +4 -0
  54. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +147 -0
  55. package/packages/orq-rc/src/funcs/{humanReviewSetsPostV2HumanEvalSets.ts → humanReviewSetsCreate.ts} +1 -1
  56. package/packages/orq-rc/src/funcs/{humanReviewSetsDeleteV2HumanEvalSetsId.ts → humanReviewSetsDelete.ts} +1 -1
  57. package/packages/orq-rc/src/funcs/{humanReviewSetsGetV2HumanEvalSetsId.ts → humanReviewSetsGet.ts} +1 -1
  58. package/packages/orq-rc/src/funcs/{humanReviewSetsGetV2HumanEvalSets.ts → humanReviewSetsList.ts} +1 -1
  59. package/packages/orq-rc/src/funcs/{humanReviewSetsPatchV2HumanEvalSetsId.ts → humanReviewSetsUpdate.ts} +1 -1
  60. package/packages/orq-rc/src/funcs/routingRulesList.ts +3 -0
  61. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +144 -0
  62. package/packages/orq-rc/src/funcs/{toolsGetV2ToolsToolIdVersionsVersionId.ts → toolsGetVersion.ts} +1 -1
  63. package/packages/orq-rc/src/funcs/{toolsGetV2ToolsToolIdVersions.ts → toolsListVersions.ts} +1 -1
  64. package/packages/orq-rc/src/lib/config.ts +2 -2
  65. package/packages/orq-rc/src/models/components/createfilerequest.ts +1 -1
  66. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  67. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  68. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  69. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  70. package/packages/orq-rc/src/models/operations/createeval.ts +23 -25
  71. package/packages/orq-rc/src/models/operations/createknowledge.ts +19 -33
  72. package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
  73. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  74. package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
  75. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  76. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +44 -0
  78. package/packages/orq-rc/src/models/operations/guardrailrulelistusedguardrails.ts +48 -0
  79. package/packages/orq-rc/src/models/operations/index.ts +2 -0
  80. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
  81. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  82. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  83. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +43 -31
  85. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  87. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  88. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  89. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
  90. package/packages/orq-rc/src/models/operations/routingrulelist.ts +18 -0
  91. package/packages/orq-rc/src/models/operations/routingrulelistusedmodels.ts +37 -0
  92. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  93. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  94. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  95. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  96. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  97. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  98. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
  99. package/packages/orq-rc/src/sdk/agents.ts +3 -3
  100. package/packages/orq-rc/src/sdk/evals.ts +3 -3
  101. package/packages/orq-rc/src/sdk/feedback.ts +36 -6
  102. package/packages/orq-rc/src/sdk/guardrailrules.ts +16 -0
  103. package/packages/orq-rc/src/sdk/humanreviewsets.ts +15 -15
  104. package/packages/orq-rc/src/sdk/routingrules.ts +16 -0
  105. package/packages/orq-rc/src/sdk/sdk.ts +1 -27
  106. package/packages/orq-rc/src/sdk/tools.ts +6 -6
  107. package/sdk/feedback.d.ts +2 -2
  108. package/sdk/feedback.js +2 -2
  109. package/src/lib/config.ts +2 -2
  110. package/src/models/components/reasoningpart.ts +1 -1
  111. package/src/models/operations/createdataset.ts +1 -1
  112. package/src/models/operations/createdatasetitem.ts +4 -4
  113. package/src/models/operations/createdatasource.ts +1 -1
  114. package/src/models/operations/createeval.ts +55 -48
  115. package/src/models/operations/createtool.ts +6 -6
  116. package/src/models/operations/getalltools.ts +6 -6
  117. package/src/models/operations/getevals.ts +33 -30
  118. package/src/models/operations/getv2humanevalsets.ts +2 -2
  119. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  120. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  121. package/src/models/operations/listdatasets.ts +1 -1
  122. package/src/models/operations/listdatasources.ts +1 -1
  123. package/src/models/operations/listknowledgebases.ts +3 -6
  124. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  125. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  126. package/src/models/operations/postv2humanevalsets.ts +2 -2
  127. package/src/models/operations/retrievedatapoint.ts +4 -4
  128. package/src/models/operations/retrievedataset.ts +1 -1
  129. package/src/models/operations/retrievedatasource.ts +1 -1
  130. package/src/models/operations/retrievetool.ts +6 -6
  131. package/src/models/operations/runagent.ts +1 -1
  132. package/src/models/operations/streamrunagent.ts +1 -1
  133. package/src/models/operations/updatedatapoint.ts +4 -4
  134. package/src/models/operations/updatedataset.ts +1 -1
  135. package/src/models/operations/updatedatasource.ts +1 -1
  136. package/src/models/operations/updateeval.ts +33 -30
  137. package/src/models/operations/updatetool.ts +7 -7
  138. package/src/sdk/feedback.ts +2 -2
@@ -753,7 +753,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
753
753
  z.ZodTypeDef,
754
754
  unknown
755
755
  > = z.object({
756
- _id: z.string().default("tool_01KTB6K5XDP8EHT1PEA2MEXJ2C"),
756
+ _id: z.string().default("tool_01KTJVKQP951RKHG017G39HFMK"),
757
757
  path: z.string(),
758
758
  key: z.string(),
759
759
  display_name: z.string().optional(),
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
859
859
  z.ZodTypeDef,
860
860
  unknown
861
861
  > = z.object({
862
- id: z.string().default("01KTB6K5XCEH44JJJYGWVXXQWM"),
862
+ id: z.string().default("01KTJVKQP88E83VAF201WB954A"),
863
863
  name: z.string(),
864
864
  description: z.string().optional(),
865
865
  schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
@@ -917,7 +917,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
917
917
  z.ZodTypeDef,
918
918
  unknown
919
919
  > = z.object({
920
- _id: z.string().default("tool_01KTB6K5XB0J89ZSZ21E03Y6TC"),
920
+ _id: z.string().default("tool_01KTJVKQP7JZYYR6Z1YTRWEZWX"),
921
921
  path: z.string(),
922
922
  key: z.string(),
923
923
  display_name: z.string().optional(),
@@ -1108,7 +1108,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1108
1108
  z.ZodTypeDef,
1109
1109
  unknown
1110
1110
  > = z.object({
1111
- _id: z.string().default("tool_01KTB6K5X8C9ZSZ5CARXWQSK0P"),
1111
+ _id: z.string().default("tool_01KTJVKQP5AAZJ0X4DSFWY8VM1"),
1112
1112
  path: z.string(),
1113
1113
  key: z.string(),
1114
1114
  display_name: z.string().optional(),
@@ -1204,7 +1204,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1204
1204
  z.ZodTypeDef,
1205
1205
  unknown
1206
1206
  > = z.object({
1207
- _id: z.string().default("tool_01KTB6K5X7DRNSPYPXXZ9NJPMQ"),
1207
+ _id: z.string().default("tool_01KTJVKQP3GD00QDQSNG0ZMKPQ"),
1208
1208
  path: z.string(),
1209
1209
  key: z.string(),
1210
1210
  display_name: z.string().optional(),
@@ -1310,7 +1310,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1310
1310
  z.ZodTypeDef,
1311
1311
  unknown
1312
1312
  > = z.object({
1313
- _id: z.string().default("tool_01KTB6K5X5FXQWEAV3D6VK6VBF"),
1313
+ _id: z.string().default("tool_01KTJVKQP287VVYXZH4K6R4F26"),
1314
1314
  path: z.string(),
1315
1315
  key: z.string(),
1316
1316
  display_name: z.string().optional(),
@@ -23,6 +23,18 @@ export type RoutingRuleListRequest = {
23
23
  * Optional filter by project ID.
24
24
  */
25
25
  projectId?: string | undefined;
26
+ /**
27
+ * Optional search term matched against name and description.
28
+ */
29
+ search?: string | undefined;
30
+ /**
31
+ * Filter by enabled status.
32
+ */
33
+ enabled?: boolean | null | undefined;
34
+ /**
35
+ * Filter by referenced model refs (comma-separated).
36
+ */
37
+ model?: Array<string> | null | undefined;
26
38
  };
27
39
 
28
40
  /**
@@ -40,6 +52,9 @@ export type RoutingRuleListRequest$Outbound = {
40
52
  starting_after?: string | undefined;
41
53
  ending_before?: string | undefined;
42
54
  project_id?: string | undefined;
55
+ search?: string | undefined;
56
+ enabled?: boolean | null | undefined;
57
+ model?: Array<string> | null | undefined;
43
58
  };
44
59
 
45
60
  /** @internal */
@@ -52,6 +67,9 @@ export const RoutingRuleListRequest$outboundSchema: z.ZodType<
52
67
  startingAfter: z.string().optional(),
53
68
  endingBefore: z.string().optional(),
54
69
  projectId: z.string().optional(),
70
+ search: z.string().optional(),
71
+ enabled: z.nullable(z.boolean()).optional(),
72
+ model: z.nullable(z.array(z.string())).optional(),
55
73
  }).transform((v) => {
56
74
  return remap$(v, {
57
75
  startingAfter: "starting_after",
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ /**
11
+ * Used models retrieved successfully
12
+ */
13
+ export type RoutingRuleListUsedModelsResponseBody = {
14
+ models: Array<string> | null;
15
+ object: string;
16
+ };
17
+
18
+ /** @internal */
19
+ export const RoutingRuleListUsedModelsResponseBody$inboundSchema: z.ZodType<
20
+ RoutingRuleListUsedModelsResponseBody,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ models: z.nullable(z.array(z.string())),
25
+ object: z.string(),
26
+ });
27
+
28
+ export function routingRuleListUsedModelsResponseBodyFromJSON(
29
+ jsonString: string,
30
+ ): SafeParseResult<RoutingRuleListUsedModelsResponseBody, SDKValidationError> {
31
+ return safeParse(
32
+ jsonString,
33
+ (x) =>
34
+ RoutingRuleListUsedModelsResponseBody$inboundSchema.parse(JSON.parse(x)),
35
+ `Failed to parse 'RoutingRuleListUsedModelsResponseBody' from JSON`,
36
+ );
37
+ }
@@ -3626,7 +3626,7 @@ export const Tools$outboundSchema: z.ZodType<
3626
3626
  z.ZodTypeDef,
3627
3627
  Tools
3628
3628
  > = z.object({
3629
- id: z.string().default("01KTB6K5NG8NPZHS9C06MWF4FF"),
3629
+ id: z.string().default("01KTJVKQE8RPRXWZQK8846QBAA"),
3630
3630
  name: z.string(),
3631
3631
  description: z.string().optional(),
3632
3632
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3675
3675
  z.ZodTypeDef,
3676
3676
  AgentToolInputRunTools
3677
3677
  > = z.object({
3678
- id: z.string().default("01KTB6K5PYYRZWTYZ0GFAS6EDH"),
3678
+ id: z.string().default("01KTJVKQFR2AE5FZ0GKDGV6G7B"),
3679
3679
  name: z.string(),
3680
3680
  description: z.string().optional(),
3681
3681
  schema: z.lazy(() =>
@@ -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-08T05:34:42.580Z",
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-08T05:34:42.580Z",
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-08T05:34:42.579Z",
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-08T05:34:18.893Z",
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-08T05:34:18.893Z",
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("01KTJVKQSP7EKB2Z7YAD59WSZ1"),
156
156
  display_name: z.string(),
157
157
  description: z.nullable(z.string()).optional(),
158
158
  status: UpdateDatasourceStatus$inboundSchema,
@@ -1550,8 +1550,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
1550
1550
  > = z.object({
1551
1551
  _id: z.string(),
1552
1552
  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"),
1553
+ created: z.string().default("2026-06-08T05:34:20.335Z"),
1554
+ updated: z.string().default("2026-06-08T05:34:20.335Z"),
1555
1555
  updated_by_id: z.nullable(z.string()).optional(),
1556
1556
  guardrail_config: z.nullable(
1557
1557
  z.union([
@@ -1746,8 +1746,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
1746
1746
  > = z.object({
1747
1747
  _id: z.string(),
1748
1748
  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"),
1749
+ created: z.string().default("2026-06-08T05:34:20.335Z"),
1750
+ updated: z.string().default("2026-06-08T05:34:20.335Z"),
1751
1751
  updated_by_id: z.nullable(z.string()).optional(),
1752
1752
  guardrail_config: z.nullable(
1753
1753
  z.union([
@@ -2605,8 +2605,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
2605
2605
  > = z.object({
2606
2606
  _id: z.string(),
2607
2607
  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"),
2608
+ created: z.string().default("2026-06-08T05:34:20.335Z"),
2609
+ updated: z.string().default("2026-06-08T05:34:20.335Z"),
2610
2610
  updated_by_id: z.nullable(z.string()).optional(),
2611
2611
  guardrail_config: z.nullable(
2612
2612
  z.union([
@@ -2824,8 +2824,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
2824
2824
  > = z.object({
2825
2825
  _id: z.string(),
2826
2826
  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"),
2827
+ created: z.string().default("2026-06-08T05:34:20.335Z"),
2828
+ updated: z.string().default("2026-06-08T05:34:20.335Z"),
2829
2829
  updated_by_id: z.nullable(z.string()).optional(),
2830
2830
  guardrail_config: z.nullable(
2831
2831
  z.union([
@@ -2993,8 +2993,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
2993
2993
  > = z.object({
2994
2994
  _id: z.string(),
2995
2995
  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"),
2996
+ created: z.string().default("2026-06-08T05:34:20.335Z"),
2997
+ updated: z.string().default("2026-06-08T05:34:20.335Z"),
2998
2998
  updated_by_id: z.nullable(z.string()).optional(),
2999
2999
  guardrail_config: z.nullable(
3000
3000
  z.union([
@@ -3147,8 +3147,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
3147
3147
  > = z.object({
3148
3148
  _id: z.string(),
3149
3149
  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"),
3150
+ created: z.string().default("2026-06-08T05:34:20.335Z"),
3151
+ updated: z.string().default("2026-06-08T05:34:20.335Z"),
3152
3152
  updated_by_id: z.nullable(z.string()).optional(),
3153
3153
  guardrail_config: z.nullable(
3154
3154
  z.union([
@@ -3510,8 +3510,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
3510
3510
  > = z.object({
3511
3511
  _id: z.string(),
3512
3512
  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"),
3513
+ created: z.string().default("2026-06-08T05:34:20.335Z"),
3514
+ updated: z.string().default("2026-06-08T05:34:20.335Z"),
3515
3515
  updated_by_id: z.nullable(z.string()).optional(),
3516
3516
  guardrail_config: z.nullable(
3517
3517
  z.union([
@@ -3723,8 +3723,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
3723
3723
  > = z.object({
3724
3724
  _id: z.string(),
3725
3725
  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"),
3726
+ created: z.string().default("2026-06-08T05:34:20.335Z"),
3727
+ updated: z.string().default("2026-06-08T05:34:20.335Z"),
3728
3728
  updated_by_id: z.nullable(z.string()).optional(),
3729
3729
  guardrail_config: z.nullable(
3730
3730
  z.union([
@@ -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("01KTJVKQNKGA9HYZKGXCFK2M1S"),
1476
1476
  name: z.string(),
1477
1477
  description: z.string().optional(),
1478
1478
  schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
@@ -2193,7 +2193,7 @@ 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_01KTJVKQNCCVN62XTWPDMH7JBX"),
2197
2197
  path: z.string(),
2198
2198
  key: z.string(),
2199
2199
  display_name: z.string().optional(),
@@ -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("01KTJVKQNB19P9RGJE38GNKSAD"),
2300
2300
  name: z.string(),
2301
2301
  description: z.string().optional(),
2302
2302
  schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
@@ -2354,7 +2354,7 @@ 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_01KTJVKQNAH61D9VWP412YST5T"),
2358
2358
  path: z.string(),
2359
2359
  key: z.string(),
2360
2360
  display_name: z.string().optional(),
@@ -2543,7 +2543,7 @@ 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_01KTJVKQN7TX0644EGWA6JR12K"),
2547
2547
  path: z.string(),
2548
2548
  key: z.string(),
2549
2549
  display_name: z.string().optional(),
@@ -2638,7 +2638,7 @@ 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_01KTJVKQN5VG6YCDBT6G9XJGAS"),
2642
2642
  path: z.string(),
2643
2643
  key: z.string(),
2644
2644
  display_name: z.string().optional(),
@@ -2741,7 +2741,7 @@ 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_01KTJVKQN4P45W4K3S226TZM0S"),
2745
2745
  path: z.string(),
2746
2746
  key: z.string(),
2747
2747
  display_name: z.string().optional(),
@@ -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,
@@ -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 image edit
49
+ *
50
+ * @remarks
51
+ * Edit an Image
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
  *
@@ -2,11 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { postV2FeedbackEvaluation } from "../funcs/postV2FeedbackEvaluation.js";
6
- import { postV2FeedbackEvaluationRemove } from "../funcs/postV2FeedbackEvaluationRemove.js";
7
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { unwrapAsync } from "../types/fp.js";
5
+ import { ClientSDK } from "../lib/sdks.js";
10
6
  import { Agents } from "./agents.js";
11
7
  import { Annotations } from "./annotations.js";
12
8
  import { ApiKeys } from "./apikeys.js";
@@ -164,26 +160,4 @@ export class Orq extends ClientSDK {
164
160
  get reporting(): Reporting {
165
161
  return (this._reporting ??= new Reporting(this._options));
166
162
  }
167
-
168
- async postV2FeedbackEvaluationRemove(
169
- request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined,
170
- options?: RequestOptions,
171
- ): Promise<void> {
172
- return unwrapAsync(postV2FeedbackEvaluationRemove(
173
- this,
174
- request,
175
- options,
176
- ));
177
- }
178
-
179
- async postV2FeedbackEvaluation(
180
- request?: operations.PostV2FeedbackEvaluationRequestBody | undefined,
181
- options?: RequestOptions,
182
- ): Promise<void> {
183
- return unwrapAsync(postV2FeedbackEvaluation(
184
- this,
185
- request,
186
- options,
187
- ));
188
- }
189
163
  }