@orq-ai/node 4.8.0-rc.51 → 4.8.0-rc.53

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 (89) 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/index.d.ts +1 -0
  5. package/models/components/index.d.ts.map +1 -1
  6. package/models/components/index.js +1 -0
  7. package/models/components/index.js.map +1 -1
  8. package/models/components/reasoningpart.js +1 -1
  9. package/models/components/responseexecutionlimits.d.ts +20 -0
  10. package/models/components/responseexecutionlimits.d.ts.map +1 -0
  11. package/models/components/responseexecutionlimits.js +62 -0
  12. package/models/components/responseexecutionlimits.js.map +1 -0
  13. package/models/operations/createcontact.js +1 -1
  14. package/models/operations/createdataset.js +1 -1
  15. package/models/operations/createdatasetitem.js +4 -4
  16. package/models/operations/createdatasource.js +1 -1
  17. package/models/operations/createeval.js +16 -16
  18. package/models/operations/createidentity.js +1 -1
  19. package/models/operations/createrouterresponse.d.ts +28 -4
  20. package/models/operations/createrouterresponse.d.ts.map +1 -1
  21. package/models/operations/createrouterresponse.js +16 -3
  22. package/models/operations/createrouterresponse.js.map +1 -1
  23. package/models/operations/createtool.js +6 -6
  24. package/models/operations/getalltools.js +6 -6
  25. package/models/operations/getevals.js +16 -16
  26. package/models/operations/getv2humanevalsets.js +2 -2
  27. package/models/operations/getv2humanevalsetsid.js +2 -2
  28. package/models/operations/listdatasetdatapoints.js +4 -4
  29. package/models/operations/listdatasets.js +1 -1
  30. package/models/operations/listdatasources.js +1 -1
  31. package/models/operations/listidentities.js +1 -1
  32. package/models/operations/patchv2humanevalsetsid.js +2 -2
  33. package/models/operations/postv2feedbackevaluation.js +3 -3
  34. package/models/operations/postv2humanevalsets.js +2 -2
  35. package/models/operations/retrievedatapoint.js +4 -4
  36. package/models/operations/retrievedataset.js +1 -1
  37. package/models/operations/retrievedatasource.js +1 -1
  38. package/models/operations/retrieveidentity.js +1 -1
  39. package/models/operations/retrieveresponse.d.ts +4 -1
  40. package/models/operations/retrieveresponse.d.ts.map +1 -1
  41. package/models/operations/retrieveresponse.js +1 -1
  42. package/models/operations/retrieveresponse.js.map +1 -1
  43. package/models/operations/retrievetool.js +6 -6
  44. package/models/operations/runagent.js +1 -1
  45. package/models/operations/streamrunagent.js +1 -1
  46. package/models/operations/updatedatapoint.js +4 -4
  47. package/models/operations/updatedataset.js +1 -1
  48. package/models/operations/updatedatasource.js +1 -1
  49. package/models/operations/updateeval.js +16 -16
  50. package/models/operations/updateidentity.js +1 -1
  51. package/models/operations/updatetool.js +7 -7
  52. package/package.json +5 -5
  53. package/src/lib/config.ts +2 -2
  54. package/src/models/components/index.ts +1 -0
  55. package/src/models/components/reasoningpart.ts +1 -1
  56. package/src/models/components/responseexecutionlimits.ts +52 -0
  57. package/src/models/operations/createcontact.ts +1 -1
  58. package/src/models/operations/createdataset.ts +1 -1
  59. package/src/models/operations/createdatasetitem.ts +4 -4
  60. package/src/models/operations/createdatasource.ts +1 -1
  61. package/src/models/operations/createeval.ts +16 -16
  62. package/src/models/operations/createidentity.ts +1 -1
  63. package/src/models/operations/createrouterresponse.ts +37 -6
  64. package/src/models/operations/createtool.ts +6 -6
  65. package/src/models/operations/getalltools.ts +6 -6
  66. package/src/models/operations/getevals.ts +16 -16
  67. package/src/models/operations/getv2humanevalsets.ts +2 -2
  68. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  69. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  70. package/src/models/operations/listdatasets.ts +1 -1
  71. package/src/models/operations/listdatasources.ts +1 -1
  72. package/src/models/operations/listidentities.ts +1 -1
  73. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  74. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  75. package/src/models/operations/postv2humanevalsets.ts +2 -2
  76. package/src/models/operations/retrievedatapoint.ts +4 -4
  77. package/src/models/operations/retrievedataset.ts +1 -1
  78. package/src/models/operations/retrievedatasource.ts +1 -1
  79. package/src/models/operations/retrieveidentity.ts +1 -1
  80. package/src/models/operations/retrieveresponse.ts +5 -2
  81. package/src/models/operations/retrievetool.ts +6 -6
  82. package/src/models/operations/runagent.ts +1 -1
  83. package/src/models/operations/streamrunagent.ts +1 -1
  84. package/src/models/operations/updatedatapoint.ts +4 -4
  85. package/src/models/operations/updatedataset.ts +1 -1
  86. package/src/models/operations/updatedatasource.ts +1 -1
  87. package/src/models/operations/updateeval.ts +16 -16
  88. package/src/models/operations/updateidentity.ts +1 -1
  89. package/src/models/operations/updatetool.ts +7 -7
