@orq-ai/node 4.5.0-rc.26 → 4.5.0-rc.33

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 (222) hide show
  1. package/README.md +38 -28
  2. package/funcs/agentsList.d.ts +1 -1
  3. package/funcs/agentsList.d.ts.map +1 -1
  4. package/funcs/agentsList.js +5 -3
  5. package/funcs/agentsList.js.map +1 -1
  6. package/funcs/agentsPostV2AgentsA2a.d.ts +18 -0
  7. package/funcs/agentsPostV2AgentsA2a.d.ts.map +1 -0
  8. package/funcs/agentsPostV2AgentsA2a.js +120 -0
  9. package/funcs/agentsPostV2AgentsA2a.js.map +1 -0
  10. package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts +18 -0
  11. package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +1 -0
  12. package/funcs/agentsPostV2AgentsKeyCardRefresh.js +124 -0
  13. package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +1 -0
  14. package/funcs/agentsResponsesGet.d.ts +19 -0
  15. package/funcs/agentsResponsesGet.d.ts.map +1 -0
  16. package/funcs/agentsResponsesGet.js +128 -0
  17. package/funcs/agentsResponsesGet.js.map +1 -0
  18. package/funcs/agentsUpdate.d.ts +1 -1
  19. package/funcs/agentsUpdate.d.ts.map +1 -1
  20. package/funcs/agentsUpdate.js.map +1 -1
  21. package/jsr.json +1 -1
  22. package/lib/config.d.ts +3 -3
  23. package/lib/config.js +3 -3
  24. package/models/components/extendedmessage.d.ts +71 -0
  25. package/models/components/extendedmessage.d.ts.map +1 -0
  26. package/models/components/extendedmessage.js +98 -0
  27. package/models/components/extendedmessage.js.map +1 -0
  28. package/models/components/getagentresponse.d.ts +157 -0
  29. package/models/components/getagentresponse.d.ts.map +1 -0
  30. package/models/components/getagentresponse.js +175 -0
  31. package/models/components/getagentresponse.js.map +1 -0
  32. package/models/components/index.d.ts +2 -0
  33. package/models/components/index.d.ts.map +1 -1
  34. package/models/components/index.js +2 -0
  35. package/models/components/index.js.map +1 -1
  36. package/models/components/partdoneevent.js +1 -1
  37. package/models/components/reasoningpart.js +1 -1
  38. package/models/errors/index.d.ts +2 -0
  39. package/models/errors/index.d.ts.map +1 -1
  40. package/models/errors/index.js +2 -0
  41. package/models/errors/index.js.map +1 -1
  42. package/models/errors/postv2agentsa2a.d.ts +43 -0
  43. package/models/errors/postv2agentsa2a.d.ts.map +1 -0
  44. package/models/errors/postv2agentsa2a.js +94 -0
  45. package/models/errors/postv2agentsa2a.js.map +1 -0
  46. package/models/errors/postv2agentskeycardrefresh.d.ts +43 -0
  47. package/models/errors/postv2agentskeycardrefresh.d.ts.map +1 -0
  48. package/models/errors/postv2agentskeycardrefresh.js +94 -0
  49. package/models/errors/postv2agentskeycardrefresh.js.map +1 -0
  50. package/models/operations/createagentrequest.d.ts +309 -142
  51. package/models/operations/createagentrequest.d.ts.map +1 -1
  52. package/models/operations/createagentrequest.js +292 -160
  53. package/models/operations/createagentrequest.js.map +1 -1
  54. package/models/operations/createagentresponserequest.d.ts +22 -1
  55. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  56. package/models/operations/createagentresponserequest.js +10 -1
  57. package/models/operations/createagentresponserequest.js.map +1 -1
  58. package/models/operations/createannotation.d.ts +1 -1
  59. package/models/operations/createannotation.d.ts.map +1 -1
  60. package/models/operations/createannotation.js +4 -0
  61. package/models/operations/createannotation.js.map +1 -1
  62. package/models/operations/createcontact.js +1 -1
  63. package/models/operations/createdataset.js +1 -1
  64. package/models/operations/createdatasetitem.js +4 -4
  65. package/models/operations/createdatasource.js +1 -1
  66. package/models/operations/createeval.js +16 -16
  67. package/models/operations/createidentity.js +1 -1
  68. package/models/operations/createknowledge.d.ts +7 -7
  69. package/models/operations/createknowledge.d.ts.map +1 -1
  70. package/models/operations/createknowledge.js +11 -11
  71. package/models/operations/createknowledge.js.map +1 -1
  72. package/models/operations/createtool.d.ts +39 -39
  73. package/models/operations/createtool.d.ts.map +1 -1
  74. package/models/operations/createtool.js +52 -49
  75. package/models/operations/createtool.js.map +1 -1
  76. package/models/operations/deploymentinvoke.d.ts +14 -0
  77. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  78. package/models/operations/deploymentinvoke.js +16 -1
  79. package/models/operations/deploymentinvoke.js.map +1 -1
  80. package/models/operations/deploymentstream.d.ts +14 -0
  81. package/models/operations/deploymentstream.d.ts.map +1 -1
  82. package/models/operations/deploymentstream.js +16 -1
  83. package/models/operations/deploymentstream.js.map +1 -1
  84. package/models/operations/fileget.js +1 -1
  85. package/models/operations/filelist.js +1 -1
  86. package/models/operations/fileupload.js +1 -1
  87. package/models/operations/getagentresponse.d.ts +20 -0
  88. package/models/operations/getagentresponse.d.ts.map +1 -0
  89. package/models/operations/getagentresponse.js +56 -0
  90. package/models/operations/getagentresponse.js.map +1 -0
  91. package/models/operations/getalltools.d.ts +39 -39
  92. package/models/operations/getalltools.d.ts.map +1 -1
  93. package/models/operations/getalltools.js +49 -47
  94. package/models/operations/getalltools.js.map +1 -1
  95. package/models/operations/getevals.js +16 -16
  96. package/models/operations/index.d.ts +3 -0
  97. package/models/operations/index.d.ts.map +1 -1
  98. package/models/operations/index.js +3 -0
  99. package/models/operations/index.js.map +1 -1
  100. package/models/operations/invokeagent.d.ts +26 -1
  101. package/models/operations/invokeagent.d.ts.map +1 -1
  102. package/models/operations/invokeagent.js +12 -1
  103. package/models/operations/invokeagent.js.map +1 -1
  104. package/models/operations/listagents.d.ts +331 -147
  105. package/models/operations/listagents.d.ts.map +1 -1
  106. package/models/operations/listagents.js +314 -171
  107. package/models/operations/listagents.js.map +1 -1
  108. package/models/operations/listdatasetdatapoints.js +4 -4
  109. package/models/operations/listdatasets.js +1 -1
  110. package/models/operations/listdatasources.js +1 -1
  111. package/models/operations/listidentities.js +1 -1
  112. package/models/operations/listknowledgebases.d.ts +8 -8
  113. package/models/operations/listknowledgebases.d.ts.map +1 -1
  114. package/models/operations/listknowledgebases.js +13 -15
  115. package/models/operations/listknowledgebases.js.map +1 -1
  116. package/models/operations/postv2agentsa2a.d.ts +119 -0
  117. package/models/operations/postv2agentsa2a.d.ts.map +1 -0
  118. package/models/operations/postv2agentsa2a.js +147 -0
  119. package/models/operations/postv2agentsa2a.js.map +1 -0
  120. package/models/operations/postv2agentskeycardrefresh.d.ts +35 -0
  121. package/models/operations/postv2agentskeycardrefresh.d.ts.map +1 -0
  122. package/models/operations/postv2agentskeycardrefresh.js +71 -0
  123. package/models/operations/postv2agentskeycardrefresh.js.map +1 -0
  124. package/models/operations/retrieveagentrequest.d.ts +316 -150
  125. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  126. package/models/operations/retrieveagentrequest.js +307 -173
  127. package/models/operations/retrieveagentrequest.js.map +1 -1
  128. package/models/operations/retrievedatapoint.js +4 -4
  129. package/models/operations/retrievedataset.js +1 -1
  130. package/models/operations/retrievedatasource.js +1 -1
  131. package/models/operations/retrieveidentity.js +1 -1
  132. package/models/operations/retrievetool.js +6 -6
  133. package/models/operations/runagent.d.ts +15 -11
  134. package/models/operations/runagent.d.ts.map +1 -1
  135. package/models/operations/runagent.js +12 -12
  136. package/models/operations/runagent.js.map +1 -1
  137. package/models/operations/streamagent.d.ts +22 -1
  138. package/models/operations/streamagent.d.ts.map +1 -1
  139. package/models/operations/streamagent.js +11 -1
  140. package/models/operations/streamagent.js.map +1 -1
  141. package/models/operations/streamrunagent.d.ts +1 -1
  142. package/models/operations/streamrunagent.js +1 -1
  143. package/models/operations/updateagent.d.ts +370 -157
  144. package/models/operations/updateagent.d.ts.map +1 -1
  145. package/models/operations/updateagent.js +336 -179
  146. package/models/operations/updateagent.js.map +1 -1
  147. package/models/operations/updatedatapoint.js +4 -4
  148. package/models/operations/updatedataset.js +1 -1
  149. package/models/operations/updatedatasource.js +1 -1
  150. package/models/operations/updateeval.js +16 -16
  151. package/models/operations/updateidentity.js +1 -1
  152. package/models/operations/updatetool.js +7 -7
  153. package/package.json +1 -1
  154. package/sdk/agents.d.ts +16 -2
  155. package/sdk/agents.d.ts.map +1 -1
  156. package/sdk/agents.js +22 -2
  157. package/sdk/agents.js.map +1 -1
  158. package/sdk/responses.d.ts +8 -0
  159. package/sdk/responses.d.ts.map +1 -1
  160. package/sdk/responses.js +10 -0
  161. package/sdk/responses.js.map +1 -1
  162. package/src/funcs/agentsList.ts +5 -0
  163. package/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
  164. package/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
  165. package/src/funcs/agentsResponsesGet.ts +182 -0
  166. package/src/funcs/agentsUpdate.ts +2 -2
  167. package/src/lib/config.ts +3 -3
  168. package/src/models/components/extendedmessage.ts +146 -0
  169. package/src/models/components/getagentresponse.ts +348 -0
  170. package/src/models/components/index.ts +2 -0
  171. package/src/models/components/partdoneevent.ts +1 -1
  172. package/src/models/components/reasoningpart.ts +1 -1
  173. package/src/models/errors/index.ts +2 -0
  174. package/src/models/errors/postv2agentsa2a.ts +96 -0
  175. package/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
  176. package/src/models/operations/createagentrequest.ts +714 -360
  177. package/src/models/operations/createagentresponserequest.ts +35 -1
  178. package/src/models/operations/createannotation.ts +5 -1
  179. package/src/models/operations/createcontact.ts +1 -1
  180. package/src/models/operations/createdataset.ts +1 -1
  181. package/src/models/operations/createdatasetitem.ts +4 -4
  182. package/src/models/operations/createdatasource.ts +1 -1
  183. package/src/models/operations/createeval.ts +16 -16
  184. package/src/models/operations/createidentity.ts +1 -1
  185. package/src/models/operations/createknowledge.ts +19 -17
  186. package/src/models/operations/createtool.ts +103 -91
  187. package/src/models/operations/deploymentinvoke.ts +38 -0
  188. package/src/models/operations/deploymentstream.ts +38 -0
  189. package/src/models/operations/fileget.ts +1 -1
  190. package/src/models/operations/filelist.ts +1 -1
  191. package/src/models/operations/fileupload.ts +1 -1
  192. package/src/models/operations/getagentresponse.ts +46 -0
  193. package/src/models/operations/getalltools.ts +93 -87
  194. package/src/models/operations/getevals.ts +16 -16
  195. package/src/models/operations/index.ts +3 -0
  196. package/src/models/operations/invokeagent.ts +45 -1
  197. package/src/models/operations/listagents.ts +723 -366
  198. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  199. package/src/models/operations/listdatasets.ts +1 -1
  200. package/src/models/operations/listdatasources.ts +1 -1
  201. package/src/models/operations/listidentities.ts +1 -1
  202. package/src/models/operations/listknowledgebases.ts +72 -64
  203. package/src/models/operations/postv2agentsa2a.ts +252 -0
  204. package/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
  205. package/src/models/operations/retrieveagentrequest.ts +975 -468
  206. package/src/models/operations/retrievedatapoint.ts +4 -4
  207. package/src/models/operations/retrievedataset.ts +1 -1
  208. package/src/models/operations/retrievedatasource.ts +1 -1
  209. package/src/models/operations/retrieveidentity.ts +1 -1
  210. package/src/models/operations/retrievetool.ts +6 -6
  211. package/src/models/operations/runagent.ts +35 -21
  212. package/src/models/operations/streamagent.ts +40 -1
  213. package/src/models/operations/streamrunagent.ts +2 -2
  214. package/src/models/operations/updateagent.ts +876 -385
  215. package/src/models/operations/updatedatapoint.ts +4 -4
  216. package/src/models/operations/updatedataset.ts +1 -1
  217. package/src/models/operations/updatedatasource.ts +1 -1
  218. package/src/models/operations/updateeval.ts +16 -16
  219. package/src/models/operations/updateidentity.ts +1 -1
  220. package/src/models/operations/updatetool.ts +7 -7
  221. package/src/sdk/agents.ts +39 -1
  222. package/src/sdk/responses.ts +19 -0
