@orq-ai/node 4.3.0-rc.5 → 4.3.0-rc.50

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 (186) hide show
  1. package/README.md +5 -4
  2. package/examples/package-lock.json +3 -3
  3. package/funcs/agentsList.js +1 -1
  4. package/funcs/agentsList.js.map +1 -1
  5. package/funcs/evalsInvoke.d.ts +1 -1
  6. package/funcs/evalsInvoke.d.ts.map +1 -1
  7. package/funcs/evalsInvoke.js +2 -2
  8. package/funcs/evalsInvoke.js.map +1 -1
  9. package/jsr.json +1 -1
  10. package/lib/config.d.ts +3 -3
  11. package/lib/config.js +3 -3
  12. package/lib/config.js.map +1 -1
  13. package/lib/event-streams.d.ts.map +1 -1
  14. package/lib/event-streams.js +40 -21
  15. package/lib/event-streams.js.map +1 -1
  16. package/models/components/agentstartedstreamingevent.d.ts +5 -0
  17. package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
  18. package/models/components/agentstartedstreamingevent.js +4 -0
  19. package/models/components/agentstartedstreamingevent.js.map +1 -1
  20. package/models/components/conversationresponse.js +1 -1
  21. package/models/components/conversationwithmessagesresponse.js +1 -1
  22. package/models/components/partdoneevent.js +1 -1
  23. package/models/components/reasoningpart.js +1 -1
  24. package/models/errors/invokeeval.d.ts +23 -3
  25. package/models/errors/invokeeval.d.ts.map +1 -1
  26. package/models/errors/invokeeval.js +28 -2
  27. package/models/errors/invokeeval.js.map +1 -1
  28. package/models/operations/createagentrequest.d.ts +9 -0
  29. package/models/operations/createagentrequest.d.ts.map +1 -1
  30. package/models/operations/createagentrequest.js +4 -0
  31. package/models/operations/createagentrequest.js.map +1 -1
  32. package/models/operations/createchatcompletion.d.ts +2 -2
  33. package/models/operations/createcompletion.d.ts +2 -2
  34. package/models/operations/createcontact.js +1 -1
  35. package/models/operations/createconversation.js +1 -1
  36. package/models/operations/createconversationresponse.js +2 -2
  37. package/models/operations/createdataset.js +1 -1
  38. package/models/operations/createdatasetitem.js +4 -4
  39. package/models/operations/createdatasource.js +1 -1
  40. package/models/operations/createeval.js +14 -14
  41. package/models/operations/createidentity.js +1 -1
  42. package/models/operations/createtool.js +6 -6
  43. package/models/operations/deployments.js +1 -1
  44. package/models/operations/deployments.js.map +1 -1
  45. package/models/operations/fileget.js +1 -1
  46. package/models/operations/filelist.js +2 -2
  47. package/models/operations/filelist.js.map +1 -1
  48. package/models/operations/fileupload.js +1 -1
  49. package/models/operations/generateconversationname.js +1 -1
  50. package/models/operations/getallmemories.js +1 -1
  51. package/models/operations/getallmemories.js.map +1 -1
  52. package/models/operations/getallmemorydocuments.js +1 -1
  53. package/models/operations/getallmemorydocuments.js.map +1 -1
  54. package/models/operations/getallmemorystores.js +1 -1
  55. package/models/operations/getallmemorystores.js.map +1 -1
  56. package/models/operations/getallprompts.js +1 -1
  57. package/models/operations/getallprompts.js.map +1 -1
  58. package/models/operations/getalltools.js +6 -6
  59. package/models/operations/getevals.js +15 -15
  60. package/models/operations/getevals.js.map +1 -1
  61. package/models/operations/getv2evaluatorsidversions.js +1 -1
  62. package/models/operations/getv2evaluatorsidversions.js.map +1 -1
  63. package/models/operations/getv2toolstoolidversions.js +1 -1
  64. package/models/operations/getv2toolstoolidversions.js.map +1 -1
  65. package/models/operations/invokeeval.d.ts +15 -1
  66. package/models/operations/invokeeval.d.ts.map +1 -1
  67. package/models/operations/invokeeval.js +12 -1
  68. package/models/operations/invokeeval.js.map +1 -1
  69. package/models/operations/listagents.d.ts +4 -0
  70. package/models/operations/listagents.d.ts.map +1 -1
  71. package/models/operations/listagents.js +2 -0
  72. package/models/operations/listagents.js.map +1 -1
  73. package/models/operations/listchunks.js +1 -1
  74. package/models/operations/listchunks.js.map +1 -1
  75. package/models/operations/listdatasetdatapoints.js +5 -5
  76. package/models/operations/listdatasetdatapoints.js.map +1 -1
  77. package/models/operations/listdatasets.js +2 -2
  78. package/models/operations/listdatasets.js.map +1 -1
  79. package/models/operations/listdatasources.js +1 -1
  80. package/models/operations/listidentities.js +2 -2
  81. package/models/operations/listidentities.js.map +1 -1
  82. package/models/operations/listknowledgebases.js +1 -1
  83. package/models/operations/listknowledgebases.js.map +1 -1
  84. package/models/operations/listpromptversions.js +1 -1
  85. package/models/operations/listpromptversions.js.map +1 -1
  86. package/models/operations/retrieveagentrequest.d.ts +4 -0
  87. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  88. package/models/operations/retrieveagentrequest.js +2 -0
  89. package/models/operations/retrieveagentrequest.js.map +1 -1
  90. package/models/operations/retrievedatapoint.js +4 -4
  91. package/models/operations/retrievedataset.js +1 -1
  92. package/models/operations/retrievedatasource.js +1 -1
  93. package/models/operations/retrieveidentity.js +1 -1
  94. package/models/operations/retrievetool.js +6 -6
  95. package/models/operations/runagent.d.ts +5 -0
  96. package/models/operations/runagent.d.ts.map +1 -1
  97. package/models/operations/runagent.js +3 -1
  98. package/models/operations/runagent.js.map +1 -1
  99. package/models/operations/searchknowledge.d.ts +2 -2
  100. package/models/operations/streamrunagent.d.ts +5 -0
  101. package/models/operations/streamrunagent.d.ts.map +1 -1
  102. package/models/operations/streamrunagent.js +3 -1
  103. package/models/operations/streamrunagent.js.map +1 -1
  104. package/models/operations/updateagent.d.ts +9 -0
  105. package/models/operations/updateagent.d.ts.map +1 -1
  106. package/models/operations/updateagent.js +4 -0
  107. package/models/operations/updateagent.js.map +1 -1
  108. package/models/operations/updateconversation.js +1 -1
  109. package/models/operations/updatedatapoint.js +4 -4
  110. package/models/operations/updatedataset.js +1 -1
  111. package/models/operations/updatedatasource.js +1 -1
  112. package/models/operations/updateeval.js +14 -14
  113. package/models/operations/updateidentity.js +1 -1
  114. package/models/operations/updatememorydocument.d.ts +2 -2
  115. package/models/operations/updatememorydocument.d.ts.map +1 -1
  116. package/models/operations/updatememorydocument.js +1 -1
  117. package/models/operations/updatememorydocument.js.map +1 -1
  118. package/models/operations/updatetool.js +7 -7
  119. package/package.json +3 -3
  120. package/sdk/agents.d.ts +7 -7
  121. package/sdk/agents.d.ts.map +1 -1
  122. package/sdk/agents.js +9 -9
  123. package/sdk/agents.js.map +1 -1
  124. package/src/funcs/agentsList.ts +1 -1
  125. package/src/funcs/evalsInvoke.ts +7 -3
  126. package/src/lib/config.ts +3 -3
  127. package/src/lib/event-streams.ts +37 -20
  128. package/src/models/components/agentstartedstreamingevent.ts +9 -0
  129. package/src/models/components/conversationresponse.ts +1 -1
  130. package/src/models/components/conversationwithmessagesresponse.ts +1 -1
  131. package/src/models/components/partdoneevent.ts +1 -1
  132. package/src/models/components/reasoningpart.ts +1 -1
  133. package/src/models/errors/invokeeval.ts +48 -3
  134. package/src/models/operations/createagentrequest.ts +13 -0
  135. package/src/models/operations/createchatcompletion.ts +2 -2
  136. package/src/models/operations/createcompletion.ts +2 -2
  137. package/src/models/operations/createcontact.ts +1 -1
  138. package/src/models/operations/createconversation.ts +1 -1
  139. package/src/models/operations/createconversationresponse.ts +2 -2
  140. package/src/models/operations/createdataset.ts +1 -1
  141. package/src/models/operations/createdatasetitem.ts +4 -4
  142. package/src/models/operations/createdatasource.ts +1 -1
  143. package/src/models/operations/createeval.ts +14 -14
  144. package/src/models/operations/createidentity.ts +1 -1
  145. package/src/models/operations/createtool.ts +6 -6
  146. package/src/models/operations/deployments.ts +1 -1
  147. package/src/models/operations/fileget.ts +1 -1
  148. package/src/models/operations/filelist.ts +2 -2
  149. package/src/models/operations/fileupload.ts +1 -1
  150. package/src/models/operations/generateconversationname.ts +1 -1
  151. package/src/models/operations/getallmemories.ts +1 -1
  152. package/src/models/operations/getallmemorydocuments.ts +1 -1
  153. package/src/models/operations/getallmemorystores.ts +1 -1
  154. package/src/models/operations/getallprompts.ts +1 -1
  155. package/src/models/operations/getalltools.ts +6 -6
  156. package/src/models/operations/getevals.ts +15 -15
  157. package/src/models/operations/getv2evaluatorsidversions.ts +1 -1
  158. package/src/models/operations/getv2toolstoolidversions.ts +1 -1
  159. package/src/models/operations/invokeeval.ts +34 -1
  160. package/src/models/operations/listagents.ts +6 -0
  161. package/src/models/operations/listchunks.ts +1 -1
  162. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  163. package/src/models/operations/listdatasets.ts +2 -2
  164. package/src/models/operations/listdatasources.ts +1 -1
  165. package/src/models/operations/listidentities.ts +2 -2
  166. package/src/models/operations/listknowledgebases.ts +1 -1
  167. package/src/models/operations/listpromptversions.ts +1 -1
  168. package/src/models/operations/retrieveagentrequest.ts +6 -0
  169. package/src/models/operations/retrievedatapoint.ts +4 -4
  170. package/src/models/operations/retrievedataset.ts +1 -1
  171. package/src/models/operations/retrievedatasource.ts +1 -1
  172. package/src/models/operations/retrieveidentity.ts +1 -1
  173. package/src/models/operations/retrievetool.ts +6 -6
  174. package/src/models/operations/runagent.ts +8 -1
  175. package/src/models/operations/searchknowledge.ts +2 -2
  176. package/src/models/operations/streamrunagent.ts +8 -1
  177. package/src/models/operations/updateagent.ts +13 -0
  178. package/src/models/operations/updateconversation.ts +1 -1
  179. package/src/models/operations/updatedatapoint.ts +4 -4
  180. package/src/models/operations/updatedataset.ts +1 -1
  181. package/src/models/operations/updatedatasource.ts +1 -1
  182. package/src/models/operations/updateeval.ts +14 -14
  183. package/src/models/operations/updateidentity.ts +1 -1
  184. package/src/models/operations/updatememorydocument.ts +3 -3
  185. package/src/models/operations/updatetool.ts +7 -7
  186. package/src/sdk/agents.ts +21 -21
