@orq-ai/node 4.10.0-rc.1 → 4.10.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 (119) hide show
  1. package/jsr.json +1 -1
  2. package/langchain/async-handler.d.mts.map +1 -1
  3. package/langchain/async-handler.mjs +8 -11
  4. package/langchain/async-handler.mjs.map +1 -1
  5. package/langchain/events.d.mts.map +1 -1
  6. package/langchain/events.mjs +12 -0
  7. package/langchain/events.mjs.map +1 -1
  8. package/langchain/handler.d.mts.map +1 -1
  9. package/langchain/handler.mjs +8 -11
  10. package/langchain/handler.mjs.map +1 -1
  11. package/langchain/span-builder.mjs +3 -3
  12. package/langchain/span-builder.mjs.map +1 -1
  13. package/langchain/utils.d.mts.map +1 -1
  14. package/langchain/utils.mjs +115 -0
  15. package/langchain/utils.mjs.map +1 -1
  16. package/lib/config.d.ts +3 -3
  17. package/lib/config.js +3 -3
  18. package/models/components/reasoningpart.js +1 -1
  19. package/models/operations/createagentrequest.d.ts +3 -3
  20. package/models/operations/createcontact.js +1 -1
  21. package/models/operations/createdataset.d.ts +3 -3
  22. package/models/operations/createdataset.js +1 -1
  23. package/models/operations/createdatasetitem.js +4 -4
  24. package/models/operations/createdatasource.js +1 -1
  25. package/models/operations/createeval.d.ts +15 -15
  26. package/models/operations/createeval.js +16 -16
  27. package/models/operations/createidentity.js +1 -1
  28. package/models/operations/createknowledge.d.ts +9 -9
  29. package/models/operations/creatememorystore.d.ts +3 -3
  30. package/models/operations/createprompt.d.ts +3 -3
  31. package/models/operations/createrouterresponse.d.ts +6 -11
  32. package/models/operations/createrouterresponse.d.ts.map +1 -1
  33. package/models/operations/createrouterresponse.js +2 -8
  34. package/models/operations/createrouterresponse.js.map +1 -1
  35. package/models/operations/createtool.d.ts +30 -30
  36. package/models/operations/createtool.js +6 -6
  37. package/models/operations/getalltools.d.ts +15 -15
  38. package/models/operations/getalltools.js +6 -6
  39. package/models/operations/getevals.js +16 -16
  40. package/models/operations/getoneknowledge.d.ts +6 -6
  41. package/models/operations/getv2humanevalsets.js +2 -2
  42. package/models/operations/getv2humanevalsetsid.js +2 -2
  43. package/models/operations/listagents.d.ts +3 -3
  44. package/models/operations/listdatasetdatapoints.js +4 -4
  45. package/models/operations/listdatasets.js +1 -1
  46. package/models/operations/listdatasources.js +1 -1
  47. package/models/operations/listidentities.js +1 -1
  48. package/models/operations/listknowledgebases.d.ts +6 -6
  49. package/models/operations/patchv2humanevalsetsid.js +2 -2
  50. package/models/operations/postv2feedbackevaluation.js +3 -3
  51. package/models/operations/postv2humanevalsets.js +2 -2
  52. package/models/operations/retrieveagentrequest.d.ts +3 -3
  53. package/models/operations/retrievedatapoint.js +4 -4
  54. package/models/operations/retrievedataset.js +1 -1
  55. package/models/operations/retrievedatasource.js +1 -1
  56. package/models/operations/retrieveidentity.js +1 -1
  57. package/models/operations/retrievetool.d.ts +15 -15
  58. package/models/operations/retrievetool.js +6 -6
  59. package/models/operations/runagent.d.ts +3 -3
  60. package/models/operations/runagent.js +1 -1
  61. package/models/operations/streamrunagent.d.ts +3 -3
  62. package/models/operations/streamrunagent.js +1 -1
  63. package/models/operations/updateagent.d.ts +6 -6
  64. package/models/operations/updatedatapoint.js +4 -4
  65. package/models/operations/updatedataset.d.ts +3 -3
  66. package/models/operations/updatedataset.js +1 -1
  67. package/models/operations/updatedatasource.js +1 -1
  68. package/models/operations/updateeval.js +16 -16
  69. package/models/operations/updateidentity.js +1 -1
  70. package/models/operations/updateknowledge.d.ts +12 -12
  71. package/models/operations/updateprompt.d.ts +3 -3
  72. package/models/operations/updatetool.d.ts +30 -30
  73. package/models/operations/updatetool.js +7 -7
  74. package/package.json +1 -1
  75. package/src/lib/config.ts +3 -3
  76. package/src/models/components/reasoningpart.ts +1 -1
  77. package/src/models/operations/createagentrequest.ts +3 -3
  78. package/src/models/operations/createcontact.ts +1 -1
  79. package/src/models/operations/createdataset.ts +4 -4
  80. package/src/models/operations/createdatasetitem.ts +4 -4
  81. package/src/models/operations/createdatasource.ts +1 -1
  82. package/src/models/operations/createeval.ts +31 -31
  83. package/src/models/operations/createidentity.ts +1 -1
  84. package/src/models/operations/createknowledge.ts +9 -9
  85. package/src/models/operations/creatememorystore.ts +3 -3
  86. package/src/models/operations/createprompt.ts +3 -3
  87. package/src/models/operations/createrouterresponse.ts +3 -24
  88. package/src/models/operations/createtool.ts +36 -36
  89. package/src/models/operations/getalltools.ts +21 -21
  90. package/src/models/operations/getevals.ts +16 -16
  91. package/src/models/operations/getoneknowledge.ts +6 -6
  92. package/src/models/operations/getv2humanevalsets.ts +2 -2
  93. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  94. package/src/models/operations/listagents.ts +3 -3
  95. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  96. package/src/models/operations/listdatasets.ts +1 -1
  97. package/src/models/operations/listdatasources.ts +1 -1
  98. package/src/models/operations/listidentities.ts +1 -1
  99. package/src/models/operations/listknowledgebases.ts +6 -6
  100. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  101. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  102. package/src/models/operations/postv2humanevalsets.ts +2 -2
  103. package/src/models/operations/retrieveagentrequest.ts +3 -3
  104. package/src/models/operations/retrievedatapoint.ts +4 -4
  105. package/src/models/operations/retrievedataset.ts +1 -1
  106. package/src/models/operations/retrievedatasource.ts +1 -1
  107. package/src/models/operations/retrieveidentity.ts +1 -1
  108. package/src/models/operations/retrievetool.ts +21 -21
  109. package/src/models/operations/runagent.ts +4 -4
  110. package/src/models/operations/streamrunagent.ts +4 -4
  111. package/src/models/operations/updateagent.ts +6 -6
  112. package/src/models/operations/updatedatapoint.ts +4 -4
  113. package/src/models/operations/updatedataset.ts +4 -4
  114. package/src/models/operations/updatedatasource.ts +1 -1
  115. package/src/models/operations/updateeval.ts +16 -16
  116. package/src/models/operations/updateidentity.ts +1 -1
  117. package/src/models/operations/updateknowledge.ts +12 -12
  118. package/src/models/operations/updateprompt.ts +3 -3
  119. package/src/models/operations/updatetool.ts +37 -37
