@orq-ai/node 4.13.0-rc.7 → 4.13.0-rc.8
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/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/index.d.ts +2 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -1
- package/models/components/index.js.map +1 -1
- package/models/components/plugin.d.ts +2 -0
- package/models/components/plugin.d.ts.map +1 -1
- package/models/components/plugin.js +3 -0
- package/models/components/plugin.js.map +1 -1
- package/models/components/publicplugin.d.ts +75 -0
- package/models/components/publicplugin.d.ts.map +1 -0
- package/models/components/{publicpiiredactionplugin.js → publicplugin.js} +19 -20
- package/models/components/publicplugin.js.map +1 -0
- package/models/components/reasoning.d.ts +1 -0
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +1 -0
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningparam.d.ts +1 -0
- package/models/components/reasoningparam.d.ts.map +1 -1
- package/models/components/reasoningparam.js +1 -0
- package/models/components/reasoningparam.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsehealingplugin.d.ts +35 -0
- package/models/components/responsehealingplugin.d.ts.map +1 -0
- package/models/components/responsehealingplugin.js +68 -0
- package/models/components/responsehealingplugin.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +16 -16
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +8 -0
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +5 -5
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +2 -0
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createprompt.d.ts +12 -11
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +8 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +3 -3
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +2 -1
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +2 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +2 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +2 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +2 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +4 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +4 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +2 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +2 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +7 -6
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +6 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getoneprompt.d.ts +7 -6
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +7 -6
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -0
- 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/listagents.d.ts +6 -6
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +7 -6
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +6 -0
- package/models/operations/listpromptversions.js.map +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/retrieveagentrequest.d.ts +6 -6
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +4 -0
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- 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.d.ts +10 -10
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +5 -1
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +10 -10
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +5 -1
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +16 -16
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +8 -0
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateprompt.d.ts +12 -11
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +8 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/index.ts +2 -1
- package/src/models/components/plugin.ts +7 -0
- package/src/models/components/publicplugin.ts +111 -0
- package/src/models/components/reasoning.ts +1 -0
- package/src/models/components/reasoningparam.ts +1 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsehealingplugin.ts +77 -0
- package/src/models/operations/createagentrequest.ts +30 -10
- package/src/models/operations/createchatcompletion.ts +9 -3
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createprompt.ts +19 -8
- package/src/models/operations/createrouterresponse.ts +5 -9
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +2 -0
- package/src/models/operations/deploymentinvoke.ts +2 -0
- package/src/models/operations/deployments.ts +4 -0
- package/src/models/operations/deploymentstream.ts +2 -0
- package/src/models/operations/getallprompts.ts +10 -5
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +10 -5
- package/src/models/operations/getpromptversion.ts +10 -5
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +12 -4
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listpromptversions.ts +10 -5
- 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/retrieveagentrequest.ts +12 -4
- package/src/models/operations/retrievedatapoint.ts +5 -5
- 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 +19 -7
- package/src/models/operations/streamrunagent.ts +19 -7
- package/src/models/operations/updateagent.ts +30 -10
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateprompt.ts +19 -8
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
- package/models/components/publicpiiredactionplugin.d.ts +0 -79
- package/models/components/publicpiiredactionplugin.d.ts.map +0 -1
- package/models/components/publicpiiredactionplugin.js.map +0 -1
- package/src/models/components/publicpiiredactionplugin.ts +0 -127
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-07-
|
|
321
|
+
"2026-07-28T04:12:12.098Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-07-
|
|
367
|
+
"2026-07-28T04:12:12.098Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
245
245
|
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
246
|
.default("orq"),
|
|
247
247
|
explanation: z.string().optional(),
|
|
248
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-07-28T04:12:43.457Z"))
|
|
249
249
|
.transform(v => v.toISOString()),
|
|
250
250
|
type: z.literal("string_array"),
|
|
251
251
|
values: z.array(z.string()),
|
|
@@ -299,7 +299,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
299
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
300
300
|
.default("orq"),
|
|
301
301
|
explanation: z.string().optional(),
|
|
302
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-07-28T04:12:43.456Z"))
|
|
303
303
|
.transform(v => v.toISOString()),
|
|
304
304
|
type: z.literal("boolean"),
|
|
305
305
|
value: z.boolean(),
|
|
@@ -353,7 +353,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
353
353
|
"orq",
|
|
354
354
|
),
|
|
355
355
|
explanation: z.string().optional(),
|
|
356
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-07-28T04:12:43.455Z"))
|
|
357
357
|
.transform(v => v.toISOString()),
|
|
358
358
|
type: z.literal("number"),
|
|
359
359
|
value: z.number(),
|
|
@@ -411,7 +411,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
411
411
|
humanReviewId: z.string().optional(),
|
|
412
412
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
413
413
|
explanation: z.string().optional(),
|
|
414
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
414
|
+
reviewedAt: z.date().default(() => new Date("2026-07-28T04:12:43.454Z"))
|
|
415
415
|
.transform(v => v.toISOString()),
|
|
416
416
|
type: z.literal("string"),
|
|
417
417
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-07-
|
|
274
|
+
"2026-07-28T04:12:12.098Z",
|
|
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-07-
|
|
319
|
+
"2026-07-28T04:12:12.098Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -434,7 +434,8 @@ export type RetrieveAgentRequestAgentsGuardrails = {
|
|
|
434
434
|
export type RetrieveAgentRequestPlugins =
|
|
435
435
|
| components.PIIRedactionPluginEn
|
|
436
436
|
| components.PIIRedactionPluginNl
|
|
437
|
-
| components.PIIRedactionPluginAuto
|
|
437
|
+
| components.PIIRedactionPluginAuto
|
|
438
|
+
| components.ResponseHealingPlugin;
|
|
438
439
|
|
|
439
440
|
export type RetrieveAgentRequestFallbacks = {
|
|
440
441
|
/**
|
|
@@ -660,13 +661,14 @@ export type RetrieveAgentRequestParameters = {
|
|
|
660
661
|
*/
|
|
661
662
|
guardrails?: Array<RetrieveAgentRequestAgentsGuardrails> | undefined;
|
|
662
663
|
/**
|
|
663
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
664
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
664
665
|
*/
|
|
665
666
|
plugins?:
|
|
666
667
|
| Array<
|
|
667
668
|
| components.PIIRedactionPluginEn
|
|
668
669
|
| components.PIIRedactionPluginNl
|
|
669
670
|
| components.PIIRedactionPluginAuto
|
|
671
|
+
| components.ResponseHealingPlugin
|
|
670
672
|
>
|
|
671
673
|
| undefined;
|
|
672
674
|
/**
|
|
@@ -908,7 +910,8 @@ export type RetrieveAgentRequestFallbackModelConfigurationGuardrails = {
|
|
|
908
910
|
export type RetrieveAgentRequestFallbackModelConfigurationPlugins =
|
|
909
911
|
| components.PIIRedactionPluginEn
|
|
910
912
|
| components.PIIRedactionPluginNl
|
|
911
|
-
| components.PIIRedactionPluginAuto
|
|
913
|
+
| components.PIIRedactionPluginAuto
|
|
914
|
+
| components.ResponseHealingPlugin;
|
|
912
915
|
|
|
913
916
|
export type RetrieveAgentRequestFallbackModelConfigurationFallbacks = {
|
|
914
917
|
/**
|
|
@@ -1140,13 +1143,14 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
1140
1143
|
| Array<RetrieveAgentRequestFallbackModelConfigurationGuardrails>
|
|
1141
1144
|
| undefined;
|
|
1142
1145
|
/**
|
|
1143
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1146
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
1144
1147
|
*/
|
|
1145
1148
|
plugins?:
|
|
1146
1149
|
| Array<
|
|
1147
1150
|
| components.PIIRedactionPluginEn
|
|
1148
1151
|
| components.PIIRedactionPluginNl
|
|
1149
1152
|
| components.PIIRedactionPluginAuto
|
|
1153
|
+
| components.ResponseHealingPlugin
|
|
1150
1154
|
>
|
|
1151
1155
|
| undefined;
|
|
1152
1156
|
/**
|
|
@@ -1905,6 +1909,7 @@ export const RetrieveAgentRequestPlugins$inboundSchema: z.ZodType<
|
|
|
1905
1909
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
1906
1910
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
1907
1911
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
1912
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
1908
1913
|
]);
|
|
1909
1914
|
|
|
1910
1915
|
export function retrieveAgentRequestPluginsFromJSON(
|
|
@@ -2127,6 +2132,7 @@ export const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
2127
2132
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2128
2133
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2129
2134
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2135
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2130
2136
|
]),
|
|
2131
2137
|
).optional(),
|
|
2132
2138
|
fallbacks: z.array(z.lazy(() => RetrieveAgentRequestFallbacks$inboundSchema))
|
|
@@ -2560,6 +2566,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationPlugins$inboundSchema
|
|
|
2560
2566
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2561
2567
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2562
2568
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2569
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2563
2570
|
]);
|
|
2564
2571
|
|
|
2565
2572
|
export function retrieveAgentRequestFallbackModelConfigurationPluginsFromJSON(
|
|
@@ -2842,6 +2849,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$inboundSch
|
|
|
2842
2849
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2843
2850
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2844
2851
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2852
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2845
2853
|
]),
|
|
2846
2854
|
).optional(),
|
|
2847
2855
|
fallbacks: z.array(
|
|
@@ -1579,7 +1579,7 @@ export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
1579
1579
|
explanation: z.string().optional(),
|
|
1580
1580
|
reviewed_by_id: z.string(),
|
|
1581
1581
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1582
|
-
"2026-07-
|
|
1582
|
+
"2026-07-28T04:12:43.217Z",
|
|
1583
1583
|
).transform(v => new Date(v)),
|
|
1584
1584
|
type: z.literal("string_array"),
|
|
1585
1585
|
values: z.array(z.string()),
|
|
@@ -1679,7 +1679,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1679
1679
|
explanation: z.string().optional(),
|
|
1680
1680
|
reviewed_by_id: z.string(),
|
|
1681
1681
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1682
|
-
"2026-07-
|
|
1682
|
+
"2026-07-28T04:12:43.215Z",
|
|
1683
1683
|
).transform(v => new Date(v)),
|
|
1684
1684
|
type: z.literal("boolean"),
|
|
1685
1685
|
value: z.boolean(),
|
|
@@ -1777,7 +1777,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1777
1777
|
explanation: z.string().optional(),
|
|
1778
1778
|
reviewed_by_id: z.string(),
|
|
1779
1779
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1780
|
-
"2026-07-
|
|
1780
|
+
"2026-07-28T04:12:43.214Z",
|
|
1781
1781
|
).transform(v => new Date(v)),
|
|
1782
1782
|
type: z.literal("number"),
|
|
1783
1783
|
value: z.number(),
|
|
@@ -1865,7 +1865,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1865
1865
|
explanation: z.string().optional(),
|
|
1866
1866
|
reviewed_by_id: z.string(),
|
|
1867
1867
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1868
|
-
"2026-07-
|
|
1868
|
+
"2026-07-28T04:12:43.212Z",
|
|
1869
1869
|
).transform(v => new Date(v)),
|
|
1870
1870
|
type: z.literal("string"),
|
|
1871
1871
|
value: z.string(),
|
|
@@ -1946,7 +1946,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1946
1946
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1947
1947
|
.optional(),
|
|
1948
1948
|
updated: z.string().datetime({ offset: true }).default(
|
|
1949
|
-
"2026-07-
|
|
1949
|
+
"2026-07-28T04:12:12.098Z",
|
|
1950
1950
|
).transform(v => new Date(v)),
|
|
1951
1951
|
}).transform((v) => {
|
|
1952
1952
|
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-07-
|
|
129
|
+
"2026-07-28T04:12:12.098Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
z.ZodTypeDef,
|
|
188
188
|
unknown
|
|
189
189
|
> = z.object({
|
|
190
|
-
_id: z.string().default("
|
|
190
|
+
_id: z.string().default("01KYKESHQWTFNY0BQWSYDY39BZ"),
|
|
191
191
|
display_name: z.string(),
|
|
192
192
|
description: z.nullable(z.string()).optional(),
|
|
193
193
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -757,7 +757,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
757
757
|
z.ZodTypeDef,
|
|
758
758
|
unknown
|
|
759
759
|
> = z.object({
|
|
760
|
-
_id: z.string().default("
|
|
760
|
+
_id: z.string().default("tool_01KYKESHKZC6QYV28V1XZ510C5"),
|
|
761
761
|
path: z.string(),
|
|
762
762
|
key: z.string(),
|
|
763
763
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KYKESHKYDQXN398VKS6M7909"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -921,7 +921,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
921
921
|
z.ZodTypeDef,
|
|
922
922
|
unknown
|
|
923
923
|
> = z.object({
|
|
924
|
-
_id: z.string().default("
|
|
924
|
+
_id: z.string().default("tool_01KYKESHKX3J8Q9J4J70HNHVCN"),
|
|
925
925
|
path: z.string(),
|
|
926
926
|
key: z.string(),
|
|
927
927
|
display_name: z.string().optional(),
|
|
@@ -1113,7 +1113,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1113
1113
|
z.ZodTypeDef,
|
|
1114
1114
|
unknown
|
|
1115
1115
|
> = z.object({
|
|
1116
|
-
_id: z.string().default("
|
|
1116
|
+
_id: z.string().default("tool_01KYKESHKTGR5S3DEZG1T4XWZ2"),
|
|
1117
1117
|
path: z.string(),
|
|
1118
1118
|
key: z.string(),
|
|
1119
1119
|
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_01KYKESHKR52HTWSP17S8VAK2R"),
|
|
1213
1213
|
path: z.string(),
|
|
1214
1214
|
key: z.string(),
|
|
1215
1215
|
display_name: z.string().optional(),
|
|
@@ -1315,7 +1315,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1315
1315
|
z.ZodTypeDef,
|
|
1316
1316
|
unknown
|
|
1317
1317
|
> = z.object({
|
|
1318
|
-
_id: z.string().default("
|
|
1318
|
+
_id: z.string().default("tool_01KYKESHKP2AP9TRHZS0R622RG"),
|
|
1319
1319
|
path: z.string(),
|
|
1320
1320
|
key: z.string(),
|
|
1321
1321
|
display_name: z.string().optional(),
|
|
@@ -200,7 +200,8 @@ export type RunAgentModelConfigurationGuardrails = {
|
|
|
200
200
|
export type RunAgentModelConfigurationPlugins =
|
|
201
201
|
| components.PIIRedactionPluginEn
|
|
202
202
|
| components.PIIRedactionPluginNl
|
|
203
|
-
| components.PIIRedactionPluginAuto
|
|
203
|
+
| components.PIIRedactionPluginAuto
|
|
204
|
+
| components.ResponseHealingPlugin;
|
|
204
205
|
|
|
205
206
|
export type RunAgentModelConfigurationFallbacks = {
|
|
206
207
|
/**
|
|
@@ -422,13 +423,14 @@ export type RunAgentModelConfigurationParameters = {
|
|
|
422
423
|
*/
|
|
423
424
|
guardrails?: Array<RunAgentModelConfigurationGuardrails> | undefined;
|
|
424
425
|
/**
|
|
425
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
426
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
426
427
|
*/
|
|
427
428
|
plugins?:
|
|
428
429
|
| Array<
|
|
429
430
|
| components.PIIRedactionPluginEn
|
|
430
431
|
| components.PIIRedactionPluginNl
|
|
431
432
|
| components.PIIRedactionPluginAuto
|
|
433
|
+
| components.ResponseHealingPlugin
|
|
432
434
|
>
|
|
433
435
|
| undefined;
|
|
434
436
|
/**
|
|
@@ -690,7 +692,8 @@ export type RunAgentFallbackModelConfigurationGuardrails = {
|
|
|
690
692
|
export type RunAgentFallbackModelConfigurationPlugins =
|
|
691
693
|
| components.PIIRedactionPluginEn
|
|
692
694
|
| components.PIIRedactionPluginNl
|
|
693
|
-
| components.PIIRedactionPluginAuto
|
|
695
|
+
| components.PIIRedactionPluginAuto
|
|
696
|
+
| components.ResponseHealingPlugin;
|
|
694
697
|
|
|
695
698
|
export type RunAgentFallbackModelConfigurationFallbacks = {
|
|
696
699
|
/**
|
|
@@ -921,13 +924,14 @@ export type RunAgentFallbackModelConfigurationParameters = {
|
|
|
921
924
|
*/
|
|
922
925
|
guardrails?: Array<RunAgentFallbackModelConfigurationGuardrails> | undefined;
|
|
923
926
|
/**
|
|
924
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
927
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
925
928
|
*/
|
|
926
929
|
plugins?:
|
|
927
930
|
| Array<
|
|
928
931
|
| components.PIIRedactionPluginEn
|
|
929
932
|
| components.PIIRedactionPluginNl
|
|
930
933
|
| components.PIIRedactionPluginAuto
|
|
934
|
+
| components.ResponseHealingPlugin
|
|
931
935
|
>
|
|
932
936
|
| undefined;
|
|
933
937
|
/**
|
|
@@ -2499,7 +2503,8 @@ export function runAgentModelConfigurationGuardrailsToJSON(
|
|
|
2499
2503
|
export type RunAgentModelConfigurationPlugins$Outbound =
|
|
2500
2504
|
| components.PIIRedactionPluginEn$Outbound
|
|
2501
2505
|
| components.PIIRedactionPluginNl$Outbound
|
|
2502
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2506
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
2507
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
2503
2508
|
|
|
2504
2509
|
/** @internal */
|
|
2505
2510
|
export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2510,6 +2515,7 @@ export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2510
2515
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2511
2516
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2512
2517
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2518
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2513
2519
|
]);
|
|
2514
2520
|
|
|
2515
2521
|
export function runAgentModelConfigurationPluginsToJSON(
|
|
@@ -2751,6 +2757,7 @@ export type RunAgentModelConfigurationParameters$Outbound = {
|
|
|
2751
2757
|
| components.PIIRedactionPluginEn$Outbound
|
|
2752
2758
|
| components.PIIRedactionPluginNl$Outbound
|
|
2753
2759
|
| components.PIIRedactionPluginAuto$Outbound
|
|
2760
|
+
| components.ResponseHealingPlugin$Outbound
|
|
2754
2761
|
>
|
|
2755
2762
|
| undefined;
|
|
2756
2763
|
fallbacks?: Array<RunAgentModelConfigurationFallbacks$Outbound> | undefined;
|
|
@@ -2806,6 +2813,7 @@ export const RunAgentModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
2806
2813
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2807
2814
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2808
2815
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2816
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2809
2817
|
]),
|
|
2810
2818
|
).optional(),
|
|
2811
2819
|
fallbacks: z.array(
|
|
@@ -3289,7 +3297,8 @@ export function runAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3289
3297
|
export type RunAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3290
3298
|
| components.PIIRedactionPluginEn$Outbound
|
|
3291
3299
|
| components.PIIRedactionPluginNl$Outbound
|
|
3292
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3300
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3301
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3293
3302
|
|
|
3294
3303
|
/** @internal */
|
|
3295
3304
|
export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3301,6 +3310,7 @@ export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3301
3310
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3302
3311
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3303
3312
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3313
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3304
3314
|
]);
|
|
3305
3315
|
|
|
3306
3316
|
export function runAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3559,6 +3569,7 @@ export type RunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3559
3569
|
| components.PIIRedactionPluginEn$Outbound
|
|
3560
3570
|
| components.PIIRedactionPluginNl$Outbound
|
|
3561
3571
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3572
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3562
3573
|
>
|
|
3563
3574
|
| undefined;
|
|
3564
3575
|
fallbacks?:
|
|
@@ -3622,6 +3633,7 @@ export const RunAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3622
3633
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3623
3634
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3624
3635
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3636
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3625
3637
|
]),
|
|
3626
3638
|
).optional(),
|
|
3627
3639
|
fallbacks: z.array(
|
|
@@ -4088,7 +4100,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
4088
4100
|
z.ZodTypeDef,
|
|
4089
4101
|
Tools
|
|
4090
4102
|
> = z.object({
|
|
4091
|
-
id: z.string().default("
|
|
4103
|
+
id: z.string().default("01KYKESHAQFCGVFJ23P9JH89S2"),
|
|
4092
4104
|
name: z.string(),
|
|
4093
4105
|
description: z.string().optional(),
|
|
4094
4106
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -204,7 +204,8 @@ export type StreamRunAgentModelConfigurationGuardrails = {
|
|
|
204
204
|
export type StreamRunAgentModelConfigurationPlugins =
|
|
205
205
|
| components.PIIRedactionPluginEn
|
|
206
206
|
| components.PIIRedactionPluginNl
|
|
207
|
-
| components.PIIRedactionPluginAuto
|
|
207
|
+
| components.PIIRedactionPluginAuto
|
|
208
|
+
| components.ResponseHealingPlugin;
|
|
208
209
|
|
|
209
210
|
export type StreamRunAgentModelConfigurationFallbacks = {
|
|
210
211
|
/**
|
|
@@ -433,13 +434,14 @@ export type StreamRunAgentModelConfigurationParameters = {
|
|
|
433
434
|
*/
|
|
434
435
|
guardrails?: Array<StreamRunAgentModelConfigurationGuardrails> | undefined;
|
|
435
436
|
/**
|
|
436
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
437
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
437
438
|
*/
|
|
438
439
|
plugins?:
|
|
439
440
|
| Array<
|
|
440
441
|
| components.PIIRedactionPluginEn
|
|
441
442
|
| components.PIIRedactionPluginNl
|
|
442
443
|
| components.PIIRedactionPluginAuto
|
|
444
|
+
| components.ResponseHealingPlugin
|
|
443
445
|
>
|
|
444
446
|
| undefined;
|
|
445
447
|
/**
|
|
@@ -708,7 +710,8 @@ export type StreamRunAgentFallbackModelConfigurationGuardrails = {
|
|
|
708
710
|
export type StreamRunAgentFallbackModelConfigurationPlugins =
|
|
709
711
|
| components.PIIRedactionPluginEn
|
|
710
712
|
| components.PIIRedactionPluginNl
|
|
711
|
-
| components.PIIRedactionPluginAuto
|
|
713
|
+
| components.PIIRedactionPluginAuto
|
|
714
|
+
| components.ResponseHealingPlugin;
|
|
712
715
|
|
|
713
716
|
export type StreamRunAgentFallbackModelConfigurationFallbacks = {
|
|
714
717
|
/**
|
|
@@ -941,13 +944,14 @@ export type StreamRunAgentFallbackModelConfigurationParameters = {
|
|
|
941
944
|
| Array<StreamRunAgentFallbackModelConfigurationGuardrails>
|
|
942
945
|
| undefined;
|
|
943
946
|
/**
|
|
944
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
947
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
945
948
|
*/
|
|
946
949
|
plugins?:
|
|
947
950
|
| Array<
|
|
948
951
|
| components.PIIRedactionPluginEn
|
|
949
952
|
| components.PIIRedactionPluginNl
|
|
950
953
|
| components.PIIRedactionPluginAuto
|
|
954
|
+
| components.ResponseHealingPlugin
|
|
951
955
|
>
|
|
952
956
|
| undefined;
|
|
953
957
|
/**
|
|
@@ -2473,7 +2477,8 @@ export function streamRunAgentModelConfigurationGuardrailsToJSON(
|
|
|
2473
2477
|
export type StreamRunAgentModelConfigurationPlugins$Outbound =
|
|
2474
2478
|
| components.PIIRedactionPluginEn$Outbound
|
|
2475
2479
|
| components.PIIRedactionPluginNl$Outbound
|
|
2476
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2480
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
2481
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
2477
2482
|
|
|
2478
2483
|
/** @internal */
|
|
2479
2484
|
export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2484,6 +2489,7 @@ export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2484
2489
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2485
2490
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2486
2491
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2492
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2487
2493
|
]);
|
|
2488
2494
|
|
|
2489
2495
|
export function streamRunAgentModelConfigurationPluginsToJSON(
|
|
@@ -2740,6 +2746,7 @@ export type StreamRunAgentModelConfigurationParameters$Outbound = {
|
|
|
2740
2746
|
| components.PIIRedactionPluginEn$Outbound
|
|
2741
2747
|
| components.PIIRedactionPluginNl$Outbound
|
|
2742
2748
|
| components.PIIRedactionPluginAuto$Outbound
|
|
2749
|
+
| components.ResponseHealingPlugin$Outbound
|
|
2743
2750
|
>
|
|
2744
2751
|
| undefined;
|
|
2745
2752
|
fallbacks?:
|
|
@@ -2800,6 +2807,7 @@ export const StreamRunAgentModelConfigurationParameters$outboundSchema:
|
|
|
2800
2807
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2801
2808
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2802
2809
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2810
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2803
2811
|
]),
|
|
2804
2812
|
).optional(),
|
|
2805
2813
|
fallbacks: z.array(
|
|
@@ -3302,7 +3310,8 @@ export function streamRunAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3302
3310
|
export type StreamRunAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3303
3311
|
| components.PIIRedactionPluginEn$Outbound
|
|
3304
3312
|
| components.PIIRedactionPluginNl$Outbound
|
|
3305
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3313
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3314
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3306
3315
|
|
|
3307
3316
|
/** @internal */
|
|
3308
3317
|
export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3314,6 +3323,7 @@ export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3314
3323
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3315
3324
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3316
3325
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3326
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3317
3327
|
]);
|
|
3318
3328
|
|
|
3319
3329
|
export function streamRunAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3575,6 +3585,7 @@ export type StreamRunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3575
3585
|
| components.PIIRedactionPluginEn$Outbound
|
|
3576
3586
|
| components.PIIRedactionPluginNl$Outbound
|
|
3577
3587
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3588
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3578
3589
|
>
|
|
3579
3590
|
| undefined;
|
|
3580
3591
|
fallbacks?:
|
|
@@ -3644,6 +3655,7 @@ export const StreamRunAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3644
3655
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3645
3656
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3646
3657
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3658
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3647
3659
|
]),
|
|
3648
3660
|
).optional(),
|
|
3649
3661
|
fallbacks: z.array(
|
|
@@ -4144,7 +4156,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4144
4156
|
z.ZodTypeDef,
|
|
4145
4157
|
AgentToolInputRunTools
|
|
4146
4158
|
> = z.object({
|
|
4147
|
-
id: z.string().default("
|
|
4159
|
+
id: z.string().default("01KYKESHCJAFHYHA7KJXMTWA0D"),
|
|
4148
4160
|
name: z.string(),
|
|
4149
4161
|
description: z.string().optional(),
|
|
4150
4162
|
schema: z.lazy(() =>
|