@orq-ai/node 4.9.2 → 4.9.4
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.
- package/jsr.json +1 -1
- package/langchain/async-handler.d.mts.map +1 -1
- package/langchain/async-handler.mjs +8 -11
- package/langchain/async-handler.mjs.map +1 -1
- package/langchain/events.d.mts.map +1 -1
- package/langchain/events.mjs +12 -0
- package/langchain/events.mjs.map +1 -1
- package/langchain/handler.d.mts.map +1 -1
- package/langchain/handler.mjs +8 -11
- package/langchain/handler.mjs.map +1 -1
- package/langchain/span-builder.mjs +3 -3
- package/langchain/span-builder.mjs.map +1 -1
- package/langchain/utils.d.mts.map +1 -1
- package/langchain/utils.mjs +115 -0
- package/langchain/utils.mjs.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createrouterresponse.d.ts +6 -11
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +2 -8
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/modelref.ts +6 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +3 -3
- package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +31 -31
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createknowledge.ts +9 -9
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +3 -3
- package/packages/orq-rc/src/models/operations/createprompt.ts +3 -3
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +3 -24
- package/packages/orq-rc/src/models/operations/createtool.ts +36 -36
- package/packages/orq-rc/src/models/operations/getalltools.ts +21 -21
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +6 -6
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/listagents.ts +3 -3
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +6 -6
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +3 -3
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +21 -21
- package/packages/orq-rc/src/models/operations/runagent.ts +4 -4
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +4 -4
- package/packages/orq-rc/src/models/operations/updateagent.ts +6 -6
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +12 -12
- package/packages/orq-rc/src/models/operations/updateprompt.ts +3 -3
- package/packages/orq-rc/src/models/operations/updatetool.ts +37 -37
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createrouterresponse.ts +3 -24
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -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-
|
|
321
|
+
"2026-05-15T03:37:24.790Z",
|
|
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-
|
|
367
|
+
"2026-05-15T03:37:24.790Z",
|
|
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-
|
|
176
|
+
reviewedAt: z.date().default(() => new Date("2026-05-15T03:37:40.165Z"))
|
|
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-
|
|
228
|
+
reviewedAt: z.date().default(() => new Date("2026-05-15T03:37:40.165Z"))
|
|
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-
|
|
278
|
+
reviewedAt: z.date().default(() => new Date("2026-05-15T03:37:40.165Z"))
|
|
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-
|
|
274
|
+
"2026-05-15T03:37:24.790Z",
|
|
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-
|
|
319
|
+
"2026-05-15T03:37:24.790Z",
|
|
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
|
|
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-
|
|
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-
|
|
1210
|
+
"2026-05-15T03:37:40.043Z",
|
|
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-
|
|
1258
|
+
"2026-05-15T03:37:40.043Z",
|
|
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-
|
|
1303
|
+
"2026-05-15T03:37:40.042Z",
|
|
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-
|
|
1380
|
+
"2026-05-15T03:37:24.790Z",
|
|
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-
|
|
129
|
+
"2026-05-15T03:37:24.790Z",
|
|
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("
|
|
121
|
+
_id: z.string().default("01KRMVC5WKG3B2E4BFP0H2CPZK"),
|
|
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-
|
|
154
|
+
"2026-05-15T03:37:24.790Z",
|
|
155
155
|
).transform(v => new Date(v)),
|
|
156
156
|
metrics: z.nullable(z.lazy(() => Metrics$inboundSchema)).optional(),
|
|
157
157
|
}).transform((v) => {
|
|
@@ -91,13 +91,13 @@ export type RetrieveToolResponseBodyCodeTool = {
|
|
|
91
91
|
export type RetrieveToolResponseBodyCodeExecutionTool = {
|
|
92
92
|
id: string;
|
|
93
93
|
/**
|
|
94
|
-
* Entity storage path
|
|
94
|
+
* Entity storage path.
|
|
95
95
|
*
|
|
96
96
|
* @remarks
|
|
97
97
|
*
|
|
98
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
98
|
+
* 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`.
|
|
99
99
|
*
|
|
100
|
-
* With project-
|
|
100
|
+
* 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.
|
|
101
101
|
*/
|
|
102
102
|
path: string;
|
|
103
103
|
/**
|
|
@@ -217,13 +217,13 @@ export type RetrieveToolResponseBodyMcp = {
|
|
|
217
217
|
export type RetrieveToolResponseBodyMCPTool = {
|
|
218
218
|
id: string;
|
|
219
219
|
/**
|
|
220
|
-
* Entity storage path
|
|
220
|
+
* Entity storage path.
|
|
221
221
|
*
|
|
222
222
|
* @remarks
|
|
223
223
|
*
|
|
224
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
224
|
+
* 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`.
|
|
225
225
|
*
|
|
226
|
-
* With project-
|
|
226
|
+
* 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.
|
|
227
227
|
*/
|
|
228
228
|
path: string;
|
|
229
229
|
/**
|
|
@@ -378,13 +378,13 @@ export type RetrieveToolResponseBodyHttp = {
|
|
|
378
378
|
export type RetrieveToolResponseBodyHTTPTool = {
|
|
379
379
|
id: string;
|
|
380
380
|
/**
|
|
381
|
-
* Entity storage path
|
|
381
|
+
* Entity storage path.
|
|
382
382
|
*
|
|
383
383
|
* @remarks
|
|
384
384
|
*
|
|
385
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
385
|
+
* 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`.
|
|
386
386
|
*
|
|
387
|
-
* With project-
|
|
387
|
+
* 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.
|
|
388
388
|
*/
|
|
389
389
|
path: string;
|
|
390
390
|
/**
|
|
@@ -479,13 +479,13 @@ export type RetrieveToolResponseBodyJsonSchema = {
|
|
|
479
479
|
export type RetrieveToolResponseBodyJSONSchemaTool = {
|
|
480
480
|
id: string;
|
|
481
481
|
/**
|
|
482
|
-
* Entity storage path
|
|
482
|
+
* Entity storage path.
|
|
483
483
|
*
|
|
484
484
|
* @remarks
|
|
485
485
|
*
|
|
486
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
486
|
+
* 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`.
|
|
487
487
|
*
|
|
488
|
-
* With project-
|
|
488
|
+
* 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.
|
|
489
489
|
*/
|
|
490
490
|
path: string;
|
|
491
491
|
/**
|
|
@@ -594,13 +594,13 @@ export type RetrieveToolResponseBodyFunction = {
|
|
|
594
594
|
export type RetrieveToolResponseBodyFunctionTool = {
|
|
595
595
|
id: string;
|
|
596
596
|
/**
|
|
597
|
-
* Entity storage path
|
|
597
|
+
* Entity storage path.
|
|
598
598
|
*
|
|
599
599
|
* @remarks
|
|
600
600
|
*
|
|
601
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
601
|
+
* 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`.
|
|
602
602
|
*
|
|
603
|
-
* With project-
|
|
603
|
+
* 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.
|
|
604
604
|
*/
|
|
605
605
|
path: string;
|
|
606
606
|
/**
|
|
@@ -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("
|
|
756
|
+
_id: z.string().default("tool_01KRMVC5SW0YYXT344FNC6CFCZ"),
|
|
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("
|
|
862
|
+
id: z.string().default("01KRMVC5SMBCP4SW22BZTX2J9C"),
|
|
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("
|
|
920
|
+
_id: z.string().default("tool_01KRMVC5SJZKV5ZTY4Z05KDFFK"),
|
|
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("
|
|
1111
|
+
_id: z.string().default("tool_01KRMVC5SAC7DBGPPFMYR2N912"),
|
|
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("
|
|
1207
|
+
_id: z.string().default("tool_01KRMVC5RYNHRR46GCHQNQCY5S"),
|
|
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("
|
|
1313
|
+
_id: z.string().default("tool_01KRMVC5RT4MPXA34CD1ZYW1SX"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|
|
@@ -1710,13 +1710,13 @@ export type RunAgentRequestBody = {
|
|
|
1710
1710
|
*/
|
|
1711
1711
|
memory?: RunAgentMemory | undefined;
|
|
1712
1712
|
/**
|
|
1713
|
-
* Entity storage path
|
|
1713
|
+
* Entity storage path.
|
|
1714
1714
|
*
|
|
1715
1715
|
* @remarks
|
|
1716
1716
|
*
|
|
1717
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1717
|
+
* 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`.
|
|
1718
1718
|
*
|
|
1719
|
-
* With project-
|
|
1719
|
+
* 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.
|
|
1720
1720
|
*/
|
|
1721
1721
|
path: string;
|
|
1722
1722
|
/**
|
|
@@ -3628,7 +3628,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3628
3628
|
z.ZodTypeDef,
|
|
3629
3629
|
Tools
|
|
3630
3630
|
> = z.object({
|
|
3631
|
-
id: z.string().default("
|
|
3631
|
+
id: z.string().default("01KRMVC4YPQTGCXRJHFBHNW5MR"),
|
|
3632
3632
|
name: z.string(),
|
|
3633
3633
|
description: z.string().optional(),
|
|
3634
3634
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1747,13 +1747,13 @@ export type StreamRunAgentRequestBody = {
|
|
|
1747
1747
|
*/
|
|
1748
1748
|
memory?: StreamRunAgentMemory | undefined;
|
|
1749
1749
|
/**
|
|
1750
|
-
* Entity storage path
|
|
1750
|
+
* Entity storage path.
|
|
1751
1751
|
*
|
|
1752
1752
|
* @remarks
|
|
1753
1753
|
*
|
|
1754
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1754
|
+
* 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`.
|
|
1755
1755
|
*
|
|
1756
|
-
* With project-
|
|
1756
|
+
* 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.
|
|
1757
1757
|
*/
|
|
1758
1758
|
path: string;
|
|
1759
1759
|
/**
|
|
@@ -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("
|
|
3678
|
+
id: z.string().default("01KRMVC50A3YBANCGXYS7XJDFG"),
|
|
3679
3679
|
name: z.string(),
|
|
3680
3680
|
description: z.string().optional(),
|
|
3681
3681
|
schema: z.lazy(() =>
|
|
@@ -1472,13 +1472,13 @@ export type UpdateAgentRequestBody = {
|
|
|
1472
1472
|
| undefined;
|
|
1473
1473
|
settings?: UpdateAgentSettings | undefined;
|
|
1474
1474
|
/**
|
|
1475
|
-
* Entity storage path
|
|
1475
|
+
* Entity storage path.
|
|
1476
1476
|
*
|
|
1477
1477
|
* @remarks
|
|
1478
1478
|
*
|
|
1479
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1479
|
+
* 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`.
|
|
1480
1480
|
*
|
|
1481
|
-
* With project-
|
|
1481
|
+
* 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.
|
|
1482
1482
|
*/
|
|
1483
1483
|
path?: string | undefined;
|
|
1484
1484
|
/**
|
|
@@ -2615,13 +2615,13 @@ export type UpdateAgentResponseBody = {
|
|
|
2615
2615
|
*/
|
|
2616
2616
|
version?: string | undefined;
|
|
2617
2617
|
/**
|
|
2618
|
-
* Entity storage path
|
|
2618
|
+
* Entity storage path.
|
|
2619
2619
|
*
|
|
2620
2620
|
* @remarks
|
|
2621
2621
|
*
|
|
2622
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
2622
|
+
* 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`.
|
|
2623
2623
|
*
|
|
2624
|
-
* With project-
|
|
2624
|
+
* 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.
|
|
2625
2625
|
*/
|
|
2626
2626
|
path: string;
|
|
2627
2627
|
/**
|
|
@@ -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-05-
|
|
2361
|
+
"2026-05-15T03:37:40.073Z",
|
|
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-05-
|
|
2407
|
+
"2026-05-15T03:37:40.073Z",
|
|
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-05-
|
|
2452
|
+
"2026-05-15T03:37:40.073Z",
|
|
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-05-
|
|
2533
|
+
"2026-05-15T03:37:24.790Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -18,13 +18,13 @@ export type UpdateDatasetRequestBody = {
|
|
|
18
18
|
*/
|
|
19
19
|
projectId?: string | undefined;
|
|
20
20
|
/**
|
|
21
|
-
* Entity storage path
|
|
21
|
+
* Entity storage path.
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
24
|
*
|
|
25
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
25
|
+
* 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`.
|
|
26
26
|
*
|
|
27
|
-
* With project-
|
|
27
|
+
* 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.
|
|
28
28
|
*/
|
|
29
29
|
path?: string | undefined;
|
|
30
30
|
};
|
|
@@ -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-05-
|
|
185
|
+
"2026-05-15T03:37:24.790Z",
|
|
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("
|
|
155
|
+
_id: z.string().default("01KRMVC5WPZR25A5MJQFYZ8H71"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.string().optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1541,8 +1541,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1541
1541
|
> = z.object({
|
|
1542
1542
|
_id: z.string(),
|
|
1543
1543
|
description: z.string(),
|
|
1544
|
-
created: z.string().default("2026-05-
|
|
1545
|
-
updated: z.string().default("2026-05-
|
|
1544
|
+
created: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
1545
|
+
updated: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
1546
1546
|
guardrail_config: z.nullable(
|
|
1547
1547
|
z.union([
|
|
1548
1548
|
z.lazy(() =>
|
|
@@ -1735,8 +1735,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1735
1735
|
> = z.object({
|
|
1736
1736
|
_id: z.string(),
|
|
1737
1737
|
description: z.string(),
|
|
1738
|
-
created: z.string().default("2026-05-
|
|
1739
|
-
updated: z.string().default("2026-05-
|
|
1738
|
+
created: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
1739
|
+
updated: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
1740
1740
|
guardrail_config: z.nullable(
|
|
1741
1741
|
z.union([
|
|
1742
1742
|
z.lazy(() =>
|
|
@@ -2592,8 +2592,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2592
2592
|
> = z.object({
|
|
2593
2593
|
_id: z.string(),
|
|
2594
2594
|
description: z.string(),
|
|
2595
|
-
created: z.string().default("2026-05-
|
|
2596
|
-
updated: z.string().default("2026-05-
|
|
2595
|
+
created: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
2596
|
+
updated: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
2597
2597
|
guardrail_config: z.nullable(
|
|
2598
2598
|
z.union([
|
|
2599
2599
|
z.lazy(() =>
|
|
@@ -2809,8 +2809,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2809
2809
|
> = z.object({
|
|
2810
2810
|
_id: z.string(),
|
|
2811
2811
|
description: z.string(),
|
|
2812
|
-
created: z.string().default("2026-05-
|
|
2813
|
-
updated: z.string().default("2026-05-
|
|
2812
|
+
created: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
2813
|
+
updated: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
2814
2814
|
guardrail_config: z.nullable(
|
|
2815
2815
|
z.union([
|
|
2816
2816
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -2976,8 +2976,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2976
2976
|
> = z.object({
|
|
2977
2977
|
_id: z.string(),
|
|
2978
2978
|
description: z.string(),
|
|
2979
|
-
created: z.string().default("2026-05-
|
|
2980
|
-
updated: z.string().default("2026-05-
|
|
2979
|
+
created: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
2980
|
+
updated: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
2981
2981
|
guardrail_config: z.nullable(
|
|
2982
2982
|
z.union([
|
|
2983
2983
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -3128,8 +3128,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3128
3128
|
> = z.object({
|
|
3129
3129
|
_id: z.string(),
|
|
3130
3130
|
description: z.string(),
|
|
3131
|
-
created: z.string().default("2026-05-
|
|
3132
|
-
updated: z.string().default("2026-05-
|
|
3131
|
+
created: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
3132
|
+
updated: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
3133
3133
|
guardrail_config: z.nullable(
|
|
3134
3134
|
z.union([
|
|
3135
3135
|
z.lazy(() => UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
@@ -3489,8 +3489,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3489
3489
|
> = z.object({
|
|
3490
3490
|
_id: z.string(),
|
|
3491
3491
|
description: z.string(),
|
|
3492
|
-
created: z.string().default("2026-05-
|
|
3493
|
-
updated: z.string().default("2026-05-
|
|
3492
|
+
created: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
3493
|
+
updated: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
3494
3494
|
guardrail_config: z.nullable(
|
|
3495
3495
|
z.union([
|
|
3496
3496
|
z.lazy(() =>
|
|
@@ -3698,8 +3698,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3698
3698
|
> = z.object({
|
|
3699
3699
|
_id: z.string(),
|
|
3700
3700
|
description: z.string(),
|
|
3701
|
-
created: z.string().default("2026-05-
|
|
3702
|
-
updated: z.string().default("2026-05-
|
|
3701
|
+
created: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
3702
|
+
updated: z.string().default("2026-05-15T03:37:26.966Z"),
|
|
3703
3703
|
guardrail_config: z.nullable(
|
|
3704
3704
|
z.union([
|
|
3705
3705
|
z.lazy(() =>
|
|
@@ -167,7 +167,7 @@ export const UpdateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2026-05-
|
|
170
|
+
"2026-05-15T03:37:24.790Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -98,13 +98,13 @@ export type UpdateKnowledgeRequestBody2 = {
|
|
|
98
98
|
*/
|
|
99
99
|
embeddingModel?: string | undefined;
|
|
100
100
|
/**
|
|
101
|
-
* Entity storage path
|
|
101
|
+
* Entity storage path.
|
|
102
102
|
*
|
|
103
103
|
* @remarks
|
|
104
104
|
*
|
|
105
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
105
|
+
* 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`.
|
|
106
106
|
*
|
|
107
|
-
* With project-
|
|
107
|
+
* 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.
|
|
108
108
|
*/
|
|
109
109
|
path?: string | undefined;
|
|
110
110
|
/**
|
|
@@ -195,13 +195,13 @@ export type UpdateKnowledgeRequestBody1 = {
|
|
|
195
195
|
*/
|
|
196
196
|
description?: string | null | undefined;
|
|
197
197
|
/**
|
|
198
|
-
* Entity storage path
|
|
198
|
+
* Entity storage path.
|
|
199
199
|
*
|
|
200
200
|
* @remarks
|
|
201
201
|
*
|
|
202
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
202
|
+
* 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`.
|
|
203
203
|
*
|
|
204
|
-
* With project-
|
|
204
|
+
* 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.
|
|
205
205
|
*/
|
|
206
206
|
path?: string | undefined;
|
|
207
207
|
/**
|
|
@@ -323,13 +323,13 @@ export type UpdateKnowledgeResponseBody2 = {
|
|
|
323
323
|
*/
|
|
324
324
|
domainId: string;
|
|
325
325
|
/**
|
|
326
|
-
* Entity storage path
|
|
326
|
+
* Entity storage path.
|
|
327
327
|
*
|
|
328
328
|
* @remarks
|
|
329
329
|
*
|
|
330
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
330
|
+
* 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`.
|
|
331
331
|
*
|
|
332
|
-
* With project-
|
|
332
|
+
* 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.
|
|
333
333
|
*/
|
|
334
334
|
path?: string | undefined;
|
|
335
335
|
createdById?: string | null | undefined;
|
|
@@ -449,13 +449,13 @@ export type UpdateKnowledgeResponseBody1 = {
|
|
|
449
449
|
*/
|
|
450
450
|
domainId: string;
|
|
451
451
|
/**
|
|
452
|
-
* Entity storage path
|
|
452
|
+
* Entity storage path.
|
|
453
453
|
*
|
|
454
454
|
* @remarks
|
|
455
455
|
*
|
|
456
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
456
|
+
* 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`.
|
|
457
457
|
*
|
|
458
|
-
* With project-
|
|
458
|
+
* 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.
|
|
459
459
|
*/
|
|
460
460
|
path?: string | undefined;
|
|
461
461
|
createdById?: string | null | undefined;
|