@orq-ai/node 4.5.0-rc.40 → 4.5.0-rc.42

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 (103) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/partdoneevent.js +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createagentrequest.d.ts +161 -271
  7. package/models/operations/createagentrequest.d.ts.map +1 -1
  8. package/models/operations/createagentrequest.js +162 -256
  9. package/models/operations/createagentrequest.js.map +1 -1
  10. package/models/operations/createcontact.js +1 -1
  11. package/models/operations/createdataset.js +1 -1
  12. package/models/operations/createdatasetitem.js +4 -4
  13. package/models/operations/createdatasource.js +1 -1
  14. package/models/operations/createeval.js +16 -16
  15. package/models/operations/createidentity.js +1 -1
  16. package/models/operations/createknowledge.d.ts +7 -7
  17. package/models/operations/createknowledge.d.ts.map +1 -1
  18. package/models/operations/createknowledge.js +11 -11
  19. package/models/operations/createknowledge.js.map +1 -1
  20. package/models/operations/createtool.d.ts +39 -39
  21. package/models/operations/createtool.d.ts.map +1 -1
  22. package/models/operations/createtool.js +49 -52
  23. package/models/operations/createtool.js.map +1 -1
  24. package/models/operations/fileget.js +1 -1
  25. package/models/operations/filelist.js +1 -1
  26. package/models/operations/fileupload.js +1 -1
  27. package/models/operations/getalltools.d.ts +39 -39
  28. package/models/operations/getalltools.d.ts.map +1 -1
  29. package/models/operations/getalltools.js +47 -49
  30. package/models/operations/getalltools.js.map +1 -1
  31. package/models/operations/getevals.js +16 -16
  32. package/models/operations/listagents.d.ts +167 -276
  33. package/models/operations/listagents.d.ts.map +1 -1
  34. package/models/operations/listagents.js +172 -266
  35. package/models/operations/listagents.js.map +1 -1
  36. package/models/operations/listdatasetdatapoints.js +4 -4
  37. package/models/operations/listdatasets.js +1 -1
  38. package/models/operations/listdatasources.js +1 -1
  39. package/models/operations/listidentities.js +1 -1
  40. package/models/operations/listknowledgebases.d.ts +8 -8
  41. package/models/operations/listknowledgebases.d.ts.map +1 -1
  42. package/models/operations/listknowledgebases.js +15 -13
  43. package/models/operations/listknowledgebases.js.map +1 -1
  44. package/models/operations/retrieveagentrequest.d.ts +169 -279
  45. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  46. package/models/operations/retrieveagentrequest.js +173 -270
  47. package/models/operations/retrieveagentrequest.js.map +1 -1
  48. package/models/operations/retrievedatapoint.js +4 -4
  49. package/models/operations/retrievedataset.js +1 -1
  50. package/models/operations/retrievedatasource.js +1 -1
  51. package/models/operations/retrieveidentity.js +1 -1
  52. package/models/operations/retrievetool.js +6 -6
  53. package/models/operations/runagent.js +1 -1
  54. package/models/operations/streamrunagent.js +1 -1
  55. package/models/operations/updateagent.d.ts +169 -279
  56. package/models/operations/updateagent.d.ts.map +1 -1
  57. package/models/operations/updateagent.js +174 -270
  58. package/models/operations/updateagent.js.map +1 -1
  59. package/models/operations/updatedatapoint.js +4 -4
  60. package/models/operations/updatedataset.js +1 -1
  61. package/models/operations/updatedatasource.js +1 -1
  62. package/models/operations/updateeval.js +16 -16
  63. package/models/operations/updateidentity.js +1 -1
  64. package/models/operations/updatetool.js +7 -7
  65. package/package.json +1 -1
  66. package/src/lib/config.ts +2 -2
  67. package/src/models/components/partdoneevent.ts +1 -1
  68. package/src/models/components/reasoningpart.ts +1 -1
  69. package/src/models/operations/createagentrequest.ts +376 -619
  70. package/src/models/operations/createcontact.ts +1 -1
  71. package/src/models/operations/createdataset.ts +1 -1
  72. package/src/models/operations/createdatasetitem.ts +4 -4
  73. package/src/models/operations/createdatasource.ts +1 -1
  74. package/src/models/operations/createeval.ts +16 -16
  75. package/src/models/operations/createidentity.ts +1 -1
  76. package/src/models/operations/createknowledge.ts +17 -19
  77. package/src/models/operations/createtool.ts +91 -103
  78. package/src/models/operations/fileget.ts +1 -1
  79. package/src/models/operations/filelist.ts +1 -1
  80. package/src/models/operations/fileupload.ts +1 -1
  81. package/src/models/operations/getalltools.ts +87 -93
  82. package/src/models/operations/getevals.ts +16 -16
  83. package/src/models/operations/listagents.ts +383 -611
  84. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  85. package/src/models/operations/listdatasets.ts +1 -1
  86. package/src/models/operations/listdatasources.ts +1 -1
  87. package/src/models/operations/listidentities.ts +1 -1
  88. package/src/models/operations/listknowledgebases.ts +64 -72
  89. package/src/models/operations/retrieveagentrequest.ts +489 -884
  90. package/src/models/operations/retrievedatapoint.ts +4 -4
  91. package/src/models/operations/retrievedataset.ts +1 -1
  92. package/src/models/operations/retrievedatasource.ts +1 -1
  93. package/src/models/operations/retrieveidentity.ts +1 -1
  94. package/src/models/operations/retrievetool.ts +6 -6
  95. package/src/models/operations/runagent.ts +1 -1
  96. package/src/models/operations/streamrunagent.ts +1 -1
  97. package/src/models/operations/updateagent.ts +362 -668
  98. package/src/models/operations/updatedatapoint.ts +4 -4
  99. package/src/models/operations/updatedataset.ts +1 -1
  100. package/src/models/operations/updatedatasource.ts +1 -1
  101. package/src/models/operations/updateeval.ts +16 -16
  102. package/src/models/operations/updateidentity.ts +1 -1
  103. package/src/models/operations/updatetool.ts +7 -7
