@orq-ai/node 4.11.0-rc.24 → 4.11.0-rc.26
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/funcs/evalsAll.js +1 -0
- package/funcs/evalsAll.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/retries.js +7 -0
- package/lib/retries.js.map +1 -1
- package/models/components/reasoningpart.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/createprompt.d.ts +1 -1
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +1 -1
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +1 -1
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1 -1
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -1
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -1
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +1 -1
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -1
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +2 -0
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +18 -16
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +1 -1
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -1
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -1
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -1
- package/models/operations/getpromptversion.js.map +1 -1
- 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/listpromptversions.d.ts +1 -1
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -1
- package/models/operations/listpromptversions.js.map +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/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/updateprompt.d.ts +1 -1
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -1
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +9 -9
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/funcs/evalsAll.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/retries.ts +8 -0
- package/src/models/components/reasoningpart.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/createprompt.ts +2 -2
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +2 -2
- package/src/models/operations/deployments.ts +2 -2
- package/src/models/operations/getallprompts.ts +2 -2
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +20 -16
- package/src/models/operations/getoneprompt.ts +2 -2
- package/src/models/operations/getpromptversion.ts +2 -2
- 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/listpromptversions.ts +2 -2
- 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/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/updateprompt.ts +2 -2
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -371,7 +371,7 @@ function updateToolRequestBodyToolsSchemaToJSON(updateToolRequestBodyToolsSchema
|
|
|
371
371
|
}
|
|
372
372
|
/** @internal */
|
|
373
373
|
exports.RequestBodyTools$outboundSchema = z.object({
|
|
374
|
-
id: z.string().default("
|
|
374
|
+
id: z.string().default("01KV9ZK8HQ31WCQA7RA0HDXJR4"),
|
|
375
375
|
name: z.string(),
|
|
376
376
|
description: z.string().optional(),
|
|
377
377
|
schema: z.lazy(() => exports.UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -666,7 +666,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
666
666
|
}
|
|
667
667
|
/** @internal */
|
|
668
668
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
669
|
-
_id: z.string().default("
|
|
669
|
+
_id: z.string().default("tool_01KV9ZK8H042MDCRSQM1ZQS5QG"),
|
|
670
670
|
path: z.string(),
|
|
671
671
|
key: z.string(),
|
|
672
672
|
display_name: z.string().optional(),
|
|
@@ -719,7 +719,7 @@ function updateToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
719
719
|
}
|
|
720
720
|
/** @internal */
|
|
721
721
|
exports.UpdateToolResponseBodyTools$inboundSchema = z.object({
|
|
722
|
-
id: z.string().default("
|
|
722
|
+
id: z.string().default("01KV9ZK8GZFZ1N1RSBBSPPKRK9"),
|
|
723
723
|
name: z.string(),
|
|
724
724
|
description: z.string().optional(),
|
|
725
725
|
schema: z.lazy(() => exports.UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -749,7 +749,7 @@ function updateToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
749
749
|
}
|
|
750
750
|
/** @internal */
|
|
751
751
|
exports.UpdateToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
752
|
-
_id: z.string().default("
|
|
752
|
+
_id: z.string().default("tool_01KV9ZK8GXR5703JKEZ6SW29P2"),
|
|
753
753
|
path: z.string(),
|
|
754
754
|
key: z.string(),
|
|
755
755
|
display_name: z.string().optional(),
|
|
@@ -836,7 +836,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
836
836
|
}
|
|
837
837
|
/** @internal */
|
|
838
838
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
839
|
-
_id: z.string().default("
|
|
839
|
+
_id: z.string().default("tool_01KV9ZK8GV9NX7V8TQ11RASX2R"),
|
|
840
840
|
path: z.string(),
|
|
841
841
|
key: z.string(),
|
|
842
842
|
display_name: z.string().optional(),
|
|
@@ -886,7 +886,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
886
886
|
}
|
|
887
887
|
/** @internal */
|
|
888
888
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
889
|
-
_id: z.string().default("
|
|
889
|
+
_id: z.string().default("tool_01KV9ZK8GS3ZN8HVAN0TSNBA0M"),
|
|
890
890
|
path: z.string(),
|
|
891
891
|
key: z.string(),
|
|
892
892
|
display_name: z.string().optional(),
|
|
@@ -940,7 +940,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
940
940
|
}
|
|
941
941
|
/** @internal */
|
|
942
942
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
943
|
-
_id: z.string().default("
|
|
943
|
+
_id: z.string().default("tool_01KV9ZK8GQPT0TFHEG8YHG9RPD"),
|
|
944
944
|
path: z.string(),
|
|
945
945
|
key: z.string(),
|
|
946
946
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.11.0-rc.
|
|
3
|
+
"version": "4.11.0-rc.26",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
-
"./langchain": {
|
|
7
|
-
"require": "./langchain/index.js",
|
|
8
|
-
"types": "./langchain/index.d.mts",
|
|
9
|
-
"import": "./langchain/index.mjs"
|
|
10
|
-
},
|
|
11
6
|
".": {
|
|
12
|
-
"import": "./index.js",
|
|
13
7
|
"require": "./index.js",
|
|
14
|
-
"types": "./index.d.ts"
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"import": "./index.js"
|
|
15
10
|
},
|
|
16
|
-
"./*": "./*"
|
|
11
|
+
"./*": "./*",
|
|
12
|
+
"./langchain": {
|
|
13
|
+
"types": "./langchain/index.d.mts",
|
|
14
|
+
"import": "./langchain/index.mjs",
|
|
15
|
+
"require": "./langchain/index.js"
|
|
16
|
+
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
19
19
|
"sideEffects": false,
|
package/sdk/feedback.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ export declare class Feedback extends ClientSDK {
|
|
|
5
5
|
createEvaluation(request?: operations.PostV2FeedbackEvaluationRequestBody | undefined, options?: RequestOptions): Promise<void>;
|
|
6
6
|
remove(request?: operations.PostV2FeedbackRemoveRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackRemoveResponseBody>;
|
|
7
7
|
/**
|
|
8
|
-
* Create
|
|
8
|
+
* Create custom model
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
|
-
*
|
|
11
|
+
* Creates a new custom model for the workspace. Provider credentials in the configuration are encrypted using the workspace encryption key before being persisted.
|
|
12
12
|
*/
|
|
13
13
|
create(request?: operations.PostV2FeedbackRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackResponseBody>;
|
|
14
14
|
}
|
package/sdk/feedback.js
CHANGED
|
@@ -21,10 +21,10 @@ class Feedback extends sdks_js_1.ClientSDK {
|
|
|
21
21
|
return (0, fp_js_1.unwrapAsync)((0, feedbackRemove_js_1.feedbackRemove)(this, request, options));
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Create
|
|
24
|
+
* Create custom model
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* Creates a new custom model for the workspace. Provider credentials in the configuration are encrypted using the workspace encryption key before being persisted.
|
|
28
28
|
*/
|
|
29
29
|
async create(request, options) {
|
|
30
30
|
return (0, fp_js_1.unwrapAsync)((0, feedbackCreate_js_1.feedbackCreate)(this, request, options));
|
package/src/funcs/evalsAll.ts
CHANGED
|
@@ -92,6 +92,7 @@ async function $do(
|
|
|
92
92
|
const query = encodeFormQuery({
|
|
93
93
|
"ending_before": payload?.ending_before,
|
|
94
94
|
"limit": payload?.limit,
|
|
95
|
+
"project_id": payload?.project_id,
|
|
95
96
|
"search": payload?.search,
|
|
96
97
|
"sort": payload?.sort,
|
|
97
98
|
"starting_after": payload?.starting_after,
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.11.0-rc.
|
|
62
|
-
genVersion: "2.
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.11.0-rc.
|
|
61
|
+
sdkVersion: "4.11.0-rc.26",
|
|
62
|
+
genVersion: "2.907.0",
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.11.0-rc.26 2.907.0 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
package/src/lib/retries.ts
CHANGED
|
@@ -194,6 +194,14 @@ async function retryBackoff(
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
function retryIntervalFromResponse(res: Response): number {
|
|
197
|
+
const retryAfterMsVal = res.headers.get("retry-after-ms");
|
|
198
|
+
if (retryAfterMsVal) {
|
|
199
|
+
const parsedMs = Number(retryAfterMsVal);
|
|
200
|
+
if (Number.isFinite(parsedMs) && parsedMs >= 0) {
|
|
201
|
+
return parsedMs;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
197
205
|
const retryVal = res.headers.get("retry-after") || "";
|
|
198
206
|
if (!retryVal) {
|
|
199
207
|
return 0;
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kv9zk85tjxpdf5spve1hfv5h"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-06-
|
|
141
|
+
"2026-06-17T05:06:27.098Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2372,7 +2372,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2372
2372
|
),
|
|
2373
2373
|
reviewed_by_id: z.string(),
|
|
2374
2374
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2375
|
-
"2026-06-
|
|
2375
|
+
"2026-06-17T05:06:53.325Z",
|
|
2376
2376
|
).transform(v => new Date(v)),
|
|
2377
2377
|
type: z.literal("string_array"),
|
|
2378
2378
|
values: z.array(z.string()),
|
|
@@ -2417,7 +2417,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2417
2417
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2418
2418
|
reviewed_by_id: z.string(),
|
|
2419
2419
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2420
|
-
"2026-06-
|
|
2420
|
+
"2026-06-17T05:06:53.325Z",
|
|
2421
2421
|
).transform(v => new Date(v)),
|
|
2422
2422
|
type: z.literal("number"),
|
|
2423
2423
|
value: z.number(),
|
|
@@ -2463,7 +2463,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2463
2463
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2464
2464
|
reviewed_by_id: z.string(),
|
|
2465
2465
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2466
|
-
"2026-06-
|
|
2466
|
+
"2026-06-17T05:06:53.324Z",
|
|
2467
2467
|
).transform(v => new Date(v)),
|
|
2468
2468
|
type: z.literal("string"),
|
|
2469
2469
|
value: z.string(),
|
|
@@ -2546,7 +2546,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2546
2546
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2547
2547
|
.optional(),
|
|
2548
2548
|
updated: z.string().datetime({ offset: true }).default(
|
|
2549
|
-
"2026-06-
|
|
2549
|
+
"2026-06-17T05:06:27.098Z",
|
|
2550
2550
|
).transform(v => new Date(v)),
|
|
2551
2551
|
}).transform((v) => {
|
|
2552
2552
|
return remap$(v, {
|
|
@@ -409,7 +409,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
409
409
|
z.ZodTypeDef,
|
|
410
410
|
unknown
|
|
411
411
|
> = z.object({
|
|
412
|
-
_id: z.string().default("
|
|
412
|
+
_id: z.string().default("01KV9ZK8NB683KP6KWWHTAA56K"),
|
|
413
413
|
display_name: z.string(),
|
|
414
414
|
description: z.nullable(z.string()).optional(),
|
|
415
415
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2193,8 +2193,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
> = z.object({
|
|
2194
2194
|
_id: z.string(),
|
|
2195
2195
|
description: z.string(),
|
|
2196
|
-
created: z.string().default("2026-06-
|
|
2197
|
-
updated: z.string().default("2026-06-
|
|
2196
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2197
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2198
2198
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2199
2199
|
guardrail_config: z.nullable(
|
|
2200
2200
|
z.union([
|
|
@@ -2384,8 +2384,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2384
2384
|
.object({
|
|
2385
2385
|
_id: z.string(),
|
|
2386
2386
|
description: z.string(),
|
|
2387
|
-
created: z.string().default("2026-06-
|
|
2388
|
-
updated: z.string().default("2026-06-
|
|
2387
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2388
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2389
2389
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2390
2390
|
guardrail_config: z.nullable(
|
|
2391
2391
|
z.union([
|
|
@@ -3210,8 +3210,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3210
3210
|
> = z.object({
|
|
3211
3211
|
_id: z.string(),
|
|
3212
3212
|
description: z.string(),
|
|
3213
|
-
created: z.string().default("2026-06-
|
|
3214
|
-
updated: z.string().default("2026-06-
|
|
3213
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3214
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3215
3215
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3216
3216
|
guardrail_config: z.nullable(
|
|
3217
3217
|
z.union([
|
|
@@ -3430,8 +3430,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3430
3430
|
> = z.object({
|
|
3431
3431
|
_id: z.string(),
|
|
3432
3432
|
description: z.string(),
|
|
3433
|
-
created: z.string().default("2026-06-
|
|
3434
|
-
updated: z.string().default("2026-06-
|
|
3433
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3434
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3435
3435
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3436
3436
|
guardrail_config: z.nullable(
|
|
3437
3437
|
z.union([
|
|
@@ -3612,8 +3612,8 @@ export const CreateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3612
3612
|
> = z.object({
|
|
3613
3613
|
_id: z.string(),
|
|
3614
3614
|
description: z.string(),
|
|
3615
|
-
created: z.string().default("2026-06-
|
|
3616
|
-
updated: z.string().default("2026-06-
|
|
3615
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3616
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3617
3617
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3618
3618
|
guardrail_config: z.nullable(
|
|
3619
3619
|
z.union([
|
|
@@ -3772,8 +3772,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
3772
3772
|
.object({
|
|
3773
3773
|
_id: z.string(),
|
|
3774
3774
|
description: z.string(),
|
|
3775
|
-
created: z.string().default("2026-06-
|
|
3776
|
-
updated: z.string().default("2026-06-
|
|
3775
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3776
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3777
3777
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3778
3778
|
guardrail_config: z.nullable(
|
|
3779
3779
|
z.union([
|
|
@@ -4143,8 +4143,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4143
4143
|
> = z.object({
|
|
4144
4144
|
_id: z.string(),
|
|
4145
4145
|
description: z.string(),
|
|
4146
|
-
created: z.string().default("2026-06-
|
|
4147
|
-
updated: z.string().default("2026-06-
|
|
4146
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
4147
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
4148
4148
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
4149
4149
|
guardrail_config: z.nullable(
|
|
4150
4150
|
z.union([
|
|
@@ -4363,8 +4363,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4363
4363
|
> = z.object({
|
|
4364
4364
|
_id: z.string(),
|
|
4365
4365
|
description: z.string(),
|
|
4366
|
-
created: z.string().default("2026-06-
|
|
4367
|
-
updated: z.string().default("2026-06-
|
|
4366
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
4367
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
4368
4368
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
4369
4369
|
guardrail_config: z.nullable(
|
|
4370
4370
|
z.union([
|
|
@@ -1062,7 +1062,7 @@ export type CreatePromptResponseFormatPromptsResponse200ApplicationJSONResponseB
|
|
|
1062
1062
|
export type CreatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema =
|
|
1063
1063
|
{
|
|
1064
1064
|
name: string;
|
|
1065
|
-
description?: string | undefined;
|
|
1065
|
+
description?: string | null | undefined;
|
|
1066
1066
|
strict?: boolean | undefined;
|
|
1067
1067
|
schema: { [k: string]: any };
|
|
1068
1068
|
};
|
|
@@ -4000,7 +4000,7 @@ export const CreatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSche
|
|
|
4000
4000
|
unknown
|
|
4001
4001
|
> = z.object({
|
|
4002
4002
|
name: z.string(),
|
|
4003
|
-
description: z.string().optional(),
|
|
4003
|
+
description: z.nullable(z.string()).optional(),
|
|
4004
4004
|
strict: z.boolean().optional(),
|
|
4005
4005
|
schema: z.record(z.any()),
|
|
4006
4006
|
});
|
|
@@ -1898,7 +1898,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1898
1898
|
z.ZodTypeDef,
|
|
1899
1899
|
unknown
|
|
1900
1900
|
> = z.object({
|
|
1901
|
-
_id: z.string().default("
|
|
1901
|
+
_id: z.string().default("tool_01KV9ZK8GESXQQVB021AFYZ4WX"),
|
|
1902
1902
|
path: z.string(),
|
|
1903
1903
|
key: z.string(),
|
|
1904
1904
|
display_name: z.string().optional(),
|
|
@@ -1995,7 +1995,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1995
1995
|
z.ZodTypeDef,
|
|
1996
1996
|
unknown
|
|
1997
1997
|
> = z.object({
|
|
1998
|
-
id: z.string().default("
|
|
1998
|
+
id: z.string().default("01KV9ZK8GCTQ750CCF87J7EYTT"),
|
|
1999
1999
|
name: z.string(),
|
|
2000
2000
|
description: z.string().optional(),
|
|
2001
2001
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2051,7 +2051,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2051
2051
|
z.ZodTypeDef,
|
|
2052
2052
|
unknown
|
|
2053
2053
|
> = z.object({
|
|
2054
|
-
_id: z.string().default("
|
|
2054
|
+
_id: z.string().default("tool_01KV9ZK8GBNNS8F3H5X8BS64E8"),
|
|
2055
2055
|
path: z.string(),
|
|
2056
2056
|
key: z.string(),
|
|
2057
2057
|
display_name: z.string().optional(),
|
|
@@ -2237,7 +2237,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2237
2237
|
z.ZodTypeDef,
|
|
2238
2238
|
unknown
|
|
2239
2239
|
> = z.object({
|
|
2240
|
-
_id: z.string().default("
|
|
2240
|
+
_id: z.string().default("tool_01KV9ZK8G9P57KVAMZG5CA82TD"),
|
|
2241
2241
|
path: z.string(),
|
|
2242
2242
|
key: z.string(),
|
|
2243
2243
|
display_name: z.string().optional(),
|
|
@@ -2330,7 +2330,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2330
2330
|
z.ZodTypeDef,
|
|
2331
2331
|
unknown
|
|
2332
2332
|
> = z.object({
|
|
2333
|
-
_id: z.string().default("
|
|
2333
|
+
_id: z.string().default("tool_01KV9ZK8G7K1E1Z4M9Z8862FBX"),
|
|
2334
2334
|
path: z.string(),
|
|
2335
2335
|
key: z.string(),
|
|
2336
2336
|
display_name: z.string().optional(),
|
|
@@ -2431,7 +2431,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2431
2431
|
z.ZodTypeDef,
|
|
2432
2432
|
unknown
|
|
2433
2433
|
> = z.object({
|
|
2434
|
-
_id: z.string().default("
|
|
2434
|
+
_id: z.string().default("tool_01KV9ZK8G6H08T33AYMA1EDH3G"),
|
|
2435
2435
|
path: z.string(),
|
|
2436
2436
|
key: z.string(),
|
|
2437
2437
|
display_name: z.string().optional(),
|
|
@@ -1377,7 +1377,7 @@ export type DeploymentGetConfigResponseFormatDeploymentsResponseType =
|
|
|
1377
1377
|
|
|
1378
1378
|
export type DeploymentGetConfigResponseFormatJsonSchema = {
|
|
1379
1379
|
name: string;
|
|
1380
|
-
description?: string | undefined;
|
|
1380
|
+
description?: string | null | undefined;
|
|
1381
1381
|
strict?: boolean | undefined;
|
|
1382
1382
|
schema: { [k: string]: any };
|
|
1383
1383
|
};
|
|
@@ -4808,7 +4808,7 @@ export const DeploymentGetConfigResponseFormatJsonSchema$inboundSchema:
|
|
|
4808
4808
|
unknown
|
|
4809
4809
|
> = z.object({
|
|
4810
4810
|
name: z.string(),
|
|
4811
|
-
description: z.string().optional(),
|
|
4811
|
+
description: z.nullable(z.string()).optional(),
|
|
4812
4812
|
strict: z.boolean().optional(),
|
|
4813
4813
|
schema: z.record(z.any()),
|
|
4814
4814
|
});
|
|
@@ -187,7 +187,7 @@ export type DeploymentsResponseFormatDeploymentsResponseType = ClosedEnum<
|
|
|
187
187
|
|
|
188
188
|
export type DeploymentsResponseFormatJsonSchema = {
|
|
189
189
|
name: string;
|
|
190
|
-
description?: string | undefined;
|
|
190
|
+
description?: string | null | undefined;
|
|
191
191
|
strict?: boolean | undefined;
|
|
192
192
|
schema: { [k: string]: any };
|
|
193
193
|
};
|
|
@@ -867,7 +867,7 @@ export const DeploymentsResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
867
867
|
unknown
|
|
868
868
|
> = z.object({
|
|
869
869
|
name: z.string(),
|
|
870
|
-
description: z.string().optional(),
|
|
870
|
+
description: z.nullable(z.string()).optional(),
|
|
871
871
|
strict: z.boolean().optional(),
|
|
872
872
|
schema: z.record(z.any()),
|
|
873
873
|
});
|
|
@@ -136,7 +136,7 @@ export type GetAllPromptsResponseFormatPromptsResponse200Type = ClosedEnum<
|
|
|
136
136
|
|
|
137
137
|
export type GetAllPromptsResponseFormatPromptsResponseJsonSchema = {
|
|
138
138
|
name: string;
|
|
139
|
-
description?: string | undefined;
|
|
139
|
+
description?: string | null | undefined;
|
|
140
140
|
strict?: boolean | undefined;
|
|
141
141
|
schema: { [k: string]: any };
|
|
142
142
|
};
|
|
@@ -1699,7 +1699,7 @@ export const GetAllPromptsResponseFormatPromptsResponseJsonSchema$inboundSchema:
|
|
|
1699
1699
|
unknown
|
|
1700
1700
|
> = z.object({
|
|
1701
1701
|
name: z.string(),
|
|
1702
|
-
description: z.string().optional(),
|
|
1702
|
+
description: z.nullable(z.string()).optional(),
|
|
1703
1703
|
strict: z.boolean().optional(),
|
|
1704
1704
|
schema: z.record(z.any()),
|
|
1705
1705
|
});
|
|
@@ -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("
|
|
770
|
+
_id: z.string().default("tool_01KV9ZK8FSE33TESCJM959M0RC"),
|
|
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("
|
|
867
|
+
id: z.string().default("01KV9ZK8FR4275KA0QP3NA121Y"),
|
|
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("
|
|
920
|
+
_id: z.string().default("tool_01KV9ZK8FQT5SYBZ325M27XRM5"),
|
|
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("
|
|
1105
|
+
_id: z.string().default("tool_01KV9ZK8FNQ38067PHQ5PVF1RF"),
|
|
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("
|
|
1198
|
+
_id: z.string().default("tool_01KV9ZK8FKMG0685QKZ7BQA7HZ"),
|
|
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("
|
|
1300
|
+
_id: z.string().default("tool_01KV9ZK8FH87P3W49VDYDBG983"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|
|
@@ -30,6 +30,7 @@ export type GetEvalsRequest = {
|
|
|
30
30
|
endingBefore?: string | undefined;
|
|
31
31
|
search?: string | undefined;
|
|
32
32
|
sort?: Sort | undefined;
|
|
33
|
+
projectId?: string | undefined;
|
|
33
34
|
};
|
|
34
35
|
|
|
35
36
|
export const ObjectT = {
|
|
@@ -892,6 +893,7 @@ export type GetEvalsRequest$Outbound = {
|
|
|
892
893
|
ending_before?: string | undefined;
|
|
893
894
|
search?: string | undefined;
|
|
894
895
|
sort?: string | undefined;
|
|
896
|
+
project_id?: string | undefined;
|
|
895
897
|
};
|
|
896
898
|
|
|
897
899
|
/** @internal */
|
|
@@ -905,10 +907,12 @@ export const GetEvalsRequest$outboundSchema: z.ZodType<
|
|
|
905
907
|
endingBefore: z.string().optional(),
|
|
906
908
|
search: z.string().optional(),
|
|
907
909
|
sort: Sort$outboundSchema.optional(),
|
|
910
|
+
projectId: z.string().optional(),
|
|
908
911
|
}).transform((v) => {
|
|
909
912
|
return remap$(v, {
|
|
910
913
|
startingAfter: "starting_after",
|
|
911
914
|
endingBefore: "ending_before",
|
|
915
|
+
projectId: "project_id",
|
|
912
916
|
});
|
|
913
917
|
});
|
|
914
918
|
|
|
@@ -1070,8 +1074,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1070
1074
|
> = z.object({
|
|
1071
1075
|
_id: z.string(),
|
|
1072
1076
|
description: z.string(),
|
|
1073
|
-
created: z.string().default("2026-06-
|
|
1074
|
-
updated: z.string().default("2026-06-
|
|
1077
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
1078
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
1075
1079
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1076
1080
|
guardrail_config: z.nullable(
|
|
1077
1081
|
z.union([
|
|
@@ -1252,8 +1256,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1252
1256
|
> = z.object({
|
|
1253
1257
|
_id: z.string(),
|
|
1254
1258
|
description: z.string(),
|
|
1255
|
-
created: z.string().default("2026-06-
|
|
1256
|
-
updated: z.string().default("2026-06-
|
|
1259
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
1260
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
1257
1261
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1258
1262
|
guardrail_config: z.nullable(
|
|
1259
1263
|
z.union([
|
|
@@ -2084,8 +2088,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2084
2088
|
> = z.object({
|
|
2085
2089
|
_id: z.string(),
|
|
2086
2090
|
description: z.string(),
|
|
2087
|
-
created: z.string().default("2026-06-
|
|
2088
|
-
updated: z.string().default("2026-06-
|
|
2091
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2092
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2089
2093
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2090
2094
|
guardrail_config: z.nullable(
|
|
2091
2095
|
z.union([
|
|
@@ -2268,8 +2272,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2268
2272
|
> = z.object({
|
|
2269
2273
|
_id: z.string(),
|
|
2270
2274
|
description: z.string(),
|
|
2271
|
-
created: z.string().default("2026-06-
|
|
2272
|
-
updated: z.string().default("2026-06-
|
|
2275
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2276
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2273
2277
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2274
2278
|
guardrail_config: z.nullable(
|
|
2275
2279
|
z.union([
|
|
@@ -2448,8 +2452,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2448
2452
|
> = z.object({
|
|
2449
2453
|
_id: z.string(),
|
|
2450
2454
|
description: z.string(),
|
|
2451
|
-
created: z.string().default("2026-06-
|
|
2452
|
-
updated: z.string().default("2026-06-
|
|
2455
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2456
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2453
2457
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2454
2458
|
guardrail_config: z.nullable(
|
|
2455
2459
|
z.union([
|
|
@@ -2640,8 +2644,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2640
2644
|
> = z.object({
|
|
2641
2645
|
_id: z.string(),
|
|
2642
2646
|
description: z.string(),
|
|
2643
|
-
created: z.string().default("2026-06-
|
|
2644
|
-
updated: z.string().default("2026-06-
|
|
2647
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2648
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
2645
2649
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2646
2650
|
guardrail_config: z.nullable(
|
|
2647
2651
|
z.union([
|
|
@@ -3008,8 +3012,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
3008
3012
|
> = z.object({
|
|
3009
3013
|
_id: z.string(),
|
|
3010
3014
|
description: z.string(),
|
|
3011
|
-
created: z.string().default("2026-06-
|
|
3012
|
-
updated: z.string().default("2026-06-
|
|
3015
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3016
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3013
3017
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3014
3018
|
guardrail_config: z.nullable(
|
|
3015
3019
|
z.union([
|
|
@@ -3221,8 +3225,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3221
3225
|
> = z.object({
|
|
3222
3226
|
_id: z.string(),
|
|
3223
3227
|
description: z.string(),
|
|
3224
|
-
created: z.string().default("2026-06-
|
|
3225
|
-
updated: z.string().default("2026-06-
|
|
3228
|
+
created: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3229
|
+
updated: z.string().default("2026-06-17T05:06:28.473Z"),
|
|
3226
3230
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3227
3231
|
guardrail_config: z.nullable(
|
|
3228
3232
|
z.union([
|
|
@@ -122,7 +122,7 @@ export type GetOnePromptResponseFormatPromptsResponse200Type = ClosedEnum<
|
|
|
122
122
|
|
|
123
123
|
export type GetOnePromptResponseFormatPromptsResponseJsonSchema = {
|
|
124
124
|
name: string;
|
|
125
|
-
description?: string | undefined;
|
|
125
|
+
description?: string | null | undefined;
|
|
126
126
|
strict?: boolean | undefined;
|
|
127
127
|
schema: { [k: string]: any };
|
|
128
128
|
};
|
|
@@ -1658,7 +1658,7 @@ export const GetOnePromptResponseFormatPromptsResponseJsonSchema$inboundSchema:
|
|
|
1658
1658
|
unknown
|
|
1659
1659
|
> = z.object({
|
|
1660
1660
|
name: z.string(),
|
|
1661
|
-
description: z.string().optional(),
|
|
1661
|
+
description: z.nullable(z.string()).optional(),
|
|
1662
1662
|
strict: z.boolean().optional(),
|
|
1663
1663
|
schema: z.record(z.any()),
|
|
1664
1664
|
});
|
|
@@ -124,7 +124,7 @@ export type GetPromptVersionResponseFormatPromptsResponse200Type = ClosedEnum<
|
|
|
124
124
|
|
|
125
125
|
export type GetPromptVersionResponseFormatPromptsResponseJsonSchema = {
|
|
126
126
|
name: string;
|
|
127
|
-
description?: string | undefined;
|
|
127
|
+
description?: string | null | undefined;
|
|
128
128
|
strict?: boolean | undefined;
|
|
129
129
|
schema: { [k: string]: any };
|
|
130
130
|
};
|
|
@@ -1669,7 +1669,7 @@ export const GetPromptVersionResponseFormatPromptsResponseJsonSchema$inboundSche
|
|
|
1669
1669
|
unknown
|
|
1670
1670
|
> = z.object({
|
|
1671
1671
|
name: z.string(),
|
|
1672
|
-
description: z.string().optional(),
|
|
1672
|
+
description: z.nullable(z.string()).optional(),
|
|
1673
1673
|
strict: z.boolean().optional(),
|
|
1674
1674
|
schema: z.record(z.any()),
|
|
1675
1675
|
});
|