@orq-ai/node 4.7.0-rc.35 → 4.7.0-rc.37
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/README.md +1 -2
- package/funcs/identitiesRetrieve.d.ts +1 -1
- package/funcs/identitiesRetrieve.d.ts.map +1 -1
- package/funcs/identitiesRetrieve.js +2 -6
- package/funcs/identitiesRetrieve.js.map +1 -1
- 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/errors/retrieveidentity.d.ts +0 -27
- package/models/errors/retrieveidentity.d.ts.map +1 -1
- package/models/errors/retrieveidentity.js +1 -30
- package/models/errors/retrieveidentity.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +0 -19
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +5 -22
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +0 -19
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +1 -12
- package/models/operations/createagentresponserequest.js.map +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.d.ts +18 -18
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +42 -42
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createimage.d.ts +0 -9
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +0 -1
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createprompt.d.ts +0 -1
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +0 -1
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +0 -1
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +0 -1
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +0 -1
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +0 -1
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +0 -1
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +0 -1
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +0 -1
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +0 -1
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +8 -8
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +32 -32
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +0 -1
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +0 -1
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +0 -1
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +0 -1
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/invokeagent.d.ts +0 -19
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +1 -12
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +0 -9
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -11
- package/models/operations/listagents.js.map +1 -1
- 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/listpromptversions.d.ts +0 -1
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +0 -1
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/parse.d.ts +0 -5
- package/models/operations/parse.d.ts.map +1 -1
- package/models/operations/parse.js +0 -2
- package/models/operations/parse.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2agentsa2a.d.ts +4 -4
- package/models/operations/postv2agentsa2a.d.ts.map +1 -1
- package/models/operations/postv2agentsa2a.js +6 -6
- package/models/operations/postv2agentsa2a.js.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +0 -9
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -11
- package/models/operations/retrieveagentrequest.js.map +1 -1
- 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.d.ts +0 -27
- package/models/operations/retrieveidentity.d.ts.map +1 -1
- package/models/operations/retrieveidentity.js +2 -26
- package/models/operations/retrieveidentity.js.map +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +0 -19
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +5 -16
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +0 -19
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +1 -12
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +0 -19
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +4 -15
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +0 -19
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +5 -21
- package/models/operations/updateagent.js.map +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.d.ts +8 -8
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +32 -32
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updateprompt.d.ts +0 -1
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +0 -1
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/funcs/identitiesRetrieve.ts +2 -11
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/errors/retrieveidentity.ts +0 -56
- package/src/models/operations/createagentrequest.ts +0 -30
- package/src/models/operations/createagentresponserequest.ts +0 -26
- 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 +97 -148
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createimage.ts +0 -6
- package/src/models/operations/createprompt.ts +0 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +0 -1
- package/src/models/operations/deployments.ts +0 -1
- package/src/models/operations/deploymentstream.ts +0 -1
- package/src/models/operations/getallprompts.ts +0 -1
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +64 -90
- package/src/models/operations/getoneprompt.ts +0 -1
- package/src/models/operations/getpromptversion.ts +0 -1
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- package/src/models/operations/invokeagent.ts +0 -24
- package/src/models/operations/listagents.ts +0 -14
- 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/listpromptversions.ts +0 -1
- package/src/models/operations/parse.ts +0 -7
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2agentsa2a.ts +14 -17
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +0 -16
- 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 -58
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -25
- package/src/models/operations/streamagent.ts +0 -24
- package/src/models/operations/streamrunagent.ts +1 -25
- package/src/models/operations/updateagent.ts +0 -31
- 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 +66 -92
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateprompt.ts +0 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -614,7 +614,7 @@ export type Six$Outbound = {
|
|
|
614
614
|
export const Six$outboundSchema: z.ZodType<Six$Outbound, z.ZodTypeDef, Six> = z
|
|
615
615
|
.object({
|
|
616
616
|
type: z.literal("text"),
|
|
617
|
-
key: z.string().default("
|
|
617
|
+
key: z.string().default("orq_01kn3xas5w"),
|
|
618
618
|
displayName: z.string(),
|
|
619
619
|
description: z.string(),
|
|
620
620
|
createdById: z.string().optional(),
|
|
@@ -692,7 +692,7 @@ export const RequestBody5$outboundSchema: z.ZodType<
|
|
|
692
692
|
options: z.array(
|
|
693
693
|
z.lazy(() => PatchV2HumanEvalsIdRequestBodyOptionsInput$outboundSchema),
|
|
694
694
|
),
|
|
695
|
-
key: z.string().default("
|
|
695
|
+
key: z.string().default("orq_01kn3xas5v"),
|
|
696
696
|
displayName: z.string(),
|
|
697
697
|
description: z.string(),
|
|
698
698
|
createdById: z.string().optional(),
|
|
@@ -768,7 +768,7 @@ export const PatchV2HumanEvalsIdRequestBody4$outboundSchema: z.ZodType<
|
|
|
768
768
|
options: z.array(
|
|
769
769
|
z.lazy(() => PatchV2HumanEvalsIdRequestBodyOptions$outboundSchema),
|
|
770
770
|
),
|
|
771
|
-
key: z.string().default("
|
|
771
|
+
key: z.string().default("orq_01kn3xas5t"),
|
|
772
772
|
displayName: z.string(),
|
|
773
773
|
description: z.string(),
|
|
774
774
|
createdById: z.string().optional(),
|
|
@@ -837,7 +837,7 @@ export const PatchV2HumanEvalsIdRequestBody3$outboundSchema: z.ZodType<
|
|
|
837
837
|
> = z.object({
|
|
838
838
|
type: z.literal("range"),
|
|
839
839
|
config: z.lazy(() => RequestBodyConfig$outboundSchema),
|
|
840
|
-
key: z.string().default("
|
|
840
|
+
key: z.string().default("orq_01kn3xas5r"),
|
|
841
841
|
displayName: z.string(),
|
|
842
842
|
description: z.string(),
|
|
843
843
|
createdById: z.string().optional(),
|
|
@@ -880,7 +880,7 @@ export const PatchV2HumanEvalsIdRequestBody2$outboundSchema: z.ZodType<
|
|
|
880
880
|
PatchV2HumanEvalsIdRequestBody2
|
|
881
881
|
> = z.object({
|
|
882
882
|
type: z.literal("correction"),
|
|
883
|
-
key: z.string().default("
|
|
883
|
+
key: z.string().default("orq_01kn3xas5p"),
|
|
884
884
|
displayName: z.string(),
|
|
885
885
|
description: z.string(),
|
|
886
886
|
createdById: z.string().optional(),
|
|
@@ -923,7 +923,7 @@ export const PatchV2HumanEvalsIdRequestBody1$outboundSchema: z.ZodType<
|
|
|
923
923
|
PatchV2HumanEvalsIdRequestBody1
|
|
924
924
|
> = z.object({
|
|
925
925
|
type: z.literal("boolean"),
|
|
926
|
-
key: z.string().default("
|
|
926
|
+
key: z.string().default("orq_01kn3xas5n"),
|
|
927
927
|
displayName: z.string(),
|
|
928
928
|
description: z.string(),
|
|
929
929
|
createdById: z.string().optional(),
|
|
@@ -1031,7 +1031,7 @@ export const PatchV2HumanEvalsIdResponseBody6$inboundSchema: z.ZodType<
|
|
|
1031
1031
|
> = z.object({
|
|
1032
1032
|
type: z.literal("text"),
|
|
1033
1033
|
id: z.string(),
|
|
1034
|
-
key: z.string().default("
|
|
1034
|
+
key: z.string().default("orq_01kn3xas5k"),
|
|
1035
1035
|
display_name: z.string(),
|
|
1036
1036
|
description: z.string(),
|
|
1037
1037
|
domain_id: z.string().optional(),
|
|
@@ -1106,7 +1106,7 @@ export const PatchV2HumanEvalsIdResponseBody5$inboundSchema: z.ZodType<
|
|
|
1106
1106
|
z.lazy(() => PatchV2HumanEvalsIdResponseBodyResponseOptions$inboundSchema),
|
|
1107
1107
|
),
|
|
1108
1108
|
id: z.string(),
|
|
1109
|
-
key: z.string().default("
|
|
1109
|
+
key: z.string().default("orq_01kn3xas5j"),
|
|
1110
1110
|
display_name: z.string(),
|
|
1111
1111
|
description: z.string(),
|
|
1112
1112
|
domain_id: z.string().optional(),
|
|
@@ -1175,7 +1175,7 @@ export const PatchV2HumanEvalsIdResponseBody4$inboundSchema: z.ZodType<
|
|
|
1175
1175
|
z.lazy(() => PatchV2HumanEvalsIdResponseBodyOptions$inboundSchema),
|
|
1176
1176
|
),
|
|
1177
1177
|
id: z.string(),
|
|
1178
|
-
key: z.string().default("
|
|
1178
|
+
key: z.string().default("orq_01kn3xas5g"),
|
|
1179
1179
|
display_name: z.string(),
|
|
1180
1180
|
description: z.string(),
|
|
1181
1181
|
domain_id: z.string().optional(),
|
|
@@ -1234,7 +1234,7 @@ export const PatchV2HumanEvalsIdResponseBody3$inboundSchema: z.ZodType<
|
|
|
1234
1234
|
type: z.literal("range"),
|
|
1235
1235
|
config: z.lazy(() => PatchV2HumanEvalsIdResponseBodyConfig$inboundSchema),
|
|
1236
1236
|
id: z.string(),
|
|
1237
|
-
key: z.string().default("
|
|
1237
|
+
key: z.string().default("orq_01kn3xas5d"),
|
|
1238
1238
|
display_name: z.string(),
|
|
1239
1239
|
description: z.string(),
|
|
1240
1240
|
domain_id: z.string().optional(),
|
|
@@ -1271,7 +1271,7 @@ export const PatchV2HumanEvalsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
1271
1271
|
> = z.object({
|
|
1272
1272
|
type: z.literal("correction"),
|
|
1273
1273
|
id: z.string(),
|
|
1274
|
-
key: z.string().default("
|
|
1274
|
+
key: z.string().default("orq_01kn3xas5c"),
|
|
1275
1275
|
display_name: z.string(),
|
|
1276
1276
|
description: z.string(),
|
|
1277
1277
|
domain_id: z.string().optional(),
|
|
@@ -1308,7 +1308,7 @@ export const PatchV2HumanEvalsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
1308
1308
|
> = z.object({
|
|
1309
1309
|
type: z.literal("boolean"),
|
|
1310
1310
|
id: z.string(),
|
|
1311
|
-
key: z.string().default("
|
|
1311
|
+
key: z.string().default("orq_01kn3xas5a"),
|
|
1312
1312
|
display_name: z.string(),
|
|
1313
1313
|
description: z.string(),
|
|
1314
1314
|
domain_id: z.string().optional(),
|
|
@@ -54,7 +54,7 @@ export const PostV2AgentsA2aType = {
|
|
|
54
54
|
} as const;
|
|
55
55
|
export type PostV2AgentsA2aType = ClosedEnum<typeof PostV2AgentsA2aType>;
|
|
56
56
|
|
|
57
|
-
export type
|
|
57
|
+
export type Metrics = {
|
|
58
58
|
totalCost: number;
|
|
59
59
|
};
|
|
60
60
|
|
|
@@ -83,7 +83,7 @@ export type PostV2AgentsA2aResponseBody = {
|
|
|
83
83
|
status: string;
|
|
84
84
|
versionHash?: string | undefined;
|
|
85
85
|
path: string;
|
|
86
|
-
metrics:
|
|
86
|
+
metrics: Metrics;
|
|
87
87
|
memoryStores: Array<string>;
|
|
88
88
|
teamOfAgents: Array<any>;
|
|
89
89
|
created?: string | undefined;
|
|
@@ -157,25 +157,22 @@ export const PostV2AgentsA2aType$inboundSchema: z.ZodNativeEnum<
|
|
|
157
157
|
> = z.nativeEnum(PostV2AgentsA2aType);
|
|
158
158
|
|
|
159
159
|
/** @internal */
|
|
160
|
-
export const
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
})
|
|
167
|
-
return remap$(v, {
|
|
168
|
-
"total_cost": "totalCost",
|
|
160
|
+
export const Metrics$inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown> =
|
|
161
|
+
z.object({
|
|
162
|
+
total_cost: z.number(),
|
|
163
|
+
}).transform((v) => {
|
|
164
|
+
return remap$(v, {
|
|
165
|
+
"total_cost": "totalCost",
|
|
166
|
+
});
|
|
169
167
|
});
|
|
170
|
-
});
|
|
171
168
|
|
|
172
|
-
export function
|
|
169
|
+
export function metricsFromJSON(
|
|
173
170
|
jsonString: string,
|
|
174
|
-
): SafeParseResult<
|
|
171
|
+
): SafeParseResult<Metrics, SDKValidationError> {
|
|
175
172
|
return safeParse(
|
|
176
173
|
jsonString,
|
|
177
|
-
(x) =>
|
|
178
|
-
`Failed to parse '
|
|
174
|
+
(x) => Metrics$inboundSchema.parse(JSON.parse(x)),
|
|
175
|
+
`Failed to parse 'Metrics' from JSON`,
|
|
179
176
|
);
|
|
180
177
|
}
|
|
181
178
|
|
|
@@ -224,7 +221,7 @@ export const PostV2AgentsA2aResponseBody$inboundSchema: z.ZodType<
|
|
|
224
221
|
status: z.string(),
|
|
225
222
|
version_hash: z.string().optional(),
|
|
226
223
|
path: z.string(),
|
|
227
|
-
metrics: z.lazy(() =>
|
|
224
|
+
metrics: z.lazy(() => Metrics$inboundSchema),
|
|
228
225
|
memory_stores: z.array(z.string()),
|
|
229
226
|
team_of_agents: z.array(z.any()),
|
|
230
227
|
created: z.string().optional(),
|
|
@@ -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-
|
|
176
|
+
reviewedAt: z.date().default(() => new Date("2026-04-01T06:57:40.463Z"))
|
|
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-
|
|
228
|
+
reviewedAt: z.date().default(() => new Date("2026-04-01T06:57:40.454Z"))
|
|
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-
|
|
278
|
+
reviewedAt: z.date().default(() => new Date("2026-04-01T06:57:40.454Z"))
|
|
279
279
|
.transform(v => v.toISOString()),
|
|
280
280
|
type: z.literal("string"),
|
|
281
281
|
value: z.string(),
|
|
@@ -548,7 +548,7 @@ export const RequestBody6$outboundSchema: z.ZodType<
|
|
|
548
548
|
RequestBody6
|
|
549
549
|
> = z.object({
|
|
550
550
|
type: z.literal("text"),
|
|
551
|
-
key: z.string().default("
|
|
551
|
+
key: z.string().default("orq_01kn3xas59"),
|
|
552
552
|
displayName: z.string(),
|
|
553
553
|
description: z.string(),
|
|
554
554
|
projectId: z.string().optional(),
|
|
@@ -611,7 +611,7 @@ export const Five$outboundSchema: z.ZodType<Five$Outbound, z.ZodTypeDef, Five> =
|
|
|
611
611
|
z.object({
|
|
612
612
|
type: z.literal("single_select"),
|
|
613
613
|
options: z.array(z.lazy(() => RequestBodyOptions$outboundSchema)),
|
|
614
|
-
key: z.string().default("
|
|
614
|
+
key: z.string().default("orq_01kn3xas58"),
|
|
615
615
|
displayName: z.string(),
|
|
616
616
|
description: z.string(),
|
|
617
617
|
projectId: z.string().optional(),
|
|
@@ -672,7 +672,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
672
672
|
> = z.object({
|
|
673
673
|
type: z.literal("multi_select"),
|
|
674
674
|
options: z.array(z.lazy(() => Options$outboundSchema)),
|
|
675
|
-
key: z.string().default("
|
|
675
|
+
key: z.string().default("orq_01kn3xas56"),
|
|
676
676
|
displayName: z.string(),
|
|
677
677
|
description: z.string(),
|
|
678
678
|
projectId: z.string().optional(),
|
|
@@ -725,7 +725,7 @@ export const PostV2HumanEvalsRequestBody3$outboundSchema: z.ZodType<
|
|
|
725
725
|
> = z.object({
|
|
726
726
|
type: z.literal("range"),
|
|
727
727
|
config: z.lazy(() => Config$outboundSchema),
|
|
728
|
-
key: z.string().default("
|
|
728
|
+
key: z.string().default("orq_01kn3xas54"),
|
|
729
729
|
displayName: z.string(),
|
|
730
730
|
description: z.string(),
|
|
731
731
|
projectId: z.string().optional(),
|
|
@@ -762,7 +762,7 @@ export const PostV2HumanEvalsRequestBody2$outboundSchema: z.ZodType<
|
|
|
762
762
|
PostV2HumanEvalsRequestBody2
|
|
763
763
|
> = z.object({
|
|
764
764
|
type: z.literal("correction"),
|
|
765
|
-
key: z.string().default("
|
|
765
|
+
key: z.string().default("orq_01kn3xas4r"),
|
|
766
766
|
displayName: z.string(),
|
|
767
767
|
description: z.string(),
|
|
768
768
|
projectId: z.string().optional(),
|
|
@@ -799,7 +799,7 @@ export const PostV2HumanEvalsRequestBody1$outboundSchema: z.ZodType<
|
|
|
799
799
|
PostV2HumanEvalsRequestBody1
|
|
800
800
|
> = z.object({
|
|
801
801
|
type: z.literal("boolean"),
|
|
802
|
-
key: z.string().default("
|
|
802
|
+
key: z.string().default("orq_01kn3xas4p"),
|
|
803
803
|
displayName: z.string(),
|
|
804
804
|
description: z.string(),
|
|
805
805
|
projectId: z.string().optional(),
|
|
@@ -861,7 +861,7 @@ export const PostV2HumanEvalsResponseBody6$inboundSchema: z.ZodType<
|
|
|
861
861
|
> = z.object({
|
|
862
862
|
type: z.literal("text"),
|
|
863
863
|
id: z.string(),
|
|
864
|
-
key: z.string().default("
|
|
864
|
+
key: z.string().default("orq_01kn3xas4n"),
|
|
865
865
|
display_name: z.string(),
|
|
866
866
|
description: z.string(),
|
|
867
867
|
domain_id: z.string().optional(),
|
|
@@ -936,7 +936,7 @@ export const PostV2HumanEvalsResponseBody5$inboundSchema: z.ZodType<
|
|
|
936
936
|
z.lazy(() => PostV2HumanEvalsResponseBodyResponseOptions$inboundSchema),
|
|
937
937
|
),
|
|
938
938
|
id: z.string(),
|
|
939
|
-
key: z.string().default("
|
|
939
|
+
key: z.string().default("orq_01kn3xas4k"),
|
|
940
940
|
display_name: z.string(),
|
|
941
941
|
description: z.string(),
|
|
942
942
|
domain_id: z.string().optional(),
|
|
@@ -1006,7 +1006,7 @@ export const PostV2HumanEvalsResponseBody4$inboundSchema: z.ZodType<
|
|
|
1006
1006
|
z.lazy(() => PostV2HumanEvalsResponseBodyOptions$inboundSchema),
|
|
1007
1007
|
),
|
|
1008
1008
|
id: z.string(),
|
|
1009
|
-
key: z.string().default("
|
|
1009
|
+
key: z.string().default("orq_01kn3xas4h"),
|
|
1010
1010
|
display_name: z.string(),
|
|
1011
1011
|
description: z.string(),
|
|
1012
1012
|
domain_id: z.string().optional(),
|
|
@@ -1065,7 +1065,7 @@ export const PostV2HumanEvalsResponseBody3$inboundSchema: z.ZodType<
|
|
|
1065
1065
|
type: z.literal("range"),
|
|
1066
1066
|
config: z.lazy(() => PostV2HumanEvalsResponseBodyConfig$inboundSchema),
|
|
1067
1067
|
id: z.string(),
|
|
1068
|
-
key: z.string().default("
|
|
1068
|
+
key: z.string().default("orq_01kn3xas4e"),
|
|
1069
1069
|
display_name: z.string(),
|
|
1070
1070
|
description: z.string(),
|
|
1071
1071
|
domain_id: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ export const PostV2HumanEvalsResponseBody2$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
> = z.object({
|
|
1103
1103
|
type: z.literal("correction"),
|
|
1104
1104
|
id: z.string(),
|
|
1105
|
-
key: z.string().default("
|
|
1105
|
+
key: z.string().default("orq_01kn3xas4c"),
|
|
1106
1106
|
display_name: z.string(),
|
|
1107
1107
|
description: z.string(),
|
|
1108
1108
|
domain_id: z.string().optional(),
|
|
@@ -1139,7 +1139,7 @@ export const PostV2HumanEvalsResponseBody1$inboundSchema: z.ZodType<
|
|
|
1139
1139
|
> = z.object({
|
|
1140
1140
|
type: z.literal("boolean"),
|
|
1141
1141
|
id: z.string(),
|
|
1142
|
-
key: z.string().default("
|
|
1142
|
+
key: z.string().default("orq_01kn3xas4b"),
|
|
1143
1143
|
display_name: z.string(),
|
|
1144
1144
|
description: z.string(),
|
|
1145
1145
|
domain_id: z.string().optional(),
|
|
@@ -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-
|
|
274
|
+
"2026-04-01T06:57:21.910Z",
|
|
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-
|
|
319
|
+
"2026-04-01T06:57:21.910Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -64,15 +64,6 @@ export type RetrieveAgentRequestSource = ClosedEnum<
|
|
|
64
64
|
typeof RetrieveAgentRequestSource
|
|
65
65
|
>;
|
|
66
66
|
|
|
67
|
-
export const RetrieveAgentRequestEngine = {
|
|
68
|
-
Text: "text",
|
|
69
|
-
Jinja: "jinja",
|
|
70
|
-
Mustache: "mustache",
|
|
71
|
-
} as const;
|
|
72
|
-
export type RetrieveAgentRequestEngine = ClosedEnum<
|
|
73
|
-
typeof RetrieveAgentRequestEngine
|
|
74
|
-
>;
|
|
75
|
-
|
|
76
67
|
/**
|
|
77
68
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
78
69
|
*/
|
|
@@ -1147,7 +1138,6 @@ export type RetrieveAgentRequestResponseBody = {
|
|
|
1147
1138
|
*/
|
|
1148
1139
|
knowledgeBases?: Array<RetrieveAgentRequestKnowledgeBases> | undefined;
|
|
1149
1140
|
source?: RetrieveAgentRequestSource | undefined;
|
|
1150
|
-
engine: RetrieveAgentRequestEngine;
|
|
1151
1141
|
/**
|
|
1152
1142
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
1153
1143
|
*/
|
|
@@ -1269,11 +1259,6 @@ export const RetrieveAgentRequestSource$inboundSchema: z.ZodNativeEnum<
|
|
|
1269
1259
|
typeof RetrieveAgentRequestSource
|
|
1270
1260
|
> = z.nativeEnum(RetrieveAgentRequestSource);
|
|
1271
1261
|
|
|
1272
|
-
/** @internal */
|
|
1273
|
-
export const RetrieveAgentRequestEngine$inboundSchema: z.ZodNativeEnum<
|
|
1274
|
-
typeof RetrieveAgentRequestEngine
|
|
1275
|
-
> = z.nativeEnum(RetrieveAgentRequestEngine);
|
|
1276
|
-
|
|
1277
1262
|
/** @internal */
|
|
1278
1263
|
export const RetrieveAgentRequestType$inboundSchema: z.ZodNativeEnum<
|
|
1279
1264
|
typeof RetrieveAgentRequestType
|
|
@@ -2807,7 +2792,6 @@ export const RetrieveAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
|
2807
2792
|
z.lazy(() => RetrieveAgentRequestKnowledgeBases$inboundSchema),
|
|
2808
2793
|
).optional(),
|
|
2809
2794
|
source: RetrieveAgentRequestSource$inboundSchema.optional(),
|
|
2810
|
-
engine: RetrieveAgentRequestEngine$inboundSchema.default("text"),
|
|
2811
2795
|
type: RetrieveAgentRequestType$inboundSchema.default("internal"),
|
|
2812
2796
|
role: z.string(),
|
|
2813
2797
|
description: z.string(),
|
|
@@ -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-
|
|
1210
|
+
"2026-04-01T06:57:40.294Z",
|
|
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-
|
|
1258
|
+
"2026-04-01T06:57:40.293Z",
|
|
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-
|
|
1303
|
+
"2026-04-01T06:57:40.293Z",
|
|
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-
|
|
1380
|
+
"2026-04-01T06:57:21.910Z",
|
|
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-
|
|
129
|
+
"2026-04-01T06:57:21.910Z",
|
|
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("01KN3XARW0QWDQ37WKBAMP3YHC"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.string().optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -13,29 +13,6 @@ export type RetrieveIdentityRequest = {
|
|
|
13
13
|
* Unique identity id or external id
|
|
14
14
|
*/
|
|
15
15
|
id: string;
|
|
16
|
-
/**
|
|
17
|
-
* Include usage metrics of the last 30 days for the identity.
|
|
18
|
-
*/
|
|
19
|
-
includeMetrics?: boolean | null | undefined;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export type Metrics = {
|
|
23
|
-
/**
|
|
24
|
-
* Total cost in dollars of the last 30 days
|
|
25
|
-
*/
|
|
26
|
-
totalCost: number;
|
|
27
|
-
/**
|
|
28
|
-
* Total tokens of the last 30 days
|
|
29
|
-
*/
|
|
30
|
-
totalTokens: number;
|
|
31
|
-
/**
|
|
32
|
-
* Total requests of the last 30 days
|
|
33
|
-
*/
|
|
34
|
-
totalRequests: number;
|
|
35
|
-
/**
|
|
36
|
-
* Error rate of the last 30 days as a ratio (0–1)
|
|
37
|
-
*/
|
|
38
|
-
errorRate: number;
|
|
39
16
|
};
|
|
40
17
|
|
|
41
18
|
/**
|
|
@@ -78,13 +55,11 @@ export type RetrieveIdentityResponseBody = {
|
|
|
78
55
|
* The date and time the resource was last updated
|
|
79
56
|
*/
|
|
80
57
|
updated: Date;
|
|
81
|
-
metrics?: Metrics | null | undefined;
|
|
82
58
|
};
|
|
83
59
|
|
|
84
60
|
/** @internal */
|
|
85
61
|
export type RetrieveIdentityRequest$Outbound = {
|
|
86
62
|
id: string;
|
|
87
|
-
include_metrics: boolean | null;
|
|
88
63
|
};
|
|
89
64
|
|
|
90
65
|
/** @internal */
|
|
@@ -94,11 +69,6 @@ export const RetrieveIdentityRequest$outboundSchema: z.ZodType<
|
|
|
94
69
|
RetrieveIdentityRequest
|
|
95
70
|
> = z.object({
|
|
96
71
|
id: z.string(),
|
|
97
|
-
includeMetrics: z.nullable(z.boolean().default(false)),
|
|
98
|
-
}).transform((v) => {
|
|
99
|
-
return remap$(v, {
|
|
100
|
-
includeMetrics: "include_metrics",
|
|
101
|
-
});
|
|
102
72
|
});
|
|
103
73
|
|
|
104
74
|
export function retrieveIdentityRequestToJSON(
|
|
@@ -109,32 +79,6 @@ export function retrieveIdentityRequestToJSON(
|
|
|
109
79
|
);
|
|
110
80
|
}
|
|
111
81
|
|
|
112
|
-
/** @internal */
|
|
113
|
-
export const Metrics$inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown> =
|
|
114
|
-
z.object({
|
|
115
|
-
total_cost: z.number(),
|
|
116
|
-
total_tokens: z.number(),
|
|
117
|
-
total_requests: z.number(),
|
|
118
|
-
error_rate: z.number(),
|
|
119
|
-
}).transform((v) => {
|
|
120
|
-
return remap$(v, {
|
|
121
|
-
"total_cost": "totalCost",
|
|
122
|
-
"total_tokens": "totalTokens",
|
|
123
|
-
"total_requests": "totalRequests",
|
|
124
|
-
"error_rate": "errorRate",
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
export function metricsFromJSON(
|
|
129
|
-
jsonString: string,
|
|
130
|
-
): SafeParseResult<Metrics, SDKValidationError> {
|
|
131
|
-
return safeParse(
|
|
132
|
-
jsonString,
|
|
133
|
-
(x) => Metrics$inboundSchema.parse(JSON.parse(x)),
|
|
134
|
-
`Failed to parse 'Metrics' from JSON`,
|
|
135
|
-
);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
82
|
/** @internal */
|
|
139
83
|
export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
140
84
|
RetrieveIdentityResponseBody,
|
|
@@ -151,9 +95,8 @@ export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
151
95
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
152
96
|
.optional(),
|
|
153
97
|
updated: z.string().datetime({ offset: true }).default(
|
|
154
|
-
"2026-
|
|
98
|
+
"2026-04-01T06:57:21.910Z",
|
|
155
99
|
).transform(v => new Date(v)),
|
|
156
|
-
metrics: z.nullable(z.lazy(() => Metrics$inboundSchema)).optional(),
|
|
157
100
|
}).transform((v) => {
|
|
158
101
|
return remap$(v, {
|
|
159
102
|
"_id": "id",
|
|
@@ -754,7 +754,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
754
754
|
z.ZodTypeDef,
|
|
755
755
|
unknown
|
|
756
756
|
> = z.object({
|
|
757
|
-
_id: z.string().default("
|
|
757
|
+
_id: z.string().default("tool_01KN3XARRWBH5EZMBZ8GMNMART"),
|
|
758
758
|
path: z.string(),
|
|
759
759
|
key: z.string(),
|
|
760
760
|
display_name: z.string().optional(),
|
|
@@ -862,7 +862,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
862
862
|
z.ZodTypeDef,
|
|
863
863
|
unknown
|
|
864
864
|
> = z.object({
|
|
865
|
-
id: z.string().default("
|
|
865
|
+
id: z.string().default("01KN3XARRVCW8B9C7Z1QQQA03C"),
|
|
866
866
|
name: z.string(),
|
|
867
867
|
description: z.string().optional(),
|
|
868
868
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -918,7 +918,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
918
918
|
z.ZodTypeDef,
|
|
919
919
|
unknown
|
|
920
920
|
> = z.object({
|
|
921
|
-
_id: z.string().default("
|
|
921
|
+
_id: z.string().default("tool_01KN3XARRTCH1K29R9D4VNFZEY"),
|
|
922
922
|
path: z.string(),
|
|
923
923
|
key: z.string(),
|
|
924
924
|
display_name: z.string().optional(),
|
|
@@ -1111,7 +1111,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1111
1111
|
z.ZodTypeDef,
|
|
1112
1112
|
unknown
|
|
1113
1113
|
> = z.object({
|
|
1114
|
-
_id: z.string().default("
|
|
1114
|
+
_id: z.string().default("tool_01KN3XARRRG448X5TTJY41HYXM"),
|
|
1115
1115
|
path: z.string(),
|
|
1116
1116
|
key: z.string(),
|
|
1117
1117
|
display_name: z.string().optional(),
|
|
@@ -1209,7 +1209,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1209
1209
|
z.ZodTypeDef,
|
|
1210
1210
|
unknown
|
|
1211
1211
|
> = z.object({
|
|
1212
|
-
_id: z.string().default("
|
|
1212
|
+
_id: z.string().default("tool_01KN3XARRQY89ZJ033R0B5J40R"),
|
|
1213
1213
|
path: z.string(),
|
|
1214
1214
|
key: z.string(),
|
|
1215
1215
|
display_name: z.string().optional(),
|
|
@@ -1317,7 +1317,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1317
1317
|
z.ZodTypeDef,
|
|
1318
1318
|
unknown
|
|
1319
1319
|
> = z.object({
|
|
1320
|
-
_id: z.string().default("
|
|
1320
|
+
_id: z.string().default("tool_01KN3XARRN7FYHR3EDNGMMY9Z7"),
|
|
1321
1321
|
path: z.string(),
|
|
1322
1322
|
key: z.string(),
|
|
1323
1323
|
display_name: z.string().optional(),
|
|
@@ -1643,19 +1643,6 @@ export type RunAgentSettings = {
|
|
|
1643
1643
|
guardrails?: Array<RunAgentGuardrails> | undefined;
|
|
1644
1644
|
};
|
|
1645
1645
|
|
|
1646
|
-
/**
|
|
1647
|
-
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1648
|
-
*/
|
|
1649
|
-
export const RunAgentEngine = {
|
|
1650
|
-
Text: "text",
|
|
1651
|
-
Jinja: "jinja",
|
|
1652
|
-
Mustache: "mustache",
|
|
1653
|
-
} as const;
|
|
1654
|
-
/**
|
|
1655
|
-
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1656
|
-
*/
|
|
1657
|
-
export type RunAgentEngine = ClosedEnum<typeof RunAgentEngine>;
|
|
1658
|
-
|
|
1659
1646
|
export type RunAgentRequestBody = {
|
|
1660
1647
|
/**
|
|
1661
1648
|
* A unique identifier for the agent. This key must be unique within the same workspace and cannot be reused. When executing the agent, this key determines if the agent already exists. If the agent version differs, a new version is created at the end of the execution, except for the task. All agent parameters are evaluated to decide if a new version is needed.
|
|
@@ -1744,10 +1731,6 @@ export type RunAgentRequestBody = {
|
|
|
1744
1731
|
* Optional metadata for the agent run as key-value pairs that will be included in traces
|
|
1745
1732
|
*/
|
|
1746
1733
|
metadata?: { [k: string]: any } | undefined;
|
|
1747
|
-
/**
|
|
1748
|
-
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1749
|
-
*/
|
|
1750
|
-
engine?: RunAgentEngine | undefined;
|
|
1751
1734
|
};
|
|
1752
1735
|
|
|
1753
1736
|
/**
|
|
@@ -3628,7 +3611,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3628
3611
|
z.ZodTypeDef,
|
|
3629
3612
|
Tools
|
|
3630
3613
|
> = z.object({
|
|
3631
|
-
id: z.string().default("
|
|
3614
|
+
id: z.string().default("01KN3XARBNRNPWM3J08JQKJKGF"),
|
|
3632
3615
|
name: z.string(),
|
|
3633
3616
|
description: z.string().optional(),
|
|
3634
3617
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -4755,11 +4738,6 @@ export function runAgentSettingsToJSON(
|
|
|
4755
4738
|
);
|
|
4756
4739
|
}
|
|
4757
4740
|
|
|
4758
|
-
/** @internal */
|
|
4759
|
-
export const RunAgentEngine$outboundSchema: z.ZodNativeEnum<
|
|
4760
|
-
typeof RunAgentEngine
|
|
4761
|
-
> = z.nativeEnum(RunAgentEngine);
|
|
4762
|
-
|
|
4763
4741
|
/** @internal */
|
|
4764
4742
|
export type RunAgentRequestBody$Outbound = {
|
|
4765
4743
|
key: string;
|
|
@@ -4784,7 +4762,6 @@ export type RunAgentRequestBody$Outbound = {
|
|
|
4784
4762
|
team_of_agents?: Array<RunAgentTeamOfAgents$Outbound> | undefined;
|
|
4785
4763
|
settings: RunAgentSettings$Outbound;
|
|
4786
4764
|
metadata?: { [k: string]: any } | undefined;
|
|
4787
|
-
engine: string;
|
|
4788
4765
|
};
|
|
4789
4766
|
|
|
4790
4767
|
/** @internal */
|
|
@@ -4823,7 +4800,6 @@ export const RunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
4823
4800
|
.optional(),
|
|
4824
4801
|
settings: z.lazy(() => RunAgentSettings$outboundSchema),
|
|
4825
4802
|
metadata: z.record(z.any()).optional(),
|
|
4826
|
-
engine: RunAgentEngine$outboundSchema.default("text"),
|
|
4827
4803
|
}).transform((v) => {
|
|
4828
4804
|
return remap$(v, {
|
|
4829
4805
|
taskId: "task_id",
|