@orq-ai/node 4.5.0-rc.26 → 4.5.0-rc.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -28
- package/funcs/agentsList.d.ts +1 -1
- package/funcs/agentsList.d.ts.map +1 -1
- package/funcs/agentsList.js +5 -3
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsPostV2AgentsA2a.d.ts +18 -0
- package/funcs/agentsPostV2AgentsA2a.d.ts.map +1 -0
- package/funcs/agentsPostV2AgentsA2a.js +120 -0
- package/funcs/agentsPostV2AgentsA2a.js.map +1 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts +18 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +1 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js +124 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +1 -0
- package/funcs/agentsResponsesGet.d.ts +19 -0
- package/funcs/agentsResponsesGet.d.ts.map +1 -0
- package/funcs/agentsResponsesGet.js +128 -0
- package/funcs/agentsResponsesGet.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/extendedmessage.d.ts +71 -0
- package/models/components/extendedmessage.d.ts.map +1 -0
- package/models/components/extendedmessage.js +98 -0
- package/models/components/extendedmessage.js.map +1 -0
- package/models/components/getagentresponse.d.ts +157 -0
- package/models/components/getagentresponse.d.ts.map +1 -0
- package/models/components/getagentresponse.js +175 -0
- package/models/components/getagentresponse.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/partdoneevent.js +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/errors/index.d.ts +2 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/postv2agentsa2a.d.ts +43 -0
- package/models/errors/postv2agentsa2a.d.ts.map +1 -0
- package/models/errors/postv2agentsa2a.js +94 -0
- package/models/errors/postv2agentsa2a.js.map +1 -0
- package/models/errors/postv2agentskeycardrefresh.d.ts +43 -0
- package/models/errors/postv2agentskeycardrefresh.d.ts.map +1 -0
- package/models/errors/postv2agentskeycardrefresh.js +94 -0
- package/models/errors/postv2agentskeycardrefresh.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +309 -142
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +292 -160
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +22 -1
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +10 -1
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createannotation.d.ts +1 -1
- package/models/operations/createannotation.d.ts.map +1 -1
- package/models/operations/createannotation.js +4 -0
- package/models/operations/createannotation.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createknowledge.d.ts +7 -7
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +11 -11
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createtool.d.ts +39 -39
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +52 -49
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +14 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +16 -1
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +14 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +16 -1
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/getagentresponse.d.ts +20 -0
- package/models/operations/getagentresponse.d.ts.map +1 -0
- package/models/operations/getagentresponse.js +56 -0
- package/models/operations/getagentresponse.js.map +1 -0
- package/models/operations/getalltools.d.ts +39 -39
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +49 -47
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.js +16 -16
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +26 -1
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +12 -1
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +331 -147
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +314 -171
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listknowledgebases.d.ts +8 -8
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +13 -15
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/postv2agentsa2a.d.ts +119 -0
- package/models/operations/postv2agentsa2a.d.ts.map +1 -0
- package/models/operations/postv2agentsa2a.js +147 -0
- package/models/operations/postv2agentsa2a.js.map +1 -0
- package/models/operations/postv2agentskeycardrefresh.d.ts +35 -0
- package/models/operations/postv2agentskeycardrefresh.d.ts.map +1 -0
- package/models/operations/postv2agentskeycardrefresh.js +71 -0
- package/models/operations/postv2agentskeycardrefresh.js.map +1 -0
- package/models/operations/retrieveagentrequest.d.ts +316 -150
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +307 -173
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +15 -11
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +12 -12
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +22 -1
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +11 -1
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +370 -157
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +336 -179
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/sdk/agents.d.ts +16 -2
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +22 -2
- package/sdk/agents.js.map +1 -1
- package/sdk/responses.d.ts +8 -0
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +10 -0
- package/sdk/responses.js.map +1 -1
- package/src/funcs/agentsList.ts +5 -0
- package/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
- package/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
- package/src/funcs/agentsResponsesGet.ts +182 -0
- package/src/funcs/agentsUpdate.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/models/components/extendedmessage.ts +146 -0
- package/src/models/components/getagentresponse.ts +348 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/postv2agentsa2a.ts +96 -0
- package/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
- package/src/models/operations/createagentrequest.ts +714 -360
- package/src/models/operations/createagentresponserequest.ts +35 -1
- package/src/models/operations/createannotation.ts +5 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createknowledge.ts +19 -17
- package/src/models/operations/createtool.ts +103 -91
- package/src/models/operations/deploymentinvoke.ts +38 -0
- package/src/models/operations/deploymentstream.ts +38 -0
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/getagentresponse.ts +46 -0
- package/src/models/operations/getalltools.ts +93 -87
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/invokeagent.ts +45 -1
- package/src/models/operations/listagents.ts +723 -366
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +72 -64
- package/src/models/operations/postv2agentsa2a.ts +252 -0
- package/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
- package/src/models/operations/retrieveagentrequest.ts +975 -468
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +35 -21
- package/src/models/operations/streamagent.ts +40 -1
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updateagent.ts +876 -385
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/agents.ts +39 -1
- package/src/sdk/responses.ts +19 -0
|
@@ -3,6 +3,17 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import * as components from "../components/index.js";
|
|
5
5
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
+
/**
|
|
7
|
+
* Filter agents by type: "internal" for Orquesta-managed agents, "a2a" for external A2A-compliant agents
|
|
8
|
+
*/
|
|
9
|
+
export declare const QueryParamType: {
|
|
10
|
+
readonly Internal: "internal";
|
|
11
|
+
readonly A2a: "a2a";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Filter agents by type: "internal" for Orquesta-managed agents, "a2a" for external A2A-compliant agents
|
|
15
|
+
*/
|
|
16
|
+
export type QueryParamType = ClosedEnum<typeof QueryParamType>;
|
|
6
17
|
export type ListAgentsRequest = {
|
|
7
18
|
/**
|
|
8
19
|
* A limit on the number of objects to be returned. Limit can range between 1 and 200. When not provided, returns all agents without pagination.
|
|
@@ -16,6 +27,10 @@ export type ListAgentsRequest = {
|
|
|
16
27
|
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
17
28
|
*/
|
|
18
29
|
endingBefore?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Filter agents by type: "internal" for Orquesta-managed agents, "a2a" for external A2A-compliant agents
|
|
32
|
+
*/
|
|
33
|
+
type?: QueryParamType | undefined;
|
|
19
34
|
};
|
|
20
35
|
export declare const ListAgentsObject: {
|
|
21
36
|
readonly List: "list";
|
|
@@ -24,7 +39,7 @@ export type ListAgentsObject = ClosedEnum<typeof ListAgentsObject>;
|
|
|
24
39
|
/**
|
|
25
40
|
* 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.
|
|
26
41
|
*/
|
|
27
|
-
export declare const
|
|
42
|
+
export declare const ListAgentsDataStatus: {
|
|
28
43
|
readonly Live: "live";
|
|
29
44
|
readonly Draft: "draft";
|
|
30
45
|
readonly Pending: "pending";
|
|
@@ -33,11 +48,172 @@ export declare const ListAgentsStatus: {
|
|
|
33
48
|
/**
|
|
34
49
|
* 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.
|
|
35
50
|
*/
|
|
36
|
-
export type
|
|
51
|
+
export type ListAgentsDataStatus = ClosedEnum<typeof ListAgentsDataStatus>;
|
|
52
|
+
export type ListAgentsDataTeamOfAgents = {
|
|
53
|
+
/**
|
|
54
|
+
* The unique key of the agent within the workspace
|
|
55
|
+
*/
|
|
56
|
+
key: string;
|
|
57
|
+
/**
|
|
58
|
+
* 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.
|
|
59
|
+
*/
|
|
60
|
+
role?: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
export type ListAgentsDataMetrics = {
|
|
63
|
+
totalCost: number;
|
|
64
|
+
};
|
|
65
|
+
export type ListAgentsDataKnowledgeBases = {
|
|
66
|
+
/**
|
|
67
|
+
* Unique identifier of the knowledge base to search
|
|
68
|
+
*/
|
|
69
|
+
knowledgeId: string;
|
|
70
|
+
};
|
|
71
|
+
export declare const ListAgentsDataSource: {
|
|
72
|
+
readonly Internal: "internal";
|
|
73
|
+
readonly External: "external";
|
|
74
|
+
readonly Experiment: "experiment";
|
|
75
|
+
};
|
|
76
|
+
export type ListAgentsDataSource = ClosedEnum<typeof ListAgentsDataSource>;
|
|
77
|
+
export type DataHeaders = {
|
|
78
|
+
/**
|
|
79
|
+
* 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.
|
|
80
|
+
*/
|
|
81
|
+
value: string;
|
|
82
|
+
encrypted: boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
|
|
86
|
+
*/
|
|
87
|
+
export type DataA2AAgentConfiguration = {
|
|
88
|
+
/**
|
|
89
|
+
* The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
|
|
90
|
+
*/
|
|
91
|
+
agentUrl: string;
|
|
92
|
+
/**
|
|
93
|
+
* Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
|
|
94
|
+
*/
|
|
95
|
+
cardUrl?: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* 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.
|
|
98
|
+
*/
|
|
99
|
+
headers?: {
|
|
100
|
+
[k: string]: DataHeaders;
|
|
101
|
+
} | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Cached agent card from discovery. Refreshed periodically.
|
|
104
|
+
*/
|
|
105
|
+
cachedCard?: any | undefined;
|
|
106
|
+
};
|
|
107
|
+
export type Data2 = {
|
|
108
|
+
id: string;
|
|
109
|
+
/**
|
|
110
|
+
* Unique identifier for the agent within the workspace
|
|
111
|
+
*/
|
|
112
|
+
key: string;
|
|
113
|
+
displayName?: string | undefined;
|
|
114
|
+
createdById?: string | null | undefined;
|
|
115
|
+
updatedById?: string | null | undefined;
|
|
116
|
+
created?: string | undefined;
|
|
117
|
+
updated?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* 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.
|
|
120
|
+
*/
|
|
121
|
+
status: ListAgentsDataStatus;
|
|
122
|
+
versionHash?: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
125
|
+
*
|
|
126
|
+
* @remarks
|
|
127
|
+
*
|
|
128
|
+
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
129
|
+
*
|
|
130
|
+
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
131
|
+
*/
|
|
132
|
+
path: string;
|
|
133
|
+
/**
|
|
134
|
+
* Array of memory store identifiers. Accepts both memory store IDs and keys.
|
|
135
|
+
*/
|
|
136
|
+
memoryStores?: Array<string> | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
139
|
+
*/
|
|
140
|
+
teamOfAgents?: Array<ListAgentsDataTeamOfAgents> | undefined;
|
|
141
|
+
metrics?: ListAgentsDataMetrics | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Extracted variables from agent instructions
|
|
144
|
+
*/
|
|
145
|
+
variables?: {
|
|
146
|
+
[k: string]: any;
|
|
147
|
+
} | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* Agent knowledge bases reference
|
|
150
|
+
*/
|
|
151
|
+
knowledgeBases?: Array<ListAgentsDataKnowledgeBases> | undefined;
|
|
152
|
+
source?: ListAgentsDataSource | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* External A2A-compliant agent
|
|
155
|
+
*/
|
|
156
|
+
type: "a2a";
|
|
157
|
+
/**
|
|
158
|
+
* Role fetched from agent card name or user-provided
|
|
159
|
+
*/
|
|
160
|
+
role: string;
|
|
161
|
+
/**
|
|
162
|
+
* Description fetched from agent card or user-provided
|
|
163
|
+
*/
|
|
164
|
+
description: string;
|
|
165
|
+
systemPrompt?: string | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* Instructions from agent card description or user-provided
|
|
168
|
+
*/
|
|
169
|
+
instructions: string;
|
|
170
|
+
/**
|
|
171
|
+
* A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
|
|
172
|
+
*/
|
|
173
|
+
a2a: DataA2AAgentConfiguration;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* 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.
|
|
177
|
+
*/
|
|
178
|
+
export declare const DataStatus: {
|
|
179
|
+
readonly Live: "live";
|
|
180
|
+
readonly Draft: "draft";
|
|
181
|
+
readonly Pending: "pending";
|
|
182
|
+
readonly Published: "published";
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* 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.
|
|
186
|
+
*/
|
|
187
|
+
export type DataStatus = ClosedEnum<typeof DataStatus>;
|
|
188
|
+
export type DataTeamOfAgents = {
|
|
189
|
+
/**
|
|
190
|
+
* The unique key of the agent within the workspace
|
|
191
|
+
*/
|
|
192
|
+
key: string;
|
|
193
|
+
/**
|
|
194
|
+
* 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.
|
|
195
|
+
*/
|
|
196
|
+
role?: string | undefined;
|
|
197
|
+
};
|
|
198
|
+
export type DataMetrics = {
|
|
199
|
+
totalCost: number;
|
|
200
|
+
};
|
|
201
|
+
export type DataKnowledgeBases = {
|
|
202
|
+
/**
|
|
203
|
+
* Unique identifier of the knowledge base to search
|
|
204
|
+
*/
|
|
205
|
+
knowledgeId: string;
|
|
206
|
+
};
|
|
207
|
+
export declare const DataSource: {
|
|
208
|
+
readonly Internal: "internal";
|
|
209
|
+
readonly External: "external";
|
|
210
|
+
readonly Experiment: "experiment";
|
|
211
|
+
};
|
|
212
|
+
export type DataSource = ClosedEnum<typeof DataSource>;
|
|
37
213
|
/**
|
|
38
214
|
* 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.
|
|
39
215
|
*/
|
|
40
|
-
export declare const
|
|
216
|
+
export declare const DataToolApprovalRequired: {
|
|
41
217
|
readonly All: "all";
|
|
42
218
|
readonly RespectTool: "respect_tool";
|
|
43
219
|
readonly None: "none";
|
|
@@ -45,8 +221,8 @@ export declare const ListAgentsToolApprovalRequired: {
|
|
|
45
221
|
/**
|
|
46
222
|
* 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.
|
|
47
223
|
*/
|
|
48
|
-
export type
|
|
49
|
-
export type
|
|
224
|
+
export type DataToolApprovalRequired = ClosedEnum<typeof DataToolApprovalRequired>;
|
|
225
|
+
export type DataConditions = {
|
|
50
226
|
/**
|
|
51
227
|
* The argument of the tool call to evaluate
|
|
52
228
|
*/
|
|
@@ -60,7 +236,7 @@ export type ListAgentsConditions = {
|
|
|
60
236
|
*/
|
|
61
237
|
value: string;
|
|
62
238
|
};
|
|
63
|
-
export type
|
|
239
|
+
export type DataTools = {
|
|
64
240
|
/**
|
|
65
241
|
* The id of the resource
|
|
66
242
|
*/
|
|
@@ -80,7 +256,7 @@ export type ListAgentsTools = {
|
|
|
80
256
|
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
81
257
|
*/
|
|
82
258
|
toolId?: string | undefined;
|
|
83
|
-
conditions?: Array<
|
|
259
|
+
conditions?: Array<DataConditions> | undefined;
|
|
84
260
|
/**
|
|
85
261
|
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
86
262
|
*/
|
|
@@ -89,15 +265,15 @@ export type ListAgentsTools = {
|
|
|
89
265
|
/**
|
|
90
266
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
91
267
|
*/
|
|
92
|
-
export declare const
|
|
268
|
+
export declare const DataExecuteOn: {
|
|
93
269
|
readonly Input: "input";
|
|
94
270
|
readonly Output: "output";
|
|
95
271
|
};
|
|
96
272
|
/**
|
|
97
273
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
98
274
|
*/
|
|
99
|
-
export type
|
|
100
|
-
export type
|
|
275
|
+
export type DataExecuteOn = ClosedEnum<typeof DataExecuteOn>;
|
|
276
|
+
export type DataEvaluators = {
|
|
101
277
|
/**
|
|
102
278
|
* Unique key or identifier of the evaluator
|
|
103
279
|
*/
|
|
@@ -109,20 +285,20 @@ export type ListAgentsEvaluators = {
|
|
|
109
285
|
/**
|
|
110
286
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
111
287
|
*/
|
|
112
|
-
executeOn:
|
|
288
|
+
executeOn: DataExecuteOn;
|
|
113
289
|
};
|
|
114
290
|
/**
|
|
115
291
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
116
292
|
*/
|
|
117
|
-
export declare const
|
|
293
|
+
export declare const ListAgentsDataExecuteOn: {
|
|
118
294
|
readonly Input: "input";
|
|
119
295
|
readonly Output: "output";
|
|
120
296
|
};
|
|
121
297
|
/**
|
|
122
298
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
123
299
|
*/
|
|
124
|
-
export type
|
|
125
|
-
export type
|
|
300
|
+
export type ListAgentsDataExecuteOn = ClosedEnum<typeof ListAgentsDataExecuteOn>;
|
|
301
|
+
export type DataGuardrails = {
|
|
126
302
|
/**
|
|
127
303
|
* Unique key or identifier of the evaluator
|
|
128
304
|
*/
|
|
@@ -134,9 +310,9 @@ export type ListAgentsGuardrails = {
|
|
|
134
310
|
/**
|
|
135
311
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
136
312
|
*/
|
|
137
|
-
executeOn:
|
|
313
|
+
executeOn: ListAgentsDataExecuteOn;
|
|
138
314
|
};
|
|
139
|
-
export type
|
|
315
|
+
export type DataSettings = {
|
|
140
316
|
/**
|
|
141
317
|
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
142
318
|
*/
|
|
@@ -152,16 +328,16 @@ export type ListAgentsSettings = {
|
|
|
152
328
|
/**
|
|
153
329
|
* 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.
|
|
154
330
|
*/
|
|
155
|
-
toolApprovalRequired:
|
|
156
|
-
tools?: Array<
|
|
331
|
+
toolApprovalRequired: DataToolApprovalRequired;
|
|
332
|
+
tools?: Array<DataTools> | undefined;
|
|
157
333
|
/**
|
|
158
334
|
* Configuration for an evaluator applied to the agent
|
|
159
335
|
*/
|
|
160
|
-
evaluators?: Array<
|
|
336
|
+
evaluators?: Array<DataEvaluators> | undefined;
|
|
161
337
|
/**
|
|
162
338
|
* Configuration for a guardrail applied to the agent
|
|
163
339
|
*/
|
|
164
|
-
guardrails?: Array<
|
|
340
|
+
guardrails?: Array<DataGuardrails> | undefined;
|
|
165
341
|
};
|
|
166
342
|
export type ListAgentsResponseFormatJsonSchema = {
|
|
167
343
|
/**
|
|
@@ -209,7 +385,7 @@ export type ListAgentsResponseFormatText = {
|
|
|
209
385
|
/**
|
|
210
386
|
* An object specifying the format that the model must output
|
|
211
387
|
*/
|
|
212
|
-
export type
|
|
388
|
+
export type DataResponseFormat = ListAgentsResponseFormatText | ListAgentsResponseFormatJSONObject | ListAgentsResponseFormatAgentsJSONSchema;
|
|
213
389
|
/**
|
|
214
390
|
* 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.
|
|
215
391
|
*
|
|
@@ -222,7 +398,7 @@ export type ListAgentsResponseFormat = ListAgentsResponseFormatText | ListAgents
|
|
|
222
398
|
*
|
|
223
399
|
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
224
400
|
*/
|
|
225
|
-
export declare const
|
|
401
|
+
export declare const DataReasoningEffort: {
|
|
226
402
|
readonly None: "none";
|
|
227
403
|
readonly Minimal: "minimal";
|
|
228
404
|
readonly Low: "low";
|
|
@@ -242,12 +418,12 @@ export declare const ListAgentsReasoningEffort: {
|
|
|
242
418
|
*
|
|
243
419
|
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
244
420
|
*/
|
|
245
|
-
export type
|
|
421
|
+
export type DataReasoningEffort = ClosedEnum<typeof DataReasoningEffort>;
|
|
246
422
|
/**
|
|
247
423
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
248
424
|
*/
|
|
249
|
-
export type
|
|
250
|
-
export type
|
|
425
|
+
export type DataStop = string | Array<string>;
|
|
426
|
+
export type DataThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
251
427
|
/**
|
|
252
428
|
* The type of the tool. Currently, only function is supported.
|
|
253
429
|
*/
|
|
@@ -280,12 +456,12 @@ export type ListAgentsToolChoice1 = ClosedEnum<typeof ListAgentsToolChoice1>;
|
|
|
280
456
|
/**
|
|
281
457
|
* Controls which (if any) tool is called by the model.
|
|
282
458
|
*/
|
|
283
|
-
export type
|
|
284
|
-
export declare const
|
|
459
|
+
export type DataToolChoice = ListAgentsToolChoice2 | ListAgentsToolChoice1;
|
|
460
|
+
export declare const DataModalities: {
|
|
285
461
|
readonly Text: "text";
|
|
286
462
|
readonly Audio: "audio";
|
|
287
463
|
};
|
|
288
|
-
export type
|
|
464
|
+
export type DataModalities = ClosedEnum<typeof DataModalities>;
|
|
289
465
|
/**
|
|
290
466
|
* The key of the guardrail.
|
|
291
467
|
*/
|
|
@@ -298,44 +474,44 @@ export declare const ListAgentsId1: {
|
|
|
298
474
|
* The key of the guardrail.
|
|
299
475
|
*/
|
|
300
476
|
export type ListAgentsId1 = ClosedEnum<typeof ListAgentsId1>;
|
|
301
|
-
export type
|
|
477
|
+
export type DataId = ListAgentsId1 | string;
|
|
302
478
|
/**
|
|
303
479
|
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
304
480
|
*/
|
|
305
|
-
export declare const
|
|
481
|
+
export declare const ListAgentsDataAgentsExecuteOn: {
|
|
306
482
|
readonly Input: "input";
|
|
307
483
|
readonly Output: "output";
|
|
308
484
|
};
|
|
309
485
|
/**
|
|
310
486
|
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
311
487
|
*/
|
|
312
|
-
export type
|
|
313
|
-
export type
|
|
488
|
+
export type ListAgentsDataAgentsExecuteOn = ClosedEnum<typeof ListAgentsDataAgentsExecuteOn>;
|
|
489
|
+
export type ListAgentsDataGuardrails = {
|
|
314
490
|
id: ListAgentsId1 | string;
|
|
315
491
|
/**
|
|
316
492
|
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
317
493
|
*/
|
|
318
|
-
executeOn:
|
|
494
|
+
executeOn: ListAgentsDataAgentsExecuteOn;
|
|
319
495
|
};
|
|
320
|
-
export type
|
|
496
|
+
export type DataFallbacks = {
|
|
321
497
|
/**
|
|
322
498
|
* Fallback model identifier
|
|
323
499
|
*/
|
|
324
500
|
model: string;
|
|
325
501
|
};
|
|
326
|
-
export declare const
|
|
502
|
+
export declare const ListAgentsDataAgentsResponseType: {
|
|
327
503
|
readonly ExactMatch: "exact_match";
|
|
328
504
|
};
|
|
329
|
-
export type
|
|
505
|
+
export type ListAgentsDataAgentsResponseType = ClosedEnum<typeof ListAgentsDataAgentsResponseType>;
|
|
330
506
|
/**
|
|
331
507
|
* Cache configuration for the request.
|
|
332
508
|
*/
|
|
333
|
-
export type
|
|
509
|
+
export type DataCache = {
|
|
334
510
|
/**
|
|
335
511
|
* Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
|
|
336
512
|
*/
|
|
337
513
|
ttl: number;
|
|
338
|
-
type:
|
|
514
|
+
type: ListAgentsDataAgentsResponseType;
|
|
339
515
|
};
|
|
340
516
|
export declare const ListAgentsLoadBalancerType: {
|
|
341
517
|
readonly WeightBased: "weight_based";
|
|
@@ -358,11 +534,11 @@ export type ListAgentsLoadBalancer1 = {
|
|
|
358
534
|
/**
|
|
359
535
|
* Load balancer configuration for the request.
|
|
360
536
|
*/
|
|
361
|
-
export type
|
|
537
|
+
export type DataLoadBalancer = ListAgentsLoadBalancer1;
|
|
362
538
|
/**
|
|
363
539
|
* 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.
|
|
364
540
|
*/
|
|
365
|
-
export type
|
|
541
|
+
export type DataTimeout = {
|
|
366
542
|
/**
|
|
367
543
|
* Timeout value in milliseconds
|
|
368
544
|
*/
|
|
@@ -371,7 +547,7 @@ export type ListAgentsTimeout = {
|
|
|
371
547
|
/**
|
|
372
548
|
* 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.
|
|
373
549
|
*/
|
|
374
|
-
export type
|
|
550
|
+
export type DataParameters = {
|
|
375
551
|
/**
|
|
376
552
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
377
553
|
*/
|
|
@@ -412,7 +588,7 @@ export type ListAgentsParameters = {
|
|
|
412
588
|
*
|
|
413
589
|
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
414
590
|
*/
|
|
415
|
-
reasoningEffort?:
|
|
591
|
+
reasoningEffort?: DataReasoningEffort | undefined;
|
|
416
592
|
/**
|
|
417
593
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
418
594
|
*/
|
|
@@ -449,19 +625,19 @@ export type ListAgentsParameters = {
|
|
|
449
625
|
/**
|
|
450
626
|
* 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"].
|
|
451
627
|
*/
|
|
452
|
-
modalities?: Array<
|
|
628
|
+
modalities?: Array<DataModalities> | null | undefined;
|
|
453
629
|
/**
|
|
454
630
|
* A list of guardrails to apply to the request.
|
|
455
631
|
*/
|
|
456
|
-
guardrails?: Array<
|
|
632
|
+
guardrails?: Array<ListAgentsDataGuardrails> | undefined;
|
|
457
633
|
/**
|
|
458
634
|
* Array of fallback models to use if primary model fails
|
|
459
635
|
*/
|
|
460
|
-
fallbacks?: Array<
|
|
636
|
+
fallbacks?: Array<DataFallbacks> | undefined;
|
|
461
637
|
/**
|
|
462
638
|
* Cache configuration for the request.
|
|
463
639
|
*/
|
|
464
|
-
cache?:
|
|
640
|
+
cache?: DataCache | undefined;
|
|
465
641
|
/**
|
|
466
642
|
* Load balancer configuration for the request.
|
|
467
643
|
*/
|
|
@@ -469,12 +645,12 @@ export type ListAgentsParameters = {
|
|
|
469
645
|
/**
|
|
470
646
|
* 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.
|
|
471
647
|
*/
|
|
472
|
-
timeout?:
|
|
648
|
+
timeout?: DataTimeout | undefined;
|
|
473
649
|
};
|
|
474
650
|
/**
|
|
475
651
|
* 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).
|
|
476
652
|
*/
|
|
477
|
-
export type
|
|
653
|
+
export type DataRetry = {
|
|
478
654
|
/**
|
|
479
655
|
* Number of retry attempts (1-5)
|
|
480
656
|
*/
|
|
@@ -825,8 +1001,8 @@ export type ListAgentsFallbackModelConfiguration2 = {
|
|
|
825
1001
|
/**
|
|
826
1002
|
* 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.
|
|
827
1003
|
*/
|
|
828
|
-
export type
|
|
829
|
-
export type
|
|
1004
|
+
export type DataFallbackModelConfiguration = ListAgentsFallbackModelConfiguration2 | string;
|
|
1005
|
+
export type DataModel = {
|
|
830
1006
|
/**
|
|
831
1007
|
* The database ID of the primary model
|
|
832
1008
|
*/
|
|
@@ -838,42 +1014,17 @@ export type ListAgentsModel = {
|
|
|
838
1014
|
/**
|
|
839
1015
|
* 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.
|
|
840
1016
|
*/
|
|
841
|
-
parameters?:
|
|
1017
|
+
parameters?: DataParameters | undefined;
|
|
842
1018
|
/**
|
|
843
1019
|
* 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).
|
|
844
1020
|
*/
|
|
845
|
-
retry?:
|
|
1021
|
+
retry?: DataRetry | undefined;
|
|
846
1022
|
/**
|
|
847
1023
|
* Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
|
|
848
1024
|
*/
|
|
849
1025
|
fallbackModels?: Array<ListAgentsFallbackModelConfiguration2 | string> | null | undefined;
|
|
850
1026
|
};
|
|
851
|
-
export type
|
|
852
|
-
/**
|
|
853
|
-
* The unique key of the agent within the workspace
|
|
854
|
-
*/
|
|
855
|
-
key: string;
|
|
856
|
-
/**
|
|
857
|
-
* 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.
|
|
858
|
-
*/
|
|
859
|
-
role?: string | undefined;
|
|
860
|
-
};
|
|
861
|
-
export type ListAgentsMetrics = {
|
|
862
|
-
totalCost: number;
|
|
863
|
-
};
|
|
864
|
-
export type ListAgentsKnowledgeBases = {
|
|
865
|
-
/**
|
|
866
|
-
* Unique identifier of the knowledge base to search
|
|
867
|
-
*/
|
|
868
|
-
knowledgeId: string;
|
|
869
|
-
};
|
|
870
|
-
export declare const ListAgentsSource: {
|
|
871
|
-
readonly Internal: "internal";
|
|
872
|
-
readonly External: "external";
|
|
873
|
-
readonly Experiment: "experiment";
|
|
874
|
-
};
|
|
875
|
-
export type ListAgentsSource = ClosedEnum<typeof ListAgentsSource>;
|
|
876
|
-
export type ListAgentsData = {
|
|
1027
|
+
export type Data1 = {
|
|
877
1028
|
id: string;
|
|
878
1029
|
/**
|
|
879
1030
|
* Unique identifier for the agent within the workspace
|
|
@@ -884,16 +1035,10 @@ export type ListAgentsData = {
|
|
|
884
1035
|
updatedById?: string | null | undefined;
|
|
885
1036
|
created?: string | undefined;
|
|
886
1037
|
updated?: string | undefined;
|
|
887
|
-
role: string;
|
|
888
|
-
description: string;
|
|
889
|
-
systemPrompt?: string | undefined;
|
|
890
|
-
instructions: string;
|
|
891
1038
|
/**
|
|
892
1039
|
* 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.
|
|
893
1040
|
*/
|
|
894
|
-
status:
|
|
895
|
-
settings?: ListAgentsSettings | undefined;
|
|
896
|
-
model: ListAgentsModel;
|
|
1041
|
+
status: DataStatus;
|
|
897
1042
|
versionHash?: string | undefined;
|
|
898
1043
|
/**
|
|
899
1044
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -908,12 +1053,12 @@ export type ListAgentsData = {
|
|
|
908
1053
|
/**
|
|
909
1054
|
* Array of memory store identifiers. Accepts both memory store IDs and keys.
|
|
910
1055
|
*/
|
|
911
|
-
memoryStores
|
|
1056
|
+
memoryStores?: Array<string> | undefined;
|
|
912
1057
|
/**
|
|
913
1058
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
914
1059
|
*/
|
|
915
|
-
teamOfAgents
|
|
916
|
-
metrics?:
|
|
1060
|
+
teamOfAgents?: Array<DataTeamOfAgents> | undefined;
|
|
1061
|
+
metrics?: DataMetrics | undefined;
|
|
917
1062
|
/**
|
|
918
1063
|
* Extracted variables from agent instructions
|
|
919
1064
|
*/
|
|
@@ -923,22 +1068,36 @@ export type ListAgentsData = {
|
|
|
923
1068
|
/**
|
|
924
1069
|
* Agent knowledge bases reference
|
|
925
1070
|
*/
|
|
926
|
-
knowledgeBases?: Array<
|
|
927
|
-
source?:
|
|
1071
|
+
knowledgeBases?: Array<DataKnowledgeBases> | undefined;
|
|
1072
|
+
source?: DataSource | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* Orquesta-managed agent
|
|
1075
|
+
*/
|
|
1076
|
+
type: "internal";
|
|
1077
|
+
role: string;
|
|
1078
|
+
description: string;
|
|
1079
|
+
systemPrompt?: string | undefined;
|
|
1080
|
+
instructions: string;
|
|
1081
|
+
settings?: DataSettings | undefined;
|
|
1082
|
+
model: DataModel;
|
|
928
1083
|
};
|
|
1084
|
+
export type ListAgentsData = Data1 | Data2;
|
|
929
1085
|
/**
|
|
930
1086
|
* Successfully retrieved the list of agents. Returns a paginated response containing agent manifests with complete configurations, including primary and fallback models, tools, knowledge bases, and execution settings.
|
|
931
1087
|
*/
|
|
932
1088
|
export type ListAgentsResponseBody = {
|
|
933
1089
|
object: ListAgentsObject;
|
|
934
|
-
data: Array<
|
|
1090
|
+
data: Array<Data1 | Data2>;
|
|
935
1091
|
hasMore: boolean;
|
|
936
1092
|
};
|
|
937
1093
|
/** @internal */
|
|
1094
|
+
export declare const QueryParamType$outboundSchema: z.ZodNativeEnum<typeof QueryParamType>;
|
|
1095
|
+
/** @internal */
|
|
938
1096
|
export type ListAgentsRequest$Outbound = {
|
|
939
1097
|
limit?: number | undefined;
|
|
940
1098
|
starting_after?: string | undefined;
|
|
941
1099
|
ending_before?: string | undefined;
|
|
1100
|
+
type?: string | undefined;
|
|
942
1101
|
};
|
|
943
1102
|
/** @internal */
|
|
944
1103
|
export declare const ListAgentsRequest$outboundSchema: z.ZodType<ListAgentsRequest$Outbound, z.ZodTypeDef, ListAgentsRequest>;
|
|
@@ -946,28 +1105,61 @@ export declare function listAgentsRequestToJSON(listAgentsRequest: ListAgentsReq
|
|
|
946
1105
|
/** @internal */
|
|
947
1106
|
export declare const ListAgentsObject$inboundSchema: z.ZodNativeEnum<typeof ListAgentsObject>;
|
|
948
1107
|
/** @internal */
|
|
949
|
-
export declare const
|
|
1108
|
+
export declare const ListAgentsDataStatus$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataStatus>;
|
|
1109
|
+
/** @internal */
|
|
1110
|
+
export declare const ListAgentsDataTeamOfAgents$inboundSchema: z.ZodType<ListAgentsDataTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
1111
|
+
export declare function listAgentsDataTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<ListAgentsDataTeamOfAgents, SDKValidationError>;
|
|
1112
|
+
/** @internal */
|
|
1113
|
+
export declare const ListAgentsDataMetrics$inboundSchema: z.ZodType<ListAgentsDataMetrics, z.ZodTypeDef, unknown>;
|
|
1114
|
+
export declare function listAgentsDataMetricsFromJSON(jsonString: string): SafeParseResult<ListAgentsDataMetrics, SDKValidationError>;
|
|
1115
|
+
/** @internal */
|
|
1116
|
+
export declare const ListAgentsDataKnowledgeBases$inboundSchema: z.ZodType<ListAgentsDataKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1117
|
+
export declare function listAgentsDataKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<ListAgentsDataKnowledgeBases, SDKValidationError>;
|
|
1118
|
+
/** @internal */
|
|
1119
|
+
export declare const ListAgentsDataSource$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataSource>;
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
export declare const DataHeaders$inboundSchema: z.ZodType<DataHeaders, z.ZodTypeDef, unknown>;
|
|
1122
|
+
export declare function dataHeadersFromJSON(jsonString: string): SafeParseResult<DataHeaders, SDKValidationError>;
|
|
950
1123
|
/** @internal */
|
|
951
|
-
export declare const
|
|
1124
|
+
export declare const DataA2AAgentConfiguration$inboundSchema: z.ZodType<DataA2AAgentConfiguration, z.ZodTypeDef, unknown>;
|
|
1125
|
+
export declare function dataA2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<DataA2AAgentConfiguration, SDKValidationError>;
|
|
952
1126
|
/** @internal */
|
|
953
|
-
export declare const
|
|
954
|
-
export declare function
|
|
1127
|
+
export declare const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown>;
|
|
1128
|
+
export declare function data2FromJSON(jsonString: string): SafeParseResult<Data2, SDKValidationError>;
|
|
955
1129
|
/** @internal */
|
|
956
|
-
export declare const
|
|
957
|
-
export declare function listAgentsToolsFromJSON(jsonString: string): SafeParseResult<ListAgentsTools, SDKValidationError>;
|
|
1130
|
+
export declare const DataStatus$inboundSchema: z.ZodNativeEnum<typeof DataStatus>;
|
|
958
1131
|
/** @internal */
|
|
959
|
-
export declare const
|
|
1132
|
+
export declare const DataTeamOfAgents$inboundSchema: z.ZodType<DataTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
1133
|
+
export declare function dataTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<DataTeamOfAgents, SDKValidationError>;
|
|
960
1134
|
/** @internal */
|
|
961
|
-
export declare const
|
|
962
|
-
export declare function
|
|
1135
|
+
export declare const DataMetrics$inboundSchema: z.ZodType<DataMetrics, z.ZodTypeDef, unknown>;
|
|
1136
|
+
export declare function dataMetricsFromJSON(jsonString: string): SafeParseResult<DataMetrics, SDKValidationError>;
|
|
963
1137
|
/** @internal */
|
|
964
|
-
export declare const
|
|
1138
|
+
export declare const DataKnowledgeBases$inboundSchema: z.ZodType<DataKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1139
|
+
export declare function dataKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<DataKnowledgeBases, SDKValidationError>;
|
|
965
1140
|
/** @internal */
|
|
966
|
-
export declare const
|
|
967
|
-
export declare function listAgentsGuardrailsFromJSON(jsonString: string): SafeParseResult<ListAgentsGuardrails, SDKValidationError>;
|
|
1141
|
+
export declare const DataSource$inboundSchema: z.ZodNativeEnum<typeof DataSource>;
|
|
968
1142
|
/** @internal */
|
|
969
|
-
export declare const
|
|
970
|
-
|
|
1143
|
+
export declare const DataToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof DataToolApprovalRequired>;
|
|
1144
|
+
/** @internal */
|
|
1145
|
+
export declare const DataConditions$inboundSchema: z.ZodType<DataConditions, z.ZodTypeDef, unknown>;
|
|
1146
|
+
export declare function dataConditionsFromJSON(jsonString: string): SafeParseResult<DataConditions, SDKValidationError>;
|
|
1147
|
+
/** @internal */
|
|
1148
|
+
export declare const DataTools$inboundSchema: z.ZodType<DataTools, z.ZodTypeDef, unknown>;
|
|
1149
|
+
export declare function dataToolsFromJSON(jsonString: string): SafeParseResult<DataTools, SDKValidationError>;
|
|
1150
|
+
/** @internal */
|
|
1151
|
+
export declare const DataExecuteOn$inboundSchema: z.ZodNativeEnum<typeof DataExecuteOn>;
|
|
1152
|
+
/** @internal */
|
|
1153
|
+
export declare const DataEvaluators$inboundSchema: z.ZodType<DataEvaluators, z.ZodTypeDef, unknown>;
|
|
1154
|
+
export declare function dataEvaluatorsFromJSON(jsonString: string): SafeParseResult<DataEvaluators, SDKValidationError>;
|
|
1155
|
+
/** @internal */
|
|
1156
|
+
export declare const ListAgentsDataExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataExecuteOn>;
|
|
1157
|
+
/** @internal */
|
|
1158
|
+
export declare const DataGuardrails$inboundSchema: z.ZodType<DataGuardrails, z.ZodTypeDef, unknown>;
|
|
1159
|
+
export declare function dataGuardrailsFromJSON(jsonString: string): SafeParseResult<DataGuardrails, SDKValidationError>;
|
|
1160
|
+
/** @internal */
|
|
1161
|
+
export declare const DataSettings$inboundSchema: z.ZodType<DataSettings, z.ZodTypeDef, unknown>;
|
|
1162
|
+
export declare function dataSettingsFromJSON(jsonString: string): SafeParseResult<DataSettings, SDKValidationError>;
|
|
971
1163
|
/** @internal */
|
|
972
1164
|
export declare const ListAgentsResponseFormatJsonSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
973
1165
|
export declare function listAgentsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatJsonSchema, SDKValidationError>;
|
|
@@ -981,16 +1173,16 @@ export declare function listAgentsResponseFormatJSONObjectFromJSON(jsonString: s
|
|
|
981
1173
|
export declare const ListAgentsResponseFormatText$inboundSchema: z.ZodType<ListAgentsResponseFormatText, z.ZodTypeDef, unknown>;
|
|
982
1174
|
export declare function listAgentsResponseFormatTextFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatText, SDKValidationError>;
|
|
983
1175
|
/** @internal */
|
|
984
|
-
export declare const
|
|
985
|
-
export declare function
|
|
1176
|
+
export declare const DataResponseFormat$inboundSchema: z.ZodType<DataResponseFormat, z.ZodTypeDef, unknown>;
|
|
1177
|
+
export declare function dataResponseFormatFromJSON(jsonString: string): SafeParseResult<DataResponseFormat, SDKValidationError>;
|
|
986
1178
|
/** @internal */
|
|
987
|
-
export declare const
|
|
1179
|
+
export declare const DataReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof DataReasoningEffort>;
|
|
988
1180
|
/** @internal */
|
|
989
|
-
export declare const
|
|
990
|
-
export declare function
|
|
1181
|
+
export declare const DataStop$inboundSchema: z.ZodType<DataStop, z.ZodTypeDef, unknown>;
|
|
1182
|
+
export declare function dataStopFromJSON(jsonString: string): SafeParseResult<DataStop, SDKValidationError>;
|
|
991
1183
|
/** @internal */
|
|
992
|
-
export declare const
|
|
993
|
-
export declare function
|
|
1184
|
+
export declare const DataThinking$inboundSchema: z.ZodType<DataThinking, z.ZodTypeDef, unknown>;
|
|
1185
|
+
export declare function dataThinkingFromJSON(jsonString: string): SafeParseResult<DataThinking, SDKValidationError>;
|
|
994
1186
|
/** @internal */
|
|
995
1187
|
export declare const ListAgentsToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceType>;
|
|
996
1188
|
/** @internal */
|
|
@@ -1002,28 +1194,28 @@ export declare function listAgentsToolChoice2FromJSON(jsonString: string): SafeP
|
|
|
1002
1194
|
/** @internal */
|
|
1003
1195
|
export declare const ListAgentsToolChoice1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoice1>;
|
|
1004
1196
|
/** @internal */
|
|
1005
|
-
export declare const
|
|
1006
|
-
export declare function
|
|
1197
|
+
export declare const DataToolChoice$inboundSchema: z.ZodType<DataToolChoice, z.ZodTypeDef, unknown>;
|
|
1198
|
+
export declare function dataToolChoiceFromJSON(jsonString: string): SafeParseResult<DataToolChoice, SDKValidationError>;
|
|
1007
1199
|
/** @internal */
|
|
1008
|
-
export declare const
|
|
1200
|
+
export declare const DataModalities$inboundSchema: z.ZodNativeEnum<typeof DataModalities>;
|
|
1009
1201
|
/** @internal */
|
|
1010
1202
|
export declare const ListAgentsId1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsId1>;
|
|
1011
1203
|
/** @internal */
|
|
1012
|
-
export declare const
|
|
1013
|
-
export declare function
|
|
1204
|
+
export declare const DataId$inboundSchema: z.ZodType<DataId, z.ZodTypeDef, unknown>;
|
|
1205
|
+
export declare function dataIdFromJSON(jsonString: string): SafeParseResult<DataId, SDKValidationError>;
|
|
1014
1206
|
/** @internal */
|
|
1015
|
-
export declare const
|
|
1207
|
+
export declare const ListAgentsDataAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataAgentsExecuteOn>;
|
|
1016
1208
|
/** @internal */
|
|
1017
|
-
export declare const
|
|
1018
|
-
export declare function
|
|
1209
|
+
export declare const ListAgentsDataGuardrails$inboundSchema: z.ZodType<ListAgentsDataGuardrails, z.ZodTypeDef, unknown>;
|
|
1210
|
+
export declare function listAgentsDataGuardrailsFromJSON(jsonString: string): SafeParseResult<ListAgentsDataGuardrails, SDKValidationError>;
|
|
1019
1211
|
/** @internal */
|
|
1020
|
-
export declare const
|
|
1021
|
-
export declare function
|
|
1212
|
+
export declare const DataFallbacks$inboundSchema: z.ZodType<DataFallbacks, z.ZodTypeDef, unknown>;
|
|
1213
|
+
export declare function dataFallbacksFromJSON(jsonString: string): SafeParseResult<DataFallbacks, SDKValidationError>;
|
|
1022
1214
|
/** @internal */
|
|
1023
|
-
export declare const
|
|
1215
|
+
export declare const ListAgentsDataAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsDataAgentsResponseType>;
|
|
1024
1216
|
/** @internal */
|
|
1025
|
-
export declare const
|
|
1026
|
-
export declare function
|
|
1217
|
+
export declare const DataCache$inboundSchema: z.ZodType<DataCache, z.ZodTypeDef, unknown>;
|
|
1218
|
+
export declare function dataCacheFromJSON(jsonString: string): SafeParseResult<DataCache, SDKValidationError>;
|
|
1027
1219
|
/** @internal */
|
|
1028
1220
|
export declare const ListAgentsLoadBalancerType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsLoadBalancerType>;
|
|
1029
1221
|
/** @internal */
|
|
@@ -1033,17 +1225,17 @@ export declare function listAgentsLoadBalancerModelsFromJSON(jsonString: string)
|
|
|
1033
1225
|
export declare const ListAgentsLoadBalancer1$inboundSchema: z.ZodType<ListAgentsLoadBalancer1, z.ZodTypeDef, unknown>;
|
|
1034
1226
|
export declare function listAgentsLoadBalancer1FromJSON(jsonString: string): SafeParseResult<ListAgentsLoadBalancer1, SDKValidationError>;
|
|
1035
1227
|
/** @internal */
|
|
1036
|
-
export declare const
|
|
1037
|
-
export declare function
|
|
1228
|
+
export declare const DataLoadBalancer$inboundSchema: z.ZodType<DataLoadBalancer, z.ZodTypeDef, unknown>;
|
|
1229
|
+
export declare function dataLoadBalancerFromJSON(jsonString: string): SafeParseResult<DataLoadBalancer, SDKValidationError>;
|
|
1038
1230
|
/** @internal */
|
|
1039
|
-
export declare const
|
|
1040
|
-
export declare function
|
|
1231
|
+
export declare const DataTimeout$inboundSchema: z.ZodType<DataTimeout, z.ZodTypeDef, unknown>;
|
|
1232
|
+
export declare function dataTimeoutFromJSON(jsonString: string): SafeParseResult<DataTimeout, SDKValidationError>;
|
|
1041
1233
|
/** @internal */
|
|
1042
|
-
export declare const
|
|
1043
|
-
export declare function
|
|
1234
|
+
export declare const DataParameters$inboundSchema: z.ZodType<DataParameters, z.ZodTypeDef, unknown>;
|
|
1235
|
+
export declare function dataParametersFromJSON(jsonString: string): SafeParseResult<DataParameters, SDKValidationError>;
|
|
1044
1236
|
/** @internal */
|
|
1045
|
-
export declare const
|
|
1046
|
-
export declare function
|
|
1237
|
+
export declare const DataRetry$inboundSchema: z.ZodType<DataRetry, z.ZodTypeDef, unknown>;
|
|
1238
|
+
export declare function dataRetryFromJSON(jsonString: string): SafeParseResult<DataRetry, SDKValidationError>;
|
|
1047
1239
|
/** @internal */
|
|
1048
1240
|
export declare const ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
|
|
1049
1241
|
export declare function listAgentsResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
|
|
@@ -1124,22 +1316,14 @@ export declare function listAgentsFallbackModelConfigurationRetryFromJSON(jsonSt
|
|
|
1124
1316
|
export declare const ListAgentsFallbackModelConfiguration2$inboundSchema: z.ZodType<ListAgentsFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
|
|
1125
1317
|
export declare function listAgentsFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelConfiguration2, SDKValidationError>;
|
|
1126
1318
|
/** @internal */
|
|
1127
|
-
export declare const
|
|
1128
|
-
export declare function
|
|
1129
|
-
/** @internal */
|
|
1130
|
-
export declare const ListAgentsModel$inboundSchema: z.ZodType<ListAgentsModel, z.ZodTypeDef, unknown>;
|
|
1131
|
-
export declare function listAgentsModelFromJSON(jsonString: string): SafeParseResult<ListAgentsModel, SDKValidationError>;
|
|
1132
|
-
/** @internal */
|
|
1133
|
-
export declare const ListAgentsTeamOfAgents$inboundSchema: z.ZodType<ListAgentsTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
1134
|
-
export declare function listAgentsTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<ListAgentsTeamOfAgents, SDKValidationError>;
|
|
1135
|
-
/** @internal */
|
|
1136
|
-
export declare const ListAgentsMetrics$inboundSchema: z.ZodType<ListAgentsMetrics, z.ZodTypeDef, unknown>;
|
|
1137
|
-
export declare function listAgentsMetricsFromJSON(jsonString: string): SafeParseResult<ListAgentsMetrics, SDKValidationError>;
|
|
1319
|
+
export declare const DataFallbackModelConfiguration$inboundSchema: z.ZodType<DataFallbackModelConfiguration, z.ZodTypeDef, unknown>;
|
|
1320
|
+
export declare function dataFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<DataFallbackModelConfiguration, SDKValidationError>;
|
|
1138
1321
|
/** @internal */
|
|
1139
|
-
export declare const
|
|
1140
|
-
export declare function
|
|
1322
|
+
export declare const DataModel$inboundSchema: z.ZodType<DataModel, z.ZodTypeDef, unknown>;
|
|
1323
|
+
export declare function dataModelFromJSON(jsonString: string): SafeParseResult<DataModel, SDKValidationError>;
|
|
1141
1324
|
/** @internal */
|
|
1142
|
-
export declare const
|
|
1325
|
+
export declare const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown>;
|
|
1326
|
+
export declare function data1FromJSON(jsonString: string): SafeParseResult<Data1, SDKValidationError>;
|
|
1143
1327
|
/** @internal */
|
|
1144
1328
|
export declare const ListAgentsData$inboundSchema: z.ZodType<ListAgentsData, z.ZodTypeDef, unknown>;
|
|
1145
1329
|
export declare function listAgentsDataFromJSON(jsonString: string): SafeParseResult<ListAgentsData, SDKValidationError>;
|