@orq-ai/node 4.12.0-rc.39 → 4.12.0-rc.41

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 (120) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/actionreviewrequestedstreamingevent.d.ts +2 -2
  5. package/models/components/actionreviewrequestedstreamingevent.d.ts.map +1 -1
  6. package/models/components/actionreviewrequestedstreamingevent.js +1 -1
  7. package/models/components/actionreviewrequestedstreamingevent.js.map +1 -1
  8. package/models/components/agentstartedstreamingevent.d.ts +2 -2
  9. package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
  10. package/models/components/agentstartedstreamingevent.js +1 -1
  11. package/models/components/agentstartedstreamingevent.js.map +1 -1
  12. package/models/components/evaluatorresponsefunction.js +2 -2
  13. package/models/components/evaluatorresponsehttp.js +2 -2
  14. package/models/components/evaluatorresponsejsonschema.js +2 -2
  15. package/models/components/evaluatorresponsellm.js +2 -2
  16. package/models/components/evaluatorresponsepython.js +2 -2
  17. package/models/components/evaluatorresponseragas.js +2 -2
  18. package/models/components/evaluatorresponsetypescript.js +2 -2
  19. package/models/components/reasoningpart.js +1 -1
  20. package/models/operations/createagentrequest.d.ts +12 -2
  21. package/models/operations/createagentrequest.d.ts.map +1 -1
  22. package/models/operations/createagentrequest.js +3 -1
  23. package/models/operations/createagentrequest.js.map +1 -1
  24. package/models/operations/createdataset.js +1 -1
  25. package/models/operations/createdatasetitem.js +5 -5
  26. package/models/operations/createdatasource.js +1 -1
  27. package/models/operations/createtool.d.ts +9 -0
  28. package/models/operations/createtool.d.ts.map +1 -1
  29. package/models/operations/createtool.js +8 -6
  30. package/models/operations/createtool.js.map +1 -1
  31. package/models/operations/getalltools.d.ts +4 -0
  32. package/models/operations/getalltools.d.ts.map +1 -1
  33. package/models/operations/getalltools.js +7 -6
  34. package/models/operations/getalltools.js.map +1 -1
  35. package/models/operations/getv2humanevalsets.js +2 -2
  36. package/models/operations/getv2humanevalsetsid.js +2 -2
  37. package/models/operations/listagents.d.ts +2 -2
  38. package/models/operations/listagents.d.ts.map +1 -1
  39. package/models/operations/listagents.js +1 -1
  40. package/models/operations/listagents.js.map +1 -1
  41. package/models/operations/listdatasetdatapoints.js +5 -5
  42. package/models/operations/listdatasets.js +1 -1
  43. package/models/operations/listdatasources.js +1 -1
  44. package/models/operations/patchv2humanevalsetsid.js +2 -2
  45. package/models/operations/postv2feedbackevaluation.js +4 -4
  46. package/models/operations/postv2humanevalsets.js +2 -2
  47. package/models/operations/retrieveagentrequest.d.ts +2 -2
  48. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  49. package/models/operations/retrieveagentrequest.js +1 -1
  50. package/models/operations/retrieveagentrequest.js.map +1 -1
  51. package/models/operations/retrievedatapoint.js +5 -5
  52. package/models/operations/retrievedataset.js +1 -1
  53. package/models/operations/retrievedatasource.js +1 -1
  54. package/models/operations/retrievetool.d.ts +4 -0
  55. package/models/operations/retrievetool.d.ts.map +1 -1
  56. package/models/operations/retrievetool.js +7 -6
  57. package/models/operations/retrievetool.js.map +1 -1
  58. package/models/operations/runagent.d.ts +15 -0
  59. package/models/operations/runagent.d.ts.map +1 -1
  60. package/models/operations/runagent.js +4 -1
  61. package/models/operations/runagent.js.map +1 -1
  62. package/models/operations/streamrunagent.d.ts +15 -0
  63. package/models/operations/streamrunagent.d.ts.map +1 -1
  64. package/models/operations/streamrunagent.js +4 -1
  65. package/models/operations/streamrunagent.js.map +1 -1
  66. package/models/operations/updateagent.d.ts +12 -2
  67. package/models/operations/updateagent.d.ts.map +1 -1
  68. package/models/operations/updateagent.js +3 -1
  69. package/models/operations/updateagent.js.map +1 -1
  70. package/models/operations/updatedatapoint.js +5 -5
  71. package/models/operations/updatedataset.js +1 -1
  72. package/models/operations/updatedatasource.js +1 -1
  73. package/models/operations/updatetool.d.ts +9 -0
  74. package/models/operations/updatetool.d.ts.map +1 -1
  75. package/models/operations/updatetool.js +9 -7
  76. package/models/operations/updatetool.js.map +1 -1
  77. package/package.json +1 -1
  78. package/sdk/feedback.d.ts +1 -4
  79. package/sdk/feedback.d.ts.map +1 -1
  80. package/sdk/feedback.js +1 -4
  81. package/sdk/feedback.js.map +1 -1
  82. package/src/lib/config.ts +2 -2
  83. package/src/models/components/actionreviewrequestedstreamingevent.ts +3 -3
  84. package/src/models/components/agentstartedstreamingevent.ts +3 -3
  85. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  86. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  87. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  88. package/src/models/components/evaluatorresponsellm.ts +2 -2
  89. package/src/models/components/evaluatorresponsepython.ts +2 -2
  90. package/src/models/components/evaluatorresponseragas.ts +2 -2
  91. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  92. package/src/models/components/reasoningpart.ts +1 -1
  93. package/src/models/operations/createagentrequest.ts +15 -3
  94. package/src/models/operations/createdataset.ts +1 -1
  95. package/src/models/operations/createdatasetitem.ts +5 -5
  96. package/src/models/operations/createdatasource.ts +1 -1
  97. package/src/models/operations/createtool.ts +17 -6
  98. package/src/models/operations/getalltools.ts +11 -6
  99. package/src/models/operations/getv2humanevalsets.ts +2 -2
  100. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  101. package/src/models/operations/listagents.ts +3 -3
  102. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  103. package/src/models/operations/listdatasets.ts +1 -1
  104. package/src/models/operations/listdatasources.ts +1 -1
  105. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  106. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  107. package/src/models/operations/postv2humanevalsets.ts +2 -2
  108. package/src/models/operations/retrieveagentrequest.ts +3 -3
  109. package/src/models/operations/retrievedatapoint.ts +5 -5
  110. package/src/models/operations/retrievedataset.ts +1 -1
  111. package/src/models/operations/retrievedatasource.ts +1 -1
  112. package/src/models/operations/retrievetool.ts +11 -6
  113. package/src/models/operations/runagent.ts +19 -1
  114. package/src/models/operations/streamrunagent.ts +19 -1
  115. package/src/models/operations/updateagent.ts +15 -3
  116. package/src/models/operations/updatedatapoint.ts +5 -5
  117. package/src/models/operations/updatedataset.ts +1 -1
  118. package/src/models/operations/updatedatasource.ts +1 -1
  119. package/src/models/operations/updatetool.ts +18 -7
  120. package/src/sdk/feedback.ts +1 -4
