@orq-ai/node 4.14.16 → 4.14.18

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.
Files changed (157) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/lib/config.js.map +1 -1
  5. package/models/components/evaluatorresponsefunction.js +2 -2
  6. package/models/components/evaluatorresponsehttp.js +2 -2
  7. package/models/components/evaluatorresponsejsonschema.js +2 -2
  8. package/models/components/evaluatorresponsellm.js +2 -2
  9. package/models/components/evaluatorresponsepython.js +2 -2
  10. package/models/components/evaluatorresponseragas.js +2 -2
  11. package/models/components/evaluatorresponsetypescript.js +2 -2
  12. package/models/components/reasoningpart.js +1 -1
  13. package/models/operations/createannotationqueue.js +1 -1
  14. package/models/operations/createdataset.js +1 -1
  15. package/models/operations/createdatasetitem.js +5 -5
  16. package/models/operations/createtool.js +4 -4
  17. package/models/operations/getalltools.js +4 -4
  18. package/models/operations/geteval.js +16 -16
  19. package/models/operations/getv2humanevalsets.js +2 -2
  20. package/models/operations/getv2humanevalsetsid.js +2 -2
  21. package/models/operations/listannotationqueues.js +1 -1
  22. package/models/operations/listdatasetdatapoints.js +5 -5
  23. package/models/operations/listdatasets.js +1 -1
  24. package/models/operations/patchv2humanevalsetsid.js +2 -2
  25. package/models/operations/postv2feedbackevaluation.js +4 -4
  26. package/models/operations/postv2humanevalsets.js +2 -2
  27. package/models/operations/retrieveannotationqueue.js +1 -1
  28. package/models/operations/retrievedatapoint.js +5 -5
  29. package/models/operations/retrievedataset.js +1 -1
  30. package/models/operations/retrievetool.js +4 -4
  31. package/models/operations/runagent.js +1 -1
  32. package/models/operations/streamrunagent.js +1 -1
  33. package/models/operations/updateannotationqueue.js +1 -1
  34. package/models/operations/updatedatapoint.js +5 -5
  35. package/models/operations/updatedataset.js +1 -1
  36. package/models/operations/updatetool.js +4 -4
  37. package/package.json +1 -1
  38. package/packages/orq-rc/src/funcs/agentsCreate.ts +1 -1
  39. package/packages/orq-rc/src/funcs/agentsDelete.ts +1 -1
  40. package/packages/orq-rc/src/funcs/agentsList.ts +1 -1
  41. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +1 -1
  42. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +1 -1
  43. package/packages/orq-rc/src/funcs/agentsStream.ts +1 -1
  44. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
  45. package/packages/orq-rc/src/funcs/agentsUpdate.ts +1 -1
  46. package/packages/orq-rc/src/funcs/annotationQueuesAddItems.ts +5 -4
  47. package/packages/orq-rc/src/funcs/annotationQueuesClear.ts +6 -6
  48. package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +6 -6
  49. package/packages/orq-rc/src/funcs/annotationQueuesRemoveItems.ts +6 -6
  50. package/packages/orq-rc/src/funcs/budgetsList.ts +1 -1
  51. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +10 -1
  52. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +1 -1
  53. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +1 -1
  54. package/packages/orq-rc/src/funcs/knowledgeList.ts +1 -1
  55. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +1 -1
  56. package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +1 -1
  57. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +1 -1
  58. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +1 -1
  59. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +1 -1
  60. package/packages/orq-rc/src/funcs/modelsCreate.ts +1 -1
  61. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +1 -1
  62. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +1 -1
  63. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +1 -1
  64. package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +1 -1
  65. package/packages/orq-rc/src/funcs/modelsListLitellm.ts +1 -1
  66. package/packages/orq-rc/src/funcs/modelsUpdate.ts +1 -1
  67. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +1 -1
  68. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +1 -1
  69. package/packages/orq-rc/src/funcs/modelsValidate.ts +1 -1
  70. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +1 -1
  71. package/packages/orq-rc/src/lib/config.ts +3 -3
  72. package/packages/orq-rc/src/models/components/aggregatelogsrequest.ts +3 -3
  73. package/packages/orq-rc/src/models/components/auditlogfilter.ts +1 -1
  74. package/packages/orq-rc/src/models/components/evaluationcontext.ts +1 -1
  75. package/packages/orq-rc/src/models/components/evaluationresult.ts +5 -9
  76. package/packages/orq-rc/src/models/components/index.ts +0 -4
  77. package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +3 -3
  78. package/packages/orq-rc/src/models/components/memorystoreembeddingconfig.ts +1 -1
  79. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  80. package/packages/orq-rc/src/models/components/searchknowledgematch.ts +1 -4
  81. package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +4 -4
  82. package/packages/orq-rc/src/models/components/searchretrievalconfig.ts +1 -1
  83. package/packages/orq-rc/src/models/components/skill.ts +2 -3
  84. package/packages/orq-rc/src/models/components/spansummary.ts +21 -0
  85. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +1 -0
  86. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +1 -0
  87. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +1 -0
  88. package/packages/orq-rc/src/models/operations/budgetlist.ts +2 -3
  89. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +5 -5
  90. package/packages/orq-rc/src/models/operations/createcompletion.ts +4 -4
  91. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  92. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
  93. package/packages/orq-rc/src/models/operations/createimageedit.ts +1 -1
  94. package/packages/orq-rc/src/models/operations/createprompt.ts +1 -1
  95. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  96. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  97. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  99. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
  100. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  101. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  102. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +8 -0
  103. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +8 -0
  104. package/packages/orq-rc/src/models/operations/parse.ts +3 -3
  105. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  106. package/packages/orq-rc/src/models/operations/postv2feedback.ts +2 -0
  107. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  108. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +2 -0
  109. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  110. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
  111. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  112. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  113. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  114. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  115. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
  116. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  117. package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -1
  118. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  119. package/packages/orq-rc/src/sdk/annotationqueues.ts +4 -4
  120. package/packages/orq-rc/src/sdk/budgets.ts +1 -1
  121. package/src/lib/config.ts +3 -3
  122. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  123. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  124. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  125. package/src/models/components/evaluatorresponsellm.ts +2 -2
  126. package/src/models/components/evaluatorresponsepython.ts +2 -2
  127. package/src/models/components/evaluatorresponseragas.ts +2 -2
  128. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  129. package/src/models/components/reasoningpart.ts +1 -1
  130. package/src/models/operations/createannotationqueue.ts +1 -1
  131. package/src/models/operations/createdataset.ts +1 -1
  132. package/src/models/operations/createdatasetitem.ts +5 -5
  133. package/src/models/operations/createtool.ts +4 -4
  134. package/src/models/operations/getalltools.ts +4 -4
  135. package/src/models/operations/geteval.ts +16 -16
  136. package/src/models/operations/getv2humanevalsets.ts +2 -2
  137. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  138. package/src/models/operations/listannotationqueues.ts +1 -1
  139. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  140. package/src/models/operations/listdatasets.ts +1 -1
  141. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  142. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  143. package/src/models/operations/postv2humanevalsets.ts +2 -2
  144. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  145. package/src/models/operations/retrievedatapoint.ts +5 -5
  146. package/src/models/operations/retrievedataset.ts +1 -1
  147. package/src/models/operations/retrievetool.ts +4 -4
  148. package/src/models/operations/runagent.ts +1 -1
  149. package/src/models/operations/streamrunagent.ts +1 -1
  150. package/src/models/operations/updateannotationqueue.ts +1 -1
  151. package/src/models/operations/updatedatapoint.ts +5 -5
  152. package/src/models/operations/updatedataset.ts +1 -1
  153. package/src/models/operations/updatetool.ts +4 -4
  154. package/packages/orq-rc/src/models/components/addannotationqueueitemsresponse.ts +0 -38
  155. package/packages/orq-rc/src/models/components/clearannotationqueueresponse.ts +0 -27
  156. package/packages/orq-rc/src/models/components/deleteannotationqueueresponse.ts +0 -27
  157. package/packages/orq-rc/src/models/components/removeannotationqueueitemsresponse.ts +0 -28