@@ -104,13 +104,13 @@ export type DataCodeTool = {
104
104
  export type DataCodeExecutionTool = {
105
105
  id: string;
106
106
  /**
107
- * Entity storage path in the format: `project/folder/subfolder/...`
107
+ * Entity storage path.
108
108
  *
109
109
  * @remarks
110
110
  *
111
- * The first element identifies the project, followed by nested folders (auto-created as needed).
111
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
112
112
  *
113
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
113
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
114
114
  */
115
115
  path: string;
116
116
  /**
@@ -228,13 +228,13 @@ export type DataMcp = {
228
228
  export type DataMCPTool = {
229
229
  id: string;
230
230
  /**
231
- * Entity storage path in the format: `project/folder/subfolder/...`
231
+ * Entity storage path.
232
232
  *
233
233
  * @remarks
234
234
  *
235
- * The first element identifies the project, followed by nested folders (auto-created as needed).
235
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
236
236
  *
237
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
237
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
238
238
  */
239
239
  path: string;
240
240
  /**
@@ -385,13 +385,13 @@ export type GetAllToolsDataHttp = {
385
385
  export type DataHTTPTool = {
386
386
  id: string;
387
387
  /**
388
- * Entity storage path in the format: `project/folder/subfolder/...`
388
+ * Entity storage path.
389
389
  *
390
390
  * @remarks
391
391
  *
392
- * The first element identifies the project, followed by nested folders (auto-created as needed).
392
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
393
393
  *
394
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
394
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
395
395
  */
396
396
  path: string;
397
397
  /**
@@ -484,13 +484,13 @@ export type DataJsonSchema = {
484
484
  export type DataJSONSchemaTool = {
485
485
  id: string;
486
486
  /**
487
- * Entity storage path in the format: `project/folder/subfolder/...`
487
+ * Entity storage path.
488
488
  *
489
489
  * @remarks
490
490
  *
491
- * The first element identifies the project, followed by nested folders (auto-created as needed).
491
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
492
492
  *
493
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
493
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
494
494
  */
495
495
  path: string;
496
496
  /**
@@ -597,13 +597,13 @@ export type GetAllToolsDataFunction = {
597
597
  export type DataFunctionTool = {
598
598
  id: string;
599
599
  /**
600
- * Entity storage path in the format: `project/folder/subfolder/...`
600
+ * Entity storage path.
601
601
  *
602
602
  * @remarks
603
603
  *
604
- * The first element identifies the project, followed by nested folders (auto-created as needed).
604
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
605
605
  *
606
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
606
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
607
607
  */
608
608
  path: string;
609
609
  /**
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
767
767
  z.ZodTypeDef,
768
768
  unknown
769
769
  > = z.object({
770
- _id: z.string().default("tool_01KRGC9RJMRBK8ECTZGD0Y8AX1"),
770
+ _id: z.string().default("tool_01KRJJ2AS55E8PK4BC4JSPE4FM"),
771
771
  path: z.string(),
772
772
  key: z.string(),
773
773
  display_name: z.string().optional(),
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
864
864
  z.ZodTypeDef,
865
865
  unknown
866
866
  > = z.object({
867
- id: z.string().default("01KRGC9RJKBT043RDPHC88MQAC"),
867
+ id: z.string().default("01KRJJ2AS4DG273RVFHAEFEG2V"),
868
868
  name: z.string(),
869
869
  description: z.string().optional(),
870
870
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -917,7 +917,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
917
917
  z.ZodTypeDef,
918
918
  unknown
919
919
  > = z.object({
920
- _id: z.string().default("tool_01KRGC9RJJFD60E1V4PTF02WM4"),
920
+ _id: z.string().default("tool_01KRJJ2AS3RJ3F0AJEGFCAH2K0"),
921
921
  path: z.string(),
922
922
  key: z.string(),
923
923
  display_name: z.string().optional(),
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1102
1102
  z.ZodTypeDef,
1103
1103
  unknown
1104
1104
  > = z.object({
1105
- _id: z.string().default("tool_01KRGC9RJGRY23R9G1PEBRTHCW"),
1105
+ _id: z.string().default("tool_01KRJJ2AS1TDS3ETPMQBFMQNNG"),
1106
1106
  path: z.string(),
1107
1107
  key: z.string(),
1108
1108
  display_name: z.string().optional(),
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1195
1195
  z.ZodTypeDef,
1196
1196
  unknown
1197
1197
  > = z.object({
1198
- _id: z.string().default("tool_01KRGC9RJF80VZ3GZ5BX2ZYPPW"),
1198
+ _id: z.string().default("tool_01KRJJ2ARZBM060N71XHPXW5MA"),
1199
1199
  path: z.string(),
1200
1200
  key: z.string(),
1201
1201
  display_name: z.string().optional(),
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1297
1297
  z.ZodTypeDef,
1298
1298
  unknown
1299
1299
  > = z.object({
1300
- _id: z.string().default("tool_01KRGC9RJD0KPJ22NEHVD7WZPN"),
1300
+ _id: z.string().default("tool_01KRJJ2ARY2KS3ZV362JXXPBQN"),
1301
1301
  path: z.string(),
1302
1302
  key: z.string(),
1303
1303
  display_name: z.string().optional(),
@@ -1040,8 +1040,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
1040
1040
  > = z.object({
1041
1041
  _id: z.string(),
1042
1042
  description: z.string(),
1043
- created: z.string().default("2026-05-13T09:57:01.760Z"),
1044
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
1043
+ created: z.string().default("2026-05-14T06:16:18.634Z"),
1044
+ updated: z.string().default("2026-05-14T06:16:18.635Z"),
1045
1045
  guardrail_config: z.nullable(
1046
1046
  z.union([
1047
1047
  z.lazy(() =>
@@ -1220,8 +1220,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1220
1220
  > = z.object({
1221
1221
  _id: z.string(),
1222
1222
  description: z.string(),
1223
- created: z.string().default("2026-05-13T09:57:01.760Z"),
1224
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
1223
+ created: z.string().default("2026-05-14T06:16:18.634Z"),
1224
+ updated: z.string().default("2026-05-14T06:16:18.635Z"),
1225
1225
  guardrail_config: z.nullable(
1226
1226
  z.union([
1227
1227
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -2050,8 +2050,8 @@ export const DataFunction$inboundSchema: z.ZodType<
2050
2050
  > = z.object({
2051
2051
  _id: z.string(),
2052
2052
  description: z.string(),
2053
- created: z.string().default("2026-05-13T09:57:01.760Z"),
2054
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
2053
+ created: z.string().default("2026-05-14T06:16:18.634Z"),
2054
+ updated: z.string().default("2026-05-14T06:16:18.635Z"),
2055
2055
  guardrail_config: z.nullable(
2056
2056
  z.union([
2057
2057
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -2232,8 +2232,8 @@ export const DataPython$inboundSchema: z.ZodType<
2232
2232
  > = z.object({
2233
2233
  _id: z.string(),
2234
2234
  description: z.string(),
2235
- created: z.string().default("2026-05-13T09:57:01.760Z"),
2236
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
2235
+ created: z.string().default("2026-05-14T06:16:18.634Z"),
2236
+ updated: z.string().default("2026-05-14T06:16:18.635Z"),
2237
2237
  guardrail_config: z.nullable(
2238
2238
  z.union([
2239
2239
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -2410,8 +2410,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
2410
2410
  > = z.object({
2411
2411
  _id: z.string(),
2412
2412
  description: z.string(),
2413
- created: z.string().default("2026-05-13T09:57:01.760Z"),
2414
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
2413
+ created: z.string().default("2026-05-14T06:16:18.634Z"),
2414
+ updated: z.string().default("2026-05-14T06:16:18.635Z"),
2415
2415
  guardrail_config: z.nullable(
2416
2416
  z.union([
2417
2417
  z.lazy(() =>
@@ -2600,8 +2600,8 @@ export const DataJSON$inboundSchema: z.ZodType<
2600
2600
  > = z.object({
2601
2601
  _id: z.string(),
2602
2602
  description: z.string(),
2603
- created: z.string().default("2026-05-13T09:57:01.760Z"),
2604
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
2603
+ created: z.string().default("2026-05-14T06:16:18.634Z"),
2604
+ updated: z.string().default("2026-05-14T06:16:18.635Z"),
2605
2605
  guardrail_config: z.nullable(
2606
2606
  z.union([
2607
2607
  z.lazy(() =>
@@ -2966,8 +2966,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
2966
2966
  > = z.object({
2967
2967
  _id: z.string(),
2968
2968
  description: z.string(),
2969
- created: z.string().default("2026-05-13T09:57:01.760Z"),
2970
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
2969
+ created: z.string().default("2026-05-14T06:16:18.634Z"),
2970
+ updated: z.string().default("2026-05-14T06:16:18.635Z"),
2971
2971
  guardrail_config: z.nullable(
2972
2972
  z.union([
2973
2973
  z.lazy(() =>
@@ -3175,8 +3175,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
3175
3175
  > = z.object({
3176
3176
  _id: z.string(),
3177
3177
  description: z.string(),
3178
- created: z.string().default("2026-05-13T09:57:01.760Z"),
3179
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
3178
+ created: z.string().default("2026-05-14T06:16:18.634Z"),
3179
+ updated: z.string().default("2026-05-14T06:16:18.635Z"),
3180
3180
  guardrail_config: z.nullable(
3181
3181
  z.union([
3182
3182
  z.lazy(() =>
@@ -112,13 +112,13 @@ export type GetOneKnowledgeResponseBody2 = {
112
112
  */
113
113
  domainId: string;
114
114
  /**
115
- * Entity storage path in the format: `project/folder/subfolder/...`
115
+ * Entity storage path.
116
116
  *
117
117
  * @remarks
118
118
  *
119
- * The first element identifies the project, followed by nested folders (auto-created as needed).
119
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
120
120
  *
121
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
121
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
122
122
  */
123
123
  path?: string | undefined;
124
124
  createdById?: string | null | undefined;
@@ -238,13 +238,13 @@ export type GetOneKnowledgeResponseBody1 = {
238
238
  */
239
239
  domainId: string;
240
240
  /**
241
- * Entity storage path in the format: `project/folder/subfolder/...`
241
+ * Entity storage path.
242
242
  *
243
243
  * @remarks
244
244
  *
245
- * The first element identifies the project, followed by nested folders (auto-created as needed).
245
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
246
246
  *
247
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
247
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
248
248
  */
249
249
  path?: string | undefined;
250
250
  createdById?: string | null | undefined;
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-05-13T09:56:59.680Z",
143
+ "2026-05-14T06:16:16.407Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-05-13T09:56:59.680Z",
188
+ "2026-05-14T06:16:16.407Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-05-13T09:56:59.680Z",
144
+ "2026-05-14T06:16:16.407Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-05-13T09:56:59.680Z",
189
+ "2026-05-14T06:16:16.407Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -1115,13 +1115,13 @@ export type ListAgentsData = {
1115
1115
  */
1116
1116
  version?: string | undefined;
1117
1117
  /**
1118
- * Entity storage path in the format: `project/folder/subfolder/...`
1118
+ * Entity storage path.
1119
1119
  *
1120
1120
  * @remarks
1121
1121
  *
1122
- * The first element identifies the project, followed by nested folders (auto-created as needed).
1122
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
1123
1123
  *
1124
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1124
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
1125
1125
  */
1126
1126
  path: string;
1127
1127
  /**
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1270
1270
  ),
1271
1271
  reviewed_by_id: z.string(),
1272
1272
  reviewed_at: z.string().datetime({ offset: true }).default(
1273
- "2026-05-13T09:57:14.681Z",
1273
+ "2026-05-14T06:16:31.962Z",
1274
1274
  ).transform(v => new Date(v)),
1275
1275
  type: z.literal("string_array"),
1276
1276
  values: z.array(z.string()),
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1320
1320
  source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
1321
1321
  reviewed_by_id: z.string(),
1322
1322
  reviewed_at: z.string().datetime({ offset: true }).default(
1323
- "2026-05-13T09:57:14.680Z",
1323
+ "2026-05-14T06:16:31.962Z",
1324
1324
  ).transform(v => new Date(v)),
1325
1325
  type: z.literal("number"),
1326
1326
  value: z.number(),
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1369
1369
  .default("orq"),
1370
1370
  reviewed_by_id: z.string(),
1371
1371
  reviewed_at: z.string().datetime({ offset: true }).default(
1372
- "2026-05-13T09:57:14.680Z",
1372
+ "2026-05-14T06:16:31.961Z",
1373
1373
  ).transform(v => new Date(v)),
1374
1374
  type: z.literal("string"),
1375
1375
  value: z.string(),
@@ -1448,7 +1448,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
1448
1448
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1449
1449
  .optional(),
1450
1450
  updated: z.string().datetime({ offset: true }).default(
1451
- "2026-05-13T09:56:59.680Z",
1451
+ "2026-05-14T06:16:16.407Z",
1452
1452
  ).transform(v => new Date(v)),
1453
1453
  }).transform((v) => {
1454
1454
  return remap$(v, {
@@ -156,7 +156,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
156
156
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
157
157
  .optional(),
158
158
  updated: z.string().datetime({ offset: true }).default(
159
- "2026-05-13T09:56:59.680Z",
159
+ "2026-05-14T06:16:16.407Z",
160
160
  ).transform(v => new Date(v)),
161
161
  }).transform((v) => {
162
162
  return remap$(v, {
@@ -176,7 +176,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
176
176
  z.ZodTypeDef,
177
177
  unknown
178
178
  > = z.object({
179
- _id: z.string().default("01KRGC9RQMCK8E753975F1V1XT"),
179
+ _id: z.string().default("01KRJJ2BCSS77YMHQC5GPY2WSW"),
180
180
  display_name: z.string(),
181
181
  description: z.string().optional(),
182
182
  status: ListDatasourcesStatus$inboundSchema,
@@ -227,7 +227,7 @@ export const ListIdentitiesData$inboundSchema: z.ZodType<
227
227
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
228
228
  .optional(),
229
229
  updated: z.string().datetime({ offset: true }).default(
230
- "2026-05-13T09:56:59.680Z",
230
+ "2026-05-14T06:16:16.407Z",
231
231
  ).transform(v => new Date(v)),
232
232
  metrics: z.lazy(() => ListIdentitiesMetrics$inboundSchema),
233
233
  }).transform((v) => {
@@ -121,13 +121,13 @@ export type Data2 = {
121
121
  */
122
122
  domainId: string;
123
123
  /**
124
- * Entity storage path in the format: `project/folder/subfolder/...`
124
+ * Entity storage path.
125
125
  *
126
126
  * @remarks
127
127
  *
128
- * The first element identifies the project, followed by nested folders (auto-created as needed).
128
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
129
129
  *
130
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
130
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
131
131
  */
132
132
  path?: string | undefined;
133
133
  createdById?: string | null | undefined;
@@ -240,13 +240,13 @@ export type Data1 = {
240
240
  */
241
241
  domainId: string;
242
242
  /**
243
- * Entity storage path in the format: `project/folder/subfolder/...`
243
+ * Entity storage path.
244
244
  *
245
245
  * @remarks
246
246
  *
247
- * The first element identifies the project, followed by nested folders (auto-created as needed).
247
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
248
248
  *
249
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
249
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
250
250
  */
251
251
  path?: string | undefined;
252
252
  createdById?: string | null | undefined;
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-05-13T09:56:59.680Z",
321
+ "2026-05-14T06:16:16.407Z",
322
322
  ).transform(v => new Date(v)),
323
323
  filter_type: z.literal("name"),
324
324
  filter_value: z.string(),
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
364
364
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
365
365
  .optional(),
366
366
  updated: z.string().datetime({ offset: true }).default(
367
- "2026-05-13T09:56:59.680Z",
367
+ "2026-05-14T06:16:16.407Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -173,7 +173,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
173
173
  humanReviewId: z.string(),
174
174
  source: PostV2FeedbackEvaluationRequestBodyRequestSource$outboundSchema
175
175
  .default("orq"),
176
- reviewedAt: z.date().default(() => new Date("2026-05-13T09:57:14.825Z"))
176
+ reviewedAt: z.date().default(() => new Date("2026-05-14T06:16:32.089Z"))
177
177
  .transform(v => v.toISOString()),
178
178
  type: z.literal("string_array"),
179
179
  values: z.array(z.string()),
@@ -225,7 +225,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
225
225
  source: PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default(
226
226
  "orq",
227
227
  ),
228
- reviewedAt: z.date().default(() => new Date("2026-05-13T09:57:14.824Z"))
228
+ reviewedAt: z.date().default(() => new Date("2026-05-14T06:16:32.089Z"))
229
229
  .transform(v => v.toISOString()),
230
230
  type: z.literal("number"),
231
231
  value: z.number(),
@@ -275,7 +275,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
275
275
  evaluationType: EvaluationType$outboundSchema,
276
276
  humanReviewId: z.string(),
277
277
  source: RequestBodySource$outboundSchema.default("orq"),
278
- reviewedAt: z.date().default(() => new Date("2026-05-13T09:57:14.824Z"))
278
+ reviewedAt: z.date().default(() => new Date("2026-05-14T06:16:32.088Z"))
279
279
  .transform(v => v.toISOString()),
280
280
  type: z.literal("string"),
281
281
  value: z.string(),
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
271
271
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
272
272
  .optional(),
273
273
  updated: z.string().datetime({ offset: true }).default(
274
- "2026-05-13T09:56:59.680Z",
274
+ "2026-05-14T06:16:16.407Z",
275
275
  ).transform(v => new Date(v)),
276
276
  filter_type: z.literal("name"),
277
277
  filter_value: z.string(),
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
316
316
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
317
317
  .optional(),
318
318
  updated: z.string().datetime({ offset: true }).default(
319
- "2026-05-13T09:56:59.680Z",
319
+ "2026-05-14T06:16:16.407Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -1119,13 +1119,13 @@ export type RetrieveAgentRequestResponseBody = {
1119
1119
  */
1120
1120
  version?: string | undefined;
1121
1121
  /**
1122
- * Entity storage path in the format: `project/folder/subfolder/...`
1122
+ * Entity storage path.
1123
1123
  *
1124
1124
  * @remarks
1125
1125
  *
1126
- * The first element identifies the project, followed by nested folders (auto-created as needed).
1126
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
1127
1127
  *
1128
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1128
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
1129
1129
  */
1130
1130
  path: string;
1131
1131
  /**
@@ -1207,7 +1207,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
1207
1207
  .default("orq"),
1208
1208
  reviewed_by_id: z.string(),
1209
1209
  reviewed_at: z.string().datetime({ offset: true }).default(
1210
- "2026-05-13T09:57:14.687Z",
1210
+ "2026-05-14T06:16:31.968Z",
1211
1211
  ).transform(v => new Date(v)),
1212
1212
  type: z.literal("string_array"),
1213
1213
  values: z.array(z.string()),
@@ -1255,7 +1255,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
1255
1255
  ),
1256
1256
  reviewed_by_id: z.string(),
1257
1257
  reviewed_at: z.string().datetime({ offset: true }).default(
1258
- "2026-05-13T09:57:14.686Z",
1258
+ "2026-05-14T06:16:31.967Z",
1259
1259
  ).transform(v => new Date(v)),
1260
1260
  type: z.literal("number"),
1261
1261
  value: z.number(),
@@ -1300,7 +1300,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
1300
1300
  source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
1301
1301
  reviewed_by_id: z.string(),
1302
1302
  reviewed_at: z.string().datetime({ offset: true }).default(
1303
- "2026-05-13T09:57:14.686Z",
1303
+ "2026-05-14T06:16:31.967Z",
1304
1304
  ).transform(v => new Date(v)),
1305
1305
  type: z.literal("string"),
1306
1306
  value: z.string(),
@@ -1377,7 +1377,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
1377
1377
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1378
1378
  .optional(),
1379
1379
  updated: z.string().datetime({ offset: true }).default(
1380
- "2026-05-13T09:56:59.680Z",
1380
+ "2026-05-14T06:16:16.407Z",
1381
1381
  ).transform(v => new Date(v)),
1382
1382
  }).transform((v) => {
1383
1383
  return remap$(v, {
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
126
126
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
127
127
  .optional(),
128
128
  updated: z.string().datetime({ offset: true }).default(
129
- "2026-05-13T09:56:59.680Z",
129
+ "2026-05-14T06:16:16.407Z",
130
130
  ).transform(v => new Date(v)),
131
131
  }).transform((v) => {
132
132
  return remap$(v, {
@@ -118,7 +118,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
118
118
  z.ZodTypeDef,
119
119
  unknown
120
120
  > = z.object({
121
- _id: z.string().default("01KRGC9RQPBWCM8WY0S03FCFDM"),
121
+ _id: z.string().default("01KRJJ2BCZYSFWHKW85VZC47AX"),
122
122
  display_name: z.string(),
123
123
  description: z.string().optional(),
124
124
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -151,7 +151,7 @@ export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
151
151
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
152
152
  .optional(),
153
153
  updated: z.string().datetime({ offset: true }).default(
154
- "2026-05-13T09:56:59.680Z",
154
+ "2026-05-14T06:16:16.407Z",
155
155
  ).transform(v => new Date(v)),
156
156
  metrics: z.nullable(z.lazy(() => Metrics$inboundSchema)).optional(),
157
157
  }).transform((v) => {