@@ -1201,7 +1201,7 @@ export type CreateAgentRequestRequestBody = {
1201
1201
  /**
1202
1202
  * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1203
1203
  */
1204
- export declare const CreateAgentRequestStatus: {
1204
+ export declare const ResponseBodyStatus: {
1205
1205
  readonly Live: "live";
1206
1206
  readonly Draft: "draft";
1207
1207
  readonly Pending: "pending";
@@ -1210,11 +1210,173 @@ export declare const CreateAgentRequestStatus: {
1210
1210
  /**
1211
1211
  * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1212
1212
  */
1213
- export type CreateAgentRequestStatus = ClosedEnum<typeof CreateAgentRequestStatus>;
1213
+ export type ResponseBodyStatus = ClosedEnum<typeof ResponseBodyStatus>;
1214
+ export type CreateAgentRequestResponseBodyTeamOfAgents = {
1215
+ /**
1216
+ * The unique key of the agent within the workspace
1217
+ */
1218
+ key: string;
1219
+ /**
1220
+ * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
1221
+ */
1222
+ role?: string | undefined;
1223
+ };
1224
+ export type CreateAgentRequestResponseBodyMetrics = {
1225
+ totalCost: number;
1226
+ };
1227
+ export type CreateAgentRequestResponseBodyKnowledgeBases = {
1228
+ /**
1229
+ * Unique identifier of the knowledge base to search
1230
+ */
1231
+ knowledgeId: string;
1232
+ };
1233
+ export declare const CreateAgentRequestResponseBodySource: {
1234
+ readonly Internal: "internal";
1235
+ readonly External: "external";
1236
+ readonly Experiment: "experiment";
1237
+ };
1238
+ export type CreateAgentRequestResponseBodySource = ClosedEnum<typeof CreateAgentRequestResponseBodySource>;
1239
+ export type ResponseBodyHeaders = {
1240
+ /**
1241
+ * Header value. **Update behavior**: Provide empty string ("") to preserve existing encrypted value without re-entering credentials. Provide new value to rotate. Omit header entirely to remove.
1242
+ */
1243
+ value: string;
1244
+ encrypted: boolean;
1245
+ };
1246
+ /**
1247
+ * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
1248
+ */
1249
+ export type A2AAgentConfiguration = {
1250
+ /**
1251
+ * The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
1252
+ */
1253
+ agentUrl: string;
1254
+ /**
1255
+ * Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
1256
+ */
1257
+ cardUrl?: string | undefined;
1258
+ /**
1259
+ * HTTP headers for A2A agent requests with encryption support (max 20 headers). **Update behavior**: Empty string values preserve existing encrypted headers, allowing partial updates without credential re-entry.
1260
+ */
1261
+ headers?: {
1262
+ [k: string]: ResponseBodyHeaders;
1263
+ } | undefined;
1264
+ /**
1265
+ * Cached agent card from discovery. Refreshed periodically.
1266
+ */
1267
+ cachedCard?: any | undefined;
1268
+ };
1269
+ export type ResponseBody2 = {
1270
+ id: string;
1271
+ /**
1272
+ * Unique identifier for the agent within the workspace
1273
+ */
1274
+ key: string;
1275
+ displayName?: string | undefined;
1276
+ projectId: string;
1277
+ createdById?: string | null | undefined;
1278
+ updatedById?: string | null | undefined;
1279
+ created?: string | undefined;
1280
+ updated?: string | undefined;
1281
+ /**
1282
+ * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1283
+ */
1284
+ status: ResponseBodyStatus;
1285
+ versionHash?: string | undefined;
1286
+ /**
1287
+ * Entity storage path in the format: `project/folder/subfolder/...`
1288
+ *
1289
+ * @remarks
1290
+ *
1291
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
1292
+ *
1293
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1294
+ */
1295
+ path: string;
1296
+ /**
1297
+ * Array of memory store identifiers. Accepts both memory store IDs and keys.
1298
+ */
1299
+ memoryStores?: Array<string> | undefined;
1300
+ /**
1301
+ * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1302
+ */
1303
+ teamOfAgents?: Array<CreateAgentRequestResponseBodyTeamOfAgents> | undefined;
1304
+ metrics?: CreateAgentRequestResponseBodyMetrics | undefined;
1305
+ /**
1306
+ * Extracted variables from agent instructions
1307
+ */
1308
+ variables?: {
1309
+ [k: string]: any;
1310
+ } | undefined;
1311
+ /**
1312
+ * Agent knowledge bases reference
1313
+ */
1314
+ knowledgeBases?: Array<CreateAgentRequestResponseBodyKnowledgeBases> | undefined;
1315
+ source?: CreateAgentRequestResponseBodySource | undefined;
1316
+ /**
1317
+ * External A2A-compliant agent
1318
+ */
1319
+ type: "a2a";
1320
+ /**
1321
+ * Role fetched from agent card name or user-provided
1322
+ */
1323
+ role: string;
1324
+ /**
1325
+ * Description fetched from agent card or user-provided
1326
+ */
1327
+ description: string;
1328
+ systemPrompt?: string | undefined;
1329
+ /**
1330
+ * Instructions from agent card description or user-provided
1331
+ */
1332
+ instructions: string;
1333
+ /**
1334
+ * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
1335
+ */
1336
+ a2a: A2AAgentConfiguration;
1337
+ };
1338
+ /**
1339
+ * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1340
+ */
1341
+ export declare const CreateAgentRequestResponseBodyStatus: {
1342
+ readonly Live: "live";
1343
+ readonly Draft: "draft";
1344
+ readonly Pending: "pending";
1345
+ readonly Published: "published";
1346
+ };
1347
+ /**
1348
+ * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
1349
+ */
1350
+ export type CreateAgentRequestResponseBodyStatus = ClosedEnum<typeof CreateAgentRequestResponseBodyStatus>;
1351
+ export type ResponseBodyTeamOfAgents = {
1352
+ /**
1353
+ * The unique key of the agent within the workspace
1354
+ */
1355
+ key: string;
1356
+ /**
1357
+ * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
1358
+ */
1359
+ role?: string | undefined;
1360
+ };
1361
+ export type ResponseBodyMetrics = {
1362
+ totalCost: number;
1363
+ };
1364
+ export type ResponseBodyKnowledgeBases = {
1365
+ /**
1366
+ * Unique identifier of the knowledge base to search
1367
+ */
1368
+ knowledgeId: string;
1369
+ };
1370
+ export declare const ResponseBodySource: {
1371
+ readonly Internal: "internal";
1372
+ readonly External: "external";
1373
+ readonly Experiment: "experiment";
1374
+ };
1375
+ export type ResponseBodySource = ClosedEnum<typeof ResponseBodySource>;
1214
1376
  /**
1215
1377
  * 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.
1216
1378
  */
1217
- export declare const CreateAgentRequestToolApprovalRequired: {
1379
+ export declare const ResponseBodyToolApprovalRequired: {
1218
1380
  readonly All: "all";
1219
1381
  readonly RespectTool: "respect_tool";
1220
1382
  readonly None: "none";
@@ -1222,7 +1384,7 @@ export declare const CreateAgentRequestToolApprovalRequired: {
1222
1384
  /**
1223
1385
  * 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.
1224
1386
  */
1225
- export type CreateAgentRequestToolApprovalRequired = ClosedEnum<typeof CreateAgentRequestToolApprovalRequired>;
1387
+ export type ResponseBodyToolApprovalRequired = ClosedEnum<typeof ResponseBodyToolApprovalRequired>;
1226
1388
  export type Conditions = {
1227
1389
  /**
1228
1390
  * The argument of the tool call to evaluate
@@ -1237,7 +1399,7 @@ export type Conditions = {
1237
1399
  */
1238
1400
  value: string;
1239
1401
  };
1240
- export type CreateAgentRequestTools = {
1402
+ export type ResponseBodyTools = {
1241
1403
  /**
1242
1404
  * The id of the resource
1243
1405
  */
@@ -1266,15 +1428,15 @@ export type CreateAgentRequestTools = {
1266
1428
  /**
1267
1429
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1268
1430
  */
1269
- export declare const CreateAgentRequestAgentsResponseExecuteOn: {
1431
+ export declare const ResponseBodyExecuteOn: {
1270
1432
  readonly Input: "input";
1271
1433
  readonly Output: "output";
1272
1434
  };
1273
1435
  /**
1274
1436
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1275
1437
  */
1276
- export type CreateAgentRequestAgentsResponseExecuteOn = ClosedEnum<typeof CreateAgentRequestAgentsResponseExecuteOn>;
1277
- export type CreateAgentRequestEvaluators = {
1438
+ export type ResponseBodyExecuteOn = ClosedEnum<typeof ResponseBodyExecuteOn>;
1439
+ export type ResponseBodyEvaluators = {
1278
1440
  /**
1279
1441
  * Unique key or identifier of the evaluator
1280
1442
  */
@@ -1286,20 +1448,20 @@ export type CreateAgentRequestEvaluators = {
1286
1448
  /**
1287
1449
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1288
1450
  */
1289
- executeOn: CreateAgentRequestAgentsResponseExecuteOn;
1451
+ executeOn: ResponseBodyExecuteOn;
1290
1452
  };
1291
1453
  /**
1292
1454
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1293
1455
  */
1294
- export declare const CreateAgentRequestAgentsResponse201ExecuteOn: {
1456
+ export declare const CreateAgentRequestResponseBodyExecuteOn: {
1295
1457
  readonly Input: "input";
1296
1458
  readonly Output: "output";
1297
1459
  };
1298
1460
  /**
1299
1461
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1300
1462
  */
1301
- export type CreateAgentRequestAgentsResponse201ExecuteOn = ClosedEnum<typeof CreateAgentRequestAgentsResponse201ExecuteOn>;
1302
- export type CreateAgentRequestAgentsGuardrails = {
1463
+ export type CreateAgentRequestResponseBodyExecuteOn = ClosedEnum<typeof CreateAgentRequestResponseBodyExecuteOn>;
1464
+ export type ResponseBodyGuardrails = {
1303
1465
  /**
1304
1466
  * Unique key or identifier of the evaluator
1305
1467
  */
@@ -1311,9 +1473,9 @@ export type CreateAgentRequestAgentsGuardrails = {
1311
1473
  /**
1312
1474
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1313
1475
  */
1314
- executeOn: CreateAgentRequestAgentsResponse201ExecuteOn;
1476
+ executeOn: CreateAgentRequestResponseBodyExecuteOn;
1315
1477
  };
1316
- export type CreateAgentRequestSettings = {
1478
+ export type ResponseBodySettings = {
1317
1479
  /**
1318
1480
  * Maximum iterations(llm calls) before the agent will stop executing.
1319
1481
  */
@@ -1329,16 +1491,16 @@ export type CreateAgentRequestSettings = {
1329
1491
  /**
1330
1492
  * 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.
1331
1493
  */
1332
- toolApprovalRequired: CreateAgentRequestToolApprovalRequired;
1333
- tools?: Array<CreateAgentRequestTools> | undefined;
1494
+ toolApprovalRequired: ResponseBodyToolApprovalRequired;
1495
+ tools?: Array<ResponseBodyTools> | undefined;
1334
1496
  /**
1335
1497
  * Configuration for an evaluator applied to the agent
1336
1498
  */
1337
- evaluators?: Array<CreateAgentRequestEvaluators> | undefined;
1499
+ evaluators?: Array<ResponseBodyEvaluators> | undefined;
1338
1500
  /**
1339
1501
  * Configuration for a guardrail applied to the agent
1340
1502
  */
1341
- guardrails?: Array<CreateAgentRequestAgentsGuardrails> | undefined;
1503
+ guardrails?: Array<ResponseBodyGuardrails> | undefined;
1342
1504
  };
1343
1505
  export type CreateAgentRequestResponseFormatAgentsResponseJsonSchema = {
1344
1506
  /**
@@ -1386,7 +1548,7 @@ export type CreateAgentRequestResponseFormatText = {
1386
1548
  /**
1387
1549
  * An object specifying the format that the model must output
1388
1550
  */
1389
- export type CreateAgentRequestResponseFormat = CreateAgentRequestResponseFormatText | CreateAgentRequestResponseFormatJSONObject | CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
1551
+ export type ResponseBodyResponseFormat = CreateAgentRequestResponseFormatText | CreateAgentRequestResponseFormatJSONObject | CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
1390
1552
  /**
1391
1553
  * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1392
1554
  *
@@ -1399,7 +1561,7 @@ export type CreateAgentRequestResponseFormat = CreateAgentRequestResponseFormatT
1399
1561
  *
1400
1562
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1401
1563
  */
1402
- export declare const CreateAgentRequestReasoningEffort: {
1564
+ export declare const ResponseBodyReasoningEffort: {
1403
1565
  readonly None: "none";
1404
1566
  readonly Minimal: "minimal";
1405
1567
  readonly Low: "low";
@@ -1419,12 +1581,12 @@ export declare const CreateAgentRequestReasoningEffort: {
1419
1581
  *
1420
1582
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1421
1583
  */
1422
- export type CreateAgentRequestReasoningEffort = ClosedEnum<typeof CreateAgentRequestReasoningEffort>;
1584
+ export type ResponseBodyReasoningEffort = ClosedEnum<typeof ResponseBodyReasoningEffort>;
1423
1585
  /**
1424
1586
  * Up to 4 sequences where the API will stop generating further tokens.
1425
1587
  */
1426
- export type CreateAgentRequestStop = string | Array<string>;
1427
- export type CreateAgentRequestThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1588
+ export type ResponseBodyStop = string | Array<string>;
1589
+ export type ResponseBodyThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1428
1590
  /**
1429
1591
  * The type of the tool. Currently, only function is supported.
1430
1592
  */
@@ -1457,12 +1619,12 @@ export type CreateAgentRequestToolChoiceAgents1 = ClosedEnum<typeof CreateAgentR
1457
1619
  /**
1458
1620
  * Controls which (if any) tool is called by the model.
1459
1621
  */
1460
- export type CreateAgentRequestToolChoice = CreateAgentRequestToolChoiceAgents2 | CreateAgentRequestToolChoiceAgents1;
1461
- export declare const CreateAgentRequestModalities: {
1622
+ export type ResponseBodyToolChoice = CreateAgentRequestToolChoiceAgents2 | CreateAgentRequestToolChoiceAgents1;
1623
+ export declare const ResponseBodyModalities: {
1462
1624
  readonly Text: "text";
1463
1625
  readonly Audio: "audio";
1464
1626
  };
1465
- export type CreateAgentRequestModalities = ClosedEnum<typeof CreateAgentRequestModalities>;
1627
+ export type ResponseBodyModalities = ClosedEnum<typeof ResponseBodyModalities>;
1466
1628
  /**
1467
1629
  * The key of the guardrail.
1468
1630
  */
@@ -1475,44 +1637,44 @@ export declare const CreateAgentRequestIdAgents1: {
1475
1637
  * The key of the guardrail.
1476
1638
  */
1477
1639
  export type CreateAgentRequestIdAgents1 = ClosedEnum<typeof CreateAgentRequestIdAgents1>;
1478
- export type CreateAgentRequestId = CreateAgentRequestIdAgents1 | string;
1640
+ export type ResponseBodyId = CreateAgentRequestIdAgents1 | string;
1479
1641
  /**
1480
1642
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1481
1643
  */
1482
- export declare const CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn: {
1644
+ export declare const CreateAgentRequestResponseBodyAgentsExecuteOn: {
1483
1645
  readonly Input: "input";
1484
1646
  readonly Output: "output";
1485
1647
  };
1486
1648
  /**
1487
1649
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1488
1650
  */
1489
- export type CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn = ClosedEnum<typeof CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn>;
1490
- export type CreateAgentRequestAgentsResponseGuardrails = {
1651
+ export type CreateAgentRequestResponseBodyAgentsExecuteOn = ClosedEnum<typeof CreateAgentRequestResponseBodyAgentsExecuteOn>;
1652
+ export type CreateAgentRequestResponseBodyGuardrails = {
1491
1653
  id: CreateAgentRequestIdAgents1 | string;
1492
1654
  /**
1493
1655
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1494
1656
  */
1495
- executeOn: CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn;
1657
+ executeOn: CreateAgentRequestResponseBodyAgentsExecuteOn;
1496
1658
  };
1497
- export type CreateAgentRequestFallbacks = {
1659
+ export type ResponseBodyFallbacks = {
1498
1660
  /**
1499
1661
  * Fallback model identifier
1500
1662
  */
1501
1663
  model: string;
1502
1664
  };
1503
- export declare const CreateAgentRequestType: {
1665
+ export declare const CreateAgentRequestResponseBodyAgentsResponseType: {
1504
1666
  readonly ExactMatch: "exact_match";
1505
1667
  };
1506
- export type CreateAgentRequestType = ClosedEnum<typeof CreateAgentRequestType>;
1668
+ export type CreateAgentRequestResponseBodyAgentsResponseType = ClosedEnum<typeof CreateAgentRequestResponseBodyAgentsResponseType>;
1507
1669
  /**
1508
1670
  * Cache configuration for the request.
1509
1671
  */
1510
- export type CreateAgentRequestCache = {
1672
+ export type ResponseBodyCache = {
1511
1673
  /**
1512
1674
  * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
1513
1675
  */
1514
1676
  ttl: number;
1515
- type: CreateAgentRequestType;
1677
+ type: CreateAgentRequestResponseBodyAgentsResponseType;
1516
1678
  };
1517
1679
  export declare const CreateAgentRequestLoadBalancerAgentsType: {
1518
1680
  readonly WeightBased: "weight_based";
@@ -1535,11 +1697,11 @@ export type CreateAgentRequestLoadBalancerAgents1 = {
1535
1697
  /**
1536
1698
  * Load balancer configuration for the request.
1537
1699
  */
1538
- export type CreateAgentRequestLoadBalancer = CreateAgentRequestLoadBalancerAgents1;
1700
+ export type ResponseBodyLoadBalancer = CreateAgentRequestLoadBalancerAgents1;
1539
1701
  /**
1540
1702
  * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
1541
1703
  */
1542
- export type CreateAgentRequestTimeout = {
1704
+ export type ResponseBodyTimeout = {
1543
1705
  /**
1544
1706
  * Timeout value in milliseconds
1545
1707
  */
@@ -1548,7 +1710,7 @@ export type CreateAgentRequestTimeout = {
1548
1710
  /**
1549
1711
  * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
1550
1712
  */
1551
- export type CreateAgentRequestParameters = {
1713
+ export type ResponseBodyParameters = {
1552
1714
  /**
1553
1715
  * The name to display on the trace. If not specified, the default system name will be used.
1554
1716
  */
@@ -1589,7 +1751,7 @@ export type CreateAgentRequestParameters = {
1589
1751
  *
1590
1752
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1591
1753
  */
1592
- reasoningEffort?: CreateAgentRequestReasoningEffort | undefined;
1754
+ reasoningEffort?: ResponseBodyReasoningEffort | undefined;
1593
1755
  /**
1594
1756
  * Adjusts response verbosity. Lower levels yield shorter answers.
1595
1757
  */
@@ -1626,19 +1788,19 @@ export type CreateAgentRequestParameters = {
1626
1788
  /**
1627
1789
  * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
1628
1790
  */
1629
- modalities?: Array<CreateAgentRequestModalities> | null | undefined;
1791
+ modalities?: Array<ResponseBodyModalities> | null | undefined;
1630
1792
  /**
1631
1793
  * A list of guardrails to apply to the request.
1632
1794
  */
1633
- guardrails?: Array<CreateAgentRequestAgentsResponseGuardrails> | undefined;
1795
+ guardrails?: Array<CreateAgentRequestResponseBodyGuardrails> | undefined;
1634
1796
  /**
1635
1797
  * Array of fallback models to use if primary model fails
1636
1798
  */
1637
- fallbacks?: Array<CreateAgentRequestFallbacks> | undefined;
1799
+ fallbacks?: Array<ResponseBodyFallbacks> | undefined;
1638
1800
  /**
1639
1801
  * Cache configuration for the request.
1640
1802
  */
1641
- cache?: CreateAgentRequestCache | undefined;
1803
+ cache?: ResponseBodyCache | undefined;
1642
1804
  /**
1643
1805
  * Load balancer configuration for the request.
1644
1806
  */
@@ -1646,12 +1808,12 @@ export type CreateAgentRequestParameters = {
1646
1808
  /**
1647
1809
  * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
1648
1810
  */
1649
- timeout?: CreateAgentRequestTimeout | undefined;
1811
+ timeout?: ResponseBodyTimeout | undefined;
1650
1812
  };
1651
1813
  /**
1652
1814
  * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
1653
1815
  */
1654
- export type CreateAgentRequestRetry = {
1816
+ export type ResponseBodyRetry = {
1655
1817
  /**
1656
1818
  * Number of retry attempts (1-5)
1657
1819
  */
@@ -2002,7 +2164,7 @@ export type CreateAgentRequestFallbackModelConfiguration2 = {
2002
2164
  /**
2003
2165
  * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
2004
2166
  */
2005
- export type CreateAgentRequestFallbackModelConfiguration = CreateAgentRequestFallbackModelConfiguration2 | string;
2167
+ export type ResponseBodyFallbackModelConfiguration = CreateAgentRequestFallbackModelConfiguration2 | string;
2006
2168
  export type Model = {
2007
2169
  /**
2008
2170
  * The database ID of the primary model
@@ -2015,45 +2177,17 @@ export type Model = {
2015
2177
  /**
2016
2178
  * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
2017
2179
  */
2018
- parameters?: CreateAgentRequestParameters | undefined;
2180
+ parameters?: ResponseBodyParameters | undefined;
2019
2181
  /**
2020
2182
  * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
2021
2183
  */
2022
- retry?: CreateAgentRequestRetry | undefined;
2184
+ retry?: ResponseBodyRetry | undefined;
2023
2185
  /**
2024
2186
  * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
2025
2187
  */
2026
2188
  fallbackModels?: Array<CreateAgentRequestFallbackModelConfiguration2 | string> | null | undefined;
2027
2189
  };
2028
- export type CreateAgentRequestTeamOfAgents = {
2029
- /**
2030
- * The unique key of the agent within the workspace
2031
- */
2032
- key: string;
2033
- /**
2034
- * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
2035
- */
2036
- role?: string | undefined;
2037
- };
2038
- export type Metrics = {
2039
- totalCost: number;
2040
- };
2041
- export type CreateAgentRequestKnowledgeBases = {
2042
- /**
2043
- * Unique identifier of the knowledge base to search
2044
- */
2045
- knowledgeId: string;
2046
- };
2047
- export declare const CreateAgentRequestSource: {
2048
- readonly Internal: "internal";
2049
- readonly External: "external";
2050
- readonly Experiment: "experiment";
2051
- };
2052
- export type CreateAgentRequestSource = ClosedEnum<typeof CreateAgentRequestSource>;
2053
- /**
2054
- * Agent successfully created and ready for use. Returns the complete agent manifest including the generated ID, configuration, and all settings.
2055
- */
2056
- export type CreateAgentRequestResponseBody = {
2190
+ export type ResponseBody1 = {
2057
2191
  id: string;
2058
2192
  /**
2059
2193
  * Unique identifier for the agent within the workspace
@@ -2065,16 +2199,10 @@ export type CreateAgentRequestResponseBody = {
2065
2199
  updatedById?: string | null | undefined;
2066
2200
  created?: string | undefined;
2067
2201
  updated?: string | undefined;
2068
- role: string;
2069
- description: string;
2070
- systemPrompt?: string | undefined;
2071
- instructions: string;
2072
2202
  /**
2073
2203
  * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
2074
2204
  */
2075
- status: CreateAgentRequestStatus;
2076
- settings?: CreateAgentRequestSettings | undefined;
2077
- model: Model;
2205
+ status: CreateAgentRequestResponseBodyStatus;
2078
2206
  versionHash?: string | undefined;
2079
2207
  /**
2080
2208
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -2089,12 +2217,12 @@ export type CreateAgentRequestResponseBody = {
2089
2217
  /**
2090
2218
  * Array of memory store identifiers. Accepts both memory store IDs and keys.
2091
2219
  */
2092
- memoryStores: Array<string>;
2220
+ memoryStores?: Array<string> | undefined;
2093
2221
  /**
2094
2222
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
2095
2223
  */
2096
- teamOfAgents: Array<CreateAgentRequestTeamOfAgents>;
2097
- metrics?: Metrics | undefined;
2224
+ teamOfAgents?: Array<ResponseBodyTeamOfAgents> | undefined;
2225
+ metrics?: ResponseBodyMetrics | undefined;
2098
2226
  /**
2099
2227
  * Extracted variables from agent instructions
2100
2228
  */
@@ -2104,9 +2232,23 @@ export type CreateAgentRequestResponseBody = {
2104
2232
  /**
2105
2233
  * Agent knowledge bases reference
2106
2234
  */
2107
- knowledgeBases?: Array<CreateAgentRequestKnowledgeBases> | undefined;
2108
- source?: CreateAgentRequestSource | undefined;
2235
+ knowledgeBases?: Array<ResponseBodyKnowledgeBases> | undefined;
2236
+ source?: ResponseBodySource | undefined;
2237
+ /**
2238
+ * Orquesta-managed agent
2239
+ */
2240
+ type: "internal";
2241
+ role: string;
2242
+ description: string;
2243
+ systemPrompt?: string | undefined;
2244
+ instructions: string;
2245
+ settings?: ResponseBodySettings | undefined;
2246
+ model: Model;
2109
2247
  };
2248
+ /**
2249
+ * Agent successfully created and ready for use. Returns the complete agent manifest including the generated ID, configuration, and all settings.
2250
+ */
2251
+ export type CreateAgentRequestResponseBody = ResponseBody1 | ResponseBody2;
2110
2252
  /** @internal */
2111
2253
  export type ResponseFormatJsonSchema$Outbound = {
2112
2254
  description?: string | undefined;
@@ -2747,28 +2889,61 @@ export type CreateAgentRequestRequestBody$Outbound = {
2747
2889
  export declare const CreateAgentRequestRequestBody$outboundSchema: z.ZodType<CreateAgentRequestRequestBody$Outbound, z.ZodTypeDef, CreateAgentRequestRequestBody>;
2748
2890
  export declare function createAgentRequestRequestBodyToJSON(createAgentRequestRequestBody: CreateAgentRequestRequestBody): string;
2749
2891
  /** @internal */
2750
- export declare const CreateAgentRequestStatus$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestStatus>;
2892
+ export declare const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyStatus>;
2893
+ /** @internal */
2894
+ export declare const CreateAgentRequestResponseBodyTeamOfAgents$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyTeamOfAgents, z.ZodTypeDef, unknown>;
2895
+ export declare function createAgentRequestResponseBodyTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyTeamOfAgents, SDKValidationError>;
2896
+ /** @internal */
2897
+ export declare const CreateAgentRequestResponseBodyMetrics$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyMetrics, z.ZodTypeDef, unknown>;
2898
+ export declare function createAgentRequestResponseBodyMetricsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyMetrics, SDKValidationError>;
2899
+ /** @internal */
2900
+ export declare const CreateAgentRequestResponseBodyKnowledgeBases$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyKnowledgeBases, z.ZodTypeDef, unknown>;
2901
+ export declare function createAgentRequestResponseBodyKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyKnowledgeBases, SDKValidationError>;
2902
+ /** @internal */
2903
+ export declare const CreateAgentRequestResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodySource>;
2751
2904
  /** @internal */
2752
- export declare const CreateAgentRequestToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestToolApprovalRequired>;
2905
+ export declare const ResponseBodyHeaders$inboundSchema: z.ZodType<ResponseBodyHeaders, z.ZodTypeDef, unknown>;
2906
+ export declare function responseBodyHeadersFromJSON(jsonString: string): SafeParseResult<ResponseBodyHeaders, SDKValidationError>;
2907
+ /** @internal */
2908
+ export declare const A2AAgentConfiguration$inboundSchema: z.ZodType<A2AAgentConfiguration, z.ZodTypeDef, unknown>;
2909
+ export declare function a2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<A2AAgentConfiguration, SDKValidationError>;
2910
+ /** @internal */
2911
+ export declare const ResponseBody2$inboundSchema: z.ZodType<ResponseBody2, z.ZodTypeDef, unknown>;
2912
+ export declare function responseBody2FromJSON(jsonString: string): SafeParseResult<ResponseBody2, SDKValidationError>;
2913
+ /** @internal */
2914
+ export declare const CreateAgentRequestResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyStatus>;
2915
+ /** @internal */
2916
+ export declare const ResponseBodyTeamOfAgents$inboundSchema: z.ZodType<ResponseBodyTeamOfAgents, z.ZodTypeDef, unknown>;
2917
+ export declare function responseBodyTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<ResponseBodyTeamOfAgents, SDKValidationError>;
2918
+ /** @internal */
2919
+ export declare const ResponseBodyMetrics$inboundSchema: z.ZodType<ResponseBodyMetrics, z.ZodTypeDef, unknown>;
2920
+ export declare function responseBodyMetricsFromJSON(jsonString: string): SafeParseResult<ResponseBodyMetrics, SDKValidationError>;
2921
+ /** @internal */
2922
+ export declare const ResponseBodyKnowledgeBases$inboundSchema: z.ZodType<ResponseBodyKnowledgeBases, z.ZodTypeDef, unknown>;
2923
+ export declare function responseBodyKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<ResponseBodyKnowledgeBases, SDKValidationError>;
2924
+ /** @internal */
2925
+ export declare const ResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof ResponseBodySource>;
2926
+ /** @internal */
2927
+ export declare const ResponseBodyToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyToolApprovalRequired>;
2753
2928
  /** @internal */
2754
2929
  export declare const Conditions$inboundSchema: z.ZodType<Conditions, z.ZodTypeDef, unknown>;
2755
2930
  export declare function conditionsFromJSON(jsonString: string): SafeParseResult<Conditions, SDKValidationError>;
2756
2931
  /** @internal */
2757
- export declare const CreateAgentRequestTools$inboundSchema: z.ZodType<CreateAgentRequestTools, z.ZodTypeDef, unknown>;
2758
- export declare function createAgentRequestToolsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestTools, SDKValidationError>;
2932
+ export declare const ResponseBodyTools$inboundSchema: z.ZodType<ResponseBodyTools, z.ZodTypeDef, unknown>;
2933
+ export declare function responseBodyToolsFromJSON(jsonString: string): SafeParseResult<ResponseBodyTools, SDKValidationError>;
2759
2934
  /** @internal */
2760
- export declare const CreateAgentRequestAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentsResponseExecuteOn>;
2935
+ export declare const ResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyExecuteOn>;
2761
2936
  /** @internal */
2762
- export declare const CreateAgentRequestEvaluators$inboundSchema: z.ZodType<CreateAgentRequestEvaluators, z.ZodTypeDef, unknown>;
2763
- export declare function createAgentRequestEvaluatorsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestEvaluators, SDKValidationError>;
2937
+ export declare const ResponseBodyEvaluators$inboundSchema: z.ZodType<ResponseBodyEvaluators, z.ZodTypeDef, unknown>;
2938
+ export declare function responseBodyEvaluatorsFromJSON(jsonString: string): SafeParseResult<ResponseBodyEvaluators, SDKValidationError>;
2764
2939
  /** @internal */
2765
- export declare const CreateAgentRequestAgentsResponse201ExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentsResponse201ExecuteOn>;
2940
+ export declare const CreateAgentRequestResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyExecuteOn>;
2766
2941
  /** @internal */
2767
- export declare const CreateAgentRequestAgentsGuardrails$inboundSchema: z.ZodType<CreateAgentRequestAgentsGuardrails, z.ZodTypeDef, unknown>;
2768
- export declare function createAgentRequestAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestAgentsGuardrails, SDKValidationError>;
2942
+ export declare const ResponseBodyGuardrails$inboundSchema: z.ZodType<ResponseBodyGuardrails, z.ZodTypeDef, unknown>;
2943
+ export declare function responseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<ResponseBodyGuardrails, SDKValidationError>;
2769
2944
  /** @internal */
2770
- export declare const CreateAgentRequestSettings$inboundSchema: z.ZodType<CreateAgentRequestSettings, z.ZodTypeDef, unknown>;
2771
- export declare function createAgentRequestSettingsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestSettings, SDKValidationError>;
2945
+ export declare const ResponseBodySettings$inboundSchema: z.ZodType<ResponseBodySettings, z.ZodTypeDef, unknown>;
2946
+ export declare function responseBodySettingsFromJSON(jsonString: string): SafeParseResult<ResponseBodySettings, SDKValidationError>;
2772
2947
  /** @internal */
2773
2948
  export declare const CreateAgentRequestResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
2774
2949
  export declare function createAgentRequestResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
@@ -2782,16 +2957,16 @@ export declare function createAgentRequestResponseFormatJSONObjectFromJSON(jsonS
2782
2957
  export declare const CreateAgentRequestResponseFormatText$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatText, z.ZodTypeDef, unknown>;
2783
2958
  export declare function createAgentRequestResponseFormatTextFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatText, SDKValidationError>;
2784
2959
  /** @internal */
2785
- export declare const CreateAgentRequestResponseFormat$inboundSchema: z.ZodType<CreateAgentRequestResponseFormat, z.ZodTypeDef, unknown>;
2786
- export declare function createAgentRequestResponseFormatFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormat, SDKValidationError>;
2960
+ export declare const ResponseBodyResponseFormat$inboundSchema: z.ZodType<ResponseBodyResponseFormat, z.ZodTypeDef, unknown>;
2961
+ export declare function responseBodyResponseFormatFromJSON(jsonString: string): SafeParseResult<ResponseBodyResponseFormat, SDKValidationError>;
2787
2962
  /** @internal */
2788
- export declare const CreateAgentRequestReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestReasoningEffort>;
2963
+ export declare const ResponseBodyReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyReasoningEffort>;
2789
2964
  /** @internal */
2790
- export declare const CreateAgentRequestStop$inboundSchema: z.ZodType<CreateAgentRequestStop, z.ZodTypeDef, unknown>;
2791
- export declare function createAgentRequestStopFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestStop, SDKValidationError>;
2965
+ export declare const ResponseBodyStop$inboundSchema: z.ZodType<ResponseBodyStop, z.ZodTypeDef, unknown>;
2966
+ export declare function responseBodyStopFromJSON(jsonString: string): SafeParseResult<ResponseBodyStop, SDKValidationError>;
2792
2967
  /** @internal */
2793
- export declare const CreateAgentRequestThinking$inboundSchema: z.ZodType<CreateAgentRequestThinking, z.ZodTypeDef, unknown>;
2794
- export declare function createAgentRequestThinkingFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestThinking, SDKValidationError>;
2968
+ export declare const ResponseBodyThinking$inboundSchema: z.ZodType<ResponseBodyThinking, z.ZodTypeDef, unknown>;
2969
+ export declare function responseBodyThinkingFromJSON(jsonString: string): SafeParseResult<ResponseBodyThinking, SDKValidationError>;
2795
2970
  /** @internal */
2796
2971
  export declare const CreateAgentRequestToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestToolChoiceAgentsType>;
2797
2972
  /** @internal */
@@ -2803,28 +2978,28 @@ export declare function createAgentRequestToolChoiceAgents2FromJSON(jsonString:
2803
2978
  /** @internal */
2804
2979
  export declare const CreateAgentRequestToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestToolChoiceAgents1>;
2805
2980
  /** @internal */
2806
- export declare const CreateAgentRequestToolChoice$inboundSchema: z.ZodType<CreateAgentRequestToolChoice, z.ZodTypeDef, unknown>;
2807
- export declare function createAgentRequestToolChoiceFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestToolChoice, SDKValidationError>;
2981
+ export declare const ResponseBodyToolChoice$inboundSchema: z.ZodType<ResponseBodyToolChoice, z.ZodTypeDef, unknown>;
2982
+ export declare function responseBodyToolChoiceFromJSON(jsonString: string): SafeParseResult<ResponseBodyToolChoice, SDKValidationError>;
2808
2983
  /** @internal */
2809
- export declare const CreateAgentRequestModalities$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestModalities>;
2984
+ export declare const ResponseBodyModalities$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyModalities>;
2810
2985
  /** @internal */
2811
2986
  export declare const CreateAgentRequestIdAgents1$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestIdAgents1>;
2812
2987
  /** @internal */
2813
- export declare const CreateAgentRequestId$inboundSchema: z.ZodType<CreateAgentRequestId, z.ZodTypeDef, unknown>;
2814
- export declare function createAgentRequestIdFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestId, SDKValidationError>;
2988
+ export declare const ResponseBodyId$inboundSchema: z.ZodType<ResponseBodyId, z.ZodTypeDef, unknown>;
2989
+ export declare function responseBodyIdFromJSON(jsonString: string): SafeParseResult<ResponseBodyId, SDKValidationError>;
2815
2990
  /** @internal */
2816
- export declare const CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn>;
2991
+ export declare const CreateAgentRequestResponseBodyAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyAgentsExecuteOn>;
2817
2992
  /** @internal */
2818
- export declare const CreateAgentRequestAgentsResponseGuardrails$inboundSchema: z.ZodType<CreateAgentRequestAgentsResponseGuardrails, z.ZodTypeDef, unknown>;
2819
- export declare function createAgentRequestAgentsResponseGuardrailsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestAgentsResponseGuardrails, SDKValidationError>;
2993
+ export declare const CreateAgentRequestResponseBodyGuardrails$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyGuardrails, z.ZodTypeDef, unknown>;
2994
+ export declare function createAgentRequestResponseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyGuardrails, SDKValidationError>;
2820
2995
  /** @internal */
2821
- export declare const CreateAgentRequestFallbacks$inboundSchema: z.ZodType<CreateAgentRequestFallbacks, z.ZodTypeDef, unknown>;
2822
- export declare function createAgentRequestFallbacksFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbacks, SDKValidationError>;
2996
+ export declare const ResponseBodyFallbacks$inboundSchema: z.ZodType<ResponseBodyFallbacks, z.ZodTypeDef, unknown>;
2997
+ export declare function responseBodyFallbacksFromJSON(jsonString: string): SafeParseResult<ResponseBodyFallbacks, SDKValidationError>;
2823
2998
  /** @internal */
2824
- export declare const CreateAgentRequestType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestType>;
2999
+ export declare const CreateAgentRequestResponseBodyAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyAgentsResponseType>;
2825
3000
  /** @internal */
2826
- export declare const CreateAgentRequestCache$inboundSchema: z.ZodType<CreateAgentRequestCache, z.ZodTypeDef, unknown>;
2827
- export declare function createAgentRequestCacheFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestCache, SDKValidationError>;
3001
+ export declare const ResponseBodyCache$inboundSchema: z.ZodType<ResponseBodyCache, z.ZodTypeDef, unknown>;
3002
+ export declare function responseBodyCacheFromJSON(jsonString: string): SafeParseResult<ResponseBodyCache, SDKValidationError>;
2828
3003
  /** @internal */
2829
3004
  export declare const CreateAgentRequestLoadBalancerAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestLoadBalancerAgentsType>;
2830
3005
  /** @internal */
@@ -2834,17 +3009,17 @@ export declare function createAgentRequestLoadBalancerModelsFromJSON(jsonString:
2834
3009
  export declare const CreateAgentRequestLoadBalancerAgents1$inboundSchema: z.ZodType<CreateAgentRequestLoadBalancerAgents1, z.ZodTypeDef, unknown>;
2835
3010
  export declare function createAgentRequestLoadBalancerAgents1FromJSON(jsonString: string): SafeParseResult<CreateAgentRequestLoadBalancerAgents1, SDKValidationError>;
2836
3011
  /** @internal */
2837
- export declare const CreateAgentRequestLoadBalancer$inboundSchema: z.ZodType<CreateAgentRequestLoadBalancer, z.ZodTypeDef, unknown>;
2838
- export declare function createAgentRequestLoadBalancerFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestLoadBalancer, SDKValidationError>;
3012
+ export declare const ResponseBodyLoadBalancer$inboundSchema: z.ZodType<ResponseBodyLoadBalancer, z.ZodTypeDef, unknown>;
3013
+ export declare function responseBodyLoadBalancerFromJSON(jsonString: string): SafeParseResult<ResponseBodyLoadBalancer, SDKValidationError>;
2839
3014
  /** @internal */
2840
- export declare const CreateAgentRequestTimeout$inboundSchema: z.ZodType<CreateAgentRequestTimeout, z.ZodTypeDef, unknown>;
2841
- export declare function createAgentRequestTimeoutFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestTimeout, SDKValidationError>;
3015
+ export declare const ResponseBodyTimeout$inboundSchema: z.ZodType<ResponseBodyTimeout, z.ZodTypeDef, unknown>;
3016
+ export declare function responseBodyTimeoutFromJSON(jsonString: string): SafeParseResult<ResponseBodyTimeout, SDKValidationError>;
2842
3017
  /** @internal */
2843
- export declare const CreateAgentRequestParameters$inboundSchema: z.ZodType<CreateAgentRequestParameters, z.ZodTypeDef, unknown>;
2844
- export declare function createAgentRequestParametersFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestParameters, SDKValidationError>;
3018
+ export declare const ResponseBodyParameters$inboundSchema: z.ZodType<ResponseBodyParameters, z.ZodTypeDef, unknown>;
3019
+ export declare function responseBodyParametersFromJSON(jsonString: string): SafeParseResult<ResponseBodyParameters, SDKValidationError>;
2845
3020
  /** @internal */
2846
- export declare const CreateAgentRequestRetry$inboundSchema: z.ZodType<CreateAgentRequestRetry, z.ZodTypeDef, unknown>;
2847
- export declare function createAgentRequestRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestRetry, SDKValidationError>;
3021
+ export declare const ResponseBodyRetry$inboundSchema: z.ZodType<ResponseBodyRetry, z.ZodTypeDef, unknown>;
3022
+ export declare function responseBodyRetryFromJSON(jsonString: string): SafeParseResult<ResponseBodyRetry, SDKValidationError>;
2848
3023
  /** @internal */
2849
3024
  export declare const CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema, z.ZodTypeDef, unknown>;
2850
3025
  export declare function createAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchemaFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema, SDKValidationError>;
@@ -2925,22 +3100,14 @@ export declare function createAgentRequestFallbackModelConfigurationRetryFromJSO
2925
3100
  export declare const CreateAgentRequestFallbackModelConfiguration2$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
2926
3101
  export declare function createAgentRequestFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfiguration2, SDKValidationError>;
2927
3102
  /** @internal */
2928
- export declare const CreateAgentRequestFallbackModelConfiguration$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfiguration, z.ZodTypeDef, unknown>;
2929
- export declare function createAgentRequestFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfiguration, SDKValidationError>;
3103
+ export declare const ResponseBodyFallbackModelConfiguration$inboundSchema: z.ZodType<ResponseBodyFallbackModelConfiguration, z.ZodTypeDef, unknown>;
3104
+ export declare function responseBodyFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<ResponseBodyFallbackModelConfiguration, SDKValidationError>;
2930
3105
  /** @internal */
2931
3106
  export declare const Model$inboundSchema: z.ZodType<Model, z.ZodTypeDef, unknown>;
2932
3107
  export declare function modelFromJSON(jsonString: string): SafeParseResult<Model, SDKValidationError>;
2933
3108
  /** @internal */
2934
- export declare const CreateAgentRequestTeamOfAgents$inboundSchema: z.ZodType<CreateAgentRequestTeamOfAgents, z.ZodTypeDef, unknown>;
2935
- export declare function createAgentRequestTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestTeamOfAgents, SDKValidationError>;
2936
- /** @internal */
2937
- export declare const Metrics$inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown>;
2938
- export declare function metricsFromJSON(jsonString: string): SafeParseResult<Metrics, SDKValidationError>;
2939
- /** @internal */
2940
- export declare const CreateAgentRequestKnowledgeBases$inboundSchema: z.ZodType<CreateAgentRequestKnowledgeBases, z.ZodTypeDef, unknown>;
2941
- export declare function createAgentRequestKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestKnowledgeBases, SDKValidationError>;
2942
- /** @internal */
2943
- export declare const CreateAgentRequestSource$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestSource>;
3109
+ export declare const ResponseBody1$inboundSchema: z.ZodType<ResponseBody1, z.ZodTypeDef, unknown>;
3110
+ export declare function responseBody1FromJSON(jsonString: string): SafeParseResult<ResponseBody1, SDKValidationError>;
2944
3111
  /** @internal */
2945
3112
  export declare const CreateAgentRequestResponseBody$inboundSchema: z.ZodType<CreateAgentRequestResponseBody, z.ZodTypeDef, unknown>;
2946
3113
  export declare function createAgentRequestResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBody, SDKValidationError>;