@@ -154,7 +154,7 @@ export const ListIdentitiesRequest$outboundSchema: z.ZodType<
154
154
  z.ZodTypeDef,
155
155
  ListIdentitiesRequest
156
156
  > = z.object({
157
- limit: z.number().default(10),
157
+ limit: z.number().int().default(10),
158
158
  startingAfter: z.string().optional(),
159
159
  endingBefore: z.string().optional(),
160
160
  search: z.string().optional(),
@@ -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-01-27T12:37:49.956Z",
230
+ "2026-02-11T00:35:30.193Z",
231
231
  ).transform(v => new Date(v)),
232
232
  metrics: z.lazy(() => ListIdentitiesMetrics$inboundSchema),
233
233
  }).transform((v) => {
@@ -290,7 +290,7 @@ export const ListKnowledgeBasesRequest$outboundSchema: z.ZodType<
290
290
  z.ZodTypeDef,
291
291
  ListKnowledgeBasesRequest
292
292
  > = z.object({
293
- limit: z.number().default(10),
293
+ limit: z.number().int().default(10),
294
294
  startingAfter: z.string().optional(),
295
295
  endingBefore: z.string().optional(),
296
296
  }).transform((v) => {
@@ -1435,7 +1435,7 @@ export const ListPromptVersionsRequest$outboundSchema: z.ZodType<
1435
1435
  ListPromptVersionsRequest
1436
1436
  > = z.object({
1437
1437
  promptId: z.string(),
1438
- limit: z.number().default(10),
1438
+ limit: z.number().int().default(10),
1439
1439
  startingAfter: z.string().optional(),
1440
1440
  endingBefore: z.string().optional(),
1441
1441
  }).transform((v) => {
@@ -157,6 +157,10 @@ export type RetrieveAgentRequestSettings = {
157
157
  * Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
158
158
  */
159
159
  maxExecutionTime: number;
160
+ /**
161
+ * Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses
162
+ */
163
+ maxCost: number;
160
164
  /**
161
165
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
162
166
  */
@@ -1456,6 +1460,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
1456
1460
  > = z.object({
1457
1461
  max_iterations: z.number().int().default(100),
1458
1462
  max_execution_time: z.number().int().default(600),
1463
+ max_cost: z.number().default(0),
1459
1464
  tool_approval_required: RetrieveAgentRequestToolApprovalRequired$inboundSchema
1460
1465
  .default("respect_tool"),
1461
1466
  tools: z.array(z.lazy(() => RetrieveAgentRequestTools$inboundSchema))
@@ -1470,6 +1475,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
1470
1475
  return remap$(v, {
1471
1476
  "max_iterations": "maxIterations",
1472
1477
  "max_execution_time": "maxExecutionTime",
1478
+ "max_cost": "maxCost",
1473
1479
  "tool_approval_required": "toolApprovalRequired",
1474
1480
  });
1475
1481
  });
@@ -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-01-27T12:38:03.225Z",
1210
+ "2026-02-11T00:35:44.403Z",
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-01-27T12:38:03.225Z",
1258
+ "2026-02-11T00:35:44.402Z",
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-01-27T12:38:03.224Z",
1303
+ "2026-02-11T00:35:44.401Z",
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-01-27T12:37:49.956Z",
1380
+ "2026-02-11T00:35:30.193Z",
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-01-27T12:37:49.956Z",
129
+ "2026-02-11T00:35:30.193Z",
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("01KFZQC13Z8MN14Y4RRMKB1YTD"),
121
+ _id: z.string().default("01KH52070YY7ZX7BE3M55E2VK2"),
122
122
  display_name: z.string(),
123
123
  description: z.string().optional(),
124
124
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -95,7 +95,7 @@ export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
95
95
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
96
96
  .optional(),
97
97
  updated: z.string().datetime({ offset: true }).default(
98
- "2026-01-27T12:37:49.956Z",
98
+ "2026-02-11T00:35:30.193Z",
99
99
  ).transform(v => new Date(v)),
100
100
  }).transform((v) => {
101
101
  return remap$(v, {
@@ -754,7 +754,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
754
754
  z.ZodTypeDef,
755
755
  unknown
756
756
  > = z.object({
757
- _id: z.string().default("tool_01KFZQC10DMDJTZ2CXY4NPFDHZ"),
757
+ _id: z.string().default("tool_01KH5206X475NHVYDFY84FHX5D"),
758
758
  path: z.string(),
759
759
  key: z.string(),
760
760
  display_name: z.string().optional(),
@@ -862,7 +862,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
862
862
  z.ZodTypeDef,
863
863
  unknown
864
864
  > = z.object({
865
- id: z.string().default("01KFZQC10CGM827XV2XX27KB8A"),
865
+ id: z.string().default("01KH5206X115V5R2PWJ6ECPFRH"),
866
866
  name: z.string(),
867
867
  description: z.string().optional(),
868
868
  schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
@@ -918,7 +918,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
918
918
  z.ZodTypeDef,
919
919
  unknown
920
920
  > = z.object({
921
- _id: z.string().default("tool_01KFZQC10A3KWP49E05EGNE6MF"),
921
+ _id: z.string().default("tool_01KH5206WYET0RPWAHJNY88Y5P"),
922
922
  path: z.string(),
923
923
  key: z.string(),
924
924
  display_name: z.string().optional(),
@@ -1111,7 +1111,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1111
1111
  z.ZodTypeDef,
1112
1112
  unknown
1113
1113
  > = z.object({
1114
- _id: z.string().default("tool_01KFZQC1073P0XTVMG3TP1AYAB"),
1114
+ _id: z.string().default("tool_01KH5206WTPNNP5794MJXVFAVP"),
1115
1115
  path: z.string(),
1116
1116
  key: z.string(),
1117
1117
  display_name: z.string().optional(),
@@ -1209,7 +1209,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1209
1209
  z.ZodTypeDef,
1210
1210
  unknown
1211
1211
  > = z.object({
1212
- _id: z.string().default("tool_01KFZQC104M1B52AAGKHXD41TH"),
1212
+ _id: z.string().default("tool_01KH5206WRH2QEKFW4JGGHQK97"),
1213
1213
  path: z.string(),
1214
1214
  key: z.string(),
1215
1215
  display_name: z.string().optional(),
@@ -1317,7 +1317,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1317
1317
  z.ZodTypeDef,
1318
1318
  unknown
1319
1319
  > = z.object({
1320
- _id: z.string().default("tool_01KFZQC102AASWG153MFGKT41H"),
1320
+ _id: z.string().default("tool_01KH5206WP6APTYK1CFNRD268G"),
1321
1321
  path: z.string(),
1322
1322
  key: z.string(),
1323
1323
  display_name: z.string().optional(),
@@ -1822,6 +1822,10 @@ export type RunAgentSettings = {
1822
1822
  * Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
1823
1823
  */
1824
1824
  maxExecutionTime?: number | undefined;
1825
+ /**
1826
+ * Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses
1827
+ */
1828
+ maxCost?: number | undefined;
1825
1829
  /**
1826
1830
  * Configuration for an evaluator applied to the agent
1827
1831
  */
@@ -4027,7 +4031,7 @@ export const Tools$outboundSchema: z.ZodType<
4027
4031
  z.ZodTypeDef,
4028
4032
  Tools
4029
4033
  > = z.object({
4030
- id: z.string().default("01KFZQC0FBTCE7B9MAQDN9G2G2"),
4034
+ id: z.string().default("01KH5206AWBTNA9PFAYBKT3FA2"),
4031
4035
  name: z.string(),
4032
4036
  description: z.string().optional(),
4033
4037
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -5089,6 +5093,7 @@ export type RunAgentSettings$Outbound = {
5089
5093
  tool_approval_required: string;
5090
5094
  max_iterations: number;
5091
5095
  max_execution_time: number;
5096
+ max_cost: number;
5092
5097
  evaluators?: Array<RunAgentEvaluators$Outbound> | undefined;
5093
5098
  guardrails?: Array<RunAgentGuardrails$Outbound> | undefined;
5094
5099
  };
@@ -5124,6 +5129,7 @@ export const RunAgentSettings$outboundSchema: z.ZodType<
5124
5129
  ),
5125
5130
  maxIterations: z.number().int().default(100),
5126
5131
  maxExecutionTime: z.number().int().default(600),
5132
+ maxCost: z.number().default(0),
5127
5133
  evaluators: z.array(z.lazy(() => RunAgentEvaluators$outboundSchema))
5128
5134
  .optional(),
5129
5135
  guardrails: z.array(z.lazy(() => RunAgentGuardrails$outboundSchema))
@@ -5133,6 +5139,7 @@ export const RunAgentSettings$outboundSchema: z.ZodType<
5133
5139
  toolApprovalRequired: "tool_approval_required",
5134
5140
  maxIterations: "max_iterations",
5135
5141
  maxExecutionTime: "max_execution_time",
5142
+ maxCost: "max_cost",
5136
5143
  });
5137
5144
  });
5138
5145
 
@@ -309,7 +309,7 @@ export type FilterBy1 =
309
309
  | SearchKnowledge1Exists;
310
310
 
311
311
  /**
312
- * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://dash.readme.com/project/orqai/v2.0/docs/searching-a-knowledge-base) for more information.
312
+ * 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.
313
313
  */
314
314
  export type FilterBy = FilterByAnd | FilterByOr | {
315
315
  [k: string]:
@@ -391,7 +391,7 @@ export type SearchKnowledgeRequestBody = {
391
391
  */
392
392
  searchType?: SearchType | undefined;
393
393
  /**
394
- * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://dash.readme.com/project/orqai/v2.0/docs/searching-a-knowledge-base) for more information.
394
+ * 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.
395
395
  */
396
396
  filterBy?: FilterByAnd | FilterByOr | {
397
397
  [k: string]:
@@ -1862,6 +1862,10 @@ export type StreamRunAgentSettings = {
1862
1862
  * Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
1863
1863
  */
1864
1864
  maxExecutionTime?: number | undefined;
1865
+ /**
1866
+ * Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses
1867
+ */
1868
+ maxCost?: number | undefined;
1865
1869
  /**
1866
1870
  * Configuration for an evaluator applied to the agent
1867
1871
  */
@@ -4099,7 +4103,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
4099
4103
  z.ZodTypeDef,
4100
4104
  AgentToolInputRunTools
4101
4105
  > = z.object({
4102
- id: z.string().default("01KFZQC0J5WN24QZVZ7A76V77F"),
4106
+ id: z.string().default("01KH5206DRS26VYP1TYHZPQ3SF"),
4103
4107
  name: z.string(),
4104
4108
  description: z.string().optional(),
4105
4109
  schema: z.lazy(() =>
@@ -5296,6 +5300,7 @@ export type StreamRunAgentSettings$Outbound = {
5296
5300
  tool_approval_required: string;
5297
5301
  max_iterations: number;
5298
5302
  max_execution_time: number;
5303
+ max_cost: number;
5299
5304
  evaluators?: Array<StreamRunAgentEvaluators$Outbound> | undefined;
5300
5305
  guardrails?: Array<StreamRunAgentGuardrails$Outbound> | undefined;
5301
5306
  };
@@ -5352,6 +5357,7 @@ export const StreamRunAgentSettings$outboundSchema: z.ZodType<
5352
5357
  .default("none"),
5353
5358
  maxIterations: z.number().int().default(100),
5354
5359
  maxExecutionTime: z.number().int().default(600),
5360
+ maxCost: z.number().default(0),
5355
5361
  evaluators: z.array(z.lazy(() => StreamRunAgentEvaluators$outboundSchema))
5356
5362
  .optional(),
5357
5363
  guardrails: z.array(z.lazy(() => StreamRunAgentGuardrails$outboundSchema))
@@ -5361,6 +5367,7 @@ export const StreamRunAgentSettings$outboundSchema: z.ZodType<
5361
5367
  toolApprovalRequired: "tool_approval_required",
5362
5368
  maxIterations: "max_iterations",
5363
5369
  maxExecutionTime: "max_execution_time",
5370
+ maxCost: "max_cost",
5364
5371
  });
5365
5372
  });
5366
5373
 
@@ -1537,6 +1537,10 @@ export type UpdateAgentSettings = {
1537
1537
  * Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
1538
1538
  */
1539
1539
  maxExecutionTime?: number | undefined;
1540
+ /**
1541
+ * Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses
1542
+ */
1543
+ maxCost?: number | undefined;
1540
1544
  /**
1541
1545
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
1542
1546
  */
@@ -1791,6 +1795,10 @@ export type UpdateAgentAgentsSettings = {
1791
1795
  * Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
1792
1796
  */
1793
1797
  maxExecutionTime: number;
1798
+ /**
1799
+ * Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses
1800
+ */
1801
+ maxCost: number;
1794
1802
  /**
1795
1803
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
1796
1804
  */
@@ -5351,6 +5359,7 @@ export function updateAgentGuardrailsToJSON(
5351
5359
  export type UpdateAgentSettings$Outbound = {
5352
5360
  max_iterations: number;
5353
5361
  max_execution_time: number;
5362
+ max_cost: number;
5354
5363
  tool_approval_required: string;
5355
5364
  tools?:
5356
5365
  | Array<
@@ -5384,6 +5393,7 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
5384
5393
  > = z.object({
5385
5394
  maxIterations: z.number().int().default(100),
5386
5395
  maxExecutionTime: z.number().int().default(600),
5396
+ maxCost: z.number().default(0),
5387
5397
  toolApprovalRequired: UpdateAgentToolApprovalRequired$outboundSchema.default(
5388
5398
  "respect_tool",
5389
5399
  ),
@@ -5415,6 +5425,7 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
5415
5425
  return remap$(v, {
5416
5426
  maxIterations: "max_iterations",
5417
5427
  maxExecutionTime: "max_execution_time",
5428
+ maxCost: "max_cost",
5418
5429
  toolApprovalRequired: "tool_approval_required",
5419
5430
  });
5420
5431
  });
@@ -5719,6 +5730,7 @@ export const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<
5719
5730
  > = z.object({
5720
5731
  max_iterations: z.number().int().default(100),
5721
5732
  max_execution_time: z.number().int().default(600),
5733
+ max_cost: z.number().default(0),
5722
5734
  tool_approval_required: UpdateAgentAgentsToolApprovalRequired$inboundSchema
5723
5735
  .default("respect_tool"),
5724
5736
  tools: z.array(z.lazy(() => UpdateAgentTools$inboundSchema)).optional(),
@@ -5730,6 +5742,7 @@ export const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<
5730
5742
  return remap$(v, {
5731
5743
  "max_iterations": "maxIterations",
5732
5744
  "max_execution_time": "maxExecutionTime",
5745
+ "max_cost": "maxCost",
5733
5746
  "tool_approval_required": "toolApprovalRequired",
5734
5747
  });
5735
5748
  });
@@ -226,7 +226,7 @@ export const UpdateConversationResponseBody$inboundSchema: z.ZodType<
226
226
  z.ZodTypeDef,
227
227
  unknown
228
228
  > = z.object({
229
- _id: z.string().default("conv_01kfzqc0m4gtsn5bjztwsvfvtw"),
229
+ _id: z.string().default("conv_01kh5206frrmn4asn76krgaqnf"),
230
230
  kind: UpdateConversationKind$inboundSchema,
231
231
  displayName: z.string(),
232
232
  createdAt: z.number(),
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
2358
2358
  .default("orq"),
2359
2359
  reviewed_by_id: z.string(),
2360
2360
  reviewed_at: z.string().datetime({ offset: true }).default(
2361
- "2026-01-27T12:38:03.275Z",
2361
+ "2026-02-11T00:35:44.466Z",
2362
2362
  ).transform(v => new Date(v)),
2363
2363
  type: z.literal("string_array"),
2364
2364
  values: z.array(z.string()),
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
2404
2404
  source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
2405
2405
  reviewed_by_id: z.string(),
2406
2406
  reviewed_at: z.string().datetime({ offset: true }).default(
2407
- "2026-01-27T12:38:03.274Z",
2407
+ "2026-02-11T00:35:44.466Z",
2408
2408
  ).transform(v => new Date(v)),
2409
2409
  type: z.literal("number"),
2410
2410
  value: z.number(),
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
2449
2449
  source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
2450
2450
  reviewed_by_id: z.string(),
2451
2451
  reviewed_at: z.string().datetime({ offset: true }).default(
2452
- "2026-01-27T12:38:03.274Z",
2452
+ "2026-02-11T00:35:44.465Z",
2453
2453
  ).transform(v => new Date(v)),
2454
2454
  type: z.literal("string"),
2455
2455
  value: z.string(),
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
2530
2530
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2531
2531
  .optional(),
2532
2532
  updated: z.string().datetime({ offset: true }).default(
2533
- "2026-01-27T12:37:49.956Z",
2533
+ "2026-02-11T00:35:30.193Z",
2534
2534
  ).transform(v => new Date(v)),
2535
2535
  }).transform((v) => {
2536
2536
  return remap$(v, {
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
182
182
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
183
183
  .optional(),
184
184
  updated: z.string().datetime({ offset: true }).default(
185
- "2026-01-27T12:37:49.956Z",
185
+ "2026-02-11T00:35:30.193Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
152
152
  z.ZodTypeDef,
153
153
  unknown
154
154
  > = z.object({
155
- _id: z.string().default("01KFZQC149N2ET1NXSANJKD241"),
155
+ _id: z.string().default("01KH520713V3400Z52YQAR51Z7"),
156
156
  display_name: z.string(),
157
157
  description: z.string().optional(),
158
158
  status: UpdateDatasourceStatus$inboundSchema,
@@ -1694,8 +1694,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
1694
1694
  > = z.object({
1695
1695
  _id: z.string(),
1696
1696
  description: z.string(),
1697
- created: z.string().default("2026-01-27T12:37:51.686Z"),
1698
- updated: z.string().default("2026-01-27T12:37:51.686Z"),
1697
+ created: z.string().default("2026-02-11T00:35:32.003Z"),
1698
+ updated: z.string().default("2026-02-11T00:35:32.003Z"),
1699
1699
  guardrail_config: z.union([
1700
1700
  z.lazy(() =>
1701
1701
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
@@ -1841,8 +1841,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
1841
1841
  > = z.object({
1842
1842
  _id: z.string(),
1843
1843
  description: z.string(),
1844
- created: z.string().default("2026-01-27T12:37:51.686Z"),
1845
- updated: z.string().default("2026-01-27T12:37:51.686Z"),
1844
+ created: z.string().default("2026-02-11T00:35:32.003Z"),
1845
+ updated: z.string().default("2026-02-11T00:35:32.003Z"),
1846
1846
  guardrail_config: z.union([
1847
1847
  z.lazy(() =>
1848
1848
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
@@ -2655,8 +2655,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
2655
2655
  > = z.object({
2656
2656
  _id: z.string(),
2657
2657
  description: z.string(),
2658
- created: z.string().default("2026-01-27T12:37:51.686Z"),
2659
- updated: z.string().default("2026-01-27T12:37:51.686Z"),
2658
+ created: z.string().default("2026-02-11T00:35:32.003Z"),
2659
+ updated: z.string().default("2026-02-11T00:35:32.003Z"),
2660
2660
  guardrail_config: z.union([
2661
2661
  z.lazy(() =>
2662
2662
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema
@@ -2832,8 +2832,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
2832
2832
  > = z.object({
2833
2833
  _id: z.string(),
2834
2834
  description: z.string(),
2835
- created: z.string().default("2026-01-27T12:37:51.686Z"),
2836
- updated: z.string().default("2026-01-27T12:37:51.686Z"),
2835
+ created: z.string().default("2026-02-11T00:35:32.003Z"),
2836
+ updated: z.string().default("2026-02-11T00:35:32.003Z"),
2837
2837
  guardrail_config: z.union([
2838
2838
  z.lazy(() =>
2839
2839
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
@@ -2980,8 +2980,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
2980
2980
  > = z.object({
2981
2981
  _id: z.string(),
2982
2982
  description: z.string(),
2983
- created: z.string().default("2026-01-27T12:37:51.686Z"),
2984
- updated: z.string().default("2026-01-27T12:37:51.686Z"),
2983
+ created: z.string().default("2026-02-11T00:35:32.003Z"),
2984
+ updated: z.string().default("2026-02-11T00:35:32.003Z"),
2985
2985
  guardrail_config: z.union([
2986
2986
  z.lazy(() =>
2987
2987
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
@@ -3121,8 +3121,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
3121
3121
  > = z.object({
3122
3122
  _id: z.string(),
3123
3123
  description: z.string(),
3124
- created: z.string().default("2026-01-27T12:37:51.686Z"),
3125
- updated: z.string().default("2026-01-27T12:37:51.686Z"),
3124
+ created: z.string().default("2026-02-11T00:35:32.003Z"),
3125
+ updated: z.string().default("2026-02-11T00:35:32.003Z"),
3126
3126
  guardrail_config: z.union([
3127
3127
  z.lazy(() =>
3128
3128
  UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
@@ -3250,8 +3250,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
3250
3250
  > = z.object({
3251
3251
  _id: z.string(),
3252
3252
  description: z.string(),
3253
- created: z.string().default("2026-01-27T12:37:51.686Z"),
3254
- updated: z.string().default("2026-01-27T12:37:51.686Z"),
3253
+ created: z.string().default("2026-02-11T00:35:32.003Z"),
3254
+ updated: z.string().default("2026-02-11T00:35:32.003Z"),
3255
3255
  guardrail_config: z.union([
3256
3256
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
3257
3257
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
@@ -167,7 +167,7 @@ export const UpdateIdentityResponseBody$inboundSchema: z.ZodType<
167
167
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
168
168
  .optional(),
169
169
  updated: z.string().datetime({ offset: true }).default(
170
- "2026-01-27T12:37:49.956Z",
170
+ "2026-02-11T00:35:30.193Z",
171
171
  ).transform(v => new Date(v)),
172
172
  }).transform((v) => {
173
173
  return remap$(v, {
@@ -12,7 +12,7 @@ export type UpdateMemoryDocumentRequestBody = {
12
12
  /**
13
13
  * The content of the memory document (whitespace trimmed).
14
14
  */
15
- text: string;
15
+ text?: string | undefined;
16
16
  /**
17
17
  * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory documents based on their specific needs (e.g., document type, source, topic, relevance score, or any custom taxonomy).
18
18
  */
@@ -59,7 +59,7 @@ export type UpdateMemoryDocumentResponseBody = {
59
59
 
60
60
  /** @internal */
61
61
  export type UpdateMemoryDocumentRequestBody$Outbound = {
62
- text: string;
62
+ text?: string | undefined;
63
63
  metadata?: { [k: string]: string } | undefined;
64
64
  };
65
65
 
@@ -69,7 +69,7 @@ export const UpdateMemoryDocumentRequestBody$outboundSchema: z.ZodType<
69
69
  z.ZodTypeDef,
70
70
  UpdateMemoryDocumentRequestBody
71
71
  > = z.object({
72
- text: z.string(),
72
+ text: z.string().optional(),
73
73
  metadata: z.record(z.string()).optional(),
74
74
  });
75
75
 
@@ -1402,7 +1402,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
1402
1402
  z.ZodTypeDef,
1403
1403
  RequestBodyTools
1404
1404
  > = z.object({
1405
- id: z.string().default("01KFZQC0ZP439E2G6YXMD2DHE6"),
1405
+ id: z.string().default("01KH5206W9AX2XKDAR0GRQCR3M"),
1406
1406
  name: z.string(),
1407
1407
  description: z.string().optional(),
1408
1408
  schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
@@ -2080,7 +2080,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
2080
2080
  z.ZodTypeDef,
2081
2081
  unknown
2082
2082
  > = z.object({
2083
- _id: z.string().default("tool_01KFZQC0ZG7ZQ1G0D6ENVBQTVN"),
2083
+ _id: z.string().default("tool_01KH5206VV3K8K7DVRD8NQFP0T"),
2084
2084
  path: z.string(),
2085
2085
  key: z.string(),
2086
2086
  display_name: z.string().optional(),
@@ -2185,7 +2185,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
2185
2185
  z.ZodTypeDef,
2186
2186
  unknown
2187
2187
  > = z.object({
2188
- id: z.string().default("01KFZQC0ZFHYAF6C1WX2DP9YBY"),
2188
+ id: z.string().default("01KH5206VTC7NWHMCHRMCKTWE6"),
2189
2189
  name: z.string(),
2190
2190
  description: z.string().optional(),
2191
2191
  schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
@@ -2241,7 +2241,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
2241
2241
  z.ZodTypeDef,
2242
2242
  unknown
2243
2243
  > = z.object({
2244
- _id: z.string().default("tool_01KFZQC0ZEE5W161Q17AH47B16"),
2244
+ _id: z.string().default("tool_01KH5206VS1BDR1MBCBZVA6H3N"),
2245
2245
  path: z.string(),
2246
2246
  key: z.string(),
2247
2247
  display_name: z.string().optional(),
@@ -2432,7 +2432,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
2432
2432
  z.ZodTypeDef,
2433
2433
  unknown
2434
2434
  > = z.object({
2435
- _id: z.string().default("tool_01KFZQC0ZDRWC1QH8QRJBGETD3"),
2435
+ _id: z.string().default("tool_01KH5206VQT92SYW7EJR87GJCF"),
2436
2436
  path: z.string(),
2437
2437
  key: z.string(),
2438
2438
  display_name: z.string().optional(),
@@ -2529,7 +2529,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2529
2529
  z.ZodTypeDef,
2530
2530
  unknown
2531
2531
  > = z.object({
2532
- _id: z.string().default("tool_01KFZQC0ZBVRQAD1FZ50SD66KF"),
2532
+ _id: z.string().default("tool_01KH5206VE5G5FM7R10TRRXTB2"),
2533
2533
  path: z.string(),
2534
2534
  key: z.string(),
2535
2535
  display_name: z.string().optional(),
@@ -2634,7 +2634,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2634
2634
  z.ZodTypeDef,
2635
2635
  unknown
2636
2636
  > = z.object({
2637
- _id: z.string().default("tool_01KFZQC0Z3VV2M06K6S1S5S2V7"),
2637
+ _id: z.string().default("tool_01KH5206VCGVRWZV9S8A2AYJMN"),
2638
2638
  path: z.string(),
2639
2639
  key: z.string(),
2640
2640
  display_name: z.string().optional(),
package/src/sdk/agents.ts CHANGED
@@ -40,6 +40,27 @@ export class Agents extends ClientSDK {
40
40
  ));
41
41
  }
42
42
 
43
+ /**
44
+ * List agents
45
+ *
46
+ * @remarks
47
+ * Retrieves a comprehensive list of agents configured in your workspace. Supports pagination for large datasets and returns agents sorted by creation date (newest first). Each agent in the response includes its complete configuration: model settings with fallback options, instructions, tools, knowledge bases, memory stores, and execution parameters. Use pagination parameters to efficiently navigate through large collections of agents.
48
+ */
49
+ async list(
50
+ limit?: number | undefined,
51
+ startingAfter?: string | undefined,
52
+ endingBefore?: string | undefined,
53
+ options?: RequestOptions,
54
+ ): Promise<operations.ListAgentsResponseBody> {
55
+ return unwrapAsync(agentsList(
56
+ this,
57
+ limit,
58
+ startingAfter,
59
+ endingBefore,
60
+ options,
61
+ ));
62
+ }
63
+
43
64
  /**
44
65
  * Delete agent
45
66
  *
@@ -114,27 +135,6 @@ export class Agents extends ClientSDK {
114
135
  ));
115
136
  }
116
137
 
117
- /**
118
- * List agents
119
- *
120
- * @remarks
121
- * Retrieves a comprehensive list of agents configured in your workspace. Supports pagination for large datasets and returns agents sorted by creation date (newest first). Each agent in the response includes its complete configuration: model settings with fallback options, instructions, tools, knowledge bases, memory stores, and execution parameters. Use pagination parameters to efficiently navigate through large collections of agents.
122
- */
123
- async list(
124
- limit?: number | undefined,
125
- startingAfter?: string | undefined,
126
- endingBefore?: string | undefined,
127
- options?: RequestOptions,
128
- ): Promise<operations.ListAgentsResponseBody> {
129
- return unwrapAsync(agentsList(
130
- this,
131
- limit,
132
- startingAfter,
133
- endingBefore,
134
- options,
135
- ));
136
- }
137
-
138
138
  /**
139
139
  * Run an agent with configuration
140
140
  *