@orq-ai/node 4.15.0-rc.52 → 4.15.0-rc.53
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/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +1 -1
- package/models/operations/createchatcompletion.d.ts +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createprompt.d.ts +2 -2
- package/models/operations/createtool.js +4 -4
- package/models/operations/getallprompts.d.ts +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getoneprompt.d.ts +1 -1
- package/models/operations/getpromptversion.d.ts +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listpromptversions.d.ts +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.d.ts +1 -1
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.d.ts +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateprompt.d.ts +2 -2
- package/models/operations/updatetool.js +4 -4
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +1 -1
- package/src/models/operations/createchatcompletion.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createprompt.ts +2 -2
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getallprompts.ts +1 -1
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getoneprompt.ts +1 -1
- package/src/models/operations/getpromptversion.ts +1 -1
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listpromptversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updateagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateprompt.ts +2 -2
- package/src/models/operations/updatetool.ts +4 -4
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.15.0-rc.
|
|
34
|
+
readonly sdkVersion: "4.15.0-rc.53";
|
|
35
35
|
readonly genVersion: "2.937.18";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.15.0-rc.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.15.0-rc.53 2.937.18 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.15.0-rc.
|
|
31
|
+
sdkVersion: "4.15.0-rc.53",
|
|
32
32
|
genVersion: "2.937.18",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.15.0-rc.
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.15.0-rc.53 2.937.18 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01m2n4h2fwx0vf1s493cqs5yt8"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -405,7 +405,7 @@ export type Retry = {
|
|
|
405
405
|
*/
|
|
406
406
|
export type ModelConfiguration2 = {
|
|
407
407
|
/**
|
|
408
|
-
* A model ID string (e.g., `openai/gpt-
|
|
408
|
+
* A model ID string (e.g., `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`). Only models that support tool calling can be used with agents.
|
|
409
409
|
*/
|
|
410
410
|
id: string;
|
|
411
411
|
/**
|
|
@@ -1121,7 +1121,7 @@ export type CreateChatCompletionRequestBody = {
|
|
|
1121
1121
|
*/
|
|
1122
1122
|
messages: Array<CreateChatCompletionMessagesSystemMessage | CreateChatCompletionMessagesDeveloperMessage | CreateChatCompletionMessagesUserMessage | CreateChatCompletionMessagesAssistantMessage | CreateChatCompletionMessagesToolMessage>;
|
|
1123
1123
|
/**
|
|
1124
|
-
* Model ID used to generate the response, like `openai/gpt-
|
|
1124
|
+
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. The AI Gateway offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [Supported models](/docs/ai-gateway/supported-models) to browse available models.
|
|
1125
1125
|
*/
|
|
1126
1126
|
model: string;
|
|
1127
1127
|
/**
|
|
@@ -79,7 +79,7 @@ exports.CreateDatasetResponseBody$inboundSchema = z.object({
|
|
|
79
79
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
80
80
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
81
81
|
.optional(),
|
|
82
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
82
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
83
83
|
}).transform((v) => {
|
|
84
84
|
return (0, primitives_js_1.remap)(v, {
|
|
85
85
|
"_id": "id",
|
|
@@ -863,7 +863,7 @@ exports.Evaluations4$inboundSchema = z.object({
|
|
|
863
863
|
parent_annotation_id: z.string().optional(),
|
|
864
864
|
explanation: z.string().optional(),
|
|
865
865
|
reviewed_by_id: z.string(),
|
|
866
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
866
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.937Z").transform(v => new Date(v)),
|
|
867
867
|
type: z.literal("string_array"),
|
|
868
868
|
values: z.array(z.string()),
|
|
869
869
|
}).transform((v) => {
|
|
@@ -916,7 +916,7 @@ exports.CreateDatasetItemEvaluations3$inboundSchema = z.object({
|
|
|
916
916
|
parent_annotation_id: z.string().optional(),
|
|
917
917
|
explanation: z.string().optional(),
|
|
918
918
|
reviewed_by_id: z.string(),
|
|
919
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
919
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.937Z").transform(v => new Date(v)),
|
|
920
920
|
type: z.literal("boolean"),
|
|
921
921
|
value: z.boolean(),
|
|
922
922
|
}).transform((v) => {
|
|
@@ -963,7 +963,7 @@ exports.Evaluations2$inboundSchema = z.object({
|
|
|
963
963
|
parent_annotation_id: z.string().optional(),
|
|
964
964
|
explanation: z.string().optional(),
|
|
965
965
|
reviewed_by_id: z.string(),
|
|
966
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
966
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.937Z").transform(v => new Date(v)),
|
|
967
967
|
type: z.literal("number"),
|
|
968
968
|
value: z.number(),
|
|
969
969
|
}).transform((v) => {
|
|
@@ -1010,7 +1010,7 @@ exports.Evaluations1$inboundSchema = z.object({
|
|
|
1010
1010
|
parent_annotation_id: z.string().optional(),
|
|
1011
1011
|
explanation: z.string().optional(),
|
|
1012
1012
|
reviewed_by_id: z.string(),
|
|
1013
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
1013
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.937Z").transform(v => new Date(v)),
|
|
1014
1014
|
type: z.literal("string"),
|
|
1015
1015
|
value: z.string(),
|
|
1016
1016
|
}).transform((v) => {
|
|
@@ -1061,7 +1061,7 @@ exports.ResponseBody$inboundSchema = z.object({
|
|
|
1061
1061
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1062
1062
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1063
1063
|
.optional(),
|
|
1064
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
1064
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
1065
1065
|
}).transform((v) => {
|
|
1066
1066
|
return (0, primitives_js_1.remap)(v, {
|
|
1067
1067
|
"_id": "id",
|
|
@@ -657,7 +657,7 @@ export type PromptInput = {
|
|
|
657
657
|
*/
|
|
658
658
|
messages: Array<CreatePromptMessagesSystemMessage | CreatePromptMessagesUserMessage | CreatePromptMessagesAssistantMessage | CreatePromptMessagesToolMessage>;
|
|
659
659
|
/**
|
|
660
|
-
* Model ID used to generate the response, like `openai/gpt-
|
|
660
|
+
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`. The full list of models can be found at https://docs.orq.ai/docs/ai-gateway/supported-models. Only chat models are supported.
|
|
661
661
|
*/
|
|
662
662
|
model?: string | undefined;
|
|
663
663
|
/**
|
|
@@ -2054,7 +2054,7 @@ export type PromptField = {
|
|
|
2054
2054
|
*/
|
|
2055
2055
|
messages?: Array<CreatePromptMessagesPromptsSystemMessage | CreatePromptMessagesPromptsUserMessage | CreatePromptMessagesPromptsAssistantMessage | CreatePromptMessagesPromptsToolMessage> | undefined;
|
|
2056
2056
|
/**
|
|
2057
|
-
* Model ID used to generate the response, like `openai/gpt-
|
|
2057
|
+
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
|
|
2058
2058
|
*/
|
|
2059
2059
|
model?: string | null | undefined;
|
|
2060
2060
|
version?: string | undefined;
|
|
@@ -472,7 +472,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
|
|
|
472
472
|
}
|
|
473
473
|
/** @internal */
|
|
474
474
|
exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
475
|
-
_id: z.string().default("
|
|
475
|
+
_id: z.string().default("tool_01M2N4H2M1S9Y2SAXH4HNHR2ST"),
|
|
476
476
|
path: z.string(),
|
|
477
477
|
key: z.string(),
|
|
478
478
|
display_name: z.string().optional(),
|
|
@@ -562,7 +562,7 @@ function responseBodyHttpFromJSON(jsonString) {
|
|
|
562
562
|
}
|
|
563
563
|
/** @internal */
|
|
564
564
|
exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
565
|
-
_id: z.string().default("
|
|
565
|
+
_id: z.string().default("tool_01M2N4H2M019VHHC97KJBVJEQW"),
|
|
566
566
|
path: z.string(),
|
|
567
567
|
key: z.string(),
|
|
568
568
|
display_name: z.string().optional(),
|
|
@@ -612,7 +612,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
612
612
|
}
|
|
613
613
|
/** @internal */
|
|
614
614
|
exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
615
|
-
_id: z.string().default("
|
|
615
|
+
_id: z.string().default("tool_01M2N4H2KZ9YV0VGPE3G5RHW1V"),
|
|
616
616
|
path: z.string(),
|
|
617
617
|
key: z.string(),
|
|
618
618
|
display_name: z.string().optional(),
|
|
@@ -665,7 +665,7 @@ function responseBodyFunctionFromJSON(jsonString) {
|
|
|
665
665
|
}
|
|
666
666
|
/** @internal */
|
|
667
667
|
exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
668
|
-
_id: z.string().default("
|
|
668
|
+
_id: z.string().default("tool_01M2N4H2KY1ZDN9NSYWA3MRXGM"),
|
|
669
669
|
path: z.string(),
|
|
670
670
|
key: z.string(),
|
|
671
671
|
display_name: z.string().optional(),
|
|
@@ -1250,7 +1250,7 @@ export type GetAllPromptsPromptField = {
|
|
|
1250
1250
|
*/
|
|
1251
1251
|
messages?: Array<GetAllPromptsMessagesSystemMessage | GetAllPromptsMessagesUserMessage | GetAllPromptsMessagesAssistantMessage | GetAllPromptsMessagesToolMessage> | undefined;
|
|
1252
1252
|
/**
|
|
1253
|
-
* Model ID used to generate the response, like `openai/gpt-
|
|
1253
|
+
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
|
|
1254
1254
|
*/
|
|
1255
1255
|
model?: string | null | undefined;
|
|
1256
1256
|
version?: string | undefined;
|
|
@@ -172,7 +172,7 @@ function dataCodeToolFromJSON(jsonString) {
|
|
|
172
172
|
}
|
|
173
173
|
/** @internal */
|
|
174
174
|
exports.DataCodeExecutionTool$inboundSchema = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("tool_01M2N4H2KTYKNCAVJSG91CTK1F"),
|
|
176
176
|
path: z.string(),
|
|
177
177
|
key: z.string(),
|
|
178
178
|
display_name: z.string().optional(),
|
|
@@ -261,7 +261,7 @@ function dataHttpFromJSON(jsonString) {
|
|
|
261
261
|
}
|
|
262
262
|
/** @internal */
|
|
263
263
|
exports.DataHTTPTool$inboundSchema = z.object({
|
|
264
|
-
_id: z.string().default("
|
|
264
|
+
_id: z.string().default("tool_01M2N4H2KQPX0F9CKRTKJQD672"),
|
|
265
265
|
path: z.string(),
|
|
266
266
|
key: z.string(),
|
|
267
267
|
display_name: z.string().optional(),
|
|
@@ -311,7 +311,7 @@ function dataJsonSchemaFromJSON(jsonString) {
|
|
|
311
311
|
}
|
|
312
312
|
/** @internal */
|
|
313
313
|
exports.DataJSONSchemaTool$inboundSchema = z.object({
|
|
314
|
-
_id: z.string().default("
|
|
314
|
+
_id: z.string().default("tool_01M2N4H2KQ4Q6QKSV9A3FN0E54"),
|
|
315
315
|
path: z.string(),
|
|
316
316
|
key: z.string(),
|
|
317
317
|
display_name: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function dataFunctionFromJSON(jsonString) {
|
|
|
366
366
|
}
|
|
367
367
|
/** @internal */
|
|
368
368
|
exports.DataFunctionTool$inboundSchema = z.object({
|
|
369
|
-
_id: z.string().default("
|
|
369
|
+
_id: z.string().default("tool_01M2N4H2KPNAPW315Y2DVCMG6F"),
|
|
370
370
|
path: z.string(),
|
|
371
371
|
key: z.string(),
|
|
372
372
|
display_name: z.string().optional(),
|
|
@@ -1238,7 +1238,7 @@ export type GetOnePromptPromptField = {
|
|
|
1238
1238
|
*/
|
|
1239
1239
|
messages?: Array<GetOnePromptMessagesSystemMessage | GetOnePromptMessagesUserMessage | GetOnePromptMessagesAssistantMessage | GetOnePromptMessagesToolMessage> | undefined;
|
|
1240
1240
|
/**
|
|
1241
|
-
* Model ID used to generate the response, like `openai/gpt-
|
|
1241
|
+
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
|
|
1242
1242
|
*/
|
|
1243
1243
|
model?: string | null | undefined;
|
|
1244
1244
|
version?: string | undefined;
|
|
@@ -1238,7 +1238,7 @@ export type GetPromptVersionPromptField = {
|
|
|
1238
1238
|
*/
|
|
1239
1239
|
messages?: Array<GetPromptVersionMessagesSystemMessage | GetPromptVersionMessagesUserMessage | GetPromptVersionMessagesAssistantMessage | GetPromptVersionMessagesToolMessage> | undefined;
|
|
1240
1240
|
/**
|
|
1241
|
-
* Model ID used to generate the response, like `openai/gpt-
|
|
1241
|
+
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
|
|
1242
1242
|
*/
|
|
1243
1243
|
model?: string | null | undefined;
|
|
1244
1244
|
version?: string | undefined;
|
|
@@ -67,7 +67,7 @@ exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
67
67
|
updated_by_id: z.string().optional(),
|
|
68
68
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
69
|
.optional(),
|
|
70
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
71
71
|
filter_type: z.literal("name"),
|
|
72
72
|
filter_value: z.string(),
|
|
73
73
|
}).transform((v) => {
|
|
@@ -98,7 +98,7 @@ exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
98
98
|
updated_by_id: z.string().optional(),
|
|
99
99
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
100
100
|
.optional(),
|
|
101
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
102
102
|
filter_type: z.literal("span_type"),
|
|
103
103
|
filter_values: z.array(z.string()),
|
|
104
104
|
}).transform((v) => {
|
|
@@ -63,7 +63,7 @@ exports.GetV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
63
63
|
updated_by_id: z.string().optional(),
|
|
64
64
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
65
65
|
.optional(),
|
|
66
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
67
67
|
filter_type: z.literal("name"),
|
|
68
68
|
filter_value: z.string(),
|
|
69
69
|
}).transform((v) => {
|
|
@@ -94,7 +94,7 @@ exports.GetV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
94
94
|
updated_by_id: z.string().optional(),
|
|
95
95
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
96
96
|
.optional(),
|
|
97
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
98
98
|
filter_type: z.literal("span_type"),
|
|
99
99
|
filter_values: z.array(z.string()),
|
|
100
100
|
}).transform((v) => {
|
|
@@ -529,7 +529,7 @@ exports.ListDatasetDatapointsEvaluations4$inboundSchema = z.object({
|
|
|
529
529
|
parent_annotation_id: z.string().optional(),
|
|
530
530
|
explanation: z.string().optional(),
|
|
531
531
|
reviewed_by_id: z.string(),
|
|
532
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
532
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.931Z").transform(v => new Date(v)),
|
|
533
533
|
type: z.literal("string_array"),
|
|
534
534
|
values: z.array(z.string()),
|
|
535
535
|
}).transform((v) => {
|
|
@@ -581,7 +581,7 @@ exports.ListDatasetDatapointsEvaluations3$inboundSchema = z.object({
|
|
|
581
581
|
parent_annotation_id: z.string().optional(),
|
|
582
582
|
explanation: z.string().optional(),
|
|
583
583
|
reviewed_by_id: z.string(),
|
|
584
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
584
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.931Z").transform(v => new Date(v)),
|
|
585
585
|
type: z.literal("boolean"),
|
|
586
586
|
value: z.boolean(),
|
|
587
587
|
}).transform((v) => {
|
|
@@ -630,7 +630,7 @@ exports.ListDatasetDatapointsEvaluations2$inboundSchema = z.object({
|
|
|
630
630
|
parent_annotation_id: z.string().optional(),
|
|
631
631
|
explanation: z.string().optional(),
|
|
632
632
|
reviewed_by_id: z.string(),
|
|
633
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
633
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.931Z").transform(v => new Date(v)),
|
|
634
634
|
type: z.literal("number"),
|
|
635
635
|
value: z.number(),
|
|
636
636
|
}).transform((v) => {
|
|
@@ -680,7 +680,7 @@ exports.ListDatasetDatapointsEvaluations1$inboundSchema = z.object({
|
|
|
680
680
|
parent_annotation_id: z.string().optional(),
|
|
681
681
|
explanation: z.string().optional(),
|
|
682
682
|
reviewed_by_id: z.string(),
|
|
683
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
683
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.930Z").transform(v => new Date(v)),
|
|
684
684
|
type: z.literal("string"),
|
|
685
685
|
value: z.string(),
|
|
686
686
|
}).transform((v) => {
|
|
@@ -731,7 +731,7 @@ exports.ListDatasetDatapointsData$inboundSchema = z.object({
|
|
|
731
731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
732
732
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
733
733
|
.optional(),
|
|
734
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
734
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
735
735
|
}).transform((v) => {
|
|
736
736
|
return (0, primitives_js_1.remap)(v, {
|
|
737
737
|
"_id": "id",
|
|
@@ -90,7 +90,7 @@ exports.ListDatasetsData$inboundSchema = z.object({
|
|
|
90
90
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
91
91
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
92
92
|
.optional(),
|
|
93
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
93
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
94
94
|
}).transform((v) => {
|
|
95
95
|
return (0, primitives_js_1.remap)(v, {
|
|
96
96
|
"_id": "id",
|
|
@@ -1247,7 +1247,7 @@ export type ListPromptVersionsPromptField = {
|
|
|
1247
1247
|
*/
|
|
1248
1248
|
messages?: Array<ListPromptVersionsMessagesSystemMessage | ListPromptVersionsMessagesUserMessage | ListPromptVersionsMessagesAssistantMessage | ListPromptVersionsMessagesToolMessage> | undefined;
|
|
1249
1249
|
/**
|
|
1250
|
-
* Model ID used to generate the response, like `openai/gpt-
|
|
1250
|
+
* Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
|
|
1251
1251
|
*/
|
|
1252
1252
|
model?: string | null | undefined;
|
|
1253
1253
|
version?: string | undefined;
|
|
@@ -122,7 +122,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
122
122
|
updated_by_id: z.string().optional(),
|
|
123
123
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
124
124
|
.optional(),
|
|
125
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
126
126
|
filter_type: z.literal("name"),
|
|
127
127
|
filter_value: z.string(),
|
|
128
128
|
}).transform((v) => {
|
|
@@ -153,7 +153,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
153
153
|
updated_by_id: z.string().optional(),
|
|
154
154
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
155
155
|
.optional(),
|
|
156
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
157
157
|
filter_type: z.literal("span_type"),
|
|
158
158
|
filter_values: z.array(z.string()),
|
|
159
159
|
}).transform((v) => {
|
|
@@ -96,7 +96,7 @@ exports.RequestBody4$outboundSchema = z.object({
|
|
|
96
96
|
source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
97
97
|
.default("orq"),
|
|
98
98
|
explanation: z.string().optional(),
|
|
99
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
99
|
+
reviewedAt: z.date().default(() => new Date("2026-09-16T12:54:35.991Z"))
|
|
100
100
|
.transform(v => v.toISOString()),
|
|
101
101
|
type: z.literal("string_array"),
|
|
102
102
|
values: z.array(z.string()),
|
|
@@ -126,7 +126,7 @@ exports.Three$outboundSchema = z.object({
|
|
|
126
126
|
source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
127
127
|
.default("orq"),
|
|
128
128
|
explanation: z.string().optional(),
|
|
129
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
129
|
+
reviewedAt: z.date().default(() => new Date("2026-09-16T12:54:35.991Z"))
|
|
130
130
|
.transform(v => v.toISOString()),
|
|
131
131
|
type: z.literal("boolean"),
|
|
132
132
|
value: z.boolean(),
|
|
@@ -154,7 +154,7 @@ exports.RequestBody2$outboundSchema = z.object({
|
|
|
154
154
|
humanReviewId: z.string().optional(),
|
|
155
155
|
source: exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default("orq"),
|
|
156
156
|
explanation: z.string().optional(),
|
|
157
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
157
|
+
reviewedAt: z.date().default(() => new Date("2026-09-16T12:54:35.991Z"))
|
|
158
158
|
.transform(v => v.toISOString()),
|
|
159
159
|
type: z.literal("number"),
|
|
160
160
|
value: z.number(),
|
|
@@ -181,7 +181,7 @@ exports.RequestBody1$outboundSchema = z.object({
|
|
|
181
181
|
humanReviewId: z.string().optional(),
|
|
182
182
|
source: exports.RequestBodySource$outboundSchema.default("orq"),
|
|
183
183
|
explanation: z.string().optional(),
|
|
184
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
184
|
+
reviewedAt: z.date().default(() => new Date("2026-09-16T12:54:35.991Z"))
|
|
185
185
|
.transform(v => v.toISOString()),
|
|
186
186
|
type: z.literal("string"),
|
|
187
187
|
value: z.string(),
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -520,7 +520,7 @@ exports.RetrieveDatapointEvaluations4$inboundSchema = z.object({
|
|
|
520
520
|
parent_annotation_id: z.string().optional(),
|
|
521
521
|
explanation: z.string().optional(),
|
|
522
522
|
reviewed_by_id: z.string(),
|
|
523
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
523
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.934Z").transform(v => new Date(v)),
|
|
524
524
|
type: z.literal("string_array"),
|
|
525
525
|
values: z.array(z.string()),
|
|
526
526
|
}).transform((v) => {
|
|
@@ -571,7 +571,7 @@ exports.Evaluations3$inboundSchema = z.object({
|
|
|
571
571
|
parent_annotation_id: z.string().optional(),
|
|
572
572
|
explanation: z.string().optional(),
|
|
573
573
|
reviewed_by_id: z.string(),
|
|
574
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
574
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.934Z").transform(v => new Date(v)),
|
|
575
575
|
type: z.literal("boolean"),
|
|
576
576
|
value: z.boolean(),
|
|
577
577
|
}).transform((v) => {
|
|
@@ -623,7 +623,7 @@ exports.RetrieveDatapointEvaluations2$inboundSchema = z.object({
|
|
|
623
623
|
parent_annotation_id: z.string().optional(),
|
|
624
624
|
explanation: z.string().optional(),
|
|
625
625
|
reviewed_by_id: z.string(),
|
|
626
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
626
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.934Z").transform(v => new Date(v)),
|
|
627
627
|
type: z.literal("number"),
|
|
628
628
|
value: z.number(),
|
|
629
629
|
}).transform((v) => {
|
|
@@ -674,7 +674,7 @@ exports.RetrieveDatapointEvaluations1$inboundSchema = z.object({
|
|
|
674
674
|
parent_annotation_id: z.string().optional(),
|
|
675
675
|
explanation: z.string().optional(),
|
|
676
676
|
reviewed_by_id: z.string(),
|
|
677
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
677
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.934Z").transform(v => new Date(v)),
|
|
678
678
|
type: z.literal("string"),
|
|
679
679
|
value: z.string(),
|
|
680
680
|
}).transform((v) => {
|
|
@@ -725,7 +725,7 @@ exports.RetrieveDatapointResponseBody$inboundSchema = z.object({
|
|
|
725
725
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
726
726
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
727
727
|
.optional(),
|
|
728
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
728
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
729
729
|
}).transform((v) => {
|
|
730
730
|
return (0, primitives_js_1.remap)(v, {
|
|
731
731
|
"_id": "id",
|
|
@@ -78,7 +78,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
78
78
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
79
79
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
80
80
|
.optional(),
|
|
81
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
81
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
82
82
|
}).transform((v) => {
|
|
83
83
|
return (0, primitives_js_1.remap)(v, {
|
|
84
84
|
"_id": "id",
|
|
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
164
164
|
}
|
|
165
165
|
/** @internal */
|
|
166
166
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
167
|
-
_id: z.string().default("
|
|
167
|
+
_id: z.string().default("tool_01M2N4H2MESKZE19SCZJ5R96G9"),
|
|
168
168
|
path: z.string(),
|
|
169
169
|
key: z.string(),
|
|
170
170
|
display_name: z.string().optional(),
|
|
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
253
253
|
}
|
|
254
254
|
/** @internal */
|
|
255
255
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
256
|
-
_id: z.string().default("
|
|
256
|
+
_id: z.string().default("tool_01M2N4H2MDZ7MWCX5QTMQVKEQE"),
|
|
257
257
|
path: z.string(),
|
|
258
258
|
key: z.string(),
|
|
259
259
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
303
303
|
}
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
306
|
-
_id: z.string().default("
|
|
306
|
+
_id: z.string().default("tool_01M2N4H2MCTT8QZGQSN4D8E84D"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01M2N4H2MCMQNYJECJTBAEEKBP"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -405,7 +405,7 @@ export type RunAgentModelConfigurationRetry = {
|
|
|
405
405
|
*/
|
|
406
406
|
export type RunAgentModelConfiguration2 = {
|
|
407
407
|
/**
|
|
408
|
-
* A model ID string (e.g., `openai/gpt-
|
|
408
|
+
* A model ID string (e.g., `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`). Only models that support tool calling can be used with agents.
|
|
409
409
|
*/
|
|
410
410
|
id: string;
|
|
411
411
|
/**
|
|
@@ -1098,7 +1098,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
/** @internal */
|
|
1100
1100
|
exports.Tools$outboundSchema = z.object({
|
|
1101
|
-
id: z.string().default("
|
|
1101
|
+
id: z.string().default("01M2N4H2HJ7F67BWTMVFE5VV87"),
|
|
1102
1102
|
name: z.string(),
|
|
1103
1103
|
description: z.string().optional(),
|
|
1104
1104
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -405,7 +405,7 @@ export type StreamRunAgentModelConfigurationRetry = {
|
|
|
405
405
|
*/
|
|
406
406
|
export type StreamRunAgentModelConfiguration2 = {
|
|
407
407
|
/**
|
|
408
|
-
* A model ID string (e.g., `openai/gpt-
|
|
408
|
+
* A model ID string (e.g., `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`). Only models that support tool calling can be used with agents.
|
|
409
409
|
*/
|
|
410
410
|
id: string;
|
|
411
411
|
/**
|
|
@@ -1064,7 +1064,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
1064
1064
|
}
|
|
1065
1065
|
/** @internal */
|
|
1066
1066
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1067
|
-
id: z.string().default("
|
|
1067
|
+
id: z.string().default("01M2N4H2J576TZH5CGJ409FE0A"),
|
|
1068
1068
|
name: z.string(),
|
|
1069
1069
|
description: z.string().optional(),
|
|
1070
1070
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -405,7 +405,7 @@ export type ModelConfigurationRetry = {
|
|
|
405
405
|
*/
|
|
406
406
|
export type UpdateAgentModelConfiguration2 = {
|
|
407
407
|
/**
|
|
408
|
-
* A model ID string (e.g., `openai/gpt-
|
|
408
|
+
* A model ID string (e.g., `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`). Only models that support tool calling can be used with agents.
|
|
409
409
|
*/
|
|
410
410
|
id: string;
|
|
411
411
|
/**
|
|
@@ -866,7 +866,7 @@ exports.UpdateDatapointEvaluations4$inboundSchema = z.object({
|
|
|
866
866
|
parent_annotation_id: z.string().optional(),
|
|
867
867
|
explanation: z.string().optional(),
|
|
868
868
|
reviewed_by_id: z.string(),
|
|
869
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
869
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.948Z").transform(v => new Date(v)),
|
|
870
870
|
type: z.literal("string_array"),
|
|
871
871
|
values: z.array(z.string()),
|
|
872
872
|
}).transform((v) => {
|
|
@@ -917,7 +917,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
917
917
|
parent_annotation_id: z.string().optional(),
|
|
918
918
|
explanation: z.string().optional(),
|
|
919
919
|
reviewed_by_id: z.string(),
|
|
920
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
920
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.947Z").transform(v => new Date(v)),
|
|
921
921
|
type: z.literal("boolean"),
|
|
922
922
|
value: z.boolean(),
|
|
923
923
|
}).transform((v) => {
|
|
@@ -968,7 +968,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
968
968
|
parent_annotation_id: z.string().optional(),
|
|
969
969
|
explanation: z.string().optional(),
|
|
970
970
|
reviewed_by_id: z.string(),
|
|
971
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
971
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.947Z").transform(v => new Date(v)),
|
|
972
972
|
type: z.literal("number"),
|
|
973
973
|
value: z.number(),
|
|
974
974
|
}).transform((v) => {
|
|
@@ -1018,7 +1018,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
1018
1018
|
parent_annotation_id: z.string().optional(),
|
|
1019
1019
|
explanation: z.string().optional(),
|
|
1020
1020
|
reviewed_by_id: z.string(),
|
|
1021
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
1021
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T12:54:35.947Z").transform(v => new Date(v)),
|
|
1022
1022
|
type: z.literal("string"),
|
|
1023
1023
|
value: z.string(),
|
|
1024
1024
|
}).transform((v) => {
|
|
@@ -1069,7 +1069,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
1069
1069
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1070
1070
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1071
1071
|
.optional(),
|
|
1072
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
1072
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
1073
1073
|
}).transform((v) => {
|
|
1074
1074
|
return (0, primitives_js_1.remap)(v, {
|
|
1075
1075
|
"_id": "id",
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
96
96
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
97
97
|
.optional(),
|
|
98
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T12:54:27.109Z").transform(v => new Date(v)),
|
|
99
99
|
}).transform((v) => {
|
|
100
100
|
return (0, primitives_js_1.remap)(v, {
|
|
101
101
|
"_id": "id",
|