@@ -155,7 +155,7 @@ async function $do(
155
155
  | SDKValidationError
156
156
  >(
157
157
  M.json(200, z.array(components.ModelDocument$inboundSchema)),
158
- M.fail([400, 404, "4XX"]),
158
+ M.fail([400, 401, 404, "4XX"]),
159
159
  M.fail("5XX"),
160
160
  )(response, req);
161
161
  if (!result.ok) {
@@ -133,7 +133,7 @@ async function $do(
133
133
  | SDKValidationError
134
134
  >(
135
135
  M.json(200, z.array(z.record(z.any()))),
136
- M.fail([404, "4XX"]),
136
+ M.fail([401, 404, "4XX"]),
137
137
  M.fail([500, "5XX"]),
138
138
  )(response, req);
139
139
  if (!result.ok) {
@@ -157,7 +157,7 @@ async function $do(
157
157
  | SDKValidationError
158
158
  >(
159
159
  M.json(200, operations.ModelUpdateResponseBody$inboundSchema),
160
- M.fail([400, 404, "4XX"]),
160
+ M.fail([400, 401, 404, "4XX"]),
161
161
  M.fail("5XX"),
162
162
  )(response, req);
163
163
  if (!result.ok) {
@@ -158,7 +158,7 @@ async function $do(
158
158
  | SDKValidationError
159
159
  >(
160
160
  M.json(200, operations.ModelUpdateAwsBedrockResponseBody$inboundSchema),
161
- M.fail([400, 404, "4XX"]),
161
+ M.fail([400, 401, 404, "4XX"]),
162
162
  M.fail("5XX"),
163
163
  )(response, req);
164
164
  if (!result.ok) {
@@ -158,7 +158,7 @@ async function $do(
158
158
  | SDKValidationError
159
159
  >(
160
160
  M.json(200, operations.ModelUpdateOpenAILikeResponseBody$inboundSchema),
161
- M.fail([400, 404, "4XX"]),
161
+ M.fail([400, 401, 404, "4XX"]),
162
162
  M.fail("5XX"),
163
163
  )(response, req);
164
164
  if (!result.ok) {
@@ -152,7 +152,7 @@ async function $do(
152
152
  | SDKValidationError
153
153
  >(
154
154
  M.nil(200, z.void()),
155
- M.fail([400, 415, "4XX"]),
155
+ M.fail([400, 401, 415, "4XX"]),
156
156
  M.fail("5XX"),
157
157
  )(response, req);
158
158
  if (!result.ok) {
@@ -153,7 +153,7 @@ async function $do(
153
153
  | SDKValidationError
154
154
  >(
155
155
  M.nil(200, z.void()),
156
- M.fail([400, 404, "4XX"]),
156
+ M.fail([400, 401, 404, "4XX"]),
157
157
  M.fail("5XX"),
158
158
  )(response, req);
159
159
  if (!result.ok) {
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
58
58
  export const SDK_METADATA = {
59
59
  language: "typescript",
60
60
  openapiDocVersion: "2.0",
61
- sdkVersion: "4.15.0-rc.35",
62
- genVersion: "2.935.1",
63
- userAgent: "speakeasy-sdk/typescript 4.15.0-rc.35 2.935.1 2.0 @orq-ai/node",
61
+ sdkVersion: "4.15.0-rc.48",
62
+ genVersion: "2.937.18",
63
+ userAgent: "speakeasy-sdk/typescript 4.15.0-rc.48 2.937.18 2.0 @orq-ai/node",
64
64
  } as const;
@@ -13,11 +13,11 @@ export type AggregateLogsRequest = {
13
13
  from?: Date | undefined;
14
14
  to?: Date | undefined;
15
15
  /**
16
- * Time bucket grain: "auto" | "minute" | "hour" | "day", matching the shared
16
+ * Time bucket grain: "auto" | "minute" | "hour" | "day". "auto" picks the
17
17
  *
18
18
  * @remarks
19
- * libs/go/reporting Grain vocabulary used by the traces reporting API. Empty
20
- * defaults to "auto" (grain picked from the time range).
19
+ * grain from the requested time range. Empty returns rows without time
20
+ * buckets.
21
21
  */
22
22
  grain?: string | undefined;
23
23
  filters?: Array<TraceFilter> | undefined;
@@ -13,7 +13,7 @@ export type AuditLogFilter = {
13
13
  */
14
14
  type: string;
15
15
  /**
16
- * Audit log field path to filter on. Supported paths include created_at, entity_id, entity_type, action, actor_id, and metadata.display_name.
16
+ * Audit log field path to filter on. Supported paths include created_at, entity_id, entity_type, action, actor_id, origin, and metadata.display_name.
17
17
  */
18
18
  path: string;
19
19
  /**
@@ -21,7 +21,7 @@ export type Messages = {};
21
21
  *
22
22
  * @remarks
23
23
  * `input.user_query` is ignored; `output.response` is appended only when the
24
- * conversation carries no assistant turn. Mirrors graders-api buildGraderRequest.
24
+ * conversation carries no assistant turn.
25
25
  */
26
26
  export type EvaluationContext = {
27
27
  messages?: Array<Messages> | undefined;
@@ -9,14 +9,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  /**
12
- * The verdict. Shaped to match WorkflowRunMinifiedEvalSchema, the body the
13
- *
14
- * @remarks
15
- * TypeScript route returned, so existing consumers read the same JSON.
12
+ * The verdict. Its shape is fixed so existing consumers read the same JSON.
16
13
  */
17
14
  export type EvaluationResult = {
18
15
  /**
19
- * Discriminator, matching the legacy union: "string", "number", "boolean",
16
+ * Discriminator for the verdict shape: "string", "number", "boolean",
20
17
  *
21
18
  * @remarks
22
19
  * "string_array", "rouge_n", "bert_score", "llm_evaluator", "http_eval".
@@ -34,8 +31,7 @@ export type EvaluationResult = {
34
31
  * Trace reference of the evaluator's own span. Optional so an absent
35
32
  *
36
33
  * @remarks
37
- * reference is omitted rather than emitted as an empty string, matching the
38
- * legacy body.
34
+ * reference is omitted rather than emitted as an empty string.
39
35
  */
40
36
  traceId?: string | undefined;
41
37
  spanId?: string | undefined;
@@ -52,8 +48,8 @@ export type EvaluationResult = {
52
48
  * The guardrail's decision when the evaluator has one, the grader's own
53
49
  *
54
50
  * @remarks
55
- * judgement otherwise. Always present — the endpoint this replaces omitted it
56
- * without a guardrail, so read `guardrail_config` to detect one, not this.
51
+ * judgement otherwise. Always present, so read `guardrail_config` to detect
52
+ * a guardrail, not this.
57
53
  */
58
54
  passed?: boolean | undefined;
59
55
  explanation?: string | undefined;
@@ -6,7 +6,6 @@ export * from "./accesslevel.js";
6
6
  export * from "./actionreviewedstreamingevent.js";
7
7
  export * from "./actionreviewrequestedstreamingevent.js";
8
8
  export * from "./addannotationqueueitemsrequest.js";
9
- export * from "./addannotationqueueitemsresponse.js";
10
9
  export * from "./addiprangerequest.js";
11
10
  export * from "./addiprangeresponse.js";
12
11
  export * from "./advisortoolinput.js";
@@ -90,7 +89,6 @@ export * from "./chunksservicelistpaginatedresponse.js";
90
89
  export * from "./chunksservicelistresponse.js";
91
90
  export * from "./chunksservicesetenabledrequest.js";
92
91
  export * from "./chunksserviceupdaterequest.js";
93
- export * from "./clearannotationqueueresponse.js";
94
92
  export * from "./codeinterpretertoolinput.js";
95
93
  export * from "./codetoolinput.js";
96
94
  export * from "./conversationparam.js";
@@ -148,7 +146,6 @@ export * from "./datasourcesservicepreviewchunksrequest.js";
148
146
  export * from "./datasourcesservicepreviewchunksresponse.js";
149
147
  export * from "./datasourcesserviceupdaterequest.js";
150
148
  export * from "./deletealertresponse.js";
151
- export * from "./deleteannotationqueueresponse.js";
152
149
  export * from "./deletebudgetresponse.js";
153
150
  export * from "./deleteevaluatorresponse.js";
154
151
  export * from "./deletefileresponse.js";
@@ -435,7 +432,6 @@ export * from "./redactrequest.js";
435
432
  export * from "./redactresponse.js";
436
433
  export * from "./refusalpartschema.js";
437
434
  export * from "./removeannotationqueueitemsrequest.js";
438
- export * from "./removeannotationqueueitemsresponse.js";
439
435
  export * from "./requestlimit.js";
440
436
  export * from "./rerankconfig.js";
441
437
  export * from "./rerankmodelparameters.js";
@@ -15,8 +15,8 @@ export type InvokeEvaluatorRequestMessages = {};
15
15
  * Accepts two shapes. `context` names its fields after the template variables
16
16
  *
17
17
  * @remarks
18
- * they feed and is the one to use; the flat fields below are the legacy body,
19
- * folded into `context` when it is absent. Setting `context` wins.
18
+ * they feed and is the one to use; the flat fields below are folded into
19
+ * `context` when it is absent. Setting `context` wins.
20
20
  */
21
21
  export type InvokeEvaluatorRequest = {
22
22
  /**
@@ -24,7 +24,7 @@ export type InvokeEvaluatorRequest = {
24
24
  *
25
25
  * @remarks
26
26
  * `input.user_query` is ignored; `output.response` is appended only when the
27
- * conversation carries no assistant turn. Mirrors graders-api buildGraderRequest.
27
+ * conversation carries no assistant turn.
28
28
  */
29
29
  context?: EvaluationContext | undefined;
30
30
  /**
@@ -9,7 +9,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
 
10
10
  export type MemoryStoreEmbeddingConfig = {
11
11
  /**
12
- * The embeddings model to use for the knowledge base in the format "provider/model" for public models or "workspaceKey@provider/model" for private workspace models. This model will be used to embed the chunks when they are added to the knowledge base. Refer to the (Supported models)[/docs/proxy/supported-models] to browse available models.
12
+ * The embeddings model to use for the knowledge base in the format "provider/model" for public models or "workspaceKey@provider/model" for private workspace models. This model will be used to embed the chunks when they are added to the knowledge base. Refer to the [Supported models](/docs/ai-gateway/supported-models) to browse available models.
13
13
  */
14
14
  model: string;
15
15
  };
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m25cqy72hdbb584nnv79jg21"),
43
+ _id: z.string().default("reasoning_01m2j6mz8qeq5jhy78hxr5s01f"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -20,10 +20,7 @@ export type SearchKnowledgeMatch = {
20
20
  id: string;
21
21
  text: string;
22
22
  /**
23
- * The service maps the internal embedding field to this public name. Empty
24
- *
25
- * @remarks
26
- * repeated fields are omitted by proto JSON, preserving optional vectors.
23
+ * Embedding vector of the chunk, returned only when requested.
27
24
  */
28
25
  vector?: Array<number> | undefined;
29
26
  /**
@@ -311,7 +311,7 @@ export type Two = {
311
311
  */
312
312
  model?: string | undefined;
313
313
  /**
314
- * Internal database model identifier used by the retrieval testing UI.
314
+ * Identifier of the stored model configuration to use.
315
315
  */
316
316
  modelDbId: string;
317
317
  /**
@@ -330,7 +330,7 @@ export type AgenticRagConfig1 = {
330
330
  */
331
331
  model: string;
332
332
  /**
333
- * Internal database model identifier used by the retrieval testing UI.
333
+ * Identifier of the stored model configuration to use.
334
334
  */
335
335
  modelDbId?: string | undefined;
336
336
  /**
@@ -349,10 +349,10 @@ export type AgenticRagConfig1 = {
349
349
  export type SearchKnowledgeRequestAgenticRagConfig = Two | AgenticRagConfig1;
350
350
 
351
351
  /**
352
- * SearchKnowledgeRequest mirrors the existing public search body and adds the
352
+ * Search request. Sets the knowledge base and query, plus optional retrieval
353
353
  *
354
354
  * @remarks
355
- * internal retrieval configuration override used by the knowledge testing UI.
355
+ * settings.
356
356
  */
357
357
  export type SearchKnowledgeRequest = {
358
358
  /**
@@ -31,7 +31,7 @@ export type SearchRetrievalConfigRerankConfig = {
31
31
  };
32
32
 
33
33
  /**
34
- * SearchRetrievalConfig mirrors RetrievalConfigInDatabaseSchema. Type remains
34
+ * SearchRetrievalConfig is the retrieval strategy configuration. Type remains
35
35
  *
36
36
  * @remarks
37
37
  * optional because external knowledge bases use the same base configuration
@@ -58,11 +58,10 @@ export type Skill = {
58
58
  */
59
59
  instructions: string;
60
60
  /**
61
- * Latest semver assigned by the activity log. Stamped on the document
61
+ * Latest semver for the skill. It advances when the skill's definition
62
62
  *
63
63
  * @remarks
64
- * by CreateSkill / UpdateSkill so reads return it without joining
65
- * workspaces.activities.
64
+ * changes and is returned on every read.
66
65
  */
67
66
  version: string;
68
67
  };
@@ -27,6 +27,18 @@ export type SpanSummary = {
27
27
  usage?: TraceUsage | undefined;
28
28
  cost?: TraceCost | undefined;
29
29
  hasDetail?: boolean | undefined;
30
+ level?: number | undefined;
31
+ hasChildren?: boolean | undefined;
32
+ /**
33
+ * Row badge inputs, so the tree does not need a detail fetch per span:
34
+ *
35
+ * @remarks
36
+ * trace_framework is set on the trace root, leading_span_type where the
37
+ * ingest marked one, guardrail_enabled on evaluator spans run as guardrails.
38
+ */
39
+ traceFramework?: string | undefined;
40
+ leadingSpanType?: string | undefined;
41
+ guardrailEnabled?: boolean | undefined;
30
42
  };
31
43
 
32
44
  /** @internal */
@@ -53,6 +65,11 @@ export const SpanSummary$inboundSchema: z.ZodType<
53
65
  usage: TraceUsage$inboundSchema.optional(),
54
66
  cost: TraceCost$inboundSchema.optional(),
55
67
  has_detail: z.boolean().optional(),
68
+ level: z.number().int().optional(),
69
+ has_children: z.boolean().optional(),
70
+ trace_framework: z.string().optional(),
71
+ leading_span_type: z.string().optional(),
72
+ guardrail_enabled: z.boolean().optional(),
56
73
  }).transform((v) => {
57
74
  return remap$(v, {
58
75
  "trace_id": "traceId",
@@ -62,6 +79,10 @@ export const SpanSummary$inboundSchema: z.ZodType<
62
79
  "ended_at": "endedAt",
63
80
  "duration_ms": "durationMs",
64
81
  "has_detail": "hasDetail",
82
+ "has_children": "hasChildren",
83
+ "trace_framework": "traceFramework",
84
+ "leading_span_type": "leadingSpanType",
85
+ "guardrail_enabled": "guardrailEnabled",
65
86
  });
66
87
  });
67
88
 
@@ -35,6 +35,7 @@ export const ToolExecutionFailedStreamingEventProduct = {
35
35
  Evaluators: "evaluators",
36
36
  Otel: "otel",
37
37
  AiChat: "ai-chat",
38
+ McpGateway: "mcp_gateway",
38
39
  } as const;
39
40
  /**
40
41
  * Orquesta product
@@ -30,6 +30,7 @@ export const ToolExecutionFinishedStreamingEventProduct = {
30
30
  Evaluators: "evaluators",
31
31
  Otel: "otel",
32
32
  AiChat: "ai-chat",
33
+ McpGateway: "mcp_gateway",
33
34
  } as const;
34
35
  /**
35
36
  * Orquesta product
@@ -30,6 +30,7 @@ export const Product = {
30
30
  Evaluators: "evaluators",
31
31
  Otel: "otel",
32
32
  AiChat: "ai-chat",
33
+ McpGateway: "mcp_gateway",
33
34
  } as const;
34
35
  /**
35
36
  * Orquesta product
@@ -48,11 +48,10 @@ export type BudgetListRequest = {
48
48
  */
49
49
  period?: Array<components.BudgetPeriod> | undefined;
50
50
  /**
51
- * Optional free-text query. Server translates this into a Typesense
51
+ * Optional free-text query matched against a budget's scope target
52
52
  *
53
53
  * @remarks
54
- * search over the denormalized `scope_target_name` and id fields on
55
- * the per-workspace `{workspace_id}_budgets` collection.
54
+ * name and id.
56
55
  */
57
56
  query?: string | undefined;
58
57
  /**
@@ -1229,7 +1229,7 @@ export type FilterBy1 =
1229
1229
  | CreateChatCompletion1Nin;
1230
1230
 
1231
1231
  /**
1232
- * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/knowledge/api#knowledge-base-search) for more information.
1232
+ * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/ai-studio/ai-engineering/knowledge-bases#search-a-knowledge-base) for more information.
1233
1233
  */
1234
1234
  export type FilterBy = FilterByAnd | FilterByOr | {
1235
1235
  [k: string]:
@@ -1266,7 +1266,7 @@ export type SearchOptions = {
1266
1266
  */
1267
1267
  export type RerankConfig = {
1268
1268
  /**
1269
- * The name of the rerank model to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/rerank-models).
1269
+ * The name of the rerank model to use. Refer to the [model list](https://docs.orq.ai/docs/ai-gateway/supported-models#rerank-models).
1270
1270
  */
1271
1271
  model: string;
1272
1272
  /**
@@ -1284,7 +1284,7 @@ export type RerankConfig = {
1284
1284
  */
1285
1285
  export type AgenticRagConfig = {
1286
1286
  /**
1287
- * The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/chat-models).
1287
+ * The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/ai-gateway/supported-models#chat-models).
1288
1288
  */
1289
1289
  model: string;
1290
1290
  };
@@ -1303,7 +1303,7 @@ export type CreateChatCompletionKnowledgeBases = {
1303
1303
  */
1304
1304
  searchType?: SearchType | null | undefined;
1305
1305
  /**
1306
- * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/knowledge/api#knowledge-base-search) for more information.
1306
+ * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/ai-studio/ai-engineering/knowledge-bases#search-a-knowledge-base) for more information.
1307
1307
  */
1308
1308
  filterBy?: FilterByAnd | FilterByOr | {
1309
1309
  [k: string]:
@@ -1449,7 +1449,7 @@ export type CreateChatCompletionRequestBody = {
1449
1449
  | CreateChatCompletionMessagesToolMessage
1450
1450
  >;
1451
1451
  /**
1452
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-haiku-4-5-20251001`. The AI Gateway offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the (Supported models)[/docs/proxy/supported-models] to browse available models.
1452
+ * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-haiku-4-5-20251001`. The AI Gateway offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [Supported models](/docs/ai-gateway/supported-models) to browse available models.
1453
1453
  */
1454
1454
  model: string;
1455
1455
  /**
@@ -470,7 +470,7 @@ export type CreateCompletionFilterBy1 =
470
470
  | CreateCompletion1Nin;
471
471
 
472
472
  /**
473
- * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/knowledge/api#knowledge-base-search) for more information.
473
+ * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/ai-studio/ai-engineering/knowledge-bases#search-a-knowledge-base) for more information.
474
474
  */
475
475
  export type CreateCompletionFilterBy =
476
476
  | CreateCompletionFilterByAnd
@@ -510,7 +510,7 @@ export type CreateCompletionSearchOptions = {
510
510
  */
511
511
  export type CreateCompletionRerankConfig = {
512
512
  /**
513
- * The name of the rerank model to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/rerank-models).
513
+ * The name of the rerank model to use. Refer to the [model list](https://docs.orq.ai/docs/ai-gateway/supported-models#rerank-models).
514
514
  */
515
515
  model: string;
516
516
  /**
@@ -528,7 +528,7 @@ export type CreateCompletionRerankConfig = {
528
528
  */
529
529
  export type CreateCompletionAgenticRagConfig = {
530
530
  /**
531
- * The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/chat-models).
531
+ * The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/ai-gateway/supported-models#chat-models).
532
532
  */
533
533
  model: string;
534
534
  };
@@ -547,7 +547,7 @@ export type CreateCompletionKnowledgeBases = {
547
547
  */
548
548
  searchType?: CreateCompletionSearchType | null | undefined;
549
549
  /**
550
- * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/knowledge/api#knowledge-base-search) for more information.
550
+ * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/ai-studio/ai-engineering/knowledge-bases#search-a-knowledge-base) for more information.
551
551
  */
552
552
  filterBy?: CreateCompletionFilterByAnd | CreateCompletionFilterByOr | {
553
553
  [k: string]:
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-09-10T10:10:11.267Z",
141
+ "2026-09-15T09:33:48.490Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -2739,7 +2739,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
2739
2739
  explanation: z.string().optional(),
2740
2740
  reviewed_by_id: z.string(),
2741
2741
  reviewed_at: z.string().datetime({ offset: true }).default(
2742
- "2026-09-10T10:10:18.606Z",
2742
+ "2026-09-15T09:33:57.588Z",
2743
2743
  ).transform(v => new Date(v)),
2744
2744
  type: z.literal("string_array"),
2745
2745
  values: z.array(z.string()),
@@ -2829,7 +2829,7 @@ export const CreateDatasetItemEvaluations3$inboundSchema: z.ZodType<
2829
2829
  explanation: z.string().optional(),
2830
2830
  reviewed_by_id: z.string(),
2831
2831
  reviewed_at: z.string().datetime({ offset: true }).default(
2832
- "2026-09-10T10:10:18.606Z",
2832
+ "2026-09-15T09:33:57.587Z",
2833
2833
  ).transform(v => new Date(v)),
2834
2834
  type: z.literal("boolean"),
2835
2835
  value: z.boolean(),
@@ -2914,7 +2914,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
2914
2914
  explanation: z.string().optional(),
2915
2915
  reviewed_by_id: z.string(),
2916
2916
  reviewed_at: z.string().datetime({ offset: true }).default(
2917
- "2026-09-10T10:10:18.606Z",
2917
+ "2026-09-15T09:33:57.587Z",
2918
2918
  ).transform(v => new Date(v)),
2919
2919
  type: z.literal("number"),
2920
2920
  value: z.number(),
@@ -3000,7 +3000,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
3000
3000
  explanation: z.string().optional(),
3001
3001
  reviewed_by_id: z.string(),
3002
3002
  reviewed_at: z.string().datetime({ offset: true }).default(
3003
- "2026-09-10T10:10:18.606Z",
3003
+ "2026-09-15T09:33:57.587Z",
3004
3004
  ).transform(v => new Date(v)),
3005
3005
  type: z.literal("string"),
3006
3006
  value: z.string(),
@@ -3087,7 +3087,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
3087
3087
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3088
3088
  .optional(),
3089
3089
  updated: z.string().datetime({ offset: true }).default(
3090
- "2026-09-10T10:10:11.267Z",
3090
+ "2026-09-15T09:33:48.490Z",
3091
3091
  ).transform(v => new Date(v)),
3092
3092
  }).transform((v) => {
3093
3093
  return remap$(v, {
@@ -266,7 +266,7 @@ export type CreateImageEditOrq = {
266
266
 
267
267
  export type CreateImageEditRequestBody = {
268
268
  /**
269
- * The model to use for image edit. [Check models](https://docs.orq.ai/docs/ai-gateway-supported-models#image-models)
269
+ * The model to use for image edit. [Check models](https://docs.orq.ai/docs/ai-gateway/supported-models#image-models)
270
270
  */
271
271
  model: string;
272
272
  /**
@@ -792,7 +792,7 @@ export type PromptInput = {
792
792
  | CreatePromptMessagesToolMessage
793
793
  >;
794
794
  /**
795
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`. The full list of models can be found at https://docs.orq.ai/docs/ai-gateway-supported-models. Only chat models are supported.
795
+ * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`. The full list of models can be found at https://docs.orq.ai/docs/ai-gateway/supported-models. Only chat models are supported.
796
796
  */
797
797
  model?: string | undefined;
798
798
  /**
@@ -1573,7 +1573,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1573
1573
  z.ZodTypeDef,
1574
1574
  unknown
1575
1575
  > = z.object({
1576
- _id: z.string().default("tool_01M25CQYAKBKBPZEM2T9RFT5T6"),
1576
+ _id: z.string().default("tool_01M2J6MZDF5A0XN0EHBR9HTM6S"),
1577
1577
  path: z.string(),
1578
1578
  key: z.string(),
1579
1579
  display_name: z.string().optional(),
@@ -1759,7 +1759,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1759
1759
  z.ZodTypeDef,
1760
1760
  unknown
1761
1761
  > = z.object({
1762
- _id: z.string().default("tool_01M25CQYAKZA1MFJE0ZVCZ14GA"),
1762
+ _id: z.string().default("tool_01M2J6MZDEEZQF6ZTY8CN7QCWD"),
1763
1763
  path: z.string(),
1764
1764
  key: z.string(),
1765
1765
  display_name: z.string().optional(),
@@ -1852,7 +1852,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1852
1852
  z.ZodTypeDef,
1853
1853
  unknown
1854
1854
  > = z.object({
1855
- _id: z.string().default("tool_01M25CQYAJVTTBXCZ0S3CEBKEJ"),
1855
+ _id: z.string().default("tool_01M2J6MZDDJKC7BA6G5AJ0KFS1"),
1856
1856
  path: z.string(),
1857
1857
  key: z.string(),
1858
1858
  display_name: z.string().optional(),
@@ -1953,7 +1953,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1953
1953
  z.ZodTypeDef,
1954
1954
  unknown
1955
1955
  > = z.object({
1956
- _id: z.string().default("tool_01M25CQYAJ2K8VSR7MPQDX6RE6"),
1956
+ _id: z.string().default("tool_01M2J6MZDCTKNAD01C8N7XTJWQ"),
1957
1957
  path: z.string(),
1958
1958
  key: z.string(),
1959
1959
  display_name: z.string().optional(),
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M25CQYAE15YYN1RVPCJZQZY1"),
642
+ _id: z.string().default("tool_01M2J6MZD86GQ9G0Q674W20Z7S"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M25CQYADENXYCC0RV8BKW1PR"),
824
+ _id: z.string().default("tool_01M2J6MZD59TZ26A9YNRXK82MT"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M25CQYADPEVFKRTR66Y2PGK7"),
917
+ _id: z.string().default("tool_01M2J6MZD41AGXHV9GYCAA7146"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M25CQYACZR0QXBWZCY28QX9V"),
1015
+ _id: z.string().default("tool_01M2J6MZD3K3R9PCMDC3XK5KF7"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-09-10T10:10:11.267Z",
143
+ "2026-09-15T09:33:48.490Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-09-10T10:10:11.267Z",
188
+ "2026-09-15T09:33:48.490Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),