@stack-spot/portal-network 1.0.0-dev.1768593954453 → 1.0.0-dev.1768944806600
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/dist/api/agent-tools.d.ts +154 -616
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +45 -168
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +2 -3
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +2 -1
- package/dist/api/ai.js.map +1 -1
- package/dist/api/workspace-ai.d.ts +0 -41
- package/dist/api/workspace-ai.d.ts.map +1 -1
- package/dist/api/workspace-ai.js +0 -34
- package/dist/api/workspace-ai.js.map +1 -1
- package/dist/client/agent-tools.d.ts +3 -130
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +2 -105
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +1 -72
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +6 -71
- package/dist/client/ai.js.map +1 -1
- package/dist/client/workspace-ai.d.ts +4 -15
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +3 -17
- package/dist/client/workspace-ai.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +0 -1
- package/src/api/agent-tools.ts +199 -815
- package/src/api/ai.ts +3 -3
- package/src/api/workspace-ai.ts +0 -83
- package/src/client/agent-tools.ts +2 -55
- package/src/client/ai.ts +6 -42
- package/src/client/workspace-ai.ts +7 -23
package/src/api/agent-tools.ts
CHANGED
|
@@ -81,7 +81,7 @@ export type CustomToolkitToolResponse = {
|
|
|
81
81
|
}[] | null;
|
|
82
82
|
request_body?: {
|
|
83
83
|
[key: string]: any;
|
|
84
|
-
} | null;
|
|
84
|
+
} | any[] | null;
|
|
85
85
|
response_transformation?: string | null;
|
|
86
86
|
creator_name?: string | null;
|
|
87
87
|
};
|
|
@@ -175,18 +175,15 @@ export type AgentUsingToolsResponse = {
|
|
|
175
175
|
name: string;
|
|
176
176
|
avatar?: string | null;
|
|
177
177
|
};
|
|
178
|
-
export type
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
parameters: {
|
|
182
|
-
[key: string]: any;
|
|
183
|
-
};
|
|
184
|
-
strict?: boolean;
|
|
178
|
+
export type AssignCustomToolsAgentRequest = {
|
|
179
|
+
toolkit_id: string;
|
|
180
|
+
tools_ids: string[];
|
|
185
181
|
};
|
|
186
|
-
export type
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
182
|
+
export type AssignToolsToAgentRequest = {
|
|
183
|
+
builtin_tool_ids?: string[] | null;
|
|
184
|
+
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
185
|
+
sub_agents_ids?: string[] | null;
|
|
186
|
+
mcp_toolkit_ids?: string[] | null;
|
|
190
187
|
};
|
|
191
188
|
export type ToolkitMcpResponse = {
|
|
192
189
|
id?: string | null;
|
|
@@ -198,20 +195,11 @@ export type ToolkitMcpResponse = {
|
|
|
198
195
|
secrets?: string[] | null;
|
|
199
196
|
url?: string | null;
|
|
200
197
|
toolkit_type?: ToolkitType | null;
|
|
201
|
-
tools?: McpToolFunction[] | null;
|
|
202
|
-
};
|
|
203
|
-
export type MultiAgentToolkitResponse = {
|
|
204
|
-
id: string;
|
|
205
|
-
agent_version_number: number | null;
|
|
206
|
-
avatar: string | null;
|
|
207
|
-
name: string;
|
|
208
|
-
description: string;
|
|
209
198
|
};
|
|
210
199
|
export type AgentToolsResponse = {
|
|
211
200
|
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
212
201
|
custom_toolkits?: CustomToolkitResponse[];
|
|
213
202
|
mcp_toolkits?: ToolkitMcpResponse[];
|
|
214
|
-
multi_agent_toolkits?: MultiAgentToolkitResponse[];
|
|
215
203
|
};
|
|
216
204
|
export type SchemaEnum = "OPENAI";
|
|
217
205
|
export type FunctionParameter = {
|
|
@@ -230,7 +218,7 @@ export type FunctionParameter = {
|
|
|
230
218
|
/** Allow arbitrary data of specific typed */
|
|
231
219
|
additionalProperties?: boolean;
|
|
232
220
|
};
|
|
233
|
-
export type
|
|
221
|
+
export type Function = {
|
|
234
222
|
/** The name of the function */
|
|
235
223
|
name: string;
|
|
236
224
|
/** A description of what the function does */
|
|
@@ -246,7 +234,7 @@ export type OpenAiTool = {
|
|
|
246
234
|
/** The type of the tool; must be 'function' */
|
|
247
235
|
"type": "function";
|
|
248
236
|
/** The function associated with this tool */
|
|
249
|
-
"function":
|
|
237
|
+
"function": Function;
|
|
250
238
|
};
|
|
251
239
|
export type ExecuteAgentToolRequest = {
|
|
252
240
|
arguments?: string | null;
|
|
@@ -264,7 +252,6 @@ export type KnowledgeSourcesConfig = {
|
|
|
264
252
|
similarity_function?: string;
|
|
265
253
|
post_processing?: boolean;
|
|
266
254
|
};
|
|
267
|
-
export type AgentVersionStatus = "draft" | "published" | "deprecated";
|
|
268
255
|
export type ListAgentResponse = {
|
|
269
256
|
id: string;
|
|
270
257
|
name: string;
|
|
@@ -275,9 +262,6 @@ export type ListAgentResponse = {
|
|
|
275
262
|
avatar: string | null;
|
|
276
263
|
suggested_prompts: string[] | null;
|
|
277
264
|
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
278
|
-
version_number: number;
|
|
279
|
-
status: AgentVersionStatus;
|
|
280
|
-
is_recommended: boolean;
|
|
281
265
|
has_multiagent_tool?: boolean;
|
|
282
266
|
"type"?: string;
|
|
283
267
|
system_prompt?: string;
|
|
@@ -293,12 +277,8 @@ export type KnowledgeSourcesConfigRequest = {
|
|
|
293
277
|
knowledge_sources?: string[] | null;
|
|
294
278
|
sealed?: boolean | null;
|
|
295
279
|
};
|
|
296
|
-
export type AssignCustomToolsAgentRequest = {
|
|
297
|
-
toolkit_id: string;
|
|
298
|
-
tools_ids: string[];
|
|
299
|
-
};
|
|
300
280
|
export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
|
|
301
|
-
export type AgentMemory = "vector" | "buffer";
|
|
281
|
+
export type AgentMemory = "vector" | "buffer" | "summary";
|
|
302
282
|
export type PlannerType = "simple" | "tool_oriented";
|
|
303
283
|
export type NewAgentRequest = {
|
|
304
284
|
/** LLM model name */
|
|
@@ -324,7 +304,6 @@ export type NewAgentRequest = {
|
|
|
324
304
|
/** Custom tools to assign to the agent */
|
|
325
305
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
326
306
|
mcp_toolkit_ids?: string[] | null;
|
|
327
|
-
/** Multi-agents assignment to the agent */
|
|
328
307
|
sub_agents_ids?: string[] | null;
|
|
329
308
|
detail_mode?: boolean;
|
|
330
309
|
structured_output?: string | null;
|
|
@@ -341,21 +320,13 @@ export type NewAgentRequest = {
|
|
|
341
320
|
planner_type?: PlannerType | null;
|
|
342
321
|
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
343
322
|
max_llm_interactions?: number | null;
|
|
344
|
-
/** LLM planner model name */
|
|
345
|
-
planner_model_name?: string | null;
|
|
346
|
-
/** LLM planner model id */
|
|
347
|
-
planner_model_id?: string | null;
|
|
348
323
|
};
|
|
349
324
|
export type SearchAgentsRequest = {
|
|
350
325
|
/** Agent ids to filter for */
|
|
351
326
|
ids: string[];
|
|
352
327
|
};
|
|
353
|
-
export type AssignMultiAgentVersionRequest = {
|
|
354
|
-
agent_core_id: string;
|
|
355
|
-
version_number?: number | null;
|
|
356
|
-
};
|
|
357
328
|
export type WorkspaceForkRequest = {
|
|
358
|
-
|
|
329
|
+
agent_ids: string[];
|
|
359
330
|
member_id: string;
|
|
360
331
|
};
|
|
361
332
|
export type AgentItemFork = {
|
|
@@ -395,7 +366,7 @@ export type ListMultiAgentsResponse = {
|
|
|
395
366
|
visibility_level: VisibilityLevelEnum;
|
|
396
367
|
has_multiagent_tool: boolean;
|
|
397
368
|
};
|
|
398
|
-
export type
|
|
369
|
+
export type KnowledgeSourceDetails = {
|
|
399
370
|
id: string;
|
|
400
371
|
slug: string;
|
|
401
372
|
name: string;
|
|
@@ -403,103 +374,140 @@ export type KnowledgeSourceDetailsResponse = {
|
|
|
403
374
|
"type": string;
|
|
404
375
|
creator?: string | null;
|
|
405
376
|
"default": boolean;
|
|
406
|
-
visibility_level:
|
|
377
|
+
visibility_level: VisibilityLevelEnum;
|
|
407
378
|
model_name: string;
|
|
408
379
|
username?: string | null;
|
|
409
380
|
};
|
|
410
|
-
export type
|
|
411
|
-
|
|
381
|
+
export type KnowledgeSourceConfigModel = {
|
|
382
|
+
similarity_function: SimilarityFunctionEnum;
|
|
412
383
|
max_number_of_kos: number;
|
|
413
384
|
relevancy_threshold: number;
|
|
414
|
-
similarity_function: string;
|
|
415
385
|
post_processing: boolean;
|
|
386
|
+
knowledge_sources: string[];
|
|
387
|
+
knowledge_sources_details: KnowledgeSourceDetails[];
|
|
416
388
|
sealed: boolean;
|
|
417
|
-
knowledge_sources_details?: KnowledgeSourceDetailsResponse[] | null;
|
|
418
389
|
created_by?: string | null;
|
|
419
390
|
created_at?: string | null;
|
|
420
391
|
updated_by?: string | null;
|
|
421
392
|
updated_at?: string | null;
|
|
422
393
|
};
|
|
423
|
-
export type
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
394
|
+
export type BuiltinToolDto = {
|
|
395
|
+
id: string;
|
|
396
|
+
name: string;
|
|
397
|
+
description: string;
|
|
398
|
+
toolkit_id: string;
|
|
427
399
|
};
|
|
428
|
-
export type
|
|
400
|
+
export type BuiltinToolkitDto = {
|
|
401
|
+
id: string;
|
|
402
|
+
name: string;
|
|
403
|
+
description: string;
|
|
404
|
+
image_url: string;
|
|
405
|
+
tools: BuiltinToolDto[];
|
|
406
|
+
};
|
|
407
|
+
export type CustomToolkitToolDto = {
|
|
408
|
+
id: string;
|
|
409
|
+
name: string;
|
|
410
|
+
description: string;
|
|
411
|
+
method: string;
|
|
412
|
+
url: string;
|
|
413
|
+
parameters?: {
|
|
414
|
+
[key: string]: any;
|
|
415
|
+
}[] | null;
|
|
416
|
+
request_body?: {
|
|
417
|
+
[key: string]: any;
|
|
418
|
+
} | null;
|
|
419
|
+
response_transformation?: string | null;
|
|
420
|
+
creator_name?: string | null;
|
|
421
|
+
};
|
|
422
|
+
export type CustomToolkitDto = {
|
|
423
|
+
id: string;
|
|
424
|
+
name: string;
|
|
425
|
+
description: string | null;
|
|
426
|
+
avatar: string | null;
|
|
427
|
+
tools: CustomToolkitToolDto[];
|
|
428
|
+
secrets: string[] | null;
|
|
429
|
+
visibility_level: VisibilityLevelEnum;
|
|
430
|
+
creator_name: string;
|
|
431
|
+
created_by: string;
|
|
432
|
+
is_usable_by_others: boolean;
|
|
433
|
+
url: string | null;
|
|
434
|
+
toolkit_type: ToolkitType | null;
|
|
435
|
+
};
|
|
436
|
+
export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
|
|
437
|
+
export type SecretDto = {
|
|
438
|
+
id: string;
|
|
439
|
+
scope?: SecretScope | null;
|
|
440
|
+
};
|
|
441
|
+
export type Function2 = {
|
|
442
|
+
name: string;
|
|
443
|
+
description: string;
|
|
444
|
+
parameters: {
|
|
445
|
+
[key: string]: any;
|
|
446
|
+
};
|
|
447
|
+
strict?: boolean;
|
|
448
|
+
};
|
|
449
|
+
export type ToolkitMcpdto = {
|
|
450
|
+
secrets: SecretDto[] | null;
|
|
451
|
+
name: string;
|
|
452
|
+
description?: string | null;
|
|
453
|
+
avatar?: string | null;
|
|
454
|
+
visibility_level?: VisibilityLevelEnum;
|
|
455
|
+
id?: string | null;
|
|
456
|
+
url?: string | null;
|
|
457
|
+
tools?: Function2[] | null;
|
|
458
|
+
/** Toolkit type */
|
|
459
|
+
toolkit_type?: ToolkitType | null;
|
|
460
|
+
};
|
|
461
|
+
export type AgentToolsDto = {
|
|
462
|
+
builtin_toolkits?: BuiltinToolkitDto[];
|
|
463
|
+
custom_toolkits?: CustomToolkitDto[];
|
|
464
|
+
mcp_toolkits?: ToolkitMcpdto[];
|
|
465
|
+
};
|
|
466
|
+
export type LlmSettingsModel = {
|
|
467
|
+
property_key?: string | null;
|
|
468
|
+
property_value?: string | null;
|
|
469
|
+
property_type?: string | null;
|
|
470
|
+
agent_id: string;
|
|
471
|
+
created_by?: string | null;
|
|
472
|
+
created_at?: string | null;
|
|
473
|
+
updated_by?: string | null;
|
|
474
|
+
updated_at?: string | null;
|
|
475
|
+
};
|
|
476
|
+
export type AgentLlmModelDto = {
|
|
429
477
|
model_id: string;
|
|
430
478
|
model_name: string;
|
|
431
|
-
is_default
|
|
479
|
+
is_default?: boolean;
|
|
432
480
|
};
|
|
433
|
-
export type
|
|
434
|
-
/** Agent core ID */
|
|
481
|
+
export type AgentModel = {
|
|
435
482
|
id: string;
|
|
436
|
-
/** Agent name */
|
|
437
483
|
name: string;
|
|
438
|
-
/** Agent unique slug */
|
|
439
484
|
slug: string;
|
|
440
|
-
/** Agent description */
|
|
441
485
|
description?: string | null;
|
|
442
|
-
|
|
443
|
-
avatar?: string | null;
|
|
444
|
-
/** Agent visibility level */
|
|
486
|
+
system_prompt: string;
|
|
445
487
|
visibility_level: string;
|
|
446
|
-
|
|
488
|
+
avatar?: string | null;
|
|
447
489
|
"type": string;
|
|
448
|
-
|
|
490
|
+
conversation_starter?: string[] | null;
|
|
449
491
|
use_only: boolean;
|
|
450
|
-
/** Whether agent is internal */
|
|
451
|
-
is_internal: boolean;
|
|
452
|
-
/** Whether detail mode is enabled */
|
|
453
492
|
detail_mode: boolean;
|
|
454
|
-
/** Agent execution mode */
|
|
455
493
|
mode: AgentMode;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
status: AgentVersionStatus;
|
|
460
|
-
/** Version number */
|
|
461
|
-
version_number: number;
|
|
462
|
-
/** Whether this is the recommended version */
|
|
463
|
-
is_recommended: boolean;
|
|
464
|
-
/** Whether this is the latest version */
|
|
465
|
-
is_latest: boolean;
|
|
466
|
-
/** System prompt for the agent */
|
|
467
|
-
system_prompt?: string | null;
|
|
468
|
-
/** Default LLM model ID */
|
|
494
|
+
structured_output?: {
|
|
495
|
+
[key: string]: any;
|
|
496
|
+
} | null;
|
|
469
497
|
model_id?: string | null;
|
|
470
|
-
/** Default LLM model name */
|
|
471
498
|
model_name?: string | null;
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
/** JSON schema for structured output */
|
|
477
|
-
structured_output?: string | null;
|
|
478
|
-
/** Base version ID for version history */
|
|
479
|
-
base_version_id?: string | null;
|
|
480
|
-
planner_type?: PlannerType | null;
|
|
481
|
-
/** Maximum number of LLM interactions */
|
|
482
|
-
max_llm_interactions?: number | null;
|
|
483
|
-
/** Default LLM planner model ID */
|
|
484
|
-
planner_model_id?: string | null;
|
|
485
|
-
/** Default LLM planner model name */
|
|
486
|
-
planner_model_name?: string | null;
|
|
487
|
-
/** Knowledge sources configuration with details */
|
|
488
|
-
knowledge_sources_config?: KnowledgeSourcesConfigResponse | null;
|
|
489
|
-
/** Agent toolkits (builtin and custom) */
|
|
490
|
-
toolkits?: AgentToolsResponse;
|
|
491
|
-
/** LLM settings */
|
|
492
|
-
settings?: LlmSettingsResponse[];
|
|
493
|
-
/** Available LLM models for this agent */
|
|
494
|
-
available_llm_models?: AgentLlmModelResponse[];
|
|
495
|
-
/** Creator username */
|
|
499
|
+
knowledge_sources_config?: KnowledgeSourceConfigModel | null;
|
|
500
|
+
toolkits?: AgentToolsDto | null;
|
|
501
|
+
settings?: LlmSettingsModel[];
|
|
502
|
+
is_sub_agent?: boolean | null;
|
|
496
503
|
created_by?: string | null;
|
|
497
|
-
/** Creation timestamp */
|
|
498
504
|
created_at?: string | null;
|
|
499
|
-
/** Last updater username */
|
|
500
505
|
updated_by?: string | null;
|
|
501
|
-
/** Last update timestamp */
|
|
502
506
|
updated_at?: string | null;
|
|
507
|
+
available_llm_models?: AgentLlmModelDto[];
|
|
508
|
+
memory?: AgentMemory;
|
|
509
|
+
planner_type?: PlannerType | null;
|
|
510
|
+
max_llm_interactions?: number | null;
|
|
503
511
|
};
|
|
504
512
|
export type UpdateAgentRequest = {
|
|
505
513
|
use_only?: boolean | null;
|
|
@@ -517,15 +525,12 @@ export type UpdateAgentRequest = {
|
|
|
517
525
|
avatar?: string | null;
|
|
518
526
|
/** Agent suggested prompt */
|
|
519
527
|
suggested_prompts?: string[];
|
|
520
|
-
/** agent status */
|
|
521
|
-
status?: AgentVersionStatus | null;
|
|
522
528
|
/** System prompt */
|
|
523
529
|
system_prompt?: string | null;
|
|
524
530
|
/** Agent type */
|
|
525
531
|
"type"?: AgentType | null;
|
|
526
532
|
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
527
533
|
builtin_tools_ids?: string[];
|
|
528
|
-
/** Multi-agents assignment to the agent */
|
|
529
534
|
sub_agents_ids?: string[];
|
|
530
535
|
/** Custom tools to assign to the agent */
|
|
531
536
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
@@ -545,10 +550,6 @@ export type UpdateAgentRequest = {
|
|
|
545
550
|
planner_type?: PlannerType;
|
|
546
551
|
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
547
552
|
max_llm_interactions?: number | null;
|
|
548
|
-
/** LLM planner model name */
|
|
549
|
-
planner_model_name?: string | null;
|
|
550
|
-
/** LLM planner model id */
|
|
551
|
-
planner_model_id?: string | null;
|
|
552
553
|
};
|
|
553
554
|
export type ForkAgentRequest = {
|
|
554
555
|
/** Agent slug to fork */
|
|
@@ -558,144 +559,6 @@ export type ForkAgentRequest = {
|
|
|
558
559
|
export type PublishAgentRequest = {
|
|
559
560
|
use_only?: boolean;
|
|
560
561
|
is_public?: boolean;
|
|
561
|
-
version_number?: number | null;
|
|
562
|
-
};
|
|
563
|
-
export type CreateVersionRequest = {
|
|
564
|
-
/** The version number to use as base for the new version. If not provided, uses latest version */
|
|
565
|
-
base_version_number?: number | null;
|
|
566
|
-
};
|
|
567
|
-
export type AgentVersionResponse = {
|
|
568
|
-
/** Agent version unique identifier */
|
|
569
|
-
id: string;
|
|
570
|
-
/** Reference to parent agent core */
|
|
571
|
-
agent_core_id: string;
|
|
572
|
-
/** Whether detail mode is enabled for responses */
|
|
573
|
-
detail_mode: boolean;
|
|
574
|
-
/** Whether version is internal-only */
|
|
575
|
-
is_internal: boolean;
|
|
576
|
-
/** Agent execution mode (autonomous, orchestrator, etc.) */
|
|
577
|
-
mode: AgentMode;
|
|
578
|
-
/** Memory type used by the agent */
|
|
579
|
-
memory: string;
|
|
580
|
-
/** Version status (draft, published, archived) */
|
|
581
|
-
status: AgentVersionStatus;
|
|
582
|
-
/** Sequential version number */
|
|
583
|
-
version_number: number;
|
|
584
|
-
/** Whether this is the recommended version for use */
|
|
585
|
-
is_recommended: boolean;
|
|
586
|
-
/** Whether this is the most recent version */
|
|
587
|
-
is_latest: boolean;
|
|
588
|
-
/** Base version ID used for creating this version */
|
|
589
|
-
base_version_id?: string | null;
|
|
590
|
-
/** Original agent version ID if this is a fork */
|
|
591
|
-
origin_fork_id?: string | null;
|
|
592
|
-
/** System prompt for the agent version */
|
|
593
|
-
system_prompt?: string | null;
|
|
594
|
-
/** LLM model ID used by this version */
|
|
595
|
-
model_id?: string | null;
|
|
596
|
-
/** LLM model name used by this version */
|
|
597
|
-
model_name?: string | null;
|
|
598
|
-
/** Suggested conversation starters */
|
|
599
|
-
conversation_starter?: string[] | null;
|
|
600
|
-
/** JSON schema for structured output format */
|
|
601
|
-
structured_output?: string | null;
|
|
602
|
-
planner_type?: PlannerType | null;
|
|
603
|
-
max_llm_interactions?: number | null;
|
|
604
|
-
/** Default LLM planner model ID */
|
|
605
|
-
planner_model_id?: string | null;
|
|
606
|
-
/** Default LLM planner model name */
|
|
607
|
-
planner_model_name?: string | null;
|
|
608
|
-
/** Knowledge sources configuration for RAG capabilities */
|
|
609
|
-
knowledge_sources_config?: KnowledgeSourcesConfig | null;
|
|
610
|
-
/** List of tools (builtin) assigned to this version */
|
|
611
|
-
toolkits?: AgentToolsResponse;
|
|
612
|
-
/** LLM-specific settings for this version */
|
|
613
|
-
settings?: LlmSettingsResponse[];
|
|
614
|
-
/** Available LLM models for this version */
|
|
615
|
-
llm_models?: AgentLlmModelResponse[];
|
|
616
|
-
/** Username of version creator */
|
|
617
|
-
created_by?: string | null;
|
|
618
|
-
/** Version creation timestamp */
|
|
619
|
-
created_at?: string | null;
|
|
620
|
-
/** Username of last updater */
|
|
621
|
-
updated_by?: string | null;
|
|
622
|
-
/** Last update timestamp */
|
|
623
|
-
updated_at?: string | null;
|
|
624
|
-
};
|
|
625
|
-
export type CreateVersionResponse = {
|
|
626
|
-
/** Agent core unique identifier */
|
|
627
|
-
id: string;
|
|
628
|
-
/** Agent name */
|
|
629
|
-
name: string;
|
|
630
|
-
/** Agent unique slug */
|
|
631
|
-
slug: string;
|
|
632
|
-
/** Agent description */
|
|
633
|
-
description?: string | null;
|
|
634
|
-
/** Agent avatar image URL */
|
|
635
|
-
avatar?: string | null;
|
|
636
|
-
/** Agent visibility level (personal, shared, account) */
|
|
637
|
-
visibility_level: string;
|
|
638
|
-
/** The newly created agent version details */
|
|
639
|
-
version: AgentVersionResponse;
|
|
640
|
-
/** Username of agent creator */
|
|
641
|
-
created_by?: string | null;
|
|
642
|
-
/** Agent creation timestamp */
|
|
643
|
-
created_at?: string | null;
|
|
644
|
-
/** Username of last updater */
|
|
645
|
-
updated_by?: string | null;
|
|
646
|
-
/** Last update timestamp */
|
|
647
|
-
updated_at?: string | null;
|
|
648
|
-
};
|
|
649
|
-
export type ListAgentVersionResponse = {
|
|
650
|
-
id: string;
|
|
651
|
-
version_number: number;
|
|
652
|
-
status: AgentVersionStatus;
|
|
653
|
-
is_recommended: boolean;
|
|
654
|
-
};
|
|
655
|
-
export type ForkedAgentCoreAndVersionResponse = {
|
|
656
|
-
/** Agent core unique identifier */
|
|
657
|
-
id: string;
|
|
658
|
-
/** Agent name */
|
|
659
|
-
name: string;
|
|
660
|
-
/** Agent unique slug */
|
|
661
|
-
slug: string;
|
|
662
|
-
/** Agent description */
|
|
663
|
-
description: string;
|
|
664
|
-
/** Agent avatar image URL */
|
|
665
|
-
avatar?: string | null;
|
|
666
|
-
/** Agent visibility level (personal, shared, account) */
|
|
667
|
-
visibility_level: string;
|
|
668
|
-
/** The newly created agent version details */
|
|
669
|
-
version: AgentVersionResponse;
|
|
670
|
-
/** Username of agent creator */
|
|
671
|
-
created_by?: string | null;
|
|
672
|
-
/** Agent creation timestamp */
|
|
673
|
-
created_at?: string | null;
|
|
674
|
-
/** Username of last updater */
|
|
675
|
-
updated_by?: string | null;
|
|
676
|
-
/** Last update timestamp */
|
|
677
|
-
updated_at?: string | null;
|
|
678
|
-
};
|
|
679
|
-
export type KnowledgeSourceDetailsResponse2 = {
|
|
680
|
-
id: string;
|
|
681
|
-
slug: string;
|
|
682
|
-
name: string;
|
|
683
|
-
description: string;
|
|
684
|
-
"type": string;
|
|
685
|
-
creator?: string | null;
|
|
686
|
-
"default": boolean;
|
|
687
|
-
visibility_level: VisibilityLevelEnum;
|
|
688
|
-
model_name: string;
|
|
689
|
-
username?: string | null;
|
|
690
|
-
};
|
|
691
|
-
export type KnowledgeSourcesConfigResponse2 = {
|
|
692
|
-
knowledge_sources: string[];
|
|
693
|
-
max_number_of_kos?: number;
|
|
694
|
-
relevancy_threshold?: number;
|
|
695
|
-
similarity_function?: SimilarityFunctionEnum;
|
|
696
|
-
post_processing?: boolean;
|
|
697
|
-
knowledge_sources_details?: KnowledgeSourceDetailsResponse2[];
|
|
698
|
-
sealed: boolean;
|
|
699
562
|
};
|
|
700
563
|
export type ListAgentResponseV2 = {
|
|
701
564
|
id: string;
|
|
@@ -706,225 +569,13 @@ export type ListAgentResponseV2 = {
|
|
|
706
569
|
visibility_level: string;
|
|
707
570
|
avatar: string | null;
|
|
708
571
|
conversation_starter: string[] | null;
|
|
709
|
-
knowledge_sources_config:
|
|
572
|
+
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
710
573
|
"type"?: string;
|
|
711
574
|
system_prompt?: string;
|
|
712
575
|
creator_name?: string;
|
|
713
|
-
version_number: number;
|
|
714
|
-
status: AgentVersionStatus;
|
|
715
|
-
is_recommended: boolean;
|
|
716
|
-
};
|
|
717
|
-
export type NewAgentRequestV2 = {
|
|
718
|
-
/** LLM model name */
|
|
719
|
-
model_name?: string | null;
|
|
720
|
-
/** LLM model id */
|
|
721
|
-
model_id?: string | null;
|
|
722
|
-
/** Agent name */
|
|
723
|
-
name: string;
|
|
724
|
-
/** Agent unique slug */
|
|
725
|
-
slug: string;
|
|
726
|
-
/** Agent description */
|
|
727
|
-
description?: string | null;
|
|
728
|
-
/** Agent avatar image */
|
|
729
|
-
avatar?: string | null;
|
|
730
|
-
/** Agent suggested prompt */
|
|
731
|
-
suggested_prompts?: string[];
|
|
732
|
-
/** System prompt */
|
|
733
|
-
system_prompt?: string | null;
|
|
734
|
-
/** Agent type */
|
|
735
|
-
"type": AgentType;
|
|
736
|
-
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
737
|
-
builtin_tools_ids?: string[];
|
|
738
|
-
/** Custom tools to assign to the agent */
|
|
739
|
-
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
740
|
-
/** Multi-agents assignment to the agent */
|
|
741
|
-
sub_agents_ids?: AssignMultiAgentVersionRequest[] | null;
|
|
742
|
-
mcp_toolkit_ids?: string[] | null;
|
|
743
|
-
detail_mode?: boolean;
|
|
744
|
-
structured_output?: string | null;
|
|
745
|
-
llm_settings?: {
|
|
746
|
-
[key: string]: any;
|
|
747
|
-
} | null;
|
|
748
|
-
/** Agent mode */
|
|
749
|
-
mode?: AgentMode;
|
|
750
|
-
/** Agent memory */
|
|
751
|
-
memory?: AgentMemory;
|
|
752
|
-
/** Available models for this particular agent */
|
|
753
|
-
available_models_ids?: string[];
|
|
754
|
-
/** Agent planner type */
|
|
755
|
-
planner_type?: PlannerType | null;
|
|
756
|
-
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
757
|
-
max_llm_interactions?: number | null;
|
|
758
|
-
/** LLM planner model name */
|
|
759
|
-
planner_model_name?: string | null;
|
|
760
|
-
/** LLM planner model id */
|
|
761
|
-
planner_model_id?: string | null;
|
|
762
|
-
};
|
|
763
|
-
export type SearchAgentVersionRequest = {
|
|
764
|
-
agent_core_id: string;
|
|
765
|
-
version_number?: number | null;
|
|
766
|
-
};
|
|
767
|
-
export type SearchAgentsRequestV2 = {
|
|
768
|
-
agents: SearchAgentVersionRequest[];
|
|
769
|
-
};
|
|
770
|
-
export type UpdateAgentRequestV2 = {
|
|
771
|
-
use_only?: boolean | null;
|
|
772
|
-
/** LLM model name */
|
|
773
|
-
model_name?: string | null;
|
|
774
|
-
/** LLM model id */
|
|
775
|
-
model_id?: string | null;
|
|
776
|
-
/** Agent name */
|
|
777
|
-
name?: string | null;
|
|
778
|
-
/** Agent unique slug */
|
|
779
|
-
slug?: string | null;
|
|
780
|
-
/** agent status */
|
|
781
|
-
status?: AgentVersionStatus | null;
|
|
782
|
-
/** Agent description */
|
|
783
|
-
description?: string | null;
|
|
784
|
-
/** Agent avatar image */
|
|
785
|
-
avatar?: string | null;
|
|
786
|
-
/** Agent suggested prompt */
|
|
787
|
-
suggested_prompts?: string[];
|
|
788
|
-
/** System prompt */
|
|
789
|
-
system_prompt?: string | null;
|
|
790
|
-
/** Agent type */
|
|
791
|
-
"type"?: AgentType | null;
|
|
792
|
-
knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
|
|
793
|
-
builtin_tools_ids?: string[];
|
|
794
|
-
/** Multi-agents assignment to the agent */
|
|
795
|
-
sub_agents_ids?: AssignMultiAgentVersionRequest[];
|
|
796
|
-
/** Custom tools to assign to the agent */
|
|
797
|
-
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
798
|
-
mcp_toolkit_ids?: string[] | null;
|
|
799
|
-
detail_mode?: boolean | null;
|
|
800
|
-
structured_output?: string | null;
|
|
801
|
-
llm_settings?: {
|
|
802
|
-
[key: string]: any;
|
|
803
|
-
} | null;
|
|
804
|
-
/** Agent mode */
|
|
805
|
-
mode?: AgentMode | null;
|
|
806
|
-
/** Available models for this particular agent */
|
|
807
|
-
available_models_ids?: string[];
|
|
808
|
-
/** Agent memory */
|
|
809
|
-
memory?: AgentMemory;
|
|
810
|
-
/** Agent planner type */
|
|
811
|
-
planner_type?: PlannerType;
|
|
812
|
-
/** Maximum number of LLM interactions allowed for the agent when using simple planner */
|
|
813
|
-
max_llm_interactions?: number | null;
|
|
814
|
-
/** LLM planner model name */
|
|
815
|
-
planner_model_name?: string | null;
|
|
816
|
-
/** LLM planner model id */
|
|
817
|
-
planner_model_id?: string | null;
|
|
818
|
-
};
|
|
819
|
-
export type CustomToolkitResponse2 = {
|
|
820
|
-
id: string;
|
|
821
|
-
name: string;
|
|
822
|
-
description?: string | null;
|
|
823
|
-
avatar?: string | null;
|
|
824
|
-
visibility_level: string;
|
|
825
|
-
creator_name: string | null;
|
|
826
|
-
toolkit_type?: ToolkitType | null;
|
|
827
|
-
tools: CustomToolkitToolResponse[];
|
|
828
|
-
secret_id?: string | null;
|
|
829
|
-
secrets?: string[] | null;
|
|
830
|
-
is_usable_by_others: boolean;
|
|
831
|
-
url?: string | null;
|
|
832
|
-
};
|
|
833
|
-
export type AgentToolsResponse2 = {
|
|
834
|
-
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
835
|
-
custom_toolkits?: CustomToolkitResponse2[];
|
|
836
|
-
mcp_toolkits?: ToolkitMcpResponse[];
|
|
837
|
-
multi_agent_toolkits?: MultiAgentToolkitResponse[];
|
|
838
|
-
};
|
|
839
|
-
export type AgentVersionResponse2 = {
|
|
840
|
-
/** System prompt for the agent version */
|
|
841
|
-
system_prompt: string;
|
|
842
|
-
/** Whether detail mode is enabled for responses */
|
|
843
|
-
detail_mode: boolean;
|
|
844
|
-
/** Whether version is internal-only */
|
|
845
|
-
is_internal: boolean;
|
|
846
|
-
/** Agent execution mode (autonomous, orchestrator, etc.) */
|
|
847
|
-
mode: AgentMode;
|
|
848
|
-
/** Memory type used by the agent */
|
|
849
|
-
memory: string;
|
|
850
|
-
/** Version status (draft, published, archived) */
|
|
851
|
-
status: AgentVersionStatus;
|
|
852
|
-
/** Sequential version number */
|
|
853
|
-
version_number: number;
|
|
854
|
-
/** Whether this is the recommended version for use */
|
|
855
|
-
is_recommended: boolean;
|
|
856
|
-
/** Whether this is the most recent version */
|
|
857
|
-
is_latest: boolean;
|
|
858
|
-
/** Base version ID used for creating this version */
|
|
859
|
-
base_version_id?: string | null;
|
|
860
|
-
/** Original agent version ID if this is a fork */
|
|
861
|
-
origin_fork_id?: string | null;
|
|
862
|
-
/** LLM model ID used by this version */
|
|
863
|
-
model_id?: string | null;
|
|
864
|
-
/** LLM model name used by this version */
|
|
865
|
-
model_name?: string | null;
|
|
866
|
-
/** Suggested conversation starters */
|
|
867
|
-
conversation_starter?: string[] | null;
|
|
868
|
-
/** JSON schema for structured output format */
|
|
869
|
-
structured_output?: string | null;
|
|
870
|
-
planner_type?: PlannerType | null;
|
|
871
|
-
/** Maximum number of LLM interactions */
|
|
872
|
-
max_llm_interactions?: number | null;
|
|
873
|
-
/** Default LLM planner model ID */
|
|
874
|
-
planner_model_id?: string | null;
|
|
875
|
-
/** Default LLM planner model name */
|
|
876
|
-
planner_model_name?: string | null;
|
|
877
|
-
/** Knowledge sources configuration for RAG capabilities */
|
|
878
|
-
knowledge_sources_config?: KnowledgeSourcesConfigResponse2 | null;
|
|
879
|
-
/** List of tools (builtin) assigned to this version */
|
|
880
|
-
toolkits?: AgentToolsResponse2;
|
|
881
|
-
/** LLM-specific settings for this version */
|
|
882
|
-
settings?: LlmSettingsResponse[];
|
|
883
|
-
/** Available LLM models for this version */
|
|
884
|
-
available_llm_models?: AgentLlmModelResponse[];
|
|
885
|
-
/** Username of version creator */
|
|
886
|
-
created_by?: string | null;
|
|
887
|
-
/** Version creation timestamp */
|
|
888
|
-
created_at?: string | null;
|
|
889
|
-
/** Username of last updater */
|
|
890
|
-
updated_by?: string | null;
|
|
891
|
-
/** Last update timestamp */
|
|
892
|
-
updated_at?: string | null;
|
|
893
|
-
};
|
|
894
|
-
export type AgentCoreWithSingleVersionResponse = {
|
|
895
|
-
/** Agent core unique identifier (ULID format) */
|
|
896
|
-
id: string;
|
|
897
|
-
/** Agent display name */
|
|
898
|
-
name: string;
|
|
899
|
-
/** Agent unique slug for URL-friendly identification */
|
|
900
|
-
slug: string;
|
|
901
|
-
/** Agent core type */
|
|
902
|
-
"type": string;
|
|
903
|
-
/** Whether agent is use-only (hides implementation) */
|
|
904
|
-
use_only: boolean;
|
|
905
|
-
/** Detailed description of the agent's purpose and capabilities */
|
|
906
|
-
description?: string | null;
|
|
907
|
-
/** URL or path to agent's avatar image */
|
|
908
|
-
avatar?: string | null;
|
|
909
|
-
/** Agent visibility level (PERSONAL, WORKSPACE, ORGANIZATION, PUBLIC) */
|
|
910
|
-
visibility_level: string;
|
|
911
|
-
/** Specific or recommend version associated with this agent core */
|
|
912
|
-
version: AgentVersionResponse2;
|
|
913
|
-
/** Whether the current user has marked this agent as favorite */
|
|
914
|
-
is_favorite?: boolean;
|
|
915
|
-
/** Whether this agent was recently used by the current user */
|
|
916
|
-
is_recently_used?: boolean;
|
|
917
|
-
/** Username or identifier of the user who created this agent */
|
|
918
|
-
created_by?: string | null;
|
|
919
|
-
/** Timestamp when the agent was created (ISO 8601 format) */
|
|
920
|
-
created_at?: string | null;
|
|
921
|
-
/** Username or identifier of the user who last updated this agent */
|
|
922
|
-
updated_by?: string | null;
|
|
923
|
-
/** Timestamp of the last update (ISO 8601 format) */
|
|
924
|
-
updated_at?: string | null;
|
|
925
576
|
};
|
|
926
577
|
export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
|
|
927
|
-
export type
|
|
578
|
+
export type ListAgentRequestV3 = {
|
|
928
579
|
/** Agent name to filter the list */
|
|
929
580
|
name?: string | null;
|
|
930
581
|
/** Agent slug to filter the list */
|
|
@@ -950,7 +601,7 @@ export type AgentResponseV3 = {
|
|
|
950
601
|
slug: string;
|
|
951
602
|
created_by: string | null;
|
|
952
603
|
created_at: string | null;
|
|
953
|
-
visibility_level:
|
|
604
|
+
visibility_level: string;
|
|
954
605
|
avatar: string | null;
|
|
955
606
|
suggested_prompts: string[] | null;
|
|
956
607
|
knowledge_sources_config: KnowledgeSourcesConfigResponseV3;
|
|
@@ -960,35 +611,11 @@ export type AgentResponseV3 = {
|
|
|
960
611
|
creator_name?: string;
|
|
961
612
|
is_favorite?: boolean;
|
|
962
613
|
is_recently_used?: boolean;
|
|
963
|
-
version_number: number;
|
|
964
|
-
status: AgentVersionStatus;
|
|
965
|
-
is_recommended: boolean;
|
|
966
614
|
};
|
|
967
615
|
export type PaginatedResponseAgentResponseV3 = {
|
|
968
616
|
total_pages: number;
|
|
969
617
|
items: AgentResponseV3[];
|
|
970
618
|
};
|
|
971
|
-
export type ListAgentVersionResponse2 = {
|
|
972
|
-
version_number: number;
|
|
973
|
-
status: AgentVersionStatus;
|
|
974
|
-
is_recommended: boolean;
|
|
975
|
-
};
|
|
976
|
-
export type ListAgentCoreResponse = {
|
|
977
|
-
id: string;
|
|
978
|
-
name: string;
|
|
979
|
-
slug: string;
|
|
980
|
-
visibility_level: string;
|
|
981
|
-
avatar: string | null;
|
|
982
|
-
created_by: string | null;
|
|
983
|
-
created_at: string | null;
|
|
984
|
-
is_favorite?: boolean;
|
|
985
|
-
is_recently_used?: boolean;
|
|
986
|
-
version: ListAgentVersionResponse2;
|
|
987
|
-
};
|
|
988
|
-
export type PaginatedResponseListAgentCoreResponse = {
|
|
989
|
-
total_pages: number;
|
|
990
|
-
items: ListAgentCoreResponse[];
|
|
991
|
-
};
|
|
992
619
|
export type InternalListToolkitsRequest = {
|
|
993
620
|
/** List of toolkit IDs to retrieve */
|
|
994
621
|
toolkit_ids: string[];
|
|
@@ -1538,12 +1165,46 @@ export function listAgentsUsingToolsV1ToolkitsToolkitIdToolsAgentsPost({ toolkit
|
|
|
1538
1165
|
})
|
|
1539
1166
|
})));
|
|
1540
1167
|
}
|
|
1168
|
+
/**
|
|
1169
|
+
* Assign Tools
|
|
1170
|
+
*/
|
|
1171
|
+
export function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, assignToolsToAgentRequest }: {
|
|
1172
|
+
agentId: string;
|
|
1173
|
+
isPublic?: boolean;
|
|
1174
|
+
xAccountId?: string | null;
|
|
1175
|
+
xUsername?: string | null;
|
|
1176
|
+
xUserId?: string | null;
|
|
1177
|
+
xUserFullName?: string | null;
|
|
1178
|
+
authorization: string;
|
|
1179
|
+
assignToolsToAgentRequest: AssignToolsToAgentRequest;
|
|
1180
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1181
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1182
|
+
status: 204;
|
|
1183
|
+
} | {
|
|
1184
|
+
status: 404;
|
|
1185
|
+
} | {
|
|
1186
|
+
status: 422;
|
|
1187
|
+
data: HttpValidationError;
|
|
1188
|
+
}>(`/v1/agents/${encodeURIComponent(agentId)}/tools${QS.query(QS.explode({
|
|
1189
|
+
is_public: isPublic
|
|
1190
|
+
}))}`, oazapfts.json({
|
|
1191
|
+
...opts,
|
|
1192
|
+
method: "POST",
|
|
1193
|
+
body: assignToolsToAgentRequest,
|
|
1194
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1195
|
+
"x-account-id": xAccountId,
|
|
1196
|
+
"x-username": xUsername,
|
|
1197
|
+
"x-user-id": xUserId,
|
|
1198
|
+
"x-user-full-name": xUserFullName,
|
|
1199
|
+
authorization
|
|
1200
|
+
})
|
|
1201
|
+
})));
|
|
1202
|
+
}
|
|
1541
1203
|
/**
|
|
1542
1204
|
* List Tools
|
|
1543
1205
|
*/
|
|
1544
|
-
export function listToolsV1AgentsAgentIdToolsGet({ agentId,
|
|
1206
|
+
export function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1545
1207
|
agentId: string;
|
|
1546
|
-
versionNumber?: number | null;
|
|
1547
1208
|
isPublic?: boolean;
|
|
1548
1209
|
xAccountId?: string | null;
|
|
1549
1210
|
xUsername?: string | null;
|
|
@@ -1560,7 +1221,6 @@ export function listToolsV1AgentsAgentIdToolsGet({ agentId, versionNumber, isPub
|
|
|
1560
1221
|
status: 422;
|
|
1561
1222
|
data: HttpValidationError;
|
|
1562
1223
|
}>(`/v1/agents/${encodeURIComponent(agentId)}/tools${QS.query(QS.explode({
|
|
1563
|
-
version_number: versionNumber,
|
|
1564
1224
|
is_public: isPublic
|
|
1565
1225
|
}))}`, {
|
|
1566
1226
|
...opts,
|
|
@@ -1573,13 +1233,45 @@ export function listToolsV1AgentsAgentIdToolsGet({ agentId, versionNumber, isPub
|
|
|
1573
1233
|
})
|
|
1574
1234
|
}));
|
|
1575
1235
|
}
|
|
1236
|
+
/**
|
|
1237
|
+
* Delete Tools
|
|
1238
|
+
*/
|
|
1239
|
+
export function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1240
|
+
agentId: string;
|
|
1241
|
+
isPublic?: boolean;
|
|
1242
|
+
xAccountId?: string | null;
|
|
1243
|
+
xUsername?: string | null;
|
|
1244
|
+
xUserId?: string | null;
|
|
1245
|
+
xUserFullName?: string | null;
|
|
1246
|
+
authorization: string;
|
|
1247
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1248
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1249
|
+
status: 204;
|
|
1250
|
+
} | {
|
|
1251
|
+
status: 404;
|
|
1252
|
+
} | {
|
|
1253
|
+
status: 422;
|
|
1254
|
+
data: HttpValidationError;
|
|
1255
|
+
}>(`/v1/agents/${encodeURIComponent(agentId)}/tools${QS.query(QS.explode({
|
|
1256
|
+
is_public: isPublic
|
|
1257
|
+
}))}`, {
|
|
1258
|
+
...opts,
|
|
1259
|
+
method: "DELETE",
|
|
1260
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1261
|
+
"x-account-id": xAccountId,
|
|
1262
|
+
"x-username": xUsername,
|
|
1263
|
+
"x-user-id": xUserId,
|
|
1264
|
+
"x-user-full-name": xUserFullName,
|
|
1265
|
+
authorization
|
|
1266
|
+
})
|
|
1267
|
+
}));
|
|
1268
|
+
}
|
|
1576
1269
|
/**
|
|
1577
1270
|
* List Tools By Agent For Schema
|
|
1578
1271
|
*/
|
|
1579
|
-
export function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema,
|
|
1272
|
+
export function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1580
1273
|
agentId: string;
|
|
1581
1274
|
schema: SchemaEnum;
|
|
1582
|
-
versionNumber?: number | null;
|
|
1583
1275
|
isPublic?: boolean;
|
|
1584
1276
|
xAccountId?: string | null;
|
|
1585
1277
|
xUsername?: string | null;
|
|
@@ -1598,7 +1290,6 @@ export function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ a
|
|
|
1598
1290
|
status: 422;
|
|
1599
1291
|
data: HttpValidationError;
|
|
1600
1292
|
}>(`/v1/agents/${encodeURIComponent(agentId)}/tools/schema/${encodeURIComponent(schema)}${QS.query(QS.explode({
|
|
1601
|
-
version_number: versionNumber,
|
|
1602
1293
|
is_public: isPublic
|
|
1603
1294
|
}))}`, {
|
|
1604
1295
|
...opts,
|
|
@@ -1725,9 +1416,9 @@ export function createAgentV1AgentsPost({ isPublic, xAccountId, xUsername, xUser
|
|
|
1725
1416
|
})));
|
|
1726
1417
|
}
|
|
1727
1418
|
/**
|
|
1728
|
-
* Search Agents
|
|
1419
|
+
* Search Agents
|
|
1729
1420
|
*/
|
|
1730
|
-
export function
|
|
1421
|
+
export function searchAgentsV1AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
|
|
1731
1422
|
xAccountId?: string | null;
|
|
1732
1423
|
xUsername?: string | null;
|
|
1733
1424
|
xUserId?: string | null;
|
|
@@ -1926,10 +1617,9 @@ export function listMultiAgentsV1AgentsMultiAgentsGet({ name, slug, visibility,
|
|
|
1926
1617
|
/**
|
|
1927
1618
|
* Get Agent
|
|
1928
1619
|
*/
|
|
1929
|
-
export function getAgentV1AgentsAgentIdGet({ agentId, details,
|
|
1620
|
+
export function getAgentV1AgentsAgentIdGet({ agentId, details, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1930
1621
|
agentId: string;
|
|
1931
1622
|
details?: boolean;
|
|
1932
|
-
versionNumber?: number | null;
|
|
1933
1623
|
xAccountId?: string | null;
|
|
1934
1624
|
xUsername?: string | null;
|
|
1935
1625
|
xUserId?: string | null;
|
|
@@ -1938,15 +1628,14 @@ export function getAgentV1AgentsAgentIdGet({ agentId, details, versionNumber, xA
|
|
|
1938
1628
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1939
1629
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1940
1630
|
status: 200;
|
|
1941
|
-
data:
|
|
1631
|
+
data: AgentModel;
|
|
1942
1632
|
} | {
|
|
1943
1633
|
status: 404;
|
|
1944
1634
|
} | {
|
|
1945
1635
|
status: 422;
|
|
1946
1636
|
data: HttpValidationError;
|
|
1947
1637
|
}>(`/v1/agents/${encodeURIComponent(agentId)}${QS.query(QS.explode({
|
|
1948
|
-
details
|
|
1949
|
-
version_number: versionNumber
|
|
1638
|
+
details
|
|
1950
1639
|
}))}`, {
|
|
1951
1640
|
...opts,
|
|
1952
1641
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -2274,172 +1963,6 @@ export function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({ agentId
|
|
|
2274
1963
|
})
|
|
2275
1964
|
}));
|
|
2276
1965
|
}
|
|
2277
|
-
/**
|
|
2278
|
-
* Create Version
|
|
2279
|
-
*/
|
|
2280
|
-
export function createVersionV1AgentsAgentCoreIdVersionsPost({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization, createVersionRequest }: {
|
|
2281
|
-
agentCoreId: string;
|
|
2282
|
-
xAccountId?: string | null;
|
|
2283
|
-
xUsername?: string | null;
|
|
2284
|
-
xUserId?: string | null;
|
|
2285
|
-
xUserFullName?: string | null;
|
|
2286
|
-
authorization: string;
|
|
2287
|
-
createVersionRequest: CreateVersionRequest;
|
|
2288
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2289
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2290
|
-
status: 200;
|
|
2291
|
-
data: CreateVersionResponse;
|
|
2292
|
-
} | {
|
|
2293
|
-
status: 201;
|
|
2294
|
-
data: CreateVersionResponse;
|
|
2295
|
-
} | {
|
|
2296
|
-
status: 404;
|
|
2297
|
-
} | {
|
|
2298
|
-
status: 422;
|
|
2299
|
-
data: HttpValidationError;
|
|
2300
|
-
}>(`/v1/agents/${encodeURIComponent(agentCoreId)}/versions`, oazapfts.json({
|
|
2301
|
-
...opts,
|
|
2302
|
-
method: "POST",
|
|
2303
|
-
body: createVersionRequest,
|
|
2304
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2305
|
-
"x-account-id": xAccountId,
|
|
2306
|
-
"x-username": xUsername,
|
|
2307
|
-
"x-user-id": xUserId,
|
|
2308
|
-
"x-user-full-name": xUserFullName,
|
|
2309
|
-
authorization
|
|
2310
|
-
})
|
|
2311
|
-
})));
|
|
2312
|
-
}
|
|
2313
|
-
/**
|
|
2314
|
-
* List Versions Of Agent Core
|
|
2315
|
-
*/
|
|
2316
|
-
export function listVersionsOfAgentCoreV1AgentsAgentCoreIdVersionsGet({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
2317
|
-
agentCoreId: string;
|
|
2318
|
-
xAccountId?: string | null;
|
|
2319
|
-
xUsername?: string | null;
|
|
2320
|
-
xUserId?: string | null;
|
|
2321
|
-
xUserFullName?: string | null;
|
|
2322
|
-
authorization: string;
|
|
2323
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2324
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2325
|
-
status: 200;
|
|
2326
|
-
data: ListAgentVersionResponse[];
|
|
2327
|
-
} | {
|
|
2328
|
-
status: 404;
|
|
2329
|
-
} | {
|
|
2330
|
-
status: 422;
|
|
2331
|
-
data: HttpValidationError;
|
|
2332
|
-
}>(`/v1/agents/${encodeURIComponent(agentCoreId)}/versions`, {
|
|
2333
|
-
...opts,
|
|
2334
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2335
|
-
"x-account-id": xAccountId,
|
|
2336
|
-
"x-username": xUsername,
|
|
2337
|
-
"x-user-id": xUserId,
|
|
2338
|
-
"x-user-full-name": xUserFullName,
|
|
2339
|
-
authorization
|
|
2340
|
-
})
|
|
2341
|
-
}));
|
|
2342
|
-
}
|
|
2343
|
-
/**
|
|
2344
|
-
* Delete Version
|
|
2345
|
-
*/
|
|
2346
|
-
export function deleteVersionV1AgentsAgentCoreIdVersionsVersionNumberDelete({ agentCoreId, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
2347
|
-
agentCoreId: string;
|
|
2348
|
-
versionNumber: number;
|
|
2349
|
-
isPublic?: boolean;
|
|
2350
|
-
xAccountId?: string | null;
|
|
2351
|
-
xUsername?: string | null;
|
|
2352
|
-
xUserId?: string | null;
|
|
2353
|
-
xUserFullName?: string | null;
|
|
2354
|
-
authorization: string;
|
|
2355
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2356
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2357
|
-
status: 204;
|
|
2358
|
-
} | {
|
|
2359
|
-
status: 404;
|
|
2360
|
-
} | {
|
|
2361
|
-
status: 422;
|
|
2362
|
-
data: HttpValidationError;
|
|
2363
|
-
}>(`/v1/agents/${encodeURIComponent(agentCoreId)}/versions/${encodeURIComponent(versionNumber)}${QS.query(QS.explode({
|
|
2364
|
-
is_public: isPublic
|
|
2365
|
-
}))}`, {
|
|
2366
|
-
...opts,
|
|
2367
|
-
method: "DELETE",
|
|
2368
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2369
|
-
"x-account-id": xAccountId,
|
|
2370
|
-
"x-username": xUsername,
|
|
2371
|
-
"x-user-id": xUserId,
|
|
2372
|
-
"x-user-full-name": xUserFullName,
|
|
2373
|
-
authorization
|
|
2374
|
-
})
|
|
2375
|
-
}));
|
|
2376
|
-
}
|
|
2377
|
-
/**
|
|
2378
|
-
* Patch Version Recommended
|
|
2379
|
-
*/
|
|
2380
|
-
export function patchVersionRecommendedV1AgentsAgentCoreIdVersionsVersionNumberPatch({ agentCoreId, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
2381
|
-
agentCoreId: string;
|
|
2382
|
-
versionNumber: number;
|
|
2383
|
-
xAccountId?: string | null;
|
|
2384
|
-
xUsername?: string | null;
|
|
2385
|
-
xUserId?: string | null;
|
|
2386
|
-
xUserFullName?: string | null;
|
|
2387
|
-
authorization: string;
|
|
2388
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2389
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2390
|
-
status: 200;
|
|
2391
|
-
data: AgentVersionResponse;
|
|
2392
|
-
} | {
|
|
2393
|
-
status: 404;
|
|
2394
|
-
} | {
|
|
2395
|
-
status: 422;
|
|
2396
|
-
data: HttpValidationError;
|
|
2397
|
-
}>(`/v1/agents/${encodeURIComponent(agentCoreId)}/versions/${encodeURIComponent(versionNumber)}`, {
|
|
2398
|
-
...opts,
|
|
2399
|
-
method: "PATCH",
|
|
2400
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2401
|
-
"x-account-id": xAccountId,
|
|
2402
|
-
"x-username": xUsername,
|
|
2403
|
-
"x-user-id": xUserId,
|
|
2404
|
-
"x-user-full-name": xUserFullName,
|
|
2405
|
-
authorization
|
|
2406
|
-
})
|
|
2407
|
-
}));
|
|
2408
|
-
}
|
|
2409
|
-
/**
|
|
2410
|
-
* Fork Agent Version
|
|
2411
|
-
*/
|
|
2412
|
-
export function forkAgentVersionV1AgentsAgentCoreIdVersionsVersionNumberForkPost({ agentCoreId, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization, forkAgentRequest }: {
|
|
2413
|
-
agentCoreId: string;
|
|
2414
|
-
versionNumber: number;
|
|
2415
|
-
xAccountId?: string | null;
|
|
2416
|
-
xUsername?: string | null;
|
|
2417
|
-
xUserId?: string | null;
|
|
2418
|
-
xUserFullName?: string | null;
|
|
2419
|
-
authorization: string;
|
|
2420
|
-
forkAgentRequest: ForkAgentRequest;
|
|
2421
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2422
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2423
|
-
status: 201;
|
|
2424
|
-
data: ForkedAgentCoreAndVersionResponse;
|
|
2425
|
-
} | {
|
|
2426
|
-
status: 404;
|
|
2427
|
-
} | {
|
|
2428
|
-
status: 422;
|
|
2429
|
-
data: HttpValidationError;
|
|
2430
|
-
}>(`/v1/agents/${encodeURIComponent(agentCoreId)}/versions/${encodeURIComponent(versionNumber)}/fork`, oazapfts.json({
|
|
2431
|
-
...opts,
|
|
2432
|
-
method: "POST",
|
|
2433
|
-
body: forkAgentRequest,
|
|
2434
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2435
|
-
"x-account-id": xAccountId,
|
|
2436
|
-
"x-username": xUsername,
|
|
2437
|
-
"x-user-id": xUserId,
|
|
2438
|
-
"x-user-full-name": xUserFullName,
|
|
2439
|
-
authorization
|
|
2440
|
-
})
|
|
2441
|
-
})));
|
|
2442
|
-
}
|
|
2443
1966
|
/**
|
|
2444
1967
|
* List Agents
|
|
2445
1968
|
*/
|
|
@@ -2480,51 +2003,16 @@ export function listAgentsV2AgentsGet({ name, slug, visibility, size, page, xAcc
|
|
|
2480
2003
|
})
|
|
2481
2004
|
}));
|
|
2482
2005
|
}
|
|
2483
|
-
/**
|
|
2484
|
-
* Create Agent
|
|
2485
|
-
*/
|
|
2486
|
-
export function createAgentV2AgentsPost({ isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, newAgentRequestV2 }: {
|
|
2487
|
-
isPublic?: boolean;
|
|
2488
|
-
xAccountId?: string | null;
|
|
2489
|
-
xUsername?: string | null;
|
|
2490
|
-
xUserId?: string | null;
|
|
2491
|
-
xUserFullName?: string | null;
|
|
2492
|
-
authorization: string;
|
|
2493
|
-
newAgentRequestV2: NewAgentRequestV2;
|
|
2494
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2495
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2496
|
-
status: 201;
|
|
2497
|
-
data: CreatedResponse;
|
|
2498
|
-
} | {
|
|
2499
|
-
status: 404;
|
|
2500
|
-
} | {
|
|
2501
|
-
status: 422;
|
|
2502
|
-
data: HttpValidationError;
|
|
2503
|
-
}>(`/v2/agents${QS.query(QS.explode({
|
|
2504
|
-
is_public: isPublic
|
|
2505
|
-
}))}`, oazapfts.json({
|
|
2506
|
-
...opts,
|
|
2507
|
-
method: "POST",
|
|
2508
|
-
body: newAgentRequestV2,
|
|
2509
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2510
|
-
"x-account-id": xAccountId,
|
|
2511
|
-
"x-username": xUsername,
|
|
2512
|
-
"x-user-id": xUserId,
|
|
2513
|
-
"x-user-full-name": xUserFullName,
|
|
2514
|
-
authorization
|
|
2515
|
-
})
|
|
2516
|
-
})));
|
|
2517
|
-
}
|
|
2518
2006
|
/**
|
|
2519
2007
|
* Search Agents
|
|
2520
2008
|
*/
|
|
2521
|
-
export function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization,
|
|
2009
|
+
export function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
|
|
2522
2010
|
xAccountId?: string | null;
|
|
2523
2011
|
xUsername?: string | null;
|
|
2524
2012
|
xUserId?: string | null;
|
|
2525
2013
|
xUserFullName?: string | null;
|
|
2526
2014
|
authorization: string;
|
|
2527
|
-
|
|
2015
|
+
searchAgentsRequest: SearchAgentsRequest;
|
|
2528
2016
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2529
2017
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2530
2018
|
status: 200;
|
|
@@ -2537,42 +2025,7 @@ export function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId,
|
|
|
2537
2025
|
}>("/v2/agents/search", oazapfts.json({
|
|
2538
2026
|
...opts,
|
|
2539
2027
|
method: "POST",
|
|
2540
|
-
body:
|
|
2541
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2542
|
-
"x-account-id": xAccountId,
|
|
2543
|
-
"x-username": xUsername,
|
|
2544
|
-
"x-user-id": xUserId,
|
|
2545
|
-
"x-user-full-name": xUserFullName,
|
|
2546
|
-
authorization
|
|
2547
|
-
})
|
|
2548
|
-
})));
|
|
2549
|
-
}
|
|
2550
|
-
/**
|
|
2551
|
-
* Update Agent
|
|
2552
|
-
*/
|
|
2553
|
-
export function updateAgentV2AgentsAgentIdPatch({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, updateAgentRequestV2 }: {
|
|
2554
|
-
agentId: string;
|
|
2555
|
-
isPublic?: boolean;
|
|
2556
|
-
xAccountId?: string | null;
|
|
2557
|
-
xUsername?: string | null;
|
|
2558
|
-
xUserId?: string | null;
|
|
2559
|
-
xUserFullName?: string | null;
|
|
2560
|
-
authorization: string;
|
|
2561
|
-
updateAgentRequestV2: UpdateAgentRequestV2;
|
|
2562
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2563
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2564
|
-
status: 204;
|
|
2565
|
-
} | {
|
|
2566
|
-
status: 404;
|
|
2567
|
-
} | {
|
|
2568
|
-
status: 422;
|
|
2569
|
-
data: HttpValidationError;
|
|
2570
|
-
}>(`/v2/agents/${encodeURIComponent(agentId)}${QS.query(QS.explode({
|
|
2571
|
-
is_public: isPublic
|
|
2572
|
-
}))}`, oazapfts.json({
|
|
2573
|
-
...opts,
|
|
2574
|
-
method: "PATCH",
|
|
2575
|
-
body: updateAgentRequestV2,
|
|
2028
|
+
body: searchAgentsRequest,
|
|
2576
2029
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2577
2030
|
"x-account-id": xAccountId,
|
|
2578
2031
|
"x-username": xUsername,
|
|
@@ -2582,46 +2035,11 @@ export function updateAgentV2AgentsAgentIdPatch({ agentId, isPublic, xAccountId,
|
|
|
2582
2035
|
})
|
|
2583
2036
|
})));
|
|
2584
2037
|
}
|
|
2585
|
-
/**
|
|
2586
|
-
* Find By Agent Core Id
|
|
2587
|
-
*/
|
|
2588
|
-
export function findByAgentCoreIdV2AgentsAgentCoreIdGet({ agentCoreId, versionNumber, returnAllVersions, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
2589
|
-
agentCoreId: string;
|
|
2590
|
-
versionNumber?: number | null;
|
|
2591
|
-
returnAllVersions?: boolean | null;
|
|
2592
|
-
xAccountId?: string | null;
|
|
2593
|
-
xUsername?: string | null;
|
|
2594
|
-
xUserId?: string | null;
|
|
2595
|
-
xUserFullName?: string | null;
|
|
2596
|
-
authorization: string;
|
|
2597
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2598
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2599
|
-
status: 200;
|
|
2600
|
-
data: AgentCoreWithSingleVersionResponse;
|
|
2601
|
-
} | {
|
|
2602
|
-
status: 404;
|
|
2603
|
-
} | {
|
|
2604
|
-
status: 422;
|
|
2605
|
-
data: HttpValidationError;
|
|
2606
|
-
}>(`/v2/agents/${encodeURIComponent(agentCoreId)}${QS.query(QS.explode({
|
|
2607
|
-
version_number: versionNumber,
|
|
2608
|
-
return_all_versions: returnAllVersions
|
|
2609
|
-
}))}`, {
|
|
2610
|
-
...opts,
|
|
2611
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2612
|
-
"x-account-id": xAccountId,
|
|
2613
|
-
"x-username": xUsername,
|
|
2614
|
-
"x-user-id": xUserId,
|
|
2615
|
-
"x-user-full-name": xUserFullName,
|
|
2616
|
-
authorization
|
|
2617
|
-
})
|
|
2618
|
-
}));
|
|
2619
|
-
}
|
|
2620
2038
|
/**
|
|
2621
2039
|
* List Agents
|
|
2622
2040
|
*/
|
|
2623
2041
|
export function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
2624
|
-
filters:
|
|
2042
|
+
filters: ListAgentRequestV3;
|
|
2625
2043
|
isPublic?: boolean;
|
|
2626
2044
|
xAccountId?: string | null;
|
|
2627
2045
|
xUsername?: string | null;
|
|
@@ -2651,40 +2069,6 @@ export function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername
|
|
|
2651
2069
|
})
|
|
2652
2070
|
}));
|
|
2653
2071
|
}
|
|
2654
|
-
/**
|
|
2655
|
-
* List Agent Core with all versions
|
|
2656
|
-
*/
|
|
2657
|
-
export function listAgentsV4AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
2658
|
-
filters: ListAgentRequestV4;
|
|
2659
|
-
isPublic?: boolean;
|
|
2660
|
-
xAccountId?: string | null;
|
|
2661
|
-
xUsername?: string | null;
|
|
2662
|
-
xUserId?: string | null;
|
|
2663
|
-
xUserFullName?: string | null;
|
|
2664
|
-
authorization: string;
|
|
2665
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
2666
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2667
|
-
status: 200;
|
|
2668
|
-
data: PaginatedResponseListAgentCoreResponse;
|
|
2669
|
-
} | {
|
|
2670
|
-
status: 404;
|
|
2671
|
-
} | {
|
|
2672
|
-
status: 422;
|
|
2673
|
-
data: HttpValidationError;
|
|
2674
|
-
}>(`/v4/agents${QS.query(QS.explode({
|
|
2675
|
-
filters,
|
|
2676
|
-
is_public: isPublic
|
|
2677
|
-
}))}`, {
|
|
2678
|
-
...opts,
|
|
2679
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2680
|
-
"x-account-id": xAccountId,
|
|
2681
|
-
"x-username": xUsername,
|
|
2682
|
-
"x-user-id": xUserId,
|
|
2683
|
-
"x-user-full-name": xUserFullName,
|
|
2684
|
-
authorization
|
|
2685
|
-
})
|
|
2686
|
-
}));
|
|
2687
|
-
}
|
|
2688
2072
|
/**
|
|
2689
2073
|
* Internal List Toolkits By Ids
|
|
2690
2074
|
*/
|