@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
@@ -12,7 +12,7 @@ export type RetrieveAgentRequestRequest = {
12
12
  /**
13
13
  * 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.
14
14
  */
15
- export declare const RetrieveAgentRequestResponseBodyAgentsStatus: {
15
+ export declare const RetrieveAgentRequestStatus: {
16
16
  readonly Live: "live";
17
17
  readonly Draft: "draft";
18
18
  readonly Pending: "pending";
@@ -21,8 +21,8 @@ export declare const RetrieveAgentRequestResponseBodyAgentsStatus: {
21
21
  /**
22
22
  * 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.
23
23
  */
24
- export type RetrieveAgentRequestResponseBodyAgentsStatus = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsStatus>;
25
- export type RetrieveAgentRequestResponseBodyAgentsTeamOfAgents = {
24
+ export type RetrieveAgentRequestStatus = ClosedEnum<typeof RetrieveAgentRequestStatus>;
25
+ export type RetrieveAgentRequestTeamOfAgents = {
26
26
  /**
27
27
  * The unique key of the agent within the workspace
28
28
  */
@@ -32,162 +32,36 @@ export type RetrieveAgentRequestResponseBodyAgentsTeamOfAgents = {
32
32
  */
33
33
  role?: string | undefined;
34
34
  };
35
- export type RetrieveAgentRequestResponseBodyAgentsMetrics = {
35
+ export type RetrieveAgentRequestMetrics = {
36
36
  totalCost: number;
37
37
  };
38
- export type RetrieveAgentRequestResponseBodyAgentsKnowledgeBases = {
38
+ export type RetrieveAgentRequestKnowledgeBases = {
39
39
  /**
40
40
  * Unique identifier of the knowledge base to search
41
41
  */
42
42
  knowledgeId: string;
43
43
  };
44
- export declare const RetrieveAgentRequestResponseBodyAgentsSource: {
44
+ export declare const RetrieveAgentRequestSource: {
45
45
  readonly Internal: "internal";
46
46
  readonly External: "external";
47
47
  readonly Experiment: "experiment";
48
48
  };
49
- export type RetrieveAgentRequestResponseBodyAgentsSource = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsSource>;
50
- export type RetrieveAgentRequestResponseBodyHeaders = {
51
- /**
52
- * 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.
53
- */
54
- value: string;
55
- encrypted: boolean;
56
- };
49
+ export type RetrieveAgentRequestSource = ClosedEnum<typeof RetrieveAgentRequestSource>;
57
50
  /**
58
- * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
51
+ * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
59
52
  */
60
- export type ResponseBodyA2AAgentConfiguration = {
61
- /**
62
- * The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
63
- */
64
- agentUrl: string;
65
- /**
66
- * Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
67
- */
68
- cardUrl?: string | undefined;
69
- /**
70
- * 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.
71
- */
72
- headers?: {
73
- [k: string]: RetrieveAgentRequestResponseBodyHeaders;
74
- } | undefined;
75
- /**
76
- * Cached agent card from discovery. Refreshed periodically.
77
- */
78
- cachedCard?: any | undefined;
79
- };
80
- export type RetrieveAgentRequestResponseBody2 = {
81
- id: string;
82
- /**
83
- * Unique identifier for the agent within the workspace
84
- */
85
- key: string;
86
- displayName?: string | undefined;
87
- projectId: string;
88
- createdById?: string | null | undefined;
89
- updatedById?: string | null | undefined;
90
- created?: string | undefined;
91
- updated?: string | undefined;
92
- /**
93
- * 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.
94
- */
95
- status: RetrieveAgentRequestResponseBodyAgentsStatus;
96
- versionHash?: string | undefined;
97
- /**
98
- * Entity storage path in the format: `project/folder/subfolder/...`
99
- *
100
- * @remarks
101
- *
102
- * The first element identifies the project, followed by nested folders (auto-created as needed).
103
- *
104
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
105
- */
106
- path: string;
107
- /**
108
- * Array of memory store identifiers. Accepts both memory store IDs and keys.
109
- */
110
- memoryStores?: Array<string> | undefined;
111
- /**
112
- * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
113
- */
114
- teamOfAgents?: Array<RetrieveAgentRequestResponseBodyAgentsTeamOfAgents> | undefined;
115
- metrics?: RetrieveAgentRequestResponseBodyAgentsMetrics | undefined;
116
- /**
117
- * Extracted variables from agent instructions
118
- */
119
- variables?: {
120
- [k: string]: any;
121
- } | undefined;
122
- /**
123
- * Agent knowledge bases reference
124
- */
125
- knowledgeBases?: Array<RetrieveAgentRequestResponseBodyAgentsKnowledgeBases> | undefined;
126
- source?: RetrieveAgentRequestResponseBodyAgentsSource | undefined;
127
- /**
128
- * External A2A-compliant agent
129
- */
130
- type: "a2a";
131
- /**
132
- * Role fetched from agent card name or user-provided
133
- */
134
- role: string;
135
- /**
136
- * Description fetched from agent card or user-provided
137
- */
138
- description: string;
139
- systemPrompt?: string | undefined;
140
- /**
141
- * Instructions from agent card description or user-provided
142
- */
143
- instructions: string;
144
- /**
145
- * A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
146
- */
147
- a2a: ResponseBodyA2AAgentConfiguration;
148
- };
149
- /**
150
- * 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.
151
- */
152
- export declare const RetrieveAgentRequestResponseBodyStatus: {
153
- readonly Live: "live";
154
- readonly Draft: "draft";
155
- readonly Pending: "pending";
156
- readonly Published: "published";
53
+ export declare const RetrieveAgentRequestType: {
54
+ readonly Internal: "internal";
55
+ readonly A2a: "a2a";
157
56
  };
158
57
  /**
159
- * 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.
58
+ * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
160
59
  */
161
- export type RetrieveAgentRequestResponseBodyStatus = ClosedEnum<typeof RetrieveAgentRequestResponseBodyStatus>;
162
- export type RetrieveAgentRequestResponseBodyTeamOfAgents = {
163
- /**
164
- * The unique key of the agent within the workspace
165
- */
166
- key: string;
167
- /**
168
- * 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.
169
- */
170
- role?: string | undefined;
171
- };
172
- export type RetrieveAgentRequestResponseBodyMetrics = {
173
- totalCost: number;
174
- };
175
- export type RetrieveAgentRequestResponseBodyKnowledgeBases = {
176
- /**
177
- * Unique identifier of the knowledge base to search
178
- */
179
- knowledgeId: string;
180
- };
181
- export declare const RetrieveAgentRequestResponseBodySource: {
182
- readonly Internal: "internal";
183
- readonly External: "external";
184
- readonly Experiment: "experiment";
185
- };
186
- export type RetrieveAgentRequestResponseBodySource = ClosedEnum<typeof RetrieveAgentRequestResponseBodySource>;
60
+ export type RetrieveAgentRequestType = ClosedEnum<typeof RetrieveAgentRequestType>;
187
61
  /**
188
62
  * 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.
189
63
  */
190
- export declare const RetrieveAgentRequestResponseBodyToolApprovalRequired: {
64
+ export declare const RetrieveAgentRequestToolApprovalRequired: {
191
65
  readonly All: "all";
192
66
  readonly RespectTool: "respect_tool";
193
67
  readonly None: "none";
@@ -195,8 +69,8 @@ export declare const RetrieveAgentRequestResponseBodyToolApprovalRequired: {
195
69
  /**
196
70
  * 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.
197
71
  */
198
- export type RetrieveAgentRequestResponseBodyToolApprovalRequired = ClosedEnum<typeof RetrieveAgentRequestResponseBodyToolApprovalRequired>;
199
- export type ResponseBodyConditions = {
72
+ export type RetrieveAgentRequestToolApprovalRequired = ClosedEnum<typeof RetrieveAgentRequestToolApprovalRequired>;
73
+ export type RetrieveAgentRequestConditions = {
200
74
  /**
201
75
  * The argument of the tool call to evaluate
202
76
  */
@@ -210,7 +84,7 @@ export type ResponseBodyConditions = {
210
84
  */
211
85
  value: string;
212
86
  };
213
- export type RetrieveAgentRequestResponseBodyTools = {
87
+ export type RetrieveAgentRequestTools = {
214
88
  /**
215
89
  * The id of the resource
216
90
  */
@@ -230,7 +104,7 @@ export type RetrieveAgentRequestResponseBodyTools = {
230
104
  * Nested tool ID for MCP tools (identifies specific tool within MCP server)
231
105
  */
232
106
  toolId?: string | undefined;
233
- conditions?: Array<ResponseBodyConditions> | undefined;
107
+ conditions?: Array<RetrieveAgentRequestConditions> | undefined;
234
108
  /**
235
109
  * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
236
110
  */
@@ -239,15 +113,15 @@ export type RetrieveAgentRequestResponseBodyTools = {
239
113
  /**
240
114
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
241
115
  */
242
- export declare const RetrieveAgentRequestResponseBodyExecuteOn: {
116
+ export declare const RetrieveAgentRequestExecuteOn: {
243
117
  readonly Input: "input";
244
118
  readonly Output: "output";
245
119
  };
246
120
  /**
247
121
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
248
122
  */
249
- export type RetrieveAgentRequestResponseBodyExecuteOn = ClosedEnum<typeof RetrieveAgentRequestResponseBodyExecuteOn>;
250
- export type RetrieveAgentRequestResponseBodyEvaluators = {
123
+ export type RetrieveAgentRequestExecuteOn = ClosedEnum<typeof RetrieveAgentRequestExecuteOn>;
124
+ export type RetrieveAgentRequestEvaluators = {
251
125
  /**
252
126
  * Unique key or identifier of the evaluator
253
127
  */
@@ -259,20 +133,20 @@ export type RetrieveAgentRequestResponseBodyEvaluators = {
259
133
  /**
260
134
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
261
135
  */
262
- executeOn: RetrieveAgentRequestResponseBodyExecuteOn;
136
+ executeOn: RetrieveAgentRequestExecuteOn;
263
137
  };
264
138
  /**
265
139
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
266
140
  */
267
- export declare const RetrieveAgentRequestResponseBodyAgentsExecuteOn: {
141
+ export declare const RetrieveAgentRequestAgentsExecuteOn: {
268
142
  readonly Input: "input";
269
143
  readonly Output: "output";
270
144
  };
271
145
  /**
272
146
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
273
147
  */
274
- export type RetrieveAgentRequestResponseBodyAgentsExecuteOn = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsExecuteOn>;
275
- export type RetrieveAgentRequestResponseBodyGuardrails = {
148
+ export type RetrieveAgentRequestAgentsExecuteOn = ClosedEnum<typeof RetrieveAgentRequestAgentsExecuteOn>;
149
+ export type RetrieveAgentRequestGuardrails = {
276
150
  /**
277
151
  * Unique key or identifier of the evaluator
278
152
  */
@@ -284,9 +158,9 @@ export type RetrieveAgentRequestResponseBodyGuardrails = {
284
158
  /**
285
159
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
286
160
  */
287
- executeOn: RetrieveAgentRequestResponseBodyAgentsExecuteOn;
161
+ executeOn: RetrieveAgentRequestAgentsExecuteOn;
288
162
  };
289
- export type RetrieveAgentRequestResponseBodySettings = {
163
+ export type RetrieveAgentRequestSettings = {
290
164
  /**
291
165
  * Maximum iterations(llm calls) before the agent will stop executing.
292
166
  */
@@ -302,16 +176,16 @@ export type RetrieveAgentRequestResponseBodySettings = {
302
176
  /**
303
177
  * 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.
304
178
  */
305
- toolApprovalRequired: RetrieveAgentRequestResponseBodyToolApprovalRequired;
306
- tools?: Array<RetrieveAgentRequestResponseBodyTools> | undefined;
179
+ toolApprovalRequired: RetrieveAgentRequestToolApprovalRequired;
180
+ tools?: Array<RetrieveAgentRequestTools> | undefined;
307
181
  /**
308
182
  * Configuration for an evaluator applied to the agent
309
183
  */
310
- evaluators?: Array<RetrieveAgentRequestResponseBodyEvaluators> | undefined;
184
+ evaluators?: Array<RetrieveAgentRequestEvaluators> | undefined;
311
185
  /**
312
186
  * Configuration for a guardrail applied to the agent
313
187
  */
314
- guardrails?: Array<RetrieveAgentRequestResponseBodyGuardrails> | undefined;
188
+ guardrails?: Array<RetrieveAgentRequestGuardrails> | undefined;
315
189
  };
316
190
  export type RetrieveAgentRequestResponseFormatJsonSchema = {
317
191
  /**
@@ -359,7 +233,7 @@ export type RetrieveAgentRequestResponseFormatText = {
359
233
  /**
360
234
  * An object specifying the format that the model must output
361
235
  */
362
- export type RetrieveAgentRequestResponseBodyResponseFormat = RetrieveAgentRequestResponseFormatText | RetrieveAgentRequestResponseFormatJSONObject | RetrieveAgentRequestResponseFormatAgentsJSONSchema;
236
+ export type RetrieveAgentRequestResponseFormat = RetrieveAgentRequestResponseFormatText | RetrieveAgentRequestResponseFormatJSONObject | RetrieveAgentRequestResponseFormatAgentsJSONSchema;
363
237
  /**
364
238
  * 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.
365
239
  *
@@ -372,7 +246,7 @@ export type RetrieveAgentRequestResponseBodyResponseFormat = RetrieveAgentReques
372
246
  *
373
247
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
374
248
  */
375
- export declare const RetrieveAgentRequestResponseBodyReasoningEffort: {
249
+ export declare const RetrieveAgentRequestReasoningEffort: {
376
250
  readonly None: "none";
377
251
  readonly Minimal: "minimal";
378
252
  readonly Low: "low";
@@ -392,12 +266,12 @@ export declare const RetrieveAgentRequestResponseBodyReasoningEffort: {
392
266
  *
393
267
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
394
268
  */
395
- export type RetrieveAgentRequestResponseBodyReasoningEffort = ClosedEnum<typeof RetrieveAgentRequestResponseBodyReasoningEffort>;
269
+ export type RetrieveAgentRequestReasoningEffort = ClosedEnum<typeof RetrieveAgentRequestReasoningEffort>;
396
270
  /**
397
271
  * Up to 4 sequences where the API will stop generating further tokens.
398
272
  */
399
- export type RetrieveAgentRequestResponseBodyStop = string | Array<string>;
400
- export type RetrieveAgentRequestResponseBodyThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
273
+ export type RetrieveAgentRequestStop = string | Array<string>;
274
+ export type RetrieveAgentRequestThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
401
275
  /**
402
276
  * The type of the tool. Currently, only function is supported.
403
277
  */
@@ -430,12 +304,12 @@ export type RetrieveAgentRequestToolChoice1 = ClosedEnum<typeof RetrieveAgentReq
430
304
  /**
431
305
  * Controls which (if any) tool is called by the model.
432
306
  */
433
- export type RetrieveAgentRequestResponseBodyToolChoice = RetrieveAgentRequestToolChoice2 | RetrieveAgentRequestToolChoice1;
434
- export declare const RetrieveAgentRequestResponseBodyModalities: {
307
+ export type RetrieveAgentRequestToolChoice = RetrieveAgentRequestToolChoice2 | RetrieveAgentRequestToolChoice1;
308
+ export declare const RetrieveAgentRequestModalities: {
435
309
  readonly Text: "text";
436
310
  readonly Audio: "audio";
437
311
  };
438
- export type RetrieveAgentRequestResponseBodyModalities = ClosedEnum<typeof RetrieveAgentRequestResponseBodyModalities>;
312
+ export type RetrieveAgentRequestModalities = ClosedEnum<typeof RetrieveAgentRequestModalities>;
439
313
  /**
440
314
  * The key of the guardrail.
441
315
  */
@@ -448,44 +322,44 @@ export declare const RetrieveAgentRequestId1: {
448
322
  * The key of the guardrail.
449
323
  */
450
324
  export type RetrieveAgentRequestId1 = ClosedEnum<typeof RetrieveAgentRequestId1>;
451
- export type RetrieveAgentRequestResponseBodyId = RetrieveAgentRequestId1 | string;
325
+ export type RetrieveAgentRequestId = RetrieveAgentRequestId1 | string;
452
326
  /**
453
327
  * Determines whether the guardrail runs on the input (user message) or output (model response).
454
328
  */
455
- export declare const RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn: {
329
+ export declare const RetrieveAgentRequestAgentsResponseExecuteOn: {
456
330
  readonly Input: "input";
457
331
  readonly Output: "output";
458
332
  };
459
333
  /**
460
334
  * Determines whether the guardrail runs on the input (user message) or output (model response).
461
335
  */
462
- export type RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn>;
463
- export type RetrieveAgentRequestResponseBodyAgentsGuardrails = {
336
+ export type RetrieveAgentRequestAgentsResponseExecuteOn = ClosedEnum<typeof RetrieveAgentRequestAgentsResponseExecuteOn>;
337
+ export type RetrieveAgentRequestAgentsGuardrails = {
464
338
  id: RetrieveAgentRequestId1 | string;
465
339
  /**
466
340
  * Determines whether the guardrail runs on the input (user message) or output (model response).
467
341
  */
468
- executeOn: RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn;
342
+ executeOn: RetrieveAgentRequestAgentsResponseExecuteOn;
469
343
  };
470
- export type RetrieveAgentRequestResponseBodyFallbacks = {
344
+ export type RetrieveAgentRequestFallbacks = {
471
345
  /**
472
346
  * Fallback model identifier
473
347
  */
474
348
  model: string;
475
349
  };
476
- export declare const RetrieveAgentRequestResponseBodyAgentsResponseType: {
350
+ export declare const RetrieveAgentRequestAgentsType: {
477
351
  readonly ExactMatch: "exact_match";
478
352
  };
479
- export type RetrieveAgentRequestResponseBodyAgentsResponseType = ClosedEnum<typeof RetrieveAgentRequestResponseBodyAgentsResponseType>;
353
+ export type RetrieveAgentRequestAgentsType = ClosedEnum<typeof RetrieveAgentRequestAgentsType>;
480
354
  /**
481
355
  * Cache configuration for the request.
482
356
  */
483
- export type RetrieveAgentRequestResponseBodyCache = {
357
+ export type RetrieveAgentRequestCache = {
484
358
  /**
485
359
  * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
486
360
  */
487
361
  ttl: number;
488
- type: RetrieveAgentRequestResponseBodyAgentsResponseType;
362
+ type: RetrieveAgentRequestAgentsType;
489
363
  };
490
364
  export declare const RetrieveAgentRequestLoadBalancerType: {
491
365
  readonly WeightBased: "weight_based";
@@ -508,11 +382,11 @@ export type RetrieveAgentRequestLoadBalancer1 = {
508
382
  /**
509
383
  * Load balancer configuration for the request.
510
384
  */
511
- export type RetrieveAgentRequestResponseBodyLoadBalancer = RetrieveAgentRequestLoadBalancer1;
385
+ export type RetrieveAgentRequestLoadBalancer = RetrieveAgentRequestLoadBalancer1;
512
386
  /**
513
387
  * 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.
514
388
  */
515
- export type RetrieveAgentRequestResponseBodyTimeout = {
389
+ export type RetrieveAgentRequestTimeout = {
516
390
  /**
517
391
  * Timeout value in milliseconds
518
392
  */
@@ -521,7 +395,7 @@ export type RetrieveAgentRequestResponseBodyTimeout = {
521
395
  /**
522
396
  * 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.
523
397
  */
524
- export type RetrieveAgentRequestResponseBodyParameters = {
398
+ export type RetrieveAgentRequestParameters = {
525
399
  /**
526
400
  * The name to display on the trace. If not specified, the default system name will be used.
527
401
  */
@@ -562,7 +436,7 @@ export type RetrieveAgentRequestResponseBodyParameters = {
562
436
  *
563
437
  * Any of "none", "minimal", "low", "medium", "high", "xhigh".
564
438
  */
565
- reasoningEffort?: RetrieveAgentRequestResponseBodyReasoningEffort | undefined;
439
+ reasoningEffort?: RetrieveAgentRequestReasoningEffort | undefined;
566
440
  /**
567
441
  * Adjusts response verbosity. Lower levels yield shorter answers.
568
442
  */
@@ -599,19 +473,19 @@ export type RetrieveAgentRequestResponseBodyParameters = {
599
473
  /**
600
474
  * 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"].
601
475
  */
602
- modalities?: Array<RetrieveAgentRequestResponseBodyModalities> | null | undefined;
476
+ modalities?: Array<RetrieveAgentRequestModalities> | null | undefined;
603
477
  /**
604
478
  * A list of guardrails to apply to the request.
605
479
  */
606
- guardrails?: Array<RetrieveAgentRequestResponseBodyAgentsGuardrails> | undefined;
480
+ guardrails?: Array<RetrieveAgentRequestAgentsGuardrails> | undefined;
607
481
  /**
608
482
  * Array of fallback models to use if primary model fails
609
483
  */
610
- fallbacks?: Array<RetrieveAgentRequestResponseBodyFallbacks> | undefined;
484
+ fallbacks?: Array<RetrieveAgentRequestFallbacks> | undefined;
611
485
  /**
612
486
  * Cache configuration for the request.
613
487
  */
614
- cache?: RetrieveAgentRequestResponseBodyCache | undefined;
488
+ cache?: RetrieveAgentRequestCache | undefined;
615
489
  /**
616
490
  * Load balancer configuration for the request.
617
491
  */
@@ -619,12 +493,12 @@ export type RetrieveAgentRequestResponseBodyParameters = {
619
493
  /**
620
494
  * 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.
621
495
  */
622
- timeout?: RetrieveAgentRequestResponseBodyTimeout | undefined;
496
+ timeout?: RetrieveAgentRequestTimeout | undefined;
623
497
  };
624
498
  /**
625
499
  * 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).
626
500
  */
627
- export type RetrieveAgentRequestResponseBodyRetry = {
501
+ export type RetrieveAgentRequestRetry = {
628
502
  /**
629
503
  * Number of retry attempts (1-5)
630
504
  */
@@ -975,8 +849,8 @@ export type RetrieveAgentRequestFallbackModelConfiguration2 = {
975
849
  /**
976
850
  * 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.
977
851
  */
978
- export type RetrieveAgentRequestResponseBodyFallbackModelConfiguration = RetrieveAgentRequestFallbackModelConfiguration2 | string;
979
- export type ResponseBodyModel = {
852
+ export type RetrieveAgentRequestFallbackModelConfiguration = RetrieveAgentRequestFallbackModelConfiguration2 | string;
853
+ export type RetrieveAgentRequestModel = {
980
854
  /**
981
855
  * The database ID of the primary model
982
856
  */
@@ -988,17 +862,50 @@ export type ResponseBodyModel = {
988
862
  /**
989
863
  * 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.
990
864
  */
991
- parameters?: RetrieveAgentRequestResponseBodyParameters | undefined;
865
+ parameters?: RetrieveAgentRequestParameters | undefined;
992
866
  /**
993
867
  * 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).
994
868
  */
995
- retry?: RetrieveAgentRequestResponseBodyRetry | undefined;
869
+ retry?: RetrieveAgentRequestRetry | undefined;
996
870
  /**
997
871
  * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
998
872
  */
999
873
  fallbackModels?: Array<RetrieveAgentRequestFallbackModelConfiguration2 | string> | null | undefined;
1000
874
  };
1001
- export type RetrieveAgentRequestResponseBody1 = {
875
+ export type RetrieveAgentRequestHeaders = {
876
+ /**
877
+ * 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.
878
+ */
879
+ value: string;
880
+ encrypted: boolean;
881
+ };
882
+ /**
883
+ * A2A configuration with agent endpoint and authentication. Only present for A2A agents.
884
+ */
885
+ export type RetrieveAgentRequestA2AAgentConfiguration = {
886
+ /**
887
+ * The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
888
+ */
889
+ agentUrl: string;
890
+ /**
891
+ * Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
892
+ */
893
+ cardUrl?: string | undefined;
894
+ /**
895
+ * 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.
896
+ */
897
+ headers?: {
898
+ [k: string]: RetrieveAgentRequestHeaders;
899
+ } | undefined;
900
+ /**
901
+ * Cached agent card from discovery. Refreshed periodically.
902
+ */
903
+ cachedCard?: any | undefined;
904
+ };
905
+ /**
906
+ * Agent successfully retrieved. Returns the complete agent manifest with all configuration details, including models, tools, knowledge bases, and execution settings.
907
+ */
908
+ export type RetrieveAgentRequestResponseBody = {
1002
909
  id: string;
1003
910
  /**
1004
911
  * Unique identifier for the agent within the workspace
@@ -1013,7 +920,7 @@ export type RetrieveAgentRequestResponseBody1 = {
1013
920
  /**
1014
921
  * 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.
1015
922
  */
1016
- status: RetrieveAgentRequestResponseBodyStatus;
923
+ status: RetrieveAgentRequestStatus;
1017
924
  versionHash?: string | undefined;
1018
925
  /**
1019
926
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1032,8 +939,8 @@ export type RetrieveAgentRequestResponseBody1 = {
1032
939
  /**
1033
940
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1034
941
  */
1035
- teamOfAgents?: Array<RetrieveAgentRequestResponseBodyTeamOfAgents> | undefined;
1036
- metrics?: RetrieveAgentRequestResponseBodyMetrics | undefined;
942
+ teamOfAgents?: Array<RetrieveAgentRequestTeamOfAgents> | undefined;
943
+ metrics?: RetrieveAgentRequestMetrics | undefined;
1037
944
  /**
1038
945
  * Extracted variables from agent instructions
1039
946
  */
@@ -1043,23 +950,23 @@ export type RetrieveAgentRequestResponseBody1 = {
1043
950
  /**
1044
951
  * Agent knowledge bases reference
1045
952
  */
1046
- knowledgeBases?: Array<RetrieveAgentRequestResponseBodyKnowledgeBases> | undefined;
1047
- source?: RetrieveAgentRequestResponseBodySource | undefined;
953
+ knowledgeBases?: Array<RetrieveAgentRequestKnowledgeBases> | undefined;
954
+ source?: RetrieveAgentRequestSource | undefined;
1048
955
  /**
1049
- * Orquesta-managed agent
956
+ * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1050
957
  */
1051
- type: "internal";
958
+ type: RetrieveAgentRequestType;
1052
959
  role: string;
1053
960
  description: string;
1054
961
  systemPrompt?: string | undefined;
1055
962
  instructions: string;
1056
- settings?: RetrieveAgentRequestResponseBodySettings | undefined;
1057
- model: ResponseBodyModel;
963
+ settings?: RetrieveAgentRequestSettings | undefined;
964
+ model: RetrieveAgentRequestModel;
965
+ /**
966
+ * A2A configuration with agent endpoint and authentication. Only present for A2A agents.
967
+ */
968
+ a2a?: RetrieveAgentRequestA2AAgentConfiguration | undefined;
1058
969
  };
1059
- /**
1060
- * Agent successfully retrieved. Returns the complete agent manifest with all configuration details, including models, tools, knowledge bases, and execution settings.
1061
- */
1062
- export type RetrieveAgentRequestResponseBody = RetrieveAgentRequestResponseBody1 | RetrieveAgentRequestResponseBody2;
1063
970
  /** @internal */
1064
971
  export type RetrieveAgentRequestRequest$Outbound = {
1065
972
  agent_key: string;
@@ -1068,61 +975,41 @@ export type RetrieveAgentRequestRequest$Outbound = {
1068
975
  export declare const RetrieveAgentRequestRequest$outboundSchema: z.ZodType<RetrieveAgentRequestRequest$Outbound, z.ZodTypeDef, RetrieveAgentRequestRequest>;
1069
976
  export declare function retrieveAgentRequestRequestToJSON(retrieveAgentRequestRequest: RetrieveAgentRequestRequest): string;
1070
977
  /** @internal */
1071
- export declare const RetrieveAgentRequestResponseBodyAgentsStatus$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsStatus>;
1072
- /** @internal */
1073
- export declare const RetrieveAgentRequestResponseBodyAgentsTeamOfAgents$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyAgentsTeamOfAgents, z.ZodTypeDef, unknown>;
1074
- export declare function retrieveAgentRequestResponseBodyAgentsTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyAgentsTeamOfAgents, SDKValidationError>;
1075
- /** @internal */
1076
- export declare const RetrieveAgentRequestResponseBodyAgentsMetrics$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyAgentsMetrics, z.ZodTypeDef, unknown>;
1077
- export declare function retrieveAgentRequestResponseBodyAgentsMetricsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyAgentsMetrics, SDKValidationError>;
1078
- /** @internal */
1079
- export declare const RetrieveAgentRequestResponseBodyAgentsKnowledgeBases$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
1080
- export declare function retrieveAgentRequestResponseBodyAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyAgentsKnowledgeBases, SDKValidationError>;
1081
- /** @internal */
1082
- export declare const RetrieveAgentRequestResponseBodyAgentsSource$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsSource>;
978
+ export declare const RetrieveAgentRequestStatus$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestStatus>;
1083
979
  /** @internal */
1084
- export declare const RetrieveAgentRequestResponseBodyHeaders$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyHeaders, z.ZodTypeDef, unknown>;
1085
- export declare function retrieveAgentRequestResponseBodyHeadersFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyHeaders, SDKValidationError>;
980
+ export declare const RetrieveAgentRequestTeamOfAgents$inboundSchema: z.ZodType<RetrieveAgentRequestTeamOfAgents, z.ZodTypeDef, unknown>;
981
+ export declare function retrieveAgentRequestTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestTeamOfAgents, SDKValidationError>;
1086
982
  /** @internal */
1087
- export declare const ResponseBodyA2AAgentConfiguration$inboundSchema: z.ZodType<ResponseBodyA2AAgentConfiguration, z.ZodTypeDef, unknown>;
1088
- export declare function responseBodyA2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<ResponseBodyA2AAgentConfiguration, SDKValidationError>;
983
+ export declare const RetrieveAgentRequestMetrics$inboundSchema: z.ZodType<RetrieveAgentRequestMetrics, z.ZodTypeDef, unknown>;
984
+ export declare function retrieveAgentRequestMetricsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestMetrics, SDKValidationError>;
1089
985
  /** @internal */
1090
- export declare const RetrieveAgentRequestResponseBody2$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBody2, z.ZodTypeDef, unknown>;
1091
- export declare function retrieveAgentRequestResponseBody2FromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBody2, SDKValidationError>;
986
+ export declare const RetrieveAgentRequestKnowledgeBases$inboundSchema: z.ZodType<RetrieveAgentRequestKnowledgeBases, z.ZodTypeDef, unknown>;
987
+ export declare function retrieveAgentRequestKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestKnowledgeBases, SDKValidationError>;
1092
988
  /** @internal */
1093
- export declare const RetrieveAgentRequestResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyStatus>;
989
+ export declare const RetrieveAgentRequestSource$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestSource>;
1094
990
  /** @internal */
1095
- export declare const RetrieveAgentRequestResponseBodyTeamOfAgents$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyTeamOfAgents, z.ZodTypeDef, unknown>;
1096
- export declare function retrieveAgentRequestResponseBodyTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyTeamOfAgents, SDKValidationError>;
991
+ export declare const RetrieveAgentRequestType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestType>;
1097
992
  /** @internal */
1098
- export declare const RetrieveAgentRequestResponseBodyMetrics$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyMetrics, z.ZodTypeDef, unknown>;
1099
- export declare function retrieveAgentRequestResponseBodyMetricsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyMetrics, SDKValidationError>;
993
+ export declare const RetrieveAgentRequestToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestToolApprovalRequired>;
1100
994
  /** @internal */
1101
- export declare const RetrieveAgentRequestResponseBodyKnowledgeBases$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyKnowledgeBases, z.ZodTypeDef, unknown>;
1102
- export declare function retrieveAgentRequestResponseBodyKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyKnowledgeBases, SDKValidationError>;
995
+ export declare const RetrieveAgentRequestConditions$inboundSchema: z.ZodType<RetrieveAgentRequestConditions, z.ZodTypeDef, unknown>;
996
+ export declare function retrieveAgentRequestConditionsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestConditions, SDKValidationError>;
1103
997
  /** @internal */
1104
- export declare const RetrieveAgentRequestResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodySource>;
998
+ export declare const RetrieveAgentRequestTools$inboundSchema: z.ZodType<RetrieveAgentRequestTools, z.ZodTypeDef, unknown>;
999
+ export declare function retrieveAgentRequestToolsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestTools, SDKValidationError>;
1105
1000
  /** @internal */
1106
- export declare const RetrieveAgentRequestResponseBodyToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyToolApprovalRequired>;
1001
+ export declare const RetrieveAgentRequestExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestExecuteOn>;
1107
1002
  /** @internal */
1108
- export declare const ResponseBodyConditions$inboundSchema: z.ZodType<ResponseBodyConditions, z.ZodTypeDef, unknown>;
1109
- export declare function responseBodyConditionsFromJSON(jsonString: string): SafeParseResult<ResponseBodyConditions, SDKValidationError>;
1003
+ export declare const RetrieveAgentRequestEvaluators$inboundSchema: z.ZodType<RetrieveAgentRequestEvaluators, z.ZodTypeDef, unknown>;
1004
+ export declare function retrieveAgentRequestEvaluatorsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestEvaluators, SDKValidationError>;
1110
1005
  /** @internal */
1111
- export declare const RetrieveAgentRequestResponseBodyTools$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyTools, z.ZodTypeDef, unknown>;
1112
- export declare function retrieveAgentRequestResponseBodyToolsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyTools, SDKValidationError>;
1006
+ export declare const RetrieveAgentRequestAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestAgentsExecuteOn>;
1113
1007
  /** @internal */
1114
- export declare const RetrieveAgentRequestResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyExecuteOn>;
1008
+ export declare const RetrieveAgentRequestGuardrails$inboundSchema: z.ZodType<RetrieveAgentRequestGuardrails, z.ZodTypeDef, unknown>;
1009
+ export declare function retrieveAgentRequestGuardrailsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestGuardrails, SDKValidationError>;
1115
1010
  /** @internal */
1116
- export declare const RetrieveAgentRequestResponseBodyEvaluators$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyEvaluators, z.ZodTypeDef, unknown>;
1117
- export declare function retrieveAgentRequestResponseBodyEvaluatorsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyEvaluators, SDKValidationError>;
1118
- /** @internal */
1119
- export declare const RetrieveAgentRequestResponseBodyAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsExecuteOn>;
1120
- /** @internal */
1121
- export declare const RetrieveAgentRequestResponseBodyGuardrails$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyGuardrails, z.ZodTypeDef, unknown>;
1122
- export declare function retrieveAgentRequestResponseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyGuardrails, SDKValidationError>;
1123
- /** @internal */
1124
- export declare const RetrieveAgentRequestResponseBodySettings$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodySettings, z.ZodTypeDef, unknown>;
1125
- export declare function retrieveAgentRequestResponseBodySettingsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodySettings, SDKValidationError>;
1011
+ export declare const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<RetrieveAgentRequestSettings, z.ZodTypeDef, unknown>;
1012
+ export declare function retrieveAgentRequestSettingsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestSettings, SDKValidationError>;
1126
1013
  /** @internal */
1127
1014
  export declare const RetrieveAgentRequestResponseFormatJsonSchema$inboundSchema: z.ZodType<RetrieveAgentRequestResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1128
1015
  export declare function retrieveAgentRequestResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseFormatJsonSchema, SDKValidationError>;
@@ -1136,16 +1023,16 @@ export declare function retrieveAgentRequestResponseFormatJSONObjectFromJSON(jso
1136
1023
  export declare const RetrieveAgentRequestResponseFormatText$inboundSchema: z.ZodType<RetrieveAgentRequestResponseFormatText, z.ZodTypeDef, unknown>;
1137
1024
  export declare function retrieveAgentRequestResponseFormatTextFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseFormatText, SDKValidationError>;
1138
1025
  /** @internal */
1139
- export declare const RetrieveAgentRequestResponseBodyResponseFormat$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyResponseFormat, z.ZodTypeDef, unknown>;
1140
- export declare function retrieveAgentRequestResponseBodyResponseFormatFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyResponseFormat, SDKValidationError>;
1026
+ export declare const RetrieveAgentRequestResponseFormat$inboundSchema: z.ZodType<RetrieveAgentRequestResponseFormat, z.ZodTypeDef, unknown>;
1027
+ export declare function retrieveAgentRequestResponseFormatFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseFormat, SDKValidationError>;
1141
1028
  /** @internal */
1142
- export declare const RetrieveAgentRequestResponseBodyReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyReasoningEffort>;
1029
+ export declare const RetrieveAgentRequestReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestReasoningEffort>;
1143
1030
  /** @internal */
1144
- export declare const RetrieveAgentRequestResponseBodyStop$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyStop, z.ZodTypeDef, unknown>;
1145
- export declare function retrieveAgentRequestResponseBodyStopFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyStop, SDKValidationError>;
1031
+ export declare const RetrieveAgentRequestStop$inboundSchema: z.ZodType<RetrieveAgentRequestStop, z.ZodTypeDef, unknown>;
1032
+ export declare function retrieveAgentRequestStopFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestStop, SDKValidationError>;
1146
1033
  /** @internal */
1147
- export declare const RetrieveAgentRequestResponseBodyThinking$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyThinking, z.ZodTypeDef, unknown>;
1148
- export declare function retrieveAgentRequestResponseBodyThinkingFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyThinking, SDKValidationError>;
1034
+ export declare const RetrieveAgentRequestThinking$inboundSchema: z.ZodType<RetrieveAgentRequestThinking, z.ZodTypeDef, unknown>;
1035
+ export declare function retrieveAgentRequestThinkingFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestThinking, SDKValidationError>;
1149
1036
  /** @internal */
1150
1037
  export declare const RetrieveAgentRequestToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestToolChoiceType>;
1151
1038
  /** @internal */
@@ -1157,28 +1044,28 @@ export declare function retrieveAgentRequestToolChoice2FromJSON(jsonString: stri
1157
1044
  /** @internal */
1158
1045
  export declare const RetrieveAgentRequestToolChoice1$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestToolChoice1>;
1159
1046
  /** @internal */
1160
- export declare const RetrieveAgentRequestResponseBodyToolChoice$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyToolChoice, z.ZodTypeDef, unknown>;
1161
- export declare function retrieveAgentRequestResponseBodyToolChoiceFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyToolChoice, SDKValidationError>;
1047
+ export declare const RetrieveAgentRequestToolChoice$inboundSchema: z.ZodType<RetrieveAgentRequestToolChoice, z.ZodTypeDef, unknown>;
1048
+ export declare function retrieveAgentRequestToolChoiceFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestToolChoice, SDKValidationError>;
1162
1049
  /** @internal */
1163
- export declare const RetrieveAgentRequestResponseBodyModalities$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyModalities>;
1050
+ export declare const RetrieveAgentRequestModalities$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestModalities>;
1164
1051
  /** @internal */
1165
1052
  export declare const RetrieveAgentRequestId1$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestId1>;
1166
1053
  /** @internal */
1167
- export declare const RetrieveAgentRequestResponseBodyId$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyId, z.ZodTypeDef, unknown>;
1168
- export declare function retrieveAgentRequestResponseBodyIdFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyId, SDKValidationError>;
1054
+ export declare const RetrieveAgentRequestId$inboundSchema: z.ZodType<RetrieveAgentRequestId, z.ZodTypeDef, unknown>;
1055
+ export declare function retrieveAgentRequestIdFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestId, SDKValidationError>;
1169
1056
  /** @internal */
1170
- export declare const RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsResponseExecuteOn>;
1057
+ export declare const RetrieveAgentRequestAgentsResponseExecuteOn$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestAgentsResponseExecuteOn>;
1171
1058
  /** @internal */
1172
- export declare const RetrieveAgentRequestResponseBodyAgentsGuardrails$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyAgentsGuardrails, z.ZodTypeDef, unknown>;
1173
- export declare function retrieveAgentRequestResponseBodyAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyAgentsGuardrails, SDKValidationError>;
1059
+ export declare const RetrieveAgentRequestAgentsGuardrails$inboundSchema: z.ZodType<RetrieveAgentRequestAgentsGuardrails, z.ZodTypeDef, unknown>;
1060
+ export declare function retrieveAgentRequestAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestAgentsGuardrails, SDKValidationError>;
1174
1061
  /** @internal */
1175
- export declare const RetrieveAgentRequestResponseBodyFallbacks$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyFallbacks, z.ZodTypeDef, unknown>;
1176
- export declare function retrieveAgentRequestResponseBodyFallbacksFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyFallbacks, SDKValidationError>;
1062
+ export declare const RetrieveAgentRequestFallbacks$inboundSchema: z.ZodType<RetrieveAgentRequestFallbacks, z.ZodTypeDef, unknown>;
1063
+ export declare function retrieveAgentRequestFallbacksFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbacks, SDKValidationError>;
1177
1064
  /** @internal */
1178
- export declare const RetrieveAgentRequestResponseBodyAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestResponseBodyAgentsResponseType>;
1065
+ export declare const RetrieveAgentRequestAgentsType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestAgentsType>;
1179
1066
  /** @internal */
1180
- export declare const RetrieveAgentRequestResponseBodyCache$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyCache, z.ZodTypeDef, unknown>;
1181
- export declare function retrieveAgentRequestResponseBodyCacheFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyCache, SDKValidationError>;
1067
+ export declare const RetrieveAgentRequestCache$inboundSchema: z.ZodType<RetrieveAgentRequestCache, z.ZodTypeDef, unknown>;
1068
+ export declare function retrieveAgentRequestCacheFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestCache, SDKValidationError>;
1182
1069
  /** @internal */
1183
1070
  export declare const RetrieveAgentRequestLoadBalancerType$inboundSchema: z.ZodNativeEnum<typeof RetrieveAgentRequestLoadBalancerType>;
1184
1071
  /** @internal */
@@ -1188,17 +1075,17 @@ export declare function retrieveAgentRequestLoadBalancerModelsFromJSON(jsonStrin
1188
1075
  export declare const RetrieveAgentRequestLoadBalancer1$inboundSchema: z.ZodType<RetrieveAgentRequestLoadBalancer1, z.ZodTypeDef, unknown>;
1189
1076
  export declare function retrieveAgentRequestLoadBalancer1FromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestLoadBalancer1, SDKValidationError>;
1190
1077
  /** @internal */
1191
- export declare const RetrieveAgentRequestResponseBodyLoadBalancer$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyLoadBalancer, z.ZodTypeDef, unknown>;
1192
- export declare function retrieveAgentRequestResponseBodyLoadBalancerFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyLoadBalancer, SDKValidationError>;
1078
+ export declare const RetrieveAgentRequestLoadBalancer$inboundSchema: z.ZodType<RetrieveAgentRequestLoadBalancer, z.ZodTypeDef, unknown>;
1079
+ export declare function retrieveAgentRequestLoadBalancerFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestLoadBalancer, SDKValidationError>;
1193
1080
  /** @internal */
1194
- export declare const RetrieveAgentRequestResponseBodyTimeout$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyTimeout, z.ZodTypeDef, unknown>;
1195
- export declare function retrieveAgentRequestResponseBodyTimeoutFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyTimeout, SDKValidationError>;
1081
+ export declare const RetrieveAgentRequestTimeout$inboundSchema: z.ZodType<RetrieveAgentRequestTimeout, z.ZodTypeDef, unknown>;
1082
+ export declare function retrieveAgentRequestTimeoutFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestTimeout, SDKValidationError>;
1196
1083
  /** @internal */
1197
- export declare const RetrieveAgentRequestResponseBodyParameters$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyParameters, z.ZodTypeDef, unknown>;
1198
- export declare function retrieveAgentRequestResponseBodyParametersFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyParameters, SDKValidationError>;
1084
+ export declare const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<RetrieveAgentRequestParameters, z.ZodTypeDef, unknown>;
1085
+ export declare function retrieveAgentRequestParametersFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestParameters, SDKValidationError>;
1199
1086
  /** @internal */
1200
- export declare const RetrieveAgentRequestResponseBodyRetry$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyRetry, z.ZodTypeDef, unknown>;
1201
- export declare function retrieveAgentRequestResponseBodyRetryFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyRetry, SDKValidationError>;
1087
+ export declare const RetrieveAgentRequestRetry$inboundSchema: z.ZodType<RetrieveAgentRequestRetry, z.ZodTypeDef, unknown>;
1088
+ export declare function retrieveAgentRequestRetryFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestRetry, SDKValidationError>;
1202
1089
  /** @internal */
1203
1090
  export declare const RetrieveAgentRequestResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<RetrieveAgentRequestResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
1204
1091
  export declare function retrieveAgentRequestResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
@@ -1279,14 +1166,17 @@ export declare function retrieveAgentRequestFallbackModelConfigurationRetryFromJ
1279
1166
  export declare const RetrieveAgentRequestFallbackModelConfiguration2$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
1280
1167
  export declare function retrieveAgentRequestFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfiguration2, SDKValidationError>;
1281
1168
  /** @internal */
1282
- export declare const RetrieveAgentRequestResponseBodyFallbackModelConfiguration$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBodyFallbackModelConfiguration, z.ZodTypeDef, unknown>;
1283
- export declare function retrieveAgentRequestResponseBodyFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBodyFallbackModelConfiguration, SDKValidationError>;
1169
+ export declare const RetrieveAgentRequestFallbackModelConfiguration$inboundSchema: z.ZodType<RetrieveAgentRequestFallbackModelConfiguration, z.ZodTypeDef, unknown>;
1170
+ export declare function retrieveAgentRequestFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestFallbackModelConfiguration, SDKValidationError>;
1171
+ /** @internal */
1172
+ export declare const RetrieveAgentRequestModel$inboundSchema: z.ZodType<RetrieveAgentRequestModel, z.ZodTypeDef, unknown>;
1173
+ export declare function retrieveAgentRequestModelFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestModel, SDKValidationError>;
1284
1174
  /** @internal */
1285
- export declare const ResponseBodyModel$inboundSchema: z.ZodType<ResponseBodyModel, z.ZodTypeDef, unknown>;
1286
- export declare function responseBodyModelFromJSON(jsonString: string): SafeParseResult<ResponseBodyModel, SDKValidationError>;
1175
+ export declare const RetrieveAgentRequestHeaders$inboundSchema: z.ZodType<RetrieveAgentRequestHeaders, z.ZodTypeDef, unknown>;
1176
+ export declare function retrieveAgentRequestHeadersFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestHeaders, SDKValidationError>;
1287
1177
  /** @internal */
1288
- export declare const RetrieveAgentRequestResponseBody1$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBody1, z.ZodTypeDef, unknown>;
1289
- export declare function retrieveAgentRequestResponseBody1FromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBody1, SDKValidationError>;
1178
+ export declare const RetrieveAgentRequestA2AAgentConfiguration$inboundSchema: z.ZodType<RetrieveAgentRequestA2AAgentConfiguration, z.ZodTypeDef, unknown>;
1179
+ export declare function retrieveAgentRequestA2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestA2AAgentConfiguration, SDKValidationError>;
1290
1180
  /** @internal */
1291
1181
  export declare const RetrieveAgentRequestResponseBody$inboundSchema: z.ZodType<RetrieveAgentRequestResponseBody, z.ZodTypeDef, unknown>;
1292
1182
  export declare function retrieveAgentRequestResponseBodyFromJSON(jsonString: string): SafeParseResult<RetrieveAgentRequestResponseBody, SDKValidationError>;