@@ -155,6 +155,19 @@ export type CreateRouterResponseInput =
155
155
  | string
156
156
  | Array<CreateRouterResponseInput2>;
157
157
 
158
+ /**
159
+ * Template engine for variable substitution in instructions. Defaults to the agent manifest's engine when invoking an agent, otherwise text.
160
+ */
161
+ export const TemplateEngine = {
162
+ Text: "text",
163
+ Jinja: "jinja",
164
+ Mustache: "mustache",
165
+ } as const;
166
+ /**
167
+ * Template engine for variable substitution in instructions. Defaults to the agent manifest's engine when invoking an agent, otherwise text.
168
+ */
169
+ export type TemplateEngine = ClosedEnum<typeof TemplateEngine>;
170
+
158
171
  /**
159
172
  * The JSON Schema the output must conform to.
160
173
  */
@@ -367,6 +380,7 @@ export type CreateRouterResponseRequestBody = {
367
380
  * System prompt / instructions for the model.
368
381
  */
369
382
  instructions?: string | undefined;
383
+ limits?: components.ResponseExecutionLimits | undefined;
370
384
  /**
371
385
  * Maximum number of tokens in the response output.
372
386
  */
@@ -377,9 +391,9 @@ export type CreateRouterResponseRequestBody = {
377
391
  maxToolCalls?: number | undefined;
378
392
  memory?: components.MemoryParam | undefined;
379
393
  /**
380
- * Developer-defined key-value pairs attached to the response.
394
+ * Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>). Non-string values are rejected with a 400.
381
395
  */
382
- metadata?: { [k: string]: any } | undefined;
396
+ metadata?: { [k: string]: string } | undefined;
383
397
  /**
384
398
  * The model to use in provider/model format (e.g. openai/gpt-4o). Use agent/<key> to invoke a pre-configured agent from the orq.ai platform.
385
399
  */
@@ -419,6 +433,10 @@ export type CreateRouterResponseRequestBody = {
419
433
  * Sampling temperature between 0 and 2.
420
434
  */
421
435
  temperature?: number | undefined;
436
+ /**
437
+ * Template engine for variable substitution in instructions. Defaults to the agent manifest's engine when invoking an agent, otherwise text.
438
+ */
439
+ templateEngine?: TemplateEngine | undefined;
422
440
  /**
423
441
  * Configuration for text output.
424
442
  */
@@ -565,7 +583,10 @@ export type CreateRouterResponseResponseBody = {
565
583
  maxOutputTokens: number | null;
566
584
  maxToolCalls: number | null;
567
585
  memory?: components.MemoryParam | undefined;
568
- metadata: { [k: string]: any };
586
+ /**
587
+ * Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>).
588
+ */
589
+ metadata: { [k: string]: string };
569
590
  model: string;
570
591
  /**
571
592
  * Always "response"
@@ -825,6 +846,11 @@ export function createRouterResponseInputToJSON(
825
846
  );
826
847
  }
827
848
 
849
+ /** @internal */
850
+ export const TemplateEngine$outboundSchema: z.ZodNativeEnum<
851
+ typeof TemplateEngine
852
+ > = z.nativeEnum(TemplateEngine);
853
+
828
854
  /** @internal */
829
855
  export type FormatSchema$Outbound = {};
830
856
 
@@ -1185,10 +1211,11 @@ export type CreateRouterResponseRequestBody$Outbound = {
1185
1211
  identity?: components.ResponseIdentity$Outbound | undefined;
1186
1212
  input?: string | Array<CreateRouterResponseInput2$Outbound> | undefined;
1187
1213
  instructions?: string | undefined;
1214
+ limits?: components.ResponseExecutionLimits$Outbound | undefined;
1188
1215
  max_output_tokens?: number | undefined;
1189
1216
  max_tool_calls?: number | undefined;
1190
1217
  memory?: components.MemoryParam$Outbound | undefined;
1191
- metadata?: { [k: string]: any } | undefined;
1218
+ metadata?: { [k: string]: string } | undefined;
1192
1219
  model?: string | undefined;
1193
1220
  parallel_tool_calls?: boolean | undefined;
1194
1221
  presence_penalty?: number | undefined;
@@ -1201,6 +1228,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
1201
1228
  stream?: boolean | undefined;
1202
1229
  stream_options?: components.StreamOptions$Outbound | undefined;
1203
1230
  temperature?: number | undefined;
1231
+ template_engine?: string | undefined;
1204
1232
  text?: CreateRouterResponseText$Outbound | undefined;
1205
1233
  thread?: components.ResponseThread$Outbound | undefined;
1206
1234
  tool_choice?: SpecificFunction$Outbound | string | undefined;
@@ -1237,10 +1265,11 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
1237
1265
  z.array(z.lazy(() => CreateRouterResponseInput2$outboundSchema)),
1238
1266
  ]).optional(),
1239
1267
  instructions: z.string().optional(),
1268
+ limits: components.ResponseExecutionLimits$outboundSchema.optional(),
1240
1269
  maxOutputTokens: z.number().int().optional(),
1241
1270
  maxToolCalls: z.number().int().optional(),
1242
1271
  memory: components.MemoryParam$outboundSchema.optional(),
1243
- metadata: z.record(z.any()).optional(),
1272
+ metadata: z.record(z.string()).optional(),
1244
1273
  model: z.string().optional(),
1245
1274
  parallelToolCalls: z.boolean().optional(),
1246
1275
  presencePenalty: z.number().optional(),
@@ -1253,6 +1282,7 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
1253
1282
  stream: z.boolean().optional(),
1254
1283
  streamOptions: components.StreamOptions$outboundSchema.optional(),
1255
1284
  temperature: z.number().optional(),
1285
+ templateEngine: TemplateEngine$outboundSchema.optional(),
1256
1286
  text: z.lazy(() => CreateRouterResponseText$outboundSchema).optional(),
1257
1287
  thread: components.ResponseThread$outboundSchema.optional(),
1258
1288
  toolChoice: z.union([
@@ -1297,6 +1327,7 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
1297
1327
  promptCacheKey: "prompt_cache_key",
1298
1328
  safetyIdentifier: "safety_identifier",
1299
1329
  streamOptions: "stream_options",
1330
+ templateEngine: "template_engine",
1300
1331
  toolChoice: "tool_choice",
1301
1332
  topLogprobs: "top_logprobs",
1302
1333
  topP: "top_p",
@@ -1409,7 +1440,7 @@ export const CreateRouterResponseResponseBody$inboundSchema: z.ZodType<
1409
1440
  max_output_tokens: z.nullable(z.number().int()),
1410
1441
  max_tool_calls: z.nullable(z.number().int()),
1411
1442
  memory: components.MemoryParam$inboundSchema.optional(),
1412
- metadata: z.record(z.any()),
1443
+ metadata: z.record(z.string()),
1413
1444
  model: z.string(),
1414
1445
  object: z.string(),
1415
1446
  output: z.nullable(z.array(z.any())),
@@ -1902,7 +1902,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1902
1902
  z.ZodTypeDef,
1903
1903
  unknown
1904
1904
  > = z.object({
1905
- _id: z.string().default("tool_01KPWHZ3CRXFVEQA2XXF71X83E"),
1905
+ _id: z.string().default("tool_01KPX4DP5AN9MKFANS22BAEKE7"),
1906
1906
  path: z.string(),
1907
1907
  key: z.string(),
1908
1908
  display_name: z.string().optional(),
@@ -1999,7 +1999,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
1999
1999
  z.ZodTypeDef,
2000
2000
  unknown
2001
2001
  > = z.object({
2002
- id: z.string().default("01KPWHZ3CQB5MJ8P219H1BZ0QK"),
2002
+ id: z.string().default("01KPX4DP58RVWPBECYFVT06XM8"),
2003
2003
  name: z.string(),
2004
2004
  description: z.string().optional(),
2005
2005
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
@@ -2055,7 +2055,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2055
2055
  z.ZodTypeDef,
2056
2056
  unknown
2057
2057
  > = z.object({
2058
- _id: z.string().default("tool_01KPWHZ3CNSSWDFDKYH9ZM29JC"),
2058
+ _id: z.string().default("tool_01KPX4DP56GHQBAZQFDJXHQD37"),
2059
2059
  path: z.string(),
2060
2060
  key: z.string(),
2061
2061
  display_name: z.string().optional(),
@@ -2241,7 +2241,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2241
2241
  z.ZodTypeDef,
2242
2242
  unknown
2243
2243
  > = z.object({
2244
- _id: z.string().default("tool_01KPWHZ3CKDYSZ5DRJYWSZEKX1"),
2244
+ _id: z.string().default("tool_01KPX4DP52005RRHGZBW4J42GY"),
2245
2245
  path: z.string(),
2246
2246
  key: z.string(),
2247
2247
  display_name: z.string().optional(),
@@ -2334,7 +2334,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2334
2334
  z.ZodTypeDef,
2335
2335
  unknown
2336
2336
  > = z.object({
2337
- _id: z.string().default("tool_01KPWHZ3CHNCN0K4W2KK3TCFPP"),
2337
+ _id: z.string().default("tool_01KPX4DP4ZB18FHE1EPVNKYWT4"),
2338
2338
  path: z.string(),
2339
2339
  key: z.string(),
2340
2340
  display_name: z.string().optional(),
@@ -2435,7 +2435,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2435
2435
  z.ZodTypeDef,
2436
2436
  unknown
2437
2437
  > = z.object({
2438
- _id: z.string().default("tool_01KPWHZ3C0G85RG3JJ7X25BSP6"),
2438
+ _id: z.string().default("tool_01KPX4DP4WZMA4ESXPZDS8PGB8"),
2439
2439
  path: z.string(),
2440
2440
  key: z.string(),
2441
2441
  display_name: z.string().optional(),
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
767
767
  z.ZodTypeDef,
768
768
  unknown
769
769
  > = z.object({
770
- _id: z.string().default("tool_01KPWHZ39R65XS55SBM915DQ7Y"),
770
+ _id: z.string().default("tool_01KPX4DP47W18FBDHWV07RZQC8"),
771
771
  path: z.string(),
772
772
  key: z.string(),
773
773
  display_name: z.string().optional(),
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
864
864
  z.ZodTypeDef,
865
865
  unknown
866
866
  > = z.object({
867
- id: z.string().default("01KPWHZ39D4ZS5AQZRV977S6QB"),
867
+ id: z.string().default("01KPX4DP4525P6THEKX20JNFSR"),
868
868
  name: z.string(),
869
869
  description: z.string().optional(),
870
870
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -917,7 +917,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
917
917
  z.ZodTypeDef,
918
918
  unknown
919
919
  > = z.object({
920
- _id: z.string().default("tool_01KPWHZ39770VEY427R38DSBB0"),
920
+ _id: z.string().default("tool_01KPX4DP439BQF9NP3GXWD5S3D"),
921
921
  path: z.string(),
922
922
  key: z.string(),
923
923
  display_name: z.string().optional(),
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1102
1102
  z.ZodTypeDef,
1103
1103
  unknown
1104
1104
  > = z.object({
1105
- _id: z.string().default("tool_01KPWHZ38W61H1J98SSBGYT731"),
1105
+ _id: z.string().default("tool_01KPX4DP3ZQKEMSAKEE8MH9YDN"),
1106
1106
  path: z.string(),
1107
1107
  key: z.string(),
1108
1108
  display_name: z.string().optional(),
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1195
1195
  z.ZodTypeDef,
1196
1196
  unknown
1197
1197
  > = z.object({
1198
- _id: z.string().default("tool_01KPWHZ38MXED36BF9XF5E33Z1"),
1198
+ _id: z.string().default("tool_01KPX4DP3W583G4VYHP6TZ7Q21"),
1199
1199
  path: z.string(),
1200
1200
  key: z.string(),
1201
1201
  display_name: z.string().optional(),
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1297
1297
  z.ZodTypeDef,
1298
1298
  unknown
1299
1299
  > = z.object({
1300
- _id: z.string().default("tool_01KPWHZ38DR135SCQ6MHM6Z035"),
1300
+ _id: z.string().default("tool_01KPX4DP3S2KSS01FE7JZHX2RD"),
1301
1301
  path: z.string(),
1302
1302
  key: z.string(),
1303
1303
  display_name: z.string().optional(),
@@ -1040,8 +1040,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
1040
1040
  > = z.object({
1041
1041
  _id: z.string(),
1042
1042
  description: z.string(),
1043
- created: z.string().default("2026-04-23T06:55:33.026Z"),
1044
- updated: z.string().default("2026-04-23T06:55:33.026Z"),
1043
+ created: z.string().default("2026-04-23T12:18:06.033Z"),
1044
+ updated: z.string().default("2026-04-23T12:18:06.033Z"),
1045
1045
  guardrail_config: z.nullable(
1046
1046
  z.union([
1047
1047
  z.lazy(() =>
@@ -1220,8 +1220,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1220
1220
  > = z.object({
1221
1221
  _id: z.string(),
1222
1222
  description: z.string(),
1223
- created: z.string().default("2026-04-23T06:55:33.026Z"),
1224
- updated: z.string().default("2026-04-23T06:55:33.026Z"),
1223
+ created: z.string().default("2026-04-23T12:18:06.033Z"),
1224
+ updated: z.string().default("2026-04-23T12:18:06.033Z"),
1225
1225
  guardrail_config: z.nullable(
1226
1226
  z.union([
1227
1227
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -2050,8 +2050,8 @@ export const DataFunction$inboundSchema: z.ZodType<
2050
2050
  > = z.object({
2051
2051
  _id: z.string(),
2052
2052
  description: z.string(),
2053
- created: z.string().default("2026-04-23T06:55:33.026Z"),
2054
- updated: z.string().default("2026-04-23T06:55:33.026Z"),
2053
+ created: z.string().default("2026-04-23T12:18:06.033Z"),
2054
+ updated: z.string().default("2026-04-23T12:18:06.033Z"),
2055
2055
  guardrail_config: z.nullable(
2056
2056
  z.union([
2057
2057
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -2232,8 +2232,8 @@ export const DataPython$inboundSchema: z.ZodType<
2232
2232
  > = z.object({
2233
2233
  _id: z.string(),
2234
2234
  description: z.string(),
2235
- created: z.string().default("2026-04-23T06:55:33.026Z"),
2236
- updated: z.string().default("2026-04-23T06:55:33.026Z"),
2235
+ created: z.string().default("2026-04-23T12:18:06.033Z"),
2236
+ updated: z.string().default("2026-04-23T12:18:06.033Z"),
2237
2237
  guardrail_config: z.nullable(
2238
2238
  z.union([
2239
2239
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -2410,8 +2410,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
2410
2410
  > = z.object({
2411
2411
  _id: z.string(),
2412
2412
  description: z.string(),
2413
- created: z.string().default("2026-04-23T06:55:33.026Z"),
2414
- updated: z.string().default("2026-04-23T06:55:33.026Z"),
2413
+ created: z.string().default("2026-04-23T12:18:06.033Z"),
2414
+ updated: z.string().default("2026-04-23T12:18:06.033Z"),
2415
2415
  guardrail_config: z.nullable(
2416
2416
  z.union([
2417
2417
  z.lazy(() =>
@@ -2600,8 +2600,8 @@ export const DataJSON$inboundSchema: z.ZodType<
2600
2600
  > = z.object({
2601
2601
  _id: z.string(),
2602
2602
  description: z.string(),
2603
- created: z.string().default("2026-04-23T06:55:33.026Z"),
2604
- updated: z.string().default("2026-04-23T06:55:33.026Z"),
2603
+ created: z.string().default("2026-04-23T12:18:06.033Z"),
2604
+ updated: z.string().default("2026-04-23T12:18:06.033Z"),
2605
2605
  guardrail_config: z.nullable(
2606
2606
  z.union([
2607
2607
  z.lazy(() =>
@@ -2966,8 +2966,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
2966
2966
  > = z.object({
2967
2967
  _id: z.string(),
2968
2968
  description: z.string(),
2969
- created: z.string().default("2026-04-23T06:55:33.026Z"),
2970
- updated: z.string().default("2026-04-23T06:55:33.026Z"),
2969
+ created: z.string().default("2026-04-23T12:18:06.033Z"),
2970
+ updated: z.string().default("2026-04-23T12:18:06.033Z"),
2971
2971
  guardrail_config: z.nullable(
2972
2972
  z.union([
2973
2973
  z.lazy(() =>
@@ -3175,8 +3175,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
3175
3175
  > = z.object({
3176
3176
  _id: z.string(),
3177
3177
  description: z.string(),
3178
- created: z.string().default("2026-04-23T06:55:33.026Z"),
3179
- updated: z.string().default("2026-04-23T06:55:33.026Z"),
3178
+ created: z.string().default("2026-04-23T12:18:06.033Z"),
3179
+ updated: z.string().default("2026-04-23T12:18:06.033Z"),
3180
3180
  guardrail_config: z.nullable(
3181
3181
  z.union([
3182
3182
  z.lazy(() =>
@@ -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-04-23T06:55:30.818Z",
143
+ "2026-04-23T12:18:03.924Z",
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-04-23T06:55:30.818Z",
188
+ "2026-04-23T12:18:03.924Z",
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-04-23T06:55:30.818Z",
144
+ "2026-04-23T12:18:03.924Z",
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-04-23T06:55:30.818Z",
189
+ "2026-04-23T12:18:03.924Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1270
1270
  ),
1271
1271
  reviewed_by_id: z.string(),
1272
1272
  reviewed_at: z.string().datetime({ offset: true }).default(
1273
- "2026-04-23T06:55:46.310Z",
1273
+ "2026-04-23T12:18:18.915Z",
1274
1274
  ).transform(v => new Date(v)),
1275
1275
  type: z.literal("string_array"),
1276
1276
  values: z.array(z.string()),
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1320
1320
  source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
1321
1321
  reviewed_by_id: z.string(),
1322
1322
  reviewed_at: z.string().datetime({ offset: true }).default(
1323
- "2026-04-23T06:55:46.309Z",
1323
+ "2026-04-23T12:18:18.915Z",
1324
1324
  ).transform(v => new Date(v)),
1325
1325
  type: z.literal("number"),
1326
1326
  value: z.number(),
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1369
1369
  .default("orq"),
1370
1370
  reviewed_by_id: z.string(),
1371
1371
  reviewed_at: z.string().datetime({ offset: true }).default(
1372
- "2026-04-23T06:55:46.309Z",
1372
+ "2026-04-23T12:18:18.914Z",
1373
1373
  ).transform(v => new Date(v)),
1374
1374
  type: z.literal("string"),
1375
1375
  value: z.string(),
@@ -1448,7 +1448,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
1448
1448
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1449
1449
  .optional(),
1450
1450
  updated: z.string().datetime({ offset: true }).default(
1451
- "2026-04-23T06:55:30.818Z",
1451
+ "2026-04-23T12:18:03.924Z",
1452
1452
  ).transform(v => new Date(v)),
1453
1453
  }).transform((v) => {
1454
1454
  return remap$(v, {
@@ -156,7 +156,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
156
156
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
157
157
  .optional(),
158
158
  updated: z.string().datetime({ offset: true }).default(
159
- "2026-04-23T06:55:30.818Z",
159
+ "2026-04-23T12:18:03.924Z",
160
160
  ).transform(v => new Date(v)),
161
161
  }).transform((v) => {
162
162
  return remap$(v, {
@@ -176,7 +176,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
176
176
  z.ZodTypeDef,
177
177
  unknown
178
178
  > = z.object({
179
- _id: z.string().default("01KPWHZ3JF05BYMVCE69A4QHFY"),
179
+ _id: z.string().default("01KPX4DPK0MYYK66VPF6HZ5RX2"),
180
180
  display_name: z.string(),
181
181
  description: z.string().optional(),
182
182
  status: ListDatasourcesStatus$inboundSchema,
@@ -227,7 +227,7 @@ export const ListIdentitiesData$inboundSchema: z.ZodType<
227
227
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
228
228
  .optional(),
229
229
  updated: z.string().datetime({ offset: true }).default(
230
- "2026-04-23T06:55:30.818Z",
230
+ "2026-04-23T12:18:03.924Z",
231
231
  ).transform(v => new Date(v)),
232
232
  metrics: z.lazy(() => ListIdentitiesMetrics$inboundSchema),
233
233
  }).transform((v) => {
@@ -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-04-23T06:55:30.818Z",
321
+ "2026-04-23T12:18:03.924Z",
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-04-23T06:55:30.818Z",
367
+ "2026-04-23T12:18:03.924Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -173,7 +173,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
173
173
  humanReviewId: z.string(),
174
174
  source: PostV2FeedbackEvaluationRequestBodyRequestSource$outboundSchema
175
175
  .default("orq"),
176
- reviewedAt: z.date().default(() => new Date("2026-04-23T06:55:46.451Z"))
176
+ reviewedAt: z.date().default(() => new Date("2026-04-23T12:18:19.043Z"))
177
177
  .transform(v => v.toISOString()),
178
178
  type: z.literal("string_array"),
179
179
  values: z.array(z.string()),
@@ -225,7 +225,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
225
225
  source: PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default(
226
226
  "orq",
227
227
  ),
228
- reviewedAt: z.date().default(() => new Date("2026-04-23T06:55:46.450Z"))
228
+ reviewedAt: z.date().default(() => new Date("2026-04-23T12:18:19.043Z"))
229
229
  .transform(v => v.toISOString()),
230
230
  type: z.literal("number"),
231
231
  value: z.number(),
@@ -275,7 +275,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
275
275
  evaluationType: EvaluationType$outboundSchema,
276
276
  humanReviewId: z.string(),
277
277
  source: RequestBodySource$outboundSchema.default("orq"),
278
- reviewedAt: z.date().default(() => new Date("2026-04-23T06:55:46.449Z"))
278
+ reviewedAt: z.date().default(() => new Date("2026-04-23T12:18:19.043Z"))
279
279
  .transform(v => v.toISOString()),
280
280
  type: z.literal("string"),
281
281
  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-04-23T06:55:30.818Z",
274
+ "2026-04-23T12:18:03.924Z",
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-04-23T06:55:30.818Z",
319
+ "2026-04-23T12:18:03.924Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -1207,7 +1207,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
1207
1207
  .default("orq"),
1208
1208
  reviewed_by_id: z.string(),
1209
1209
  reviewed_at: z.string().datetime({ offset: true }).default(
1210
- "2026-04-23T06:55:46.315Z",
1210
+ "2026-04-23T12:18:18.922Z",
1211
1211
  ).transform(v => new Date(v)),
1212
1212
  type: z.literal("string_array"),
1213
1213
  values: z.array(z.string()),
@@ -1255,7 +1255,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
1255
1255
  ),
1256
1256
  reviewed_by_id: z.string(),
1257
1257
  reviewed_at: z.string().datetime({ offset: true }).default(
1258
- "2026-04-23T06:55:46.314Z",
1258
+ "2026-04-23T12:18:18.922Z",
1259
1259
  ).transform(v => new Date(v)),
1260
1260
  type: z.literal("number"),
1261
1261
  value: z.number(),
@@ -1300,7 +1300,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
1300
1300
  source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
1301
1301
  reviewed_by_id: z.string(),
1302
1302
  reviewed_at: z.string().datetime({ offset: true }).default(
1303
- "2026-04-23T06:55:46.314Z",
1303
+ "2026-04-23T12:18:18.921Z",
1304
1304
  ).transform(v => new Date(v)),
1305
1305
  type: z.literal("string"),
1306
1306
  value: z.string(),
@@ -1377,7 +1377,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
1377
1377
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1378
1378
  .optional(),
1379
1379
  updated: z.string().datetime({ offset: true }).default(
1380
- "2026-04-23T06:55:30.818Z",
1380
+ "2026-04-23T12:18:03.924Z",
1381
1381
  ).transform(v => new Date(v)),
1382
1382
  }).transform((v) => {
1383
1383
  return remap$(v, {
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
126
126
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
127
127
  .optional(),
128
128
  updated: z.string().datetime({ offset: true }).default(
129
- "2026-04-23T06:55:30.818Z",
129
+ "2026-04-23T12:18:03.924Z",
130
130
  ).transform(v => new Date(v)),
131
131
  }).transform((v) => {
132
132
  return remap$(v, {
@@ -118,7 +118,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
118
118
  z.ZodTypeDef,
119
119
  unknown
120
120
  > = z.object({
121
- _id: z.string().default("01KPWHZ3JGTAHENKVKJM6AJ5YM"),
121
+ _id: z.string().default("01KPX4DPK2BMMG31RCPGVPME47"),
122
122
  display_name: z.string(),
123
123
  description: z.string().optional(),
124
124
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -151,7 +151,7 @@ export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
151
151
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
152
152
  .optional(),
153
153
  updated: z.string().datetime({ offset: true }).default(
154
- "2026-04-23T06:55:30.818Z",
154
+ "2026-04-23T12:18:03.924Z",
155
155
  ).transform(v => new Date(v)),
156
156
  metrics: z.nullable(z.lazy(() => Metrics$inboundSchema)).optional(),
157
157
  }).transform((v) => {
@@ -65,7 +65,10 @@ export type RetrieveResponseResponseBody = {
65
65
  maxOutputTokens: number | null;
66
66
  maxToolCalls: number | null;
67
67
  memory?: components.MemoryParam | undefined;
68
- metadata: { [k: string]: any };
68
+ /**
69
+ * Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>).
70
+ */
71
+ metadata: { [k: string]: string };
69
72
  model: string;
70
73
  /**
71
74
  * Always "response"
@@ -166,7 +169,7 @@ export const RetrieveResponseResponseBody$inboundSchema: z.ZodType<
166
169
  max_output_tokens: z.nullable(z.number().int()),
167
170
  max_tool_calls: z.nullable(z.number().int()),
168
171
  memory: components.MemoryParam$inboundSchema.optional(),
169
- metadata: z.record(z.any()),
172
+ metadata: z.record(z.string()),
170
173
  model: z.string(),
171
174
  object: z.string(),
172
175
  output: z.nullable(z.array(z.any())),
@@ -753,7 +753,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
753
753
  z.ZodTypeDef,
754
754
  unknown
755
755
  > = z.object({
756
- _id: z.string().default("tool_01KPWHZ3FK3BD5MRACE4VX0YJW"),
756
+ _id: z.string().default("tool_01KPX4DPB8CV0JW2T92B3T72SP"),
757
757
  path: z.string(),
758
758
  key: z.string(),
759
759
  display_name: z.string().optional(),
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
859
859
  z.ZodTypeDef,
860
860
  unknown
861
861
  > = z.object({
862
- id: z.string().default("01KPWHZ3FHDZR3BVNADBFA5X4B"),
862
+ id: z.string().default("01KPX4DPB5G190XCW4ZZP1RPW5"),
863
863
  name: z.string(),
864
864
  description: z.string().optional(),
865
865
  schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
@@ -917,7 +917,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
917
917
  z.ZodTypeDef,
918
918
  unknown
919
919
  > = z.object({
920
- _id: z.string().default("tool_01KPWHZ3FB9ZC59XA4T9529RSS"),
920
+ _id: z.string().default("tool_01KPX4DPB0GWPCY48FR0MYQ2QR"),
921
921
  path: z.string(),
922
922
  key: z.string(),
923
923
  display_name: z.string().optional(),
@@ -1108,7 +1108,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1108
1108
  z.ZodTypeDef,
1109
1109
  unknown
1110
1110
  > = z.object({
1111
- _id: z.string().default("tool_01KPWHZ3F5RYP0RQQY9HF9RPRN"),
1111
+ _id: z.string().default("tool_01KPX4DPASMM3K0WQZ34074JTH"),
1112
1112
  path: z.string(),
1113
1113
  key: z.string(),
1114
1114
  display_name: z.string().optional(),
@@ -1204,7 +1204,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1204
1204
  z.ZodTypeDef,
1205
1205
  unknown
1206
1206
  > = z.object({
1207
- _id: z.string().default("tool_01KPWHZ3F1GQWV68GK54VQR9VY"),
1207
+ _id: z.string().default("tool_01KPX4DPAHX4D8F7K2NFHGJSMG"),
1208
1208
  path: z.string(),
1209
1209
  key: z.string(),
1210
1210
  display_name: z.string().optional(),
@@ -1310,7 +1310,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1310
1310
  z.ZodTypeDef,
1311
1311
  unknown
1312
1312
  > = z.object({
1313
- _id: z.string().default("tool_01KPWHZ3EX36Z6CR7WQXS6FQA7"),
1313
+ _id: z.string().default("tool_01KPX4DPACJ5PZSHKBD9CVXHPS"),
1314
1314
  path: z.string(),
1315
1315
  key: z.string(),
1316
1316
  display_name: z.string().optional(),
@@ -3628,7 +3628,7 @@ export const Tools$outboundSchema: z.ZodType<
3628
3628
  z.ZodTypeDef,
3629
3629
  Tools
3630
3630
  > = z.object({
3631
- id: z.string().default("01KPWHZ2M29VZRNWEFH53S40NZ"),
3631
+ id: z.string().default("01KPX4DNPJC6QTEFYWHE06KMHT"),
3632
3632
  name: z.string(),
3633
3633
  description: z.string().optional(),
3634
3634
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3675
3675
  z.ZodTypeDef,
3676
3676
  AgentToolInputRunTools
3677
3677
  > = z.object({
3678
- id: z.string().default("01KPWHZ2NQB7HZ7DTCDZMKZFY6"),
3678
+ id: z.string().default("01KPX4DNR5SCSPBPDQZ0MCX8DM"),
3679
3679
  name: z.string(),
3680
3680
  description: z.string().optional(),
3681
3681
  schema: z.lazy(() =>