@@ -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 ResponseBodyStatus: {
1204
+ export declare const CreateAgentRequestStatus: {
1205
1205
  readonly Live: "live";
1206
1206
  readonly Draft: "draft";
1207
1207
  readonly Pending: "pending";
@@ -1210,8 +1210,8 @@ export declare const ResponseBodyStatus: {
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 ResponseBodyStatus = ClosedEnum<typeof ResponseBodyStatus>;
1214
- export type CreateAgentRequestResponseBodyTeamOfAgents = {
1213
+ export type CreateAgentRequestStatus = ClosedEnum<typeof CreateAgentRequestStatus>;
1214
+ export type CreateAgentRequestTeamOfAgents = {
1215
1215
  /**
1216
1216
  * The unique key of the agent within the workspace
1217
1217
  */
@@ -1221,162 +1221,36 @@ export type CreateAgentRequestResponseBodyTeamOfAgents = {
1221
1221
  */
1222
1222
  role?: string | undefined;
1223
1223
  };
1224
- export type CreateAgentRequestResponseBodyMetrics = {
1224
+ export type CreateAgentRequestMetrics = {
1225
1225
  totalCost: number;
1226
1226
  };
1227
- export type CreateAgentRequestResponseBodyKnowledgeBases = {
1227
+ export type CreateAgentRequestKnowledgeBases = {
1228
1228
  /**
1229
1229
  * Unique identifier of the knowledge base to search
1230
1230
  */
1231
1231
  knowledgeId: string;
1232
1232
  };
1233
- export declare const CreateAgentRequestResponseBodySource: {
1233
+ export declare const CreateAgentRequestSource: {
1234
1234
  readonly Internal: "internal";
1235
1235
  readonly External: "external";
1236
1236
  readonly Experiment: "experiment";
1237
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
- };
1238
+ export type CreateAgentRequestSource = ClosedEnum<typeof CreateAgentRequestSource>;
1246
1239
  /**
1247
- * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
1240
+ * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1248
1241
  */
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;
1242
+ export declare const CreateAgentRequestType: {
1243
+ readonly Internal: "internal";
1244
+ readonly A2a: "a2a";
1337
1245
  };
1338
1246
  /**
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.
1247
+ * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1340
1248
  */
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>;
1249
+ export type CreateAgentRequestType = ClosedEnum<typeof CreateAgentRequestType>;
1376
1250
  /**
1377
1251
  * 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.
1378
1252
  */
1379
- export declare const ResponseBodyToolApprovalRequired: {
1253
+ export declare const CreateAgentRequestToolApprovalRequired: {
1380
1254
  readonly All: "all";
1381
1255
  readonly RespectTool: "respect_tool";
1382
1256
  readonly None: "none";
@@ -1384,7 +1258,7 @@ export declare const ResponseBodyToolApprovalRequired: {
1384
1258
  /**
1385
1259
  * 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.
1386
1260
  */
1387
- export type ResponseBodyToolApprovalRequired = ClosedEnum<typeof ResponseBodyToolApprovalRequired>;
1261
+ export type CreateAgentRequestToolApprovalRequired = ClosedEnum<typeof CreateAgentRequestToolApprovalRequired>;
1388
1262
  export type Conditions = {
1389
1263
  /**
1390
1264
  * The argument of the tool call to evaluate
@@ -1399,7 +1273,7 @@ export type Conditions = {
1399
1273
  */
1400
1274
  value: string;
1401
1275
  };
1402
- export type ResponseBodyTools = {
1276
+ export type CreateAgentRequestTools = {
1403
1277
  /**
1404
1278
  * The id of the resource
1405
1279
  */
@@ -1428,15 +1302,15 @@ export type ResponseBodyTools = {
1428
1302
  /**
1429
1303
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1430
1304
  */
1431
- export declare const ResponseBodyExecuteOn: {
1305
+ export declare const CreateAgentRequestAgentsResponseExecuteOn: {
1432
1306
  readonly Input: "input";
1433
1307
  readonly Output: "output";
1434
1308
  };
1435
1309
  /**
1436
1310
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1437
1311
  */
1438
- export type ResponseBodyExecuteOn = ClosedEnum<typeof ResponseBodyExecuteOn>;
1439
- export type ResponseBodyEvaluators = {
1312
+ export type CreateAgentRequestAgentsResponseExecuteOn = ClosedEnum<typeof CreateAgentRequestAgentsResponseExecuteOn>;
1313
+ export type CreateAgentRequestEvaluators = {
1440
1314
  /**
1441
1315
  * Unique key or identifier of the evaluator
1442
1316
  */
@@ -1448,20 +1322,20 @@ export type ResponseBodyEvaluators = {
1448
1322
  /**
1449
1323
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1450
1324
  */
1451
- executeOn: ResponseBodyExecuteOn;
1325
+ executeOn: CreateAgentRequestAgentsResponseExecuteOn;
1452
1326
  };
1453
1327
  /**
1454
1328
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1455
1329
  */
1456
- export declare const CreateAgentRequestResponseBodyExecuteOn: {
1330
+ export declare const CreateAgentRequestAgentsResponse201ExecuteOn: {
1457
1331
  readonly Input: "input";
1458
1332
  readonly Output: "output";
1459
1333
  };
1460
1334
  /**
1461
1335
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1462
1336
  */
1463
- export type CreateAgentRequestResponseBodyExecuteOn = ClosedEnum<typeof CreateAgentRequestResponseBodyExecuteOn>;
1464
- export type ResponseBodyGuardrails = {
1337
+ export type CreateAgentRequestAgentsResponse201ExecuteOn = ClosedEnum<typeof CreateAgentRequestAgentsResponse201ExecuteOn>;
1338
+ export type CreateAgentRequestAgentsGuardrails = {
1465
1339
  /**
1466
1340
  * Unique key or identifier of the evaluator
1467
1341
  */
@@ -1473,9 +1347,9 @@ export type ResponseBodyGuardrails = {
1473
1347
  /**
1474
1348
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
1475
1349
  */
1476
- executeOn: CreateAgentRequestResponseBodyExecuteOn;
1350
+ executeOn: CreateAgentRequestAgentsResponse201ExecuteOn;
1477
1351
  };
1478
- export type ResponseBodySettings = {
1352
+ export type CreateAgentRequestSettings = {
1479
1353
  /**
1480
1354
  * Maximum iterations(llm calls) before the agent will stop executing.
1481
1355
  */
@@ -1491,16 +1365,16 @@ export type ResponseBodySettings = {
1491
1365
  /**
1492
1366
  * 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.
1493
1367
  */
1494
- toolApprovalRequired: ResponseBodyToolApprovalRequired;
1495
- tools?: Array<ResponseBodyTools> | undefined;
1368
+ toolApprovalRequired: CreateAgentRequestToolApprovalRequired;
1369
+ tools?: Array<CreateAgentRequestTools> | undefined;
1496
1370
  /**
1497
1371
  * Configuration for an evaluator applied to the agent
1498
1372
  */
1499
- evaluators?: Array<ResponseBodyEvaluators> | undefined;
1373
+ evaluators?: Array<CreateAgentRequestEvaluators> | undefined;
1500
1374
  /**
1501
1375
  * Configuration for a guardrail applied to the agent
1502
1376
  */
1503
- guardrails?: Array<ResponseBodyGuardrails> | undefined;
1377
+ guardrails?: Array<CreateAgentRequestAgentsGuardrails> | undefined;
1504
1378
  };
1505
1379
  export type CreateAgentRequestResponseFormatAgentsResponseJsonSchema = {
1506
1380
  /**
@@ -1548,7 +1422,7 @@ export type CreateAgentRequestResponseFormatText = {
1548
1422
  /**
1549
1423
  * An object specifying the format that the model must output
1550
1424
  */
1551
- export type ResponseBodyResponseFormat = CreateAgentRequestResponseFormatText | CreateAgentRequestResponseFormatJSONObject | CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
1425
+ export type CreateAgentRequestResponseFormat = CreateAgentRequestResponseFormatText | CreateAgentRequestResponseFormatJSONObject | CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
1552
1426
  /**
1553
1427
  * 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.
1554
1428
  *
@@ -1561,7 +1435,7 @@ export type ResponseBodyResponseFormat = CreateAgentRequestResponseFormatText |
1561
1435
  *
1562
1436
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1563
1437
  */
1564
- export declare const ResponseBodyReasoningEffort: {
1438
+ export declare const CreateAgentRequestReasoningEffort: {
1565
1439
  readonly None: "none";
1566
1440
  readonly Minimal: "minimal";
1567
1441
  readonly Low: "low";
@@ -1581,12 +1455,12 @@ export declare const ResponseBodyReasoningEffort: {
1581
1455
  *
1582
1456
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1583
1457
  */
1584
- export type ResponseBodyReasoningEffort = ClosedEnum<typeof ResponseBodyReasoningEffort>;
1458
+ export type CreateAgentRequestReasoningEffort = ClosedEnum<typeof CreateAgentRequestReasoningEffort>;
1585
1459
  /**
1586
1460
  * Up to 4 sequences where the API will stop generating further tokens.
1587
1461
  */
1588
- export type ResponseBodyStop = string | Array<string>;
1589
- export type ResponseBodyThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1462
+ export type CreateAgentRequestStop = string | Array<string>;
1463
+ export type CreateAgentRequestThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1590
1464
  /**
1591
1465
  * The type of the tool. Currently, only function is supported.
1592
1466
  */
@@ -1619,12 +1493,12 @@ export type CreateAgentRequestToolChoiceAgents1 = ClosedEnum<typeof CreateAgentR
1619
1493
  /**
1620
1494
  * Controls which (if any) tool is called by the model.
1621
1495
  */
1622
- export type ResponseBodyToolChoice = CreateAgentRequestToolChoiceAgents2 | CreateAgentRequestToolChoiceAgents1;
1623
- export declare const ResponseBodyModalities: {
1496
+ export type CreateAgentRequestToolChoice = CreateAgentRequestToolChoiceAgents2 | CreateAgentRequestToolChoiceAgents1;
1497
+ export declare const CreateAgentRequestModalities: {
1624
1498
  readonly Text: "text";
1625
1499
  readonly Audio: "audio";
1626
1500
  };
1627
- export type ResponseBodyModalities = ClosedEnum<typeof ResponseBodyModalities>;
1501
+ export type CreateAgentRequestModalities = ClosedEnum<typeof CreateAgentRequestModalities>;
1628
1502
  /**
1629
1503
  * The key of the guardrail.
1630
1504
  */
@@ -1637,44 +1511,44 @@ export declare const CreateAgentRequestIdAgents1: {
1637
1511
  * The key of the guardrail.
1638
1512
  */
1639
1513
  export type CreateAgentRequestIdAgents1 = ClosedEnum<typeof CreateAgentRequestIdAgents1>;
1640
- export type ResponseBodyId = CreateAgentRequestIdAgents1 | string;
1514
+ export type CreateAgentRequestId = CreateAgentRequestIdAgents1 | string;
1641
1515
  /**
1642
1516
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1643
1517
  */
1644
- export declare const CreateAgentRequestResponseBodyAgentsExecuteOn: {
1518
+ export declare const CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn: {
1645
1519
  readonly Input: "input";
1646
1520
  readonly Output: "output";
1647
1521
  };
1648
1522
  /**
1649
1523
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1650
1524
  */
1651
- export type CreateAgentRequestResponseBodyAgentsExecuteOn = ClosedEnum<typeof CreateAgentRequestResponseBodyAgentsExecuteOn>;
1652
- export type CreateAgentRequestResponseBodyGuardrails = {
1525
+ export type CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn = ClosedEnum<typeof CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn>;
1526
+ export type CreateAgentRequestAgentsResponseGuardrails = {
1653
1527
  id: CreateAgentRequestIdAgents1 | string;
1654
1528
  /**
1655
1529
  * Determines whether the guardrail runs on the input (user message) or output (model response).
1656
1530
  */
1657
- executeOn: CreateAgentRequestResponseBodyAgentsExecuteOn;
1531
+ executeOn: CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn;
1658
1532
  };
1659
- export type ResponseBodyFallbacks = {
1533
+ export type CreateAgentRequestFallbacks = {
1660
1534
  /**
1661
1535
  * Fallback model identifier
1662
1536
  */
1663
1537
  model: string;
1664
1538
  };
1665
- export declare const CreateAgentRequestResponseBodyAgentsResponseType: {
1539
+ export declare const CreateAgentRequestAgentsType: {
1666
1540
  readonly ExactMatch: "exact_match";
1667
1541
  };
1668
- export type CreateAgentRequestResponseBodyAgentsResponseType = ClosedEnum<typeof CreateAgentRequestResponseBodyAgentsResponseType>;
1542
+ export type CreateAgentRequestAgentsType = ClosedEnum<typeof CreateAgentRequestAgentsType>;
1669
1543
  /**
1670
1544
  * Cache configuration for the request.
1671
1545
  */
1672
- export type ResponseBodyCache = {
1546
+ export type CreateAgentRequestCache = {
1673
1547
  /**
1674
1548
  * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
1675
1549
  */
1676
1550
  ttl: number;
1677
- type: CreateAgentRequestResponseBodyAgentsResponseType;
1551
+ type: CreateAgentRequestAgentsType;
1678
1552
  };
1679
1553
  export declare const CreateAgentRequestLoadBalancerAgentsType: {
1680
1554
  readonly WeightBased: "weight_based";
@@ -1697,11 +1571,11 @@ export type CreateAgentRequestLoadBalancerAgents1 = {
1697
1571
  /**
1698
1572
  * Load balancer configuration for the request.
1699
1573
  */
1700
- export type ResponseBodyLoadBalancer = CreateAgentRequestLoadBalancerAgents1;
1574
+ export type CreateAgentRequestLoadBalancer = CreateAgentRequestLoadBalancerAgents1;
1701
1575
  /**
1702
1576
  * 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.
1703
1577
  */
1704
- export type ResponseBodyTimeout = {
1578
+ export type CreateAgentRequestTimeout = {
1705
1579
  /**
1706
1580
  * Timeout value in milliseconds
1707
1581
  */
@@ -1710,7 +1584,7 @@ export type ResponseBodyTimeout = {
1710
1584
  /**
1711
1585
  * 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.
1712
1586
  */
1713
- export type ResponseBodyParameters = {
1587
+ export type CreateAgentRequestParameters = {
1714
1588
  /**
1715
1589
  * The name to display on the trace. If not specified, the default system name will be used.
1716
1590
  */
@@ -1751,7 +1625,7 @@ export type ResponseBodyParameters = {
1751
1625
  *
1752
1626
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1753
1627
  */
1754
- reasoningEffort?: ResponseBodyReasoningEffort | undefined;
1628
+ reasoningEffort?: CreateAgentRequestReasoningEffort | undefined;
1755
1629
  /**
1756
1630
  * Adjusts response verbosity. Lower levels yield shorter answers.
1757
1631
  */
@@ -1788,19 +1662,19 @@ export type ResponseBodyParameters = {
1788
1662
  /**
1789
1663
  * 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"].
1790
1664
  */
1791
- modalities?: Array<ResponseBodyModalities> | null | undefined;
1665
+ modalities?: Array<CreateAgentRequestModalities> | null | undefined;
1792
1666
  /**
1793
1667
  * A list of guardrails to apply to the request.
1794
1668
  */
1795
- guardrails?: Array<CreateAgentRequestResponseBodyGuardrails> | undefined;
1669
+ guardrails?: Array<CreateAgentRequestAgentsResponseGuardrails> | undefined;
1796
1670
  /**
1797
1671
  * Array of fallback models to use if primary model fails
1798
1672
  */
1799
- fallbacks?: Array<ResponseBodyFallbacks> | undefined;
1673
+ fallbacks?: Array<CreateAgentRequestFallbacks> | undefined;
1800
1674
  /**
1801
1675
  * Cache configuration for the request.
1802
1676
  */
1803
- cache?: ResponseBodyCache | undefined;
1677
+ cache?: CreateAgentRequestCache | undefined;
1804
1678
  /**
1805
1679
  * Load balancer configuration for the request.
1806
1680
  */
@@ -1808,12 +1682,12 @@ export type ResponseBodyParameters = {
1808
1682
  /**
1809
1683
  * 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.
1810
1684
  */
1811
- timeout?: ResponseBodyTimeout | undefined;
1685
+ timeout?: CreateAgentRequestTimeout | undefined;
1812
1686
  };
1813
1687
  /**
1814
1688
  * 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).
1815
1689
  */
1816
- export type ResponseBodyRetry = {
1690
+ export type CreateAgentRequestRetry = {
1817
1691
  /**
1818
1692
  * Number of retry attempts (1-5)
1819
1693
  */
@@ -2164,7 +2038,7 @@ export type CreateAgentRequestFallbackModelConfiguration2 = {
2164
2038
  /**
2165
2039
  * 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.
2166
2040
  */
2167
- export type ResponseBodyFallbackModelConfiguration = CreateAgentRequestFallbackModelConfiguration2 | string;
2041
+ export type CreateAgentRequestFallbackModelConfiguration = CreateAgentRequestFallbackModelConfiguration2 | string;
2168
2042
  export type Model = {
2169
2043
  /**
2170
2044
  * The database ID of the primary model
@@ -2177,17 +2051,50 @@ export type Model = {
2177
2051
  /**
2178
2052
  * 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.
2179
2053
  */
2180
- parameters?: ResponseBodyParameters | undefined;
2054
+ parameters?: CreateAgentRequestParameters | undefined;
2181
2055
  /**
2182
2056
  * 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).
2183
2057
  */
2184
- retry?: ResponseBodyRetry | undefined;
2058
+ retry?: CreateAgentRequestRetry | undefined;
2185
2059
  /**
2186
2060
  * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
2187
2061
  */
2188
2062
  fallbackModels?: Array<CreateAgentRequestFallbackModelConfiguration2 | string> | null | undefined;
2189
2063
  };
2190
- export type ResponseBody1 = {
2064
+ export type CreateAgentRequestHeaders = {
2065
+ /**
2066
+ * 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.
2067
+ */
2068
+ value: string;
2069
+ encrypted: boolean;
2070
+ };
2071
+ /**
2072
+ * A2A configuration with agent endpoint and authentication. Only present for A2A agents.
2073
+ */
2074
+ export type A2AAgentConfiguration = {
2075
+ /**
2076
+ * The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
2077
+ */
2078
+ agentUrl: string;
2079
+ /**
2080
+ * Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
2081
+ */
2082
+ cardUrl?: string | undefined;
2083
+ /**
2084
+ * 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.
2085
+ */
2086
+ headers?: {
2087
+ [k: string]: CreateAgentRequestHeaders;
2088
+ } | undefined;
2089
+ /**
2090
+ * Cached agent card from discovery. Refreshed periodically.
2091
+ */
2092
+ cachedCard?: any | undefined;
2093
+ };
2094
+ /**
2095
+ * Agent successfully created and ready for use. Returns the complete agent manifest including the generated ID, configuration, and all settings.
2096
+ */
2097
+ export type CreateAgentRequestResponseBody = {
2191
2098
  id: string;
2192
2099
  /**
2193
2100
  * Unique identifier for the agent within the workspace
@@ -2202,7 +2109,7 @@ export type ResponseBody1 = {
2202
2109
  /**
2203
2110
  * 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.
2204
2111
  */
2205
- status: CreateAgentRequestResponseBodyStatus;
2112
+ status: CreateAgentRequestStatus;
2206
2113
  versionHash?: string | undefined;
2207
2114
  /**
2208
2115
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -2221,8 +2128,8 @@ export type ResponseBody1 = {
2221
2128
  /**
2222
2129
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
2223
2130
  */
2224
- teamOfAgents?: Array<ResponseBodyTeamOfAgents> | undefined;
2225
- metrics?: ResponseBodyMetrics | undefined;
2131
+ teamOfAgents?: Array<CreateAgentRequestTeamOfAgents> | undefined;
2132
+ metrics?: CreateAgentRequestMetrics | undefined;
2226
2133
  /**
2227
2134
  * Extracted variables from agent instructions
2228
2135
  */
@@ -2232,23 +2139,23 @@ export type ResponseBody1 = {
2232
2139
  /**
2233
2140
  * Agent knowledge bases reference
2234
2141
  */
2235
- knowledgeBases?: Array<ResponseBodyKnowledgeBases> | undefined;
2236
- source?: ResponseBodySource | undefined;
2142
+ knowledgeBases?: Array<CreateAgentRequestKnowledgeBases> | undefined;
2143
+ source?: CreateAgentRequestSource | undefined;
2237
2144
  /**
2238
- * Orquesta-managed agent
2145
+ * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
2239
2146
  */
2240
- type: "internal";
2147
+ type: CreateAgentRequestType;
2241
2148
  role: string;
2242
2149
  description: string;
2243
2150
  systemPrompt?: string | undefined;
2244
2151
  instructions: string;
2245
- settings?: ResponseBodySettings | undefined;
2152
+ settings?: CreateAgentRequestSettings | undefined;
2246
2153
  model: Model;
2154
+ /**
2155
+ * A2A configuration with agent endpoint and authentication. Only present for A2A agents.
2156
+ */
2157
+ a2a?: A2AAgentConfiguration | undefined;
2247
2158
  };
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;
2252
2159
  /** @internal */
2253
2160
  export type ResponseFormatJsonSchema$Outbound = {
2254
2161
  description?: string | undefined;
@@ -2889,61 +2796,41 @@ export type CreateAgentRequestRequestBody$Outbound = {
2889
2796
  export declare const CreateAgentRequestRequestBody$outboundSchema: z.ZodType<CreateAgentRequestRequestBody$Outbound, z.ZodTypeDef, CreateAgentRequestRequestBody>;
2890
2797
  export declare function createAgentRequestRequestBodyToJSON(createAgentRequestRequestBody: CreateAgentRequestRequestBody): string;
2891
2798
  /** @internal */
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>;
2799
+ export declare const CreateAgentRequestStatus$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestStatus>;
2896
2800
  /** @internal */
2897
- export declare const CreateAgentRequestResponseBodyMetrics$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyMetrics, z.ZodTypeDef, unknown>;
2898
- export declare function createAgentRequestResponseBodyMetricsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyMetrics, SDKValidationError>;
2801
+ export declare const CreateAgentRequestTeamOfAgents$inboundSchema: z.ZodType<CreateAgentRequestTeamOfAgents, z.ZodTypeDef, unknown>;
2802
+ export declare function createAgentRequestTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestTeamOfAgents, SDKValidationError>;
2899
2803
  /** @internal */
2900
- export declare const CreateAgentRequestResponseBodyKnowledgeBases$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyKnowledgeBases, z.ZodTypeDef, unknown>;
2901
- export declare function createAgentRequestResponseBodyKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyKnowledgeBases, SDKValidationError>;
2804
+ export declare const CreateAgentRequestMetrics$inboundSchema: z.ZodType<CreateAgentRequestMetrics, z.ZodTypeDef, unknown>;
2805
+ export declare function createAgentRequestMetricsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestMetrics, SDKValidationError>;
2902
2806
  /** @internal */
2903
- export declare const CreateAgentRequestResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodySource>;
2807
+ export declare const CreateAgentRequestKnowledgeBases$inboundSchema: z.ZodType<CreateAgentRequestKnowledgeBases, z.ZodTypeDef, unknown>;
2808
+ export declare function createAgentRequestKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestKnowledgeBases, SDKValidationError>;
2904
2809
  /** @internal */
2905
- export declare const ResponseBodyHeaders$inboundSchema: z.ZodType<ResponseBodyHeaders, z.ZodTypeDef, unknown>;
2906
- export declare function responseBodyHeadersFromJSON(jsonString: string): SafeParseResult<ResponseBodyHeaders, SDKValidationError>;
2810
+ export declare const CreateAgentRequestSource$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestSource>;
2907
2811
  /** @internal */
2908
- export declare const A2AAgentConfiguration$inboundSchema: z.ZodType<A2AAgentConfiguration, z.ZodTypeDef, unknown>;
2909
- export declare function a2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<A2AAgentConfiguration, SDKValidationError>;
2812
+ export declare const CreateAgentRequestType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestType>;
2910
2813
  /** @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>;
2814
+ export declare const CreateAgentRequestToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestToolApprovalRequired>;
2928
2815
  /** @internal */
2929
2816
  export declare const Conditions$inboundSchema: z.ZodType<Conditions, z.ZodTypeDef, unknown>;
2930
2817
  export declare function conditionsFromJSON(jsonString: string): SafeParseResult<Conditions, SDKValidationError>;
2931
2818
  /** @internal */
2932
- export declare const ResponseBodyTools$inboundSchema: z.ZodType<ResponseBodyTools, z.ZodTypeDef, unknown>;
2933
- export declare function responseBodyToolsFromJSON(jsonString: string): SafeParseResult<ResponseBodyTools, SDKValidationError>;
2819
+ export declare const CreateAgentRequestTools$inboundSchema: z.ZodType<CreateAgentRequestTools, z.ZodTypeDef, unknown>;
2820
+ export declare function createAgentRequestToolsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestTools, SDKValidationError>;
2934
2821
  /** @internal */
2935
- export declare const ResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyExecuteOn>;
2822
+ export declare const CreateAgentRequestAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentsResponseExecuteOn>;
2936
2823
  /** @internal */
2937
- export declare const ResponseBodyEvaluators$inboundSchema: z.ZodType<ResponseBodyEvaluators, z.ZodTypeDef, unknown>;
2938
- export declare function responseBodyEvaluatorsFromJSON(jsonString: string): SafeParseResult<ResponseBodyEvaluators, SDKValidationError>;
2824
+ export declare const CreateAgentRequestEvaluators$inboundSchema: z.ZodType<CreateAgentRequestEvaluators, z.ZodTypeDef, unknown>;
2825
+ export declare function createAgentRequestEvaluatorsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestEvaluators, SDKValidationError>;
2939
2826
  /** @internal */
2940
- export declare const CreateAgentRequestResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyExecuteOn>;
2827
+ export declare const CreateAgentRequestAgentsResponse201ExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentsResponse201ExecuteOn>;
2941
2828
  /** @internal */
2942
- export declare const ResponseBodyGuardrails$inboundSchema: z.ZodType<ResponseBodyGuardrails, z.ZodTypeDef, unknown>;
2943
- export declare function responseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<ResponseBodyGuardrails, SDKValidationError>;
2829
+ export declare const CreateAgentRequestAgentsGuardrails$inboundSchema: z.ZodType<CreateAgentRequestAgentsGuardrails, z.ZodTypeDef, unknown>;
2830
+ export declare function createAgentRequestAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestAgentsGuardrails, SDKValidationError>;
2944
2831
  /** @internal */
2945
- export declare const ResponseBodySettings$inboundSchema: z.ZodType<ResponseBodySettings, z.ZodTypeDef, unknown>;
2946
- export declare function responseBodySettingsFromJSON(jsonString: string): SafeParseResult<ResponseBodySettings, SDKValidationError>;
2832
+ export declare const CreateAgentRequestSettings$inboundSchema: z.ZodType<CreateAgentRequestSettings, z.ZodTypeDef, unknown>;
2833
+ export declare function createAgentRequestSettingsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestSettings, SDKValidationError>;
2947
2834
  /** @internal */
2948
2835
  export declare const CreateAgentRequestResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
2949
2836
  export declare function createAgentRequestResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
@@ -2957,16 +2844,16 @@ export declare function createAgentRequestResponseFormatJSONObjectFromJSON(jsonS
2957
2844
  export declare const CreateAgentRequestResponseFormatText$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatText, z.ZodTypeDef, unknown>;
2958
2845
  export declare function createAgentRequestResponseFormatTextFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatText, SDKValidationError>;
2959
2846
  /** @internal */
2960
- export declare const ResponseBodyResponseFormat$inboundSchema: z.ZodType<ResponseBodyResponseFormat, z.ZodTypeDef, unknown>;
2961
- export declare function responseBodyResponseFormatFromJSON(jsonString: string): SafeParseResult<ResponseBodyResponseFormat, SDKValidationError>;
2847
+ export declare const CreateAgentRequestResponseFormat$inboundSchema: z.ZodType<CreateAgentRequestResponseFormat, z.ZodTypeDef, unknown>;
2848
+ export declare function createAgentRequestResponseFormatFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormat, SDKValidationError>;
2962
2849
  /** @internal */
2963
- export declare const ResponseBodyReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyReasoningEffort>;
2850
+ export declare const CreateAgentRequestReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestReasoningEffort>;
2964
2851
  /** @internal */
2965
- export declare const ResponseBodyStop$inboundSchema: z.ZodType<ResponseBodyStop, z.ZodTypeDef, unknown>;
2966
- export declare function responseBodyStopFromJSON(jsonString: string): SafeParseResult<ResponseBodyStop, SDKValidationError>;
2852
+ export declare const CreateAgentRequestStop$inboundSchema: z.ZodType<CreateAgentRequestStop, z.ZodTypeDef, unknown>;
2853
+ export declare function createAgentRequestStopFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestStop, SDKValidationError>;
2967
2854
  /** @internal */
2968
- export declare const ResponseBodyThinking$inboundSchema: z.ZodType<ResponseBodyThinking, z.ZodTypeDef, unknown>;
2969
- export declare function responseBodyThinkingFromJSON(jsonString: string): SafeParseResult<ResponseBodyThinking, SDKValidationError>;
2855
+ export declare const CreateAgentRequestThinking$inboundSchema: z.ZodType<CreateAgentRequestThinking, z.ZodTypeDef, unknown>;
2856
+ export declare function createAgentRequestThinkingFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestThinking, SDKValidationError>;
2970
2857
  /** @internal */
2971
2858
  export declare const CreateAgentRequestToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestToolChoiceAgentsType>;
2972
2859
  /** @internal */
@@ -2978,28 +2865,28 @@ export declare function createAgentRequestToolChoiceAgents2FromJSON(jsonString:
2978
2865
  /** @internal */
2979
2866
  export declare const CreateAgentRequestToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestToolChoiceAgents1>;
2980
2867
  /** @internal */
2981
- export declare const ResponseBodyToolChoice$inboundSchema: z.ZodType<ResponseBodyToolChoice, z.ZodTypeDef, unknown>;
2982
- export declare function responseBodyToolChoiceFromJSON(jsonString: string): SafeParseResult<ResponseBodyToolChoice, SDKValidationError>;
2868
+ export declare const CreateAgentRequestToolChoice$inboundSchema: z.ZodType<CreateAgentRequestToolChoice, z.ZodTypeDef, unknown>;
2869
+ export declare function createAgentRequestToolChoiceFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestToolChoice, SDKValidationError>;
2983
2870
  /** @internal */
2984
- export declare const ResponseBodyModalities$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyModalities>;
2871
+ export declare const CreateAgentRequestModalities$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestModalities>;
2985
2872
  /** @internal */
2986
2873
  export declare const CreateAgentRequestIdAgents1$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestIdAgents1>;
2987
2874
  /** @internal */
2988
- export declare const ResponseBodyId$inboundSchema: z.ZodType<ResponseBodyId, z.ZodTypeDef, unknown>;
2989
- export declare function responseBodyIdFromJSON(jsonString: string): SafeParseResult<ResponseBodyId, SDKValidationError>;
2875
+ export declare const CreateAgentRequestId$inboundSchema: z.ZodType<CreateAgentRequestId, z.ZodTypeDef, unknown>;
2876
+ export declare function createAgentRequestIdFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestId, SDKValidationError>;
2990
2877
  /** @internal */
2991
- export declare const CreateAgentRequestResponseBodyAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyAgentsExecuteOn>;
2878
+ export declare const CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentsResponse201ApplicationJSONExecuteOn>;
2992
2879
  /** @internal */
2993
- export declare const CreateAgentRequestResponseBodyGuardrails$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyGuardrails, z.ZodTypeDef, unknown>;
2994
- export declare function createAgentRequestResponseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyGuardrails, SDKValidationError>;
2880
+ export declare const CreateAgentRequestAgentsResponseGuardrails$inboundSchema: z.ZodType<CreateAgentRequestAgentsResponseGuardrails, z.ZodTypeDef, unknown>;
2881
+ export declare function createAgentRequestAgentsResponseGuardrailsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestAgentsResponseGuardrails, SDKValidationError>;
2995
2882
  /** @internal */
2996
- export declare const ResponseBodyFallbacks$inboundSchema: z.ZodType<ResponseBodyFallbacks, z.ZodTypeDef, unknown>;
2997
- export declare function responseBodyFallbacksFromJSON(jsonString: string): SafeParseResult<ResponseBodyFallbacks, SDKValidationError>;
2883
+ export declare const CreateAgentRequestFallbacks$inboundSchema: z.ZodType<CreateAgentRequestFallbacks, z.ZodTypeDef, unknown>;
2884
+ export declare function createAgentRequestFallbacksFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbacks, SDKValidationError>;
2998
2885
  /** @internal */
2999
- export declare const CreateAgentRequestResponseBodyAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyAgentsResponseType>;
2886
+ export declare const CreateAgentRequestAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentsType>;
3000
2887
  /** @internal */
3001
- export declare const ResponseBodyCache$inboundSchema: z.ZodType<ResponseBodyCache, z.ZodTypeDef, unknown>;
3002
- export declare function responseBodyCacheFromJSON(jsonString: string): SafeParseResult<ResponseBodyCache, SDKValidationError>;
2888
+ export declare const CreateAgentRequestCache$inboundSchema: z.ZodType<CreateAgentRequestCache, z.ZodTypeDef, unknown>;
2889
+ export declare function createAgentRequestCacheFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestCache, SDKValidationError>;
3003
2890
  /** @internal */
3004
2891
  export declare const CreateAgentRequestLoadBalancerAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestLoadBalancerAgentsType>;
3005
2892
  /** @internal */
@@ -3009,17 +2896,17 @@ export declare function createAgentRequestLoadBalancerModelsFromJSON(jsonString:
3009
2896
  export declare const CreateAgentRequestLoadBalancerAgents1$inboundSchema: z.ZodType<CreateAgentRequestLoadBalancerAgents1, z.ZodTypeDef, unknown>;
3010
2897
  export declare function createAgentRequestLoadBalancerAgents1FromJSON(jsonString: string): SafeParseResult<CreateAgentRequestLoadBalancerAgents1, SDKValidationError>;
3011
2898
  /** @internal */
3012
- export declare const ResponseBodyLoadBalancer$inboundSchema: z.ZodType<ResponseBodyLoadBalancer, z.ZodTypeDef, unknown>;
3013
- export declare function responseBodyLoadBalancerFromJSON(jsonString: string): SafeParseResult<ResponseBodyLoadBalancer, SDKValidationError>;
2899
+ export declare const CreateAgentRequestLoadBalancer$inboundSchema: z.ZodType<CreateAgentRequestLoadBalancer, z.ZodTypeDef, unknown>;
2900
+ export declare function createAgentRequestLoadBalancerFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestLoadBalancer, SDKValidationError>;
3014
2901
  /** @internal */
3015
- export declare const ResponseBodyTimeout$inboundSchema: z.ZodType<ResponseBodyTimeout, z.ZodTypeDef, unknown>;
3016
- export declare function responseBodyTimeoutFromJSON(jsonString: string): SafeParseResult<ResponseBodyTimeout, SDKValidationError>;
2902
+ export declare const CreateAgentRequestTimeout$inboundSchema: z.ZodType<CreateAgentRequestTimeout, z.ZodTypeDef, unknown>;
2903
+ export declare function createAgentRequestTimeoutFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestTimeout, SDKValidationError>;
3017
2904
  /** @internal */
3018
- export declare const ResponseBodyParameters$inboundSchema: z.ZodType<ResponseBodyParameters, z.ZodTypeDef, unknown>;
3019
- export declare function responseBodyParametersFromJSON(jsonString: string): SafeParseResult<ResponseBodyParameters, SDKValidationError>;
2905
+ export declare const CreateAgentRequestParameters$inboundSchema: z.ZodType<CreateAgentRequestParameters, z.ZodTypeDef, unknown>;
2906
+ export declare function createAgentRequestParametersFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestParameters, SDKValidationError>;
3020
2907
  /** @internal */
3021
- export declare const ResponseBodyRetry$inboundSchema: z.ZodType<ResponseBodyRetry, z.ZodTypeDef, unknown>;
3022
- export declare function responseBodyRetryFromJSON(jsonString: string): SafeParseResult<ResponseBodyRetry, SDKValidationError>;
2908
+ export declare const CreateAgentRequestRetry$inboundSchema: z.ZodType<CreateAgentRequestRetry, z.ZodTypeDef, unknown>;
2909
+ export declare function createAgentRequestRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestRetry, SDKValidationError>;
3023
2910
  /** @internal */
3024
2911
  export declare const CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema, z.ZodTypeDef, unknown>;
3025
2912
  export declare function createAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchemaFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema, SDKValidationError>;
@@ -3100,14 +2987,17 @@ export declare function createAgentRequestFallbackModelConfigurationRetryFromJSO
3100
2987
  export declare const CreateAgentRequestFallbackModelConfiguration2$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
3101
2988
  export declare function createAgentRequestFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfiguration2, SDKValidationError>;
3102
2989
  /** @internal */
3103
- export declare const ResponseBodyFallbackModelConfiguration$inboundSchema: z.ZodType<ResponseBodyFallbackModelConfiguration, z.ZodTypeDef, unknown>;
3104
- export declare function responseBodyFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<ResponseBodyFallbackModelConfiguration, SDKValidationError>;
2990
+ export declare const CreateAgentRequestFallbackModelConfiguration$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfiguration, z.ZodTypeDef, unknown>;
2991
+ export declare function createAgentRequestFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfiguration, SDKValidationError>;
3105
2992
  /** @internal */
3106
2993
  export declare const Model$inboundSchema: z.ZodType<Model, z.ZodTypeDef, unknown>;
3107
2994
  export declare function modelFromJSON(jsonString: string): SafeParseResult<Model, SDKValidationError>;
3108
2995
  /** @internal */
3109
- export declare const ResponseBody1$inboundSchema: z.ZodType<ResponseBody1, z.ZodTypeDef, unknown>;
3110
- export declare function responseBody1FromJSON(jsonString: string): SafeParseResult<ResponseBody1, SDKValidationError>;
2996
+ export declare const CreateAgentRequestHeaders$inboundSchema: z.ZodType<CreateAgentRequestHeaders, z.ZodTypeDef, unknown>;
2997
+ export declare function createAgentRequestHeadersFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestHeaders, SDKValidationError>;
2998
+ /** @internal */
2999
+ export declare const A2AAgentConfiguration$inboundSchema: z.ZodType<A2AAgentConfiguration, z.ZodTypeDef, unknown>;
3000
+ export declare function a2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<A2AAgentConfiguration, SDKValidationError>;
3111
3001
  /** @internal */
3112
3002
  export declare const CreateAgentRequestResponseBody$inboundSchema: z.ZodType<CreateAgentRequestResponseBody, z.ZodTypeDef, unknown>;
3113
3003
  export declare function createAgentRequestResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBody, SDKValidationError>;