@orq-ai/node 4.16.0-rc.10 → 4.16.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/funcs/projectsCreate.d.ts +1 -1
- package/funcs/projectsCreate.js +1 -1
- package/funcs/projectsDelete.d.ts +1 -1
- package/funcs/projectsDelete.js +1 -1
- package/funcs/projectsUpdate.d.ts +1 -1
- package/funcs/projectsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/apikeyrestresponse.d.ts +1 -1
- package/models/components/datasource.d.ts +2 -2
- package/models/components/datasourcesservicecreaterequest.d.ts +2 -2
- package/models/components/extendedmessage.d.ts +1 -1
- package/models/components/filesystem.d.ts +4 -4
- package/models/components/filesystem.d.ts.map +1 -1
- package/models/components/filesystem.js +2 -1
- package/models/components/filesystem.js.map +1 -1
- package/models/components/hubitem.d.ts +1 -1
- package/models/components/hubitem.d.ts.map +1 -1
- package/models/components/hubitem.js +1 -1
- package/models/components/hubitem.js.map +1 -1
- package/models/components/hubitemsummary.d.ts +1 -1
- package/models/components/knowledge.d.ts +2 -2
- package/models/components/knowledgechunk.d.ts +1 -1
- package/models/components/mcpauthconfig.d.ts +1 -1
- package/models/components/mcpauthconfigoutput.d.ts +1 -1
- package/models/components/memory.d.ts +2 -5
- package/models/components/memory.d.ts.map +1 -1
- package/models/components/memory.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionfailedstreamingevent.js +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionfinishedstreamingevent.js +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionstartedstreamingevent.js +1 -1
- package/models/operations/createagentrequest.d.ts +7 -7
- package/models/operations/createagentrequest.js +1 -1
- package/models/operations/createchatcompletion.d.ts +2 -2
- package/models/operations/createcompletion.d.ts +3 -3
- package/models/operations/createimage.d.ts +2 -2
- package/models/operations/createimageedit.d.ts +2 -2
- package/models/operations/createimagevariation.d.ts +2 -2
- package/models/operations/creatererank.d.ts +2 -2
- package/models/operations/createspeech.d.ts +2 -2
- package/models/operations/createtool.js +4 -4
- package/models/operations/createtranscription.d.ts +2 -2
- package/models/operations/createtranslation.d.ts +2 -2
- package/models/operations/deployments.d.ts +2 -2
- package/models/operations/getallmemories.d.ts +3 -3
- package/models/operations/getallmemorydocuments.d.ts +3 -3
- package/models/operations/getallmemorystores.d.ts +3 -3
- package/models/operations/getallprompts.d.ts +2 -2
- package/models/operations/getalltools.d.ts +2 -2
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getevals.d.ts +2 -2
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2toolstoolidversions.d.ts +2 -2
- package/models/operations/listagents.d.ts +7 -7
- package/models/operations/listagents.js +1 -1
- package/models/operations/listchunks.d.ts +3 -3
- package/models/operations/listdatasources.d.ts +3 -3
- package/models/operations/listidentities.d.ts +1 -1
- package/models/operations/listknowledgebases.d.ts +2 -2
- package/models/operations/listpromptversions.d.ts +2 -2
- 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 +5 -5
- package/models/operations/retrieveagentrequest.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.d.ts +2 -2
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.d.ts +2 -2
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +7 -7
- package/models/operations/updateagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +7 -7
- package/sdk/projects.d.ts +3 -3
- package/sdk/projects.js +3 -3
- package/src/funcs/projectsCreate.ts +1 -1
- package/src/funcs/projectsDelete.ts +1 -1
- package/src/funcs/projectsUpdate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/apikeyrestresponse.ts +1 -1
- package/src/models/components/datasource.ts +2 -2
- package/src/models/components/datasourcesservicecreaterequest.ts +2 -2
- package/src/models/components/extendedmessage.ts +1 -1
- package/src/models/components/filesystem.ts +6 -5
- package/src/models/components/hubitem.ts +2 -2
- package/src/models/components/hubitemsummary.ts +1 -1
- package/src/models/components/knowledge.ts +2 -2
- package/src/models/components/knowledgechunk.ts +1 -1
- package/src/models/components/mcpauthconfig.ts +1 -1
- package/src/models/components/mcpauthconfigoutput.ts +1 -1
- package/src/models/components/memory.ts +2 -5
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
- package/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
- package/src/models/operations/createagentrequest.ts +7 -7
- package/src/models/operations/createchatcompletion.ts +2 -2
- package/src/models/operations/createcompletion.ts +3 -3
- package/src/models/operations/createimage.ts +2 -2
- package/src/models/operations/createimageedit.ts +2 -2
- package/src/models/operations/createimagevariation.ts +2 -2
- package/src/models/operations/creatererank.ts +2 -2
- package/src/models/operations/createspeech.ts +2 -2
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/createtranscription.ts +2 -2
- package/src/models/operations/createtranslation.ts +2 -2
- package/src/models/operations/deployments.ts +2 -2
- package/src/models/operations/getallmemories.ts +3 -3
- package/src/models/operations/getallmemorydocuments.ts +3 -3
- package/src/models/operations/getallmemorystores.ts +3 -3
- package/src/models/operations/getallprompts.ts +2 -2
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +2 -2
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2toolstoolidversions.ts +2 -2
- package/src/models/operations/listagents.ts +7 -7
- package/src/models/operations/listchunks.ts +3 -3
- package/src/models/operations/listdatasources.ts +3 -3
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +2 -2
- package/src/models/operations/listpromptversions.ts +2 -2
- 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 +5 -5
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +3 -3
- package/src/models/operations/streamrunagent.ts +3 -3
- package/src/models/operations/updateagent.ts +7 -7
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/projects.ts +3 -3
|
@@ -16,11 +16,11 @@ export type ListDatasourcesRequest = {
|
|
|
16
16
|
*/
|
|
17
17
|
knowledgeId: string;
|
|
18
18
|
/**
|
|
19
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
19
|
+
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `starting_after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
20
20
|
*/
|
|
21
21
|
startingAfter?: string | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
23
|
+
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `ending_before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
24
24
|
*/
|
|
25
25
|
endingBefore?: string | undefined;
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ export type ListDatasourcesRequest = {
|
|
|
28
28
|
*/
|
|
29
29
|
q?: string | undefined;
|
|
30
30
|
/**
|
|
31
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is
|
|
31
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 50
|
|
32
32
|
*/
|
|
33
33
|
limit?: number | undefined;
|
|
34
34
|
/**
|
|
@@ -27,7 +27,7 @@ export type ListIdentitiesRequest = {
|
|
|
27
27
|
*/
|
|
28
28
|
search?: string | undefined;
|
|
29
29
|
/**
|
|
30
|
-
* Return only identities that have
|
|
30
|
+
* Return only identities that have all of these tags.
|
|
31
31
|
*/
|
|
32
32
|
filterByTags?: Array<string> | undefined;
|
|
33
33
|
/**
|
|
@@ -22,11 +22,11 @@ export type ListKnowledgeBasesQueryParamType = ClosedEnum<
|
|
|
22
22
|
|
|
23
23
|
export type ListKnowledgeBasesRequest = {
|
|
24
24
|
/**
|
|
25
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
25
|
+
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `starting_after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
26
26
|
*/
|
|
27
27
|
startingAfter?: string | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
29
|
+
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `ending_before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
30
30
|
*/
|
|
31
31
|
endingBefore?: string | undefined;
|
|
32
32
|
/**
|
|
@@ -17,11 +17,11 @@ export type ListPromptVersionsRequest = {
|
|
|
17
17
|
*/
|
|
18
18
|
limit?: number | undefined;
|
|
19
19
|
/**
|
|
20
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
20
|
+
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `starting_after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
21
21
|
*/
|
|
22
22
|
startingAfter?: string | undefined;
|
|
23
23
|
/**
|
|
24
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
24
|
+
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `ending_before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
25
25
|
*/
|
|
26
26
|
endingBefore?: string | undefined;
|
|
27
27
|
};
|
|
@@ -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-09-
|
|
321
|
+
"2026-09-22T09:25:41.511Z",
|
|
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-09-
|
|
367
|
+
"2026-09-22T09:25:41.511Z",
|
|
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-09-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-09-22T09:25:46.896Z"))
|
|
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 Three$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-09-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-09-22T09:25:46.896Z"))
|
|
303
303
|
.transform(v => v.toISOString()),
|
|
304
304
|
type: z.literal("boolean"),
|
|
305
305
|
value: z.boolean(),
|
|
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
353
353
|
"orq",
|
|
354
354
|
),
|
|
355
355
|
explanation: z.string().optional(),
|
|
356
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-09-22T09:25:46.896Z"))
|
|
357
357
|
.transform(v => v.toISOString()),
|
|
358
358
|
type: z.literal("number"),
|
|
359
359
|
value: z.number(),
|
|
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
405
405
|
humanReviewId: z.string().optional(),
|
|
406
406
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
407
407
|
explanation: z.string().optional(),
|
|
408
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
408
|
+
reviewedAt: z.date().default(() => new Date("2026-09-22T09:25:46.896Z"))
|
|
409
409
|
.transform(v => v.toISOString()),
|
|
410
410
|
type: z.literal("string"),
|
|
411
411
|
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-09-
|
|
274
|
+
"2026-09-22T09:25:41.511Z",
|
|
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-09-
|
|
319
|
+
"2026-09-22T09:25:41.511Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -74,14 +74,14 @@ export type RetrieveAgentRequestEngine = ClosedEnum<
|
|
|
74
74
|
>;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Agent type: internal (
|
|
77
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
78
78
|
*/
|
|
79
79
|
export const RetrieveAgentRequestType = {
|
|
80
80
|
Internal: "internal",
|
|
81
81
|
A2a: "a2a",
|
|
82
82
|
} as const;
|
|
83
83
|
/**
|
|
84
|
-
* Agent type: internal (
|
|
84
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
85
85
|
*/
|
|
86
86
|
export type RetrieveAgentRequestType = ClosedEnum<
|
|
87
87
|
typeof RetrieveAgentRequestType
|
|
@@ -572,7 +572,7 @@ export type RetrieveAgentRequestCacheControl = {
|
|
|
572
572
|
};
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
575
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
576
576
|
*/
|
|
577
577
|
export type RetrieveAgentRequestParameters = {
|
|
578
578
|
/**
|
|
@@ -1240,7 +1240,7 @@ export type RetrieveAgentRequestModel = {
|
|
|
1240
1240
|
*/
|
|
1241
1241
|
integrationId?: string | null | undefined;
|
|
1242
1242
|
/**
|
|
1243
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
1243
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
1244
1244
|
*/
|
|
1245
1245
|
parameters?: RetrieveAgentRequestParameters | null | undefined;
|
|
1246
1246
|
/**
|
|
@@ -1313,7 +1313,7 @@ export type RetrieveAgentRequestResponseBody = {
|
|
|
1313
1313
|
source?: RetrieveAgentRequestSource | undefined;
|
|
1314
1314
|
engine: RetrieveAgentRequestEngine;
|
|
1315
1315
|
/**
|
|
1316
|
-
* Agent type: internal (
|
|
1316
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1317
1317
|
*/
|
|
1318
1318
|
type: RetrieveAgentRequestType;
|
|
1319
1319
|
role: string;
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M346Z17MT3V1JG75H4N5XDM0"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M346Z17M3FQRZ6Y39MQ0BT7R"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M346Z17KPWZ6YK6CV51V63MW"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M346Z17KA16DD01BM3XE9RQK"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -329,7 +329,7 @@ export type RunAgentModelConfigurationCacheControl = {
|
|
|
329
329
|
};
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
332
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
333
333
|
*/
|
|
334
334
|
export type RunAgentModelConfigurationParameters = {
|
|
335
335
|
/**
|
|
@@ -483,7 +483,7 @@ export type RunAgentModelConfiguration2 = {
|
|
|
483
483
|
*/
|
|
484
484
|
id: string;
|
|
485
485
|
/**
|
|
486
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
486
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
487
487
|
*/
|
|
488
488
|
parameters?: RunAgentModelConfigurationParameters | undefined;
|
|
489
489
|
/**
|
|
@@ -3890,7 +3890,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3890
3890
|
z.ZodTypeDef,
|
|
3891
3891
|
Tools
|
|
3892
3892
|
> = z.object({
|
|
3893
|
-
id: z.string().default("
|
|
3893
|
+
id: z.string().default("01M346Z15T9KBWMFE9K5G6JA4A"),
|
|
3894
3894
|
name: z.string(),
|
|
3895
3895
|
description: z.string().optional(),
|
|
3896
3896
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -334,7 +334,7 @@ export type StreamRunAgentModelConfigurationCacheControl = {
|
|
|
334
334
|
};
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
337
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
338
338
|
*/
|
|
339
339
|
export type StreamRunAgentModelConfigurationParameters = {
|
|
340
340
|
/**
|
|
@@ -494,7 +494,7 @@ export type StreamRunAgentModelConfiguration2 = {
|
|
|
494
494
|
*/
|
|
495
495
|
id: string;
|
|
496
496
|
/**
|
|
497
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
497
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
498
498
|
*/
|
|
499
499
|
parameters?: StreamRunAgentModelConfigurationParameters | undefined;
|
|
500
500
|
/**
|
|
@@ -3949,7 +3949,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3949
3949
|
z.ZodTypeDef,
|
|
3950
3950
|
AgentToolInputRunTools
|
|
3951
3951
|
> = z.object({
|
|
3952
|
-
id: z.string().default("
|
|
3952
|
+
id: z.string().default("01M346Z168A4VXE28FGX3KWA77"),
|
|
3953
3953
|
name: z.string(),
|
|
3954
3954
|
description: z.string().optional(),
|
|
3955
3955
|
schema: z.lazy(() =>
|
|
@@ -331,7 +331,7 @@ export type UpdateAgentModelConfigurationCacheControl = {
|
|
|
331
331
|
};
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
334
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
335
335
|
*/
|
|
336
336
|
export type ModelConfigurationParameters = {
|
|
337
337
|
/**
|
|
@@ -485,7 +485,7 @@ export type UpdateAgentModelConfiguration2 = {
|
|
|
485
485
|
*/
|
|
486
486
|
id: string;
|
|
487
487
|
/**
|
|
488
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
488
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
489
489
|
*/
|
|
490
490
|
parameters?: ModelConfigurationParameters | undefined;
|
|
491
491
|
/**
|
|
@@ -1260,14 +1260,14 @@ export type UpdateAgentAgentsEngine = ClosedEnum<
|
|
|
1260
1260
|
>;
|
|
1261
1261
|
|
|
1262
1262
|
/**
|
|
1263
|
-
* Agent type: internal (
|
|
1263
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1264
1264
|
*/
|
|
1265
1265
|
export const UpdateAgentType = {
|
|
1266
1266
|
Internal: "internal",
|
|
1267
1267
|
A2a: "a2a",
|
|
1268
1268
|
} as const;
|
|
1269
1269
|
/**
|
|
1270
|
-
* Agent type: internal (
|
|
1270
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1271
1271
|
*/
|
|
1272
1272
|
export type UpdateAgentType = ClosedEnum<typeof UpdateAgentType>;
|
|
1273
1273
|
|
|
@@ -1749,7 +1749,7 @@ export type UpdateAgentCacheControl = {
|
|
|
1749
1749
|
};
|
|
1750
1750
|
|
|
1751
1751
|
/**
|
|
1752
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
1752
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
1753
1753
|
*/
|
|
1754
1754
|
export type UpdateAgentParameters = {
|
|
1755
1755
|
/**
|
|
@@ -2419,7 +2419,7 @@ export type UpdateAgentModel = {
|
|
|
2419
2419
|
*/
|
|
2420
2420
|
integrationId?: string | null | undefined;
|
|
2421
2421
|
/**
|
|
2422
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
2422
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
2423
2423
|
*/
|
|
2424
2424
|
parameters?: UpdateAgentParameters | null | undefined;
|
|
2425
2425
|
/**
|
|
@@ -2492,7 +2492,7 @@ export type UpdateAgentResponseBody = {
|
|
|
2492
2492
|
source?: UpdateAgentSource | undefined;
|
|
2493
2493
|
engine: UpdateAgentAgentsEngine;
|
|
2494
2494
|
/**
|
|
2495
|
-
* Agent type: internal (
|
|
2495
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
2496
2496
|
*/
|
|
2497
2497
|
type: UpdateAgentType;
|
|
2498
2498
|
role: string;
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M346Z17G1PBGH1JXWTMZ538J"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M346Z17FVG45VN60FQ0KC63V"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M346Z17FW3PEHWQ08RM5CD9D"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M346Z17E2AR7A0MNAMCTBK89"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
package/src/sdk/projects.ts
CHANGED
|
@@ -34,7 +34,7 @@ export class Projects extends ClientSDK {
|
|
|
34
34
|
* Create a new project
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
37
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
38
38
|
*/
|
|
39
39
|
async create(
|
|
40
40
|
request: components.CreateProjectRequest,
|
|
@@ -68,7 +68,7 @@ export class Projects extends ClientSDK {
|
|
|
68
68
|
* Delete a project
|
|
69
69
|
*
|
|
70
70
|
* @remarks
|
|
71
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
71
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
72
72
|
*/
|
|
73
73
|
async delete(
|
|
74
74
|
request: operations.ProjectDeleteRequest,
|
|
@@ -85,7 +85,7 @@ export class Projects extends ClientSDK {
|
|
|
85
85
|
* Update a project
|
|
86
86
|
*
|
|
87
87
|
* @remarks
|
|
88
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
88
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
89
89
|
*/
|
|
90
90
|
async update(
|
|
91
91
|
request: operations.ProjectUpdateRequest,
|