@@ -253,6 +253,10 @@ export type RequestBodyBlueprint = {
253
253
  * The body to send with the request.
254
254
  */
255
255
  body?: { [k: string]: any } | undefined;
256
+ /**
257
+ * The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
258
+ */
259
+ timeout?: number | undefined;
256
260
  };
257
261
 
258
262
  /**
@@ -828,6 +832,10 @@ export type ResponseBodyBlueprint = {
828
832
  * The body to send with the request.
829
833
  */
830
834
  body?: { [k: string]: any } | undefined;
835
+ /**
836
+ * The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
837
+ */
838
+ timeout?: number | undefined;
831
839
  };
832
840
 
833
841
  /**
@@ -1434,6 +1442,7 @@ export type RequestBodyBlueprint$Outbound = {
1434
1442
  method: string;
1435
1443
  headers?: { [k: string]: CreateToolHeaders2$Outbound | string } | undefined;
1436
1444
  body?: { [k: string]: any } | undefined;
1445
+ timeout?: number | undefined;
1437
1446
  };
1438
1447
 
1439
1448
  /** @internal */
@@ -1448,6 +1457,7 @@ export const RequestBodyBlueprint$outboundSchema: z.ZodType<
1448
1457
  z.union([z.lazy(() => CreateToolHeaders2$outboundSchema), z.string()]),
1449
1458
  ).optional(),
1450
1459
  body: z.record(z.any()).optional(),
1460
+ timeout: z.number().optional(),
1451
1461
  });
1452
1462
 
1453
1463
  export function requestBodyBlueprintToJSON(
@@ -1896,7 +1906,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1896
1906
  z.ZodTypeDef,
1897
1907
  unknown
1898
1908
  > = z.object({
1899
- _id: z.string().default("tool_01KXYTCVHHG9D5WTCMBRTYY6G0"),
1909
+ _id: z.string().default("tool_01KXZSX47BD8DFFB4DB4N4T2HT"),
1900
1910
  path: z.string(),
1901
1911
  key: z.string(),
1902
1912
  display_name: z.string().optional(),
@@ -1993,7 +2003,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
1993
2003
  z.ZodTypeDef,
1994
2004
  unknown
1995
2005
  > = z.object({
1996
- id: z.string().default("01KXYTCVHF7Q4W7PSC9J0TWHMK"),
2006
+ id: z.string().default("01KXZSX479K4VV002MS8NTBW0V"),
1997
2007
  name: z.string(),
1998
2008
  description: z.string().optional(),
1999
2009
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
@@ -2049,7 +2059,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2049
2059
  z.ZodTypeDef,
2050
2060
  unknown
2051
2061
  > = z.object({
2052
- _id: z.string().default("tool_01KXYTCVHE4N9ZJ773END0SJ1Q"),
2062
+ _id: z.string().default("tool_01KXZSX478X79Z909FZ5TPK88F"),
2053
2063
  path: z.string(),
2054
2064
  key: z.string(),
2055
2065
  display_name: z.string().optional(),
@@ -2145,6 +2155,7 @@ export const ResponseBodyBlueprint$inboundSchema: z.ZodType<
2145
2155
  z.union([z.lazy(() => CreateToolHeadersTools2$inboundSchema), z.string()]),
2146
2156
  ).optional(),
2147
2157
  body: z.record(z.any()).optional(),
2158
+ timeout: z.number().optional(),
2148
2159
  });
2149
2160
 
2150
2161
  export function responseBodyBlueprintFromJSON(
@@ -2235,7 +2246,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2235
2246
  z.ZodTypeDef,
2236
2247
  unknown
2237
2248
  > = z.object({
2238
- _id: z.string().default("tool_01KXYTCVHB8EBTXCYNQKAV9HDJ"),
2249
+ _id: z.string().default("tool_01KXZSX4759DWPVZ8FG7RWV5XB"),
2239
2250
  path: z.string(),
2240
2251
  key: z.string(),
2241
2252
  display_name: z.string().optional(),
@@ -2328,7 +2339,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2328
2339
  z.ZodTypeDef,
2329
2340
  unknown
2330
2341
  > = z.object({
2331
- _id: z.string().default("tool_01KXYTCVH8J7T2G62V41EVJWH1"),
2342
+ _id: z.string().default("tool_01KXZSX4735P3HCDSJ5FEZ9CBV"),
2332
2343
  path: z.string(),
2333
2344
  key: z.string(),
2334
2345
  display_name: z.string().optional(),
@@ -2429,7 +2440,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2429
2440
  z.ZodTypeDef,
2430
2441
  unknown
2431
2442
  > = z.object({
2432
- _id: z.string().default("tool_01KXYTCVH6G7CED45H837P106B"),
2443
+ _id: z.string().default("tool_01KXZSX471RHRWD35EMZ03QT9C"),
2433
2444
  path: z.string(),
2434
2445
  key: z.string(),
2435
2446
  display_name: z.string().optional(),
@@ -326,6 +326,10 @@ export type DataBlueprint = {
326
326
  * The body to send with the request.
327
327
  */
328
328
  body?: { [k: string]: any } | undefined;
329
+ /**
330
+ * The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
331
+ */
332
+ timeout?: number | undefined;
329
333
  };
330
334
 
331
335
  /**
@@ -766,7 +770,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
766
770
  z.ZodTypeDef,
767
771
  unknown
768
772
  > = z.object({
769
- _id: z.string().default("tool_01KXYTCVGQ9W537TWW3ABXSMPZ"),
773
+ _id: z.string().default("tool_01KXZSX46JK4SEG4V9JGF0GYBD"),
770
774
  path: z.string(),
771
775
  key: z.string(),
772
776
  display_name: z.string().optional(),
@@ -863,7 +867,7 @@ export const DataTools$inboundSchema: z.ZodType<
863
867
  z.ZodTypeDef,
864
868
  unknown
865
869
  > = z.object({
866
- id: z.string().default("01KXYTCVGP6BGTN8PMZAYHMAP9"),
870
+ id: z.string().default("01KXZSX46GGSAHYWFNHXR5RKSC"),
867
871
  name: z.string(),
868
872
  description: z.string().optional(),
869
873
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -916,7 +920,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
916
920
  z.ZodTypeDef,
917
921
  unknown
918
922
  > = z.object({
919
- _id: z.string().default("tool_01KXYTCVGMH49F7P91MY1A1VZP"),
923
+ _id: z.string().default("tool_01KXZSX46FXB787Q0CXHZFKKHV"),
920
924
  path: z.string(),
921
925
  key: z.string(),
922
926
  display_name: z.string().optional(),
@@ -1009,6 +1013,7 @@ export const DataBlueprint$inboundSchema: z.ZodType<
1009
1013
  z.union([z.lazy(() => GetAllToolsHeaders2$inboundSchema), z.string()]),
1010
1014
  ).optional(),
1011
1015
  body: z.record(z.any()).optional(),
1016
+ timeout: z.number().optional(),
1012
1017
  });
1013
1018
 
1014
1019
  export function dataBlueprintFromJSON(
@@ -1100,7 +1105,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1100
1105
  z.ZodTypeDef,
1101
1106
  unknown
1102
1107
  > = z.object({
1103
- _id: z.string().default("tool_01KXYTCVGJEMCKSHBY09M41F6D"),
1108
+ _id: z.string().default("tool_01KXZSX46CZEX07C4PVDTTJFMG"),
1104
1109
  path: z.string(),
1105
1110
  key: z.string(),
1106
1111
  display_name: z.string().optional(),
@@ -1193,7 +1198,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1193
1198
  z.ZodTypeDef,
1194
1199
  unknown
1195
1200
  > = z.object({
1196
- _id: z.string().default("tool_01KXYTCVGG3Y20BNNZX0F7Y052"),
1201
+ _id: z.string().default("tool_01KXZSX469HH5V2QMGKYYKMW1Y"),
1197
1202
  path: z.string(),
1198
1203
  key: z.string(),
1199
1204
  display_name: z.string().optional(),
@@ -1291,7 +1296,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1291
1296
  z.ZodTypeDef,
1292
1297
  unknown
1293
1298
  > = z.object({
1294
- _id: z.string().default("tool_01KXYTCVGE3KYDP1X6QAN2ZFHY"),
1299
+ _id: z.string().default("tool_01KXZSX466TMD8XQ6S1887PK02"),
1295
1300
  path: z.string(),
1296
1301
  key: z.string(),
1297
1302
  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-07-20T03:50:54.682Z",
143
+ "2026-07-20T13:01:25.156Z",
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-07-20T03:50:54.682Z",
188
+ "2026-07-20T13:01:25.156Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-07-20T03:50:54.682Z",
144
+ "2026-07-20T13:01:25.156Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-07-20T03:50:54.682Z",
189
+ "2026-07-20T13:01:25.156Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -163,9 +163,9 @@ export type ListAgentsTools = {
163
163
  toolId?: string | undefined;
164
164
  conditions?: Array<ListAgentsConditions> | undefined;
165
165
  /**
166
- * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
166
+ * Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
167
167
  */
168
- timeout: number;
168
+ timeout?: number | undefined;
169
169
  };
170
170
 
171
171
  /**
@@ -1486,7 +1486,7 @@ export const ListAgentsTools$inboundSchema: z.ZodType<
1486
1486
  tool_id: z.string().optional(),
1487
1487
  conditions: z.array(z.lazy(() => ListAgentsConditions$inboundSchema))
1488
1488
  .optional(),
1489
- timeout: z.number().default(120),
1489
+ timeout: z.number().optional(),
1490
1490
  }).transform((v) => {
1491
1491
  return remap$(v, {
1492
1492
  "action_type": "actionType",
@@ -1647,7 +1647,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
1647
1647
  explanation: z.string().optional(),
1648
1648
  reviewed_by_id: z.string(),
1649
1649
  reviewed_at: z.string().datetime({ offset: true }).default(
1650
- "2026-07-20T03:51:27.258Z",
1650
+ "2026-07-20T13:02:06.387Z",
1651
1651
  ).transform(v => new Date(v)),
1652
1652
  type: z.literal("string_array"),
1653
1653
  values: z.array(z.string()),
@@ -1743,7 +1743,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1743
1743
  explanation: z.string().optional(),
1744
1744
  reviewed_by_id: z.string(),
1745
1745
  reviewed_at: z.string().datetime({ offset: true }).default(
1746
- "2026-07-20T03:51:27.256Z",
1746
+ "2026-07-20T13:02:06.386Z",
1747
1747
  ).transform(v => new Date(v)),
1748
1748
  type: z.literal("boolean"),
1749
1749
  value: z.boolean(),
@@ -1847,7 +1847,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1847
1847
  explanation: z.string().optional(),
1848
1848
  reviewed_by_id: z.string(),
1849
1849
  reviewed_at: z.string().datetime({ offset: true }).default(
1850
- "2026-07-20T03:51:27.255Z",
1850
+ "2026-07-20T13:02:06.384Z",
1851
1851
  ).transform(v => new Date(v)),
1852
1852
  type: z.literal("number"),
1853
1853
  value: z.number(),
@@ -1953,7 +1953,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1953
1953
  explanation: z.string().optional(),
1954
1954
  reviewed_by_id: z.string(),
1955
1955
  reviewed_at: z.string().datetime({ offset: true }).default(
1956
- "2026-07-20T03:51:27.254Z",
1956
+ "2026-07-20T13:02:06.382Z",
1957
1957
  ).transform(v => new Date(v)),
1958
1958
  type: z.literal("string"),
1959
1959
  value: z.string(),
@@ -2036,7 +2036,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
2036
2036
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2037
2037
  .optional(),
2038
2038
  updated: z.string().datetime({ offset: true }).default(
2039
- "2026-07-20T03:50:54.682Z",
2039
+ "2026-07-20T13:01:25.156Z",
2040
2040
  ).transform(v => new Date(v)),
2041
2041
  }).transform((v) => {
2042
2042
  return remap$(v, {
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
169
169
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
170
170
  .optional(),
171
171
  updated: z.string().datetime({ offset: true }).default(
172
- "2026-07-20T03:50:54.682Z",
172
+ "2026-07-20T13:01:25.156Z",
173
173
  ).transform(v => new Date(v)),
174
174
  }).transform((v) => {
175
175
  return remap$(v, {
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
278
278
  z.ZodTypeDef,
279
279
  unknown
280
280
  > = z.object({
281
- _id: z.string().default("01KXYTCVPGFJ3NBYS0NM5M4CCQ"),
281
+ _id: z.string().default("01KXZSX4E6BYWJ50GQ803V2DQ2"),
282
282
  display_name: z.string(),
283
283
  description: z.nullable(z.string()).optional(),
284
284
  status: ListDatasourcesStatus$inboundSchema,
@@ -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-20T03:50:54.682Z",
321
+ "2026-07-20T13:01:25.156Z",
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-20T03:50:54.682Z",
367
+ "2026-07-20T13:01:25.156Z",
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-20T03:51:27.430Z"))
248
+ reviewedAt: z.date().default(() => new Date("2026-07-20T13:02:06.651Z"))
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-20T03:51:27.430Z"))
302
+ reviewedAt: z.date().default(() => new Date("2026-07-20T13:02:06.650Z"))
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-20T03:51:27.429Z"))
356
+ reviewedAt: z.date().default(() => new Date("2026-07-20T13:02:06.649Z"))
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-20T03:51:27.428Z"))
414
+ reviewedAt: z.date().default(() => new Date("2026-07-20T13:02:06.648Z"))
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-20T03:50:54.682Z",
274
+ "2026-07-20T13:01:25.156Z",
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-20T03:50:54.682Z",
319
+ "2026-07-20T13:01:25.156Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -143,9 +143,9 @@ export type RetrieveAgentRequestTools = {
143
143
  toolId?: string | undefined;
144
144
  conditions?: Array<RetrieveAgentRequestConditions> | undefined;
145
145
  /**
146
- * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
146
+ * Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
147
147
  */
148
- timeout: number;
148
+ timeout?: number | undefined;
149
149
  };
150
150
 
151
151
  /**
@@ -1472,7 +1472,7 @@ export const RetrieveAgentRequestTools$inboundSchema: z.ZodType<
1472
1472
  conditions: z.array(
1473
1473
  z.lazy(() => RetrieveAgentRequestConditions$inboundSchema),
1474
1474
  ).optional(),
1475
- timeout: z.number().default(120),
1475
+ timeout: z.number().optional(),
1476
1476
  }).transform((v) => {
1477
1477
  return remap$(v, {
1478
1478
  "action_type": "actionType",
@@ -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-20T03:51:27.270Z",
1582
+ "2026-07-20T13:02:06.404Z",
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-20T03:51:27.269Z",
1682
+ "2026-07-20T13:02:06.402Z",
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-20T03:51:27.268Z",
1780
+ "2026-07-20T13:02:06.401Z",
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-20T03:51:27.267Z",
1868
+ "2026-07-20T13:02:06.399Z",
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-20T03:50:54.682Z",
1949
+ "2026-07-20T13:01:25.156Z",
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-20T03:50:54.682Z",
129
+ "2026-07-20T13:01:25.156Z",
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("01KXYTCVPMY7124KEA886QE10D"),
190
+ _id: z.string().default("01KXZSX4EA2F0SF31YTXATN81C"),
191
191
  display_name: z.string(),
192
192
  description: z.nullable(z.string()).optional(),
193
193
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -319,6 +319,10 @@ export type RetrieveToolResponseBodyBlueprint = {
319
319
  * The body to send with the request.
320
320
  */
321
321
  body?: { [k: string]: any } | undefined;
322
+ /**
323
+ * The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
324
+ */
325
+ timeout?: number | undefined;
322
326
  };
323
327
 
324
328
  /**
@@ -753,7 +757,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
753
757
  z.ZodTypeDef,
754
758
  unknown
755
759
  > = z.object({
756
- _id: z.string().default("tool_01KXYTCVK5J8ZCY0PQ2232R578"),
760
+ _id: z.string().default("tool_01KXZSX49C3MRMTD4B0MEH766W"),
757
761
  path: z.string(),
758
762
  key: z.string(),
759
763
  display_name: z.string().optional(),
@@ -859,7 +863,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
859
863
  z.ZodTypeDef,
860
864
  unknown
861
865
  > = z.object({
862
- id: z.string().default("01KXYTCVK3B2356141T6DB4NVT"),
866
+ id: z.string().default("01KXZSX49BWE223WQH4SY8ARSV"),
863
867
  name: z.string(),
864
868
  description: z.string().optional(),
865
869
  schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
@@ -917,7 +921,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
917
921
  z.ZodTypeDef,
918
922
  unknown
919
923
  > = z.object({
920
- _id: z.string().default("tool_01KXYTCVK27NCASAFFQ8F0QBHY"),
924
+ _id: z.string().default("tool_01KXZSX499JBQVQANX28WVE4XM"),
921
925
  path: z.string(),
922
926
  key: z.string(),
923
927
  display_name: z.string().optional(),
@@ -1014,6 +1018,7 @@ export const RetrieveToolResponseBodyBlueprint$inboundSchema: z.ZodType<
1014
1018
  z.union([z.lazy(() => RetrieveToolHeaders2$inboundSchema), z.string()]),
1015
1019
  ).optional(),
1016
1020
  body: z.record(z.any()).optional(),
1021
+ timeout: z.number().optional(),
1017
1022
  });
1018
1023
 
1019
1024
  export function retrieveToolResponseBodyBlueprintFromJSON(
@@ -1108,7 +1113,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1108
1113
  z.ZodTypeDef,
1109
1114
  unknown
1110
1115
  > = z.object({
1111
- _id: z.string().default("tool_01KXYTCVJZQKZT7RSCW8YSQG57"),
1116
+ _id: z.string().default("tool_01KXZSX495FS9X9JYTGSN6N0MN"),
1112
1117
  path: z.string(),
1113
1118
  key: z.string(),
1114
1119
  display_name: z.string().optional(),
@@ -1204,7 +1209,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1204
1209
  z.ZodTypeDef,
1205
1210
  unknown
1206
1211
  > = z.object({
1207
- _id: z.string().default("tool_01KXYTCVJXB6YEPTGB2SEQ84GS"),
1212
+ _id: z.string().default("tool_01KXZSX492SGXQD8CWZBD564QY"),
1208
1213
  path: z.string(),
1209
1214
  key: z.string(),
1210
1215
  display_name: z.string().optional(),
@@ -1310,7 +1315,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1310
1315
  z.ZodTypeDef,
1311
1316
  unknown
1312
1317
  > = z.object({
1313
- _id: z.string().default("tool_01KXYTCVJVME267QRGA9NWJG2C"),
1318
+ _id: z.string().default("tool_01KXZSX48ZNK3BREY357S2FJKE"),
1314
1319
  path: z.string(),
1315
1320
  key: z.string(),
1316
1321
  display_name: z.string().optional(),
@@ -1435,6 +1435,10 @@ export type CodeToolRun = {
1435
1435
  description: string;
1436
1436
  codeTool: CodeTool;
1437
1437
  requiresApproval?: boolean | undefined;
1438
+ /**
1439
+ * Tool execution timeout in seconds for this agent (max: 2 minutes, the code sandbox cap). Overrides the timeout configured on the tool definition.
1440
+ */
1441
+ timeout?: number | undefined;
1438
1442
  };
1439
1443
 
1440
1444
  /**
@@ -1478,6 +1482,10 @@ export type Blueprint = {
1478
1482
  * The body to send with the request.
1479
1483
  */
1480
1484
  body?: { [k: string]: any } | undefined;
1485
+ /**
1486
+ * The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
1487
+ */
1488
+ timeout?: number | undefined;
1481
1489
  };
1482
1490
 
1483
1491
  /**
@@ -1550,6 +1558,10 @@ export type HTTPToolRun = {
1550
1558
  description: string;
1551
1559
  http: Http;
1552
1560
  requiresApproval?: boolean | undefined;
1561
+ /**
1562
+ * Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
1563
+ */
1564
+ timeout?: number | undefined;
1553
1565
  };
1554
1566
 
1555
1567
  /**
@@ -4042,7 +4054,7 @@ export const Tools$outboundSchema: z.ZodType<
4042
4054
  z.ZodTypeDef,
4043
4055
  Tools
4044
4056
  > = z.object({
4045
- id: z.string().default("01KXYTCVAAA0126DX1DFMV3FXD"),
4057
+ id: z.string().default("01KXZSX3Y7R3Z04DB9TX9VVKS6"),
4046
4058
  name: z.string(),
4047
4059
  description: z.string().optional(),
4048
4060
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -4417,6 +4429,7 @@ export type CodeToolRun$Outbound = {
4417
4429
  description: string;
4418
4430
  code_tool: CodeTool$Outbound;
4419
4431
  requires_approval: boolean;
4432
+ timeout?: number | undefined;
4420
4433
  };
4421
4434
 
4422
4435
  /** @internal */
@@ -4432,6 +4445,7 @@ export const CodeToolRun$outboundSchema: z.ZodType<
4432
4445
  description: z.string(),
4433
4446
  codeTool: z.lazy(() => CodeTool$outboundSchema),
4434
4447
  requiresApproval: z.boolean().default(false),
4448
+ timeout: z.number().optional(),
4435
4449
  }).transform((v) => {
4436
4450
  return remap$(v, {
4437
4451
  id: "_id",
@@ -4489,6 +4503,7 @@ export type Blueprint$Outbound = {
4489
4503
  method: string;
4490
4504
  headers?: { [k: string]: Headers2$Outbound | string } | undefined;
4491
4505
  body?: { [k: string]: any } | undefined;
4506
+ timeout?: number | undefined;
4492
4507
  };
4493
4508
 
4494
4509
  /** @internal */
@@ -4503,6 +4518,7 @@ export const Blueprint$outboundSchema: z.ZodType<
4503
4518
  z.union([z.lazy(() => Headers2$outboundSchema), z.string()]),
4504
4519
  ).optional(),
4505
4520
  body: z.record(z.any()).optional(),
4521
+ timeout: z.number().optional(),
4506
4522
  });
4507
4523
 
4508
4524
  export function blueprintToJSON(blueprint: Blueprint): string {
@@ -4587,6 +4603,7 @@ export type HTTPToolRun$Outbound = {
4587
4603
  description: string;
4588
4604
  http: Http$Outbound;
4589
4605
  requires_approval: boolean;
4606
+ timeout?: number | undefined;
4590
4607
  };
4591
4608
 
4592
4609
  /** @internal */
@@ -4602,6 +4619,7 @@ export const HTTPToolRun$outboundSchema: z.ZodType<
4602
4619
  description: z.string(),
4603
4620
  http: z.lazy(() => Http$outboundSchema),
4604
4621
  requiresApproval: z.boolean().default(false),
4622
+ timeout: z.number().optional(),
4605
4623
  }).transform((v) => {
4606
4624
  return remap$(v, {
4607
4625
  id: "_id",