@stack-spot/portal-network 1.0.0-stg.1770122183205 → 1.0.0-stg.1770125490649

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.
@@ -170,15 +170,18 @@ export type AgentUsingToolsResponse = {
170
170
  name: string;
171
171
  avatar?: string | null;
172
172
  };
173
- export type AssignCustomToolsAgentRequest = {
174
- toolkit_id: string;
175
- tools_ids: string[];
173
+ export type Function = {
174
+ name: string;
175
+ description: string;
176
+ parameters: {
177
+ [key: string]: any;
178
+ };
179
+ strict?: boolean;
176
180
  };
177
- export type AssignToolsToAgentRequest = {
178
- builtin_tool_ids?: string[] | null;
179
- custom_tools?: AssignCustomToolsAgentRequest[] | null;
180
- sub_agents_ids?: string[] | null;
181
- mcp_toolkit_ids?: string[] | null;
181
+ export type McpToolFunction = {
182
+ "type"?: string | null;
183
+ "function"?: Function | null;
184
+ id?: string | null;
182
185
  };
183
186
  export type ToolkitMcpResponse = {
184
187
  id?: string | null;
@@ -190,11 +193,20 @@ export type ToolkitMcpResponse = {
190
193
  secrets?: string[] | null;
191
194
  url?: string | null;
192
195
  toolkit_type?: ToolkitType | null;
196
+ tools?: McpToolFunction[] | null;
197
+ };
198
+ export type MultiAgentToolkitResponse = {
199
+ id: string;
200
+ agent_version_number: number | null;
201
+ avatar: string | null;
202
+ name: string;
203
+ description: string;
193
204
  };
194
205
  export type AgentToolsResponse = {
195
206
  builtin_toolkits?: BuiltinToolkitResponse[];
196
207
  custom_toolkits?: CustomToolkitResponse[];
197
208
  mcp_toolkits?: ToolkitMcpResponse[];
209
+ multi_agent_toolkits?: MultiAgentToolkitResponse[];
198
210
  };
199
211
  export type SchemaEnum = "OPENAI";
200
212
  export type FunctionParameter = {
@@ -213,7 +225,7 @@ export type FunctionParameter = {
213
225
  /** Allow arbitrary data of specific typed */
214
226
  additionalProperties?: boolean;
215
227
  };
216
- export type Function = {
228
+ export type Function2 = {
217
229
  /** The name of the function */
218
230
  name: string;
219
231
  /** A description of what the function does */
@@ -229,7 +241,7 @@ export type OpenAiTool = {
229
241
  /** The type of the tool; must be 'function' */
230
242
  "type": "function";
231
243
  /** The function associated with this tool */
232
- "function": Function;
244
+ "function": Function2;
233
245
  };
234
246
  export type ExecuteAgentToolRequest = {
235
247
  arguments?: string | null;
@@ -239,6 +251,19 @@ export type ExecuteAgentToolRequest = {
239
251
  export type AgentToolExecutionResponse = {
240
252
  result: string;
241
253
  };
254
+ export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
255
+ export type ListAccountAgentResponseV1 = {
256
+ name: string;
257
+ username: string;
258
+ created_at?: string | null;
259
+ visibility_level: string;
260
+ id: string;
261
+ slug: string;
262
+ };
263
+ export type PaginatedResponseListAccountAgentResponseV1 = {
264
+ total_pages: number;
265
+ items: ListAccountAgentResponseV1[];
266
+ };
242
267
  export type AgentVisibilityLevelEnum = "built_in" | "recently_used";
243
268
  export type KnowledgeSourcesConfig = {
244
269
  knowledge_sources: string[];
@@ -247,16 +272,26 @@ export type KnowledgeSourcesConfig = {
247
272
  similarity_function?: string;
248
273
  post_processing?: boolean;
249
274
  };
275
+ export type AgentVersionStatus = "draft" | "published" | "deprecated";
250
276
  export type ListAgentResponse = {
277
+ /** Username of creator */
278
+ created_by?: string | null;
279
+ /** Creation timestamp */
280
+ created_at?: string | null;
281
+ /** Username of last updater */
282
+ updated_by?: string | null;
283
+ /** Last update timestamp */
284
+ updated_at?: string | null;
251
285
  id: string;
252
286
  name: string;
253
287
  slug: string;
254
- created_by: string | null;
255
- created_at: string | null;
256
288
  visibility_level: string;
257
- avatar: string | null;
258
- suggested_prompts: string[] | null;
289
+ avatar?: string | null;
290
+ suggested_prompts?: string[] | null;
259
291
  knowledge_sources_config: KnowledgeSourcesConfig;
292
+ version_number: number;
293
+ status: AgentVersionStatus;
294
+ is_recommended: boolean;
260
295
  has_multiagent_tool?: boolean;
261
296
  "type"?: string;
262
297
  system_prompt?: string;
@@ -272,6 +307,10 @@ export type KnowledgeSourcesConfigRequest = {
272
307
  knowledge_sources?: string[] | null;
273
308
  sealed?: boolean | null;
274
309
  };
310
+ export type AssignCustomToolsAgentRequest = {
311
+ toolkit_id: string;
312
+ tools_ids: string[];
313
+ };
275
314
  export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
276
315
  export type AgentMemory = "vector" | "buffer" | "summary";
277
316
  export type PlannerType = "simple" | "tool_oriented";
@@ -299,8 +338,10 @@ export type NewAgentRequest = {
299
338
  /** Custom tools to assign to the agent */
300
339
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
301
340
  mcp_toolkit_ids?: string[] | null;
341
+ /** Multi-agents assignment to the agent */
302
342
  sub_agents_ids?: string[] | null;
303
343
  detail_mode?: boolean;
344
+ /** JSON schema for structured output */
304
345
  structured_output?: string | null;
305
346
  llm_settings?: {
306
347
  [key: string]: any;
@@ -315,13 +356,21 @@ export type NewAgentRequest = {
315
356
  planner_type?: PlannerType | null;
316
357
  /** Maximum number of LLM interactions allowed for the agent when using simple planner */
317
358
  max_llm_interactions?: number | null;
359
+ /** LLM planner model name */
360
+ planner_model_name?: string | null;
361
+ /** LLM planner model id */
362
+ planner_model_id?: string | null;
318
363
  };
319
364
  export type SearchAgentsRequest = {
320
365
  /** Agent ids to filter for */
321
366
  ids: string[];
322
367
  };
368
+ export type AssignMultiAgentVersionRequest = {
369
+ agent_core_id: string;
370
+ version_number?: number | null;
371
+ };
323
372
  export type WorkspaceForkRequest = {
324
- agent_ids: string[];
373
+ agents: AssignMultiAgentVersionRequest[];
325
374
  member_id: string;
326
375
  };
327
376
  export type AgentItemFork = {
@@ -361,7 +410,7 @@ export type ListMultiAgentsResponse = {
361
410
  visibility_level: VisibilityLevelEnum;
362
411
  has_multiagent_tool: boolean;
363
412
  };
364
- export type KnowledgeSourceDetails = {
413
+ export type KnowledgeSourceDetailsResponse = {
365
414
  id: string;
366
415
  slug: string;
367
416
  name: string;
@@ -369,142 +418,423 @@ export type KnowledgeSourceDetails = {
369
418
  "type": string;
370
419
  creator?: string | null;
371
420
  "default": boolean;
372
- visibility_level: VisibilityLevelEnum;
421
+ visibility_level: string;
373
422
  model_name: string;
374
423
  username?: string | null;
375
424
  };
376
- export type KnowledgeSourceConfigModel = {
377
- similarity_function: SimilarityFunctionEnum;
425
+ export type KnowledgeSourcesConfigResponse = {
426
+ /** Username of creator */
427
+ created_by?: string | null;
428
+ /** Creation timestamp */
429
+ created_at?: string | null;
430
+ /** Username of last updater */
431
+ updated_by?: string | null;
432
+ /** Last update timestamp */
433
+ updated_at?: string | null;
434
+ knowledge_sources: string[];
378
435
  max_number_of_kos: number;
379
436
  relevancy_threshold: number;
437
+ similarity_function: string;
380
438
  post_processing: boolean;
381
- knowledge_sources: string[];
382
- knowledge_sources_details: KnowledgeSourceDetails[];
383
439
  sealed: boolean;
440
+ knowledge_sources_details?: KnowledgeSourceDetailsResponse[] | null;
441
+ };
442
+ export type LlmSettingsResponse = {
443
+ property_key: string;
444
+ property_value: string;
445
+ property_type: string;
446
+ };
447
+ export type AgentLlmModelResponse = {
448
+ model_id: string;
449
+ model_name: string;
450
+ is_default: boolean;
451
+ };
452
+ export type FindByIdAgentResponse = {
453
+ /** Username of creator */
384
454
  created_by?: string | null;
455
+ /** Creation timestamp */
385
456
  created_at?: string | null;
457
+ /** Username of last updater */
386
458
  updated_by?: string | null;
459
+ /** Last update timestamp */
387
460
  updated_at?: string | null;
388
- };
389
- export type BuiltinToolDto = {
461
+ /** Agent core ID */
390
462
  id: string;
463
+ /** Agent name */
391
464
  name: string;
392
- description: string;
393
- toolkit_id: string;
465
+ /** Agent unique slug */
466
+ slug: string;
467
+ /** Agent description */
468
+ description?: string | null;
469
+ /** Agent avatar image URL */
470
+ avatar?: string | null;
471
+ /** Agent visibility level */
472
+ visibility_level: string;
473
+ /** Agent type */
474
+ "type": string;
475
+ /** Whether agent is use-only (hides implementation) */
476
+ use_only: boolean;
477
+ /** Whether agent is internal */
478
+ is_internal: boolean;
479
+ /** Whether detail mode is enabled */
480
+ detail_mode: boolean;
481
+ /** Agent execution mode */
482
+ mode: AgentMode;
483
+ /** Agent memory type */
484
+ memory: AgentMemory;
485
+ /** Version status */
486
+ status: AgentVersionStatus;
487
+ /** Version number */
488
+ version_number: number;
489
+ /** Whether this is the recommended version */
490
+ is_recommended: boolean;
491
+ /** Whether this is the latest version */
492
+ is_latest: boolean;
493
+ /** System prompt for the agent */
494
+ system_prompt?: string | null;
495
+ /** Default LLM model ID */
496
+ model_id?: string | null;
497
+ /** Default LLM model name */
498
+ model_name?: string | null;
499
+ /** Original agent ID if forked */
500
+ origin_fork_id?: string | null;
501
+ /** Suggested conversation starters */
502
+ conversation_starter?: string[] | null;
503
+ /** JSON schema for structured output */
504
+ structured_output?: {
505
+ [key: string]: any;
506
+ } | null;
507
+ /** Base version ID for version history */
508
+ base_version_id?: string | null;
509
+ /** Agent planner type */
510
+ planner_type?: PlannerType | null;
511
+ /** Maximum number of LLM interactions */
512
+ max_llm_interactions?: number | null;
513
+ /** Default LLM planner model ID */
514
+ planner_model_id?: string | null;
515
+ /** Default LLM planner model name */
516
+ planner_model_name?: string | null;
517
+ /** Knowledge sources configuration with details */
518
+ knowledge_sources_config?: KnowledgeSourcesConfigResponse | null;
519
+ /** Agent toolkits (builtin and custom) */
520
+ toolkits?: AgentToolsResponse;
521
+ /** LLM settings */
522
+ settings?: LlmSettingsResponse[];
523
+ /** Available LLM models for this agent */
524
+ available_llm_models?: AgentLlmModelResponse[];
394
525
  };
395
- export type BuiltinToolkitDto = {
396
- id: string;
397
- name: string;
398
- description: string;
399
- image_url: string;
400
- tools: BuiltinToolDto[];
526
+ export type UpdateAgentRequest = {
527
+ use_only?: boolean | null;
528
+ /** LLM model name */
529
+ model_name?: string | null;
530
+ /** LLM model id */
531
+ model_id?: string | null;
532
+ /** Agent name */
533
+ name?: string | null;
534
+ /** Agent unique slug */
535
+ slug?: string | null;
536
+ /** Agent description */
537
+ description?: string | null;
538
+ /** Agent avatar image */
539
+ avatar?: string | null;
540
+ /** Agent suggested prompt */
541
+ suggested_prompts?: string[];
542
+ /** agent status */
543
+ status?: AgentVersionStatus | null;
544
+ /** System prompt */
545
+ system_prompt?: string | null;
546
+ /** Agent type */
547
+ "type"?: AgentType | null;
548
+ knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
549
+ builtin_tools_ids?: string[];
550
+ /** Multi-agents assignment to the agent */
551
+ sub_agents_ids?: string[];
552
+ /** Custom tools to assign to the agent */
553
+ custom_tools?: AssignCustomToolsAgentRequest[] | null;
554
+ mcp_toolkit_ids?: string[] | null;
555
+ detail_mode?: boolean | null;
556
+ /** JSON schema for structured output */
557
+ structured_output?: string | null;
558
+ llm_settings?: {
559
+ [key: string]: any;
560
+ } | null;
561
+ /** Agent mode */
562
+ mode?: AgentMode | null;
563
+ /** Available models for this particular agent */
564
+ available_models_ids?: string[];
565
+ /** Agent memory */
566
+ memory?: AgentMemory;
567
+ /** Agent planner type */
568
+ planner_type?: PlannerType;
569
+ /** Maximum number of LLM interactions allowed for the agent when using simple planner */
570
+ max_llm_interactions?: number | null;
571
+ /** LLM planner model name */
572
+ planner_model_name?: string | null;
573
+ /** LLM planner model id */
574
+ planner_model_id?: string | null;
575
+ };
576
+ export type ForkAgentRequest = {
577
+ /** Agent slug to fork */
578
+ slug: string;
579
+ name?: string | null;
580
+ };
581
+ export type PublishAgentRequest = {
582
+ use_only?: boolean;
583
+ is_public?: boolean;
584
+ version_number?: number | null;
585
+ };
586
+ export type CreateVersionRequest = {
587
+ /** The version number to use as base for the new version. If not provided, uses latest version */
588
+ base_version_number?: number | null;
401
589
  };
402
- export type CustomToolkitToolDto = {
590
+ export type AgentVersionResponse = {
591
+ /** Username of creator */
592
+ created_by?: string | null;
593
+ /** Creation timestamp */
594
+ created_at?: string | null;
595
+ /** Username of last updater */
596
+ updated_by?: string | null;
597
+ /** Last update timestamp */
598
+ updated_at?: string | null;
599
+ /** Agent version unique identifier */
403
600
  id: string;
404
- name: string;
405
- description: string;
406
- method: string;
407
- url: string;
408
- parameters?: {
409
- [key: string]: any;
410
- }[] | null;
411
- request_body?: {
601
+ /** Reference to parent agent core */
602
+ agent_core_id: string;
603
+ /** Whether detail mode is enabled for responses */
604
+ detail_mode: boolean;
605
+ /** Whether version is internal-only */
606
+ is_internal: boolean;
607
+ /** Agent execution mode (autonomous, orchestrator, etc.) */
608
+ mode: AgentMode;
609
+ /** Memory type used by the agent */
610
+ memory: string;
611
+ /** Version status (draft, published, archived) */
612
+ status: AgentVersionStatus;
613
+ /** Sequential version number */
614
+ version_number: number;
615
+ /** Whether this is the recommended version for use */
616
+ is_recommended: boolean;
617
+ /** Whether this is the most recent version */
618
+ is_latest: boolean;
619
+ /** Base version ID used for creating this version */
620
+ base_version_id?: string | null;
621
+ /** Original agent version ID if this is a fork */
622
+ origin_fork_id?: string | null;
623
+ /** System prompt for the agent version */
624
+ system_prompt?: string | null;
625
+ /** LLM model ID used by this version */
626
+ model_id?: string | null;
627
+ /** LLM model name used by this version */
628
+ model_name?: string | null;
629
+ /** Suggested conversation starters */
630
+ conversation_starter?: string[] | null;
631
+ /** JSON schema for structured output */
632
+ structured_output?: {
412
633
  [key: string]: any;
413
634
  } | null;
414
- response_transformation?: string | null;
415
- creator_name?: string | null;
416
- };
417
- export type CustomToolkitDto = {
635
+ /** Agent planner type */
636
+ planner_type?: PlannerType | null;
637
+ max_llm_interactions?: number | null;
638
+ /** Default LLM planner model ID */
639
+ planner_model_id?: string | null;
640
+ /** Default LLM planner model name */
641
+ planner_model_name?: string | null;
642
+ /** Knowledge sources configuration with details */
643
+ knowledge_sources_config?: KnowledgeSourcesConfigResponse | null;
644
+ /** List of tools (builtin) assigned to this version */
645
+ toolkits?: AgentToolsResponse;
646
+ /** LLM-specific settings for this version */
647
+ settings?: LlmSettingsResponse[];
648
+ /** Available LLM models for this version */
649
+ available_llm_models?: AgentLlmModelResponse[];
650
+ };
651
+ export type CreateVersionResponse = {
652
+ /** Username of creator */
653
+ created_by?: string | null;
654
+ /** Creation timestamp */
655
+ created_at?: string | null;
656
+ /** Username of last updater */
657
+ updated_by?: string | null;
658
+ /** Last update timestamp */
659
+ updated_at?: string | null;
660
+ /** Agent core unique identifier */
418
661
  id: string;
662
+ /** Agent name */
419
663
  name: string;
420
- description: string | null;
421
- avatar: string | null;
422
- tools: CustomToolkitToolDto[];
423
- secrets: string[] | null;
424
- visibility_level: VisibilityLevelEnum;
425
- creator_name: string;
426
- created_by: string;
427
- is_usable_by_others: boolean;
428
- url: string | null;
429
- toolkit_type: ToolkitType | null;
664
+ /** Agent unique slug */
665
+ slug: string;
666
+ /** Agent description */
667
+ description?: string | null;
668
+ /** Agent avatar image URL */
669
+ avatar?: string | null;
670
+ /** Agent visibility level (personal, shared, account) */
671
+ visibility_level: string;
672
+ /** The newly created agent version details */
673
+ version: AgentVersionResponse;
430
674
  };
431
- export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
432
- export type SecretDto = {
675
+ export type ListAgentVersionResponse = {
433
676
  id: string;
434
- scope?: SecretScope | null;
677
+ version_number: number;
678
+ status: AgentVersionStatus;
679
+ is_recommended: boolean;
435
680
  };
436
- export type Function2 = {
437
- name: string;
438
- description: string;
439
- parameters: {
440
- [key: string]: any;
441
- };
442
- strict?: boolean;
443
- };
444
- export type ToolkitMcpdto = {
445
- secrets: SecretDto[] | null;
681
+ export type AgentCoreWithSingleVersionResponse = {
682
+ /** Username of creator */
683
+ created_by?: string | null;
684
+ /** Creation timestamp */
685
+ created_at?: string | null;
686
+ /** Username of last updater */
687
+ updated_by?: string | null;
688
+ /** Last update timestamp */
689
+ updated_at?: string | null;
690
+ /** Agent core unique identifier (ULID format) */
691
+ id: string;
692
+ /** Agent display name */
446
693
  name: string;
694
+ /** Agent unique slug for URL-friendly identification */
695
+ slug: string;
696
+ /** Agent core type */
697
+ "type": string;
698
+ /** Whether agent is use-only (hides implementation) */
699
+ use_only: boolean;
700
+ /** Detailed description of the agent's purpose and capabilities */
447
701
  description?: string | null;
702
+ /** URL or path to agent's avatar image */
448
703
  avatar?: string | null;
449
- visibility_level?: VisibilityLevelEnum;
450
- id?: string | null;
451
- url?: string | null;
452
- tools?: Function2[] | null;
453
- /** Toolkit type */
454
- toolkit_type?: ToolkitType | null;
455
- };
456
- export type AgentToolsDto = {
457
- builtin_toolkits?: BuiltinToolkitDto[];
458
- custom_toolkits?: CustomToolkitDto[];
459
- mcp_toolkits?: ToolkitMcpdto[];
704
+ /** Agent visibility level (PERSONAL, WORKSPACE, ORGANIZATION, PUBLIC) */
705
+ visibility_level: string;
706
+ /** Origin ID of forking agent */
707
+ origin_fork_id?: string | null;
708
+ /** Specific or recommend version associated with this agent core */
709
+ version: AgentVersionResponse;
460
710
  };
461
- export type LlmSettingsModel = {
462
- property_key?: string | null;
463
- property_value?: string | null;
464
- property_type?: string | null;
465
- agent_id: string;
711
+ export type AgentCoreResponse = {
712
+ /** Username of creator */
466
713
  created_by?: string | null;
714
+ /** Creation timestamp */
467
715
  created_at?: string | null;
716
+ /** Username of last updater */
468
717
  updated_by?: string | null;
718
+ /** Last update timestamp */
469
719
  updated_at?: string | null;
720
+ /** Agent core unique identifier (ULID format) */
721
+ id: string;
722
+ /** Agent display name */
723
+ name: string;
724
+ /** Agent unique slug for URL-friendly identification */
725
+ slug: string;
726
+ /** Agent core type */
727
+ "type": string;
728
+ /** Whether agent is use-only (hides implementation) */
729
+ use_only: boolean;
730
+ /** Detailed description of the agent's purpose and capabilities */
731
+ description?: string | null;
732
+ /** URL or path to agent's avatar image */
733
+ avatar?: string | null;
734
+ /** Agent visibility level (PERSONAL, WORKSPACE, ORGANIZATION, PUBLIC) */
735
+ visibility_level: string;
736
+ /** Specific or recommend version associated with this agent core */
737
+ versions: AgentVersionResponse[];
470
738
  };
471
- export type AgentLlmModelDto = {
472
- model_id: string;
739
+ export type KnowledgeSourceDetailsResponse2 = {
740
+ id: string;
741
+ slug: string;
742
+ name: string;
743
+ description: string;
744
+ "type": string;
745
+ creator?: string | null;
746
+ "default": boolean;
747
+ visibility_level: VisibilityLevelEnum;
473
748
  model_name: string;
474
- is_default?: boolean;
749
+ username?: string | null;
475
750
  };
476
- export type AgentModel = {
751
+ export type KnowledgeSourcesConfigResponse2 = {
752
+ knowledge_sources: string[];
753
+ max_number_of_kos?: number;
754
+ relevancy_threshold?: number;
755
+ similarity_function?: SimilarityFunctionEnum;
756
+ post_processing?: boolean;
757
+ knowledge_sources_details?: KnowledgeSourceDetailsResponse2[];
758
+ sealed: boolean;
759
+ };
760
+ export type ListAgentResponseV2 = {
761
+ /** Username of creator */
762
+ created_by?: string | null;
763
+ /** Creation timestamp */
764
+ created_at?: string | null;
765
+ /** Username of last updater */
766
+ updated_by?: string | null;
767
+ /** Last update timestamp */
768
+ updated_at?: string | null;
477
769
  id: string;
478
770
  name: string;
479
771
  slug: string;
480
- description?: string | null;
481
- system_prompt: string;
482
772
  visibility_level: string;
483
773
  avatar?: string | null;
484
- "type": string;
485
774
  conversation_starter?: string[] | null;
486
- use_only: boolean;
487
- detail_mode: boolean;
488
- mode: AgentMode;
489
- structured_output?: {
775
+ knowledge_sources_config: KnowledgeSourcesConfigResponse2;
776
+ "type"?: string;
777
+ system_prompt?: string;
778
+ creator_name?: string;
779
+ version_number: number;
780
+ status: AgentVersionStatus;
781
+ is_recommended: boolean;
782
+ };
783
+ export type NewAgentRequestV2 = {
784
+ /** LLM model name */
785
+ model_name?: string | null;
786
+ /** LLM model id */
787
+ model_id?: string | null;
788
+ /** Agent name */
789
+ name: string;
790
+ /** Agent unique slug */
791
+ slug: string;
792
+ /** Agent description */
793
+ description?: string | null;
794
+ /** Agent avatar image */
795
+ avatar?: string | null;
796
+ /** Agent suggested prompt */
797
+ suggested_prompts?: string[];
798
+ /** System prompt */
799
+ system_prompt?: string | null;
800
+ /** Agent type */
801
+ "type": AgentType;
802
+ knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
803
+ builtin_tools_ids?: string[];
804
+ /** Custom tools to assign to the agent */
805
+ custom_tools?: AssignCustomToolsAgentRequest[] | null;
806
+ /** Multi-agents assignment to the agent */
807
+ sub_agents_ids?: AssignMultiAgentVersionRequest[] | null;
808
+ mcp_toolkit_ids?: string[] | null;
809
+ detail_mode?: boolean;
810
+ /** JSON schema for structured output */
811
+ structured_output?: string | null;
812
+ llm_settings?: {
490
813
  [key: string]: any;
491
814
  } | null;
492
- model_id?: string | null;
493
- model_name?: string | null;
494
- knowledge_sources_config?: KnowledgeSourceConfigModel | null;
495
- toolkits?: AgentToolsDto | null;
496
- settings?: LlmSettingsModel[];
497
- is_sub_agent?: boolean | null;
498
- created_by?: string | null;
499
- created_at?: string | null;
500
- updated_by?: string | null;
501
- updated_at?: string | null;
502
- available_llm_models?: AgentLlmModelDto[];
815
+ /** Agent mode */
816
+ mode?: AgentMode;
817
+ /** Agent memory */
503
818
  memory?: AgentMemory;
819
+ /** Available models for this particular agent */
820
+ available_models_ids?: string[];
821
+ /** Agent planner type */
504
822
  planner_type?: PlannerType | null;
823
+ /** Maximum number of LLM interactions allowed for the agent when using simple planner */
505
824
  max_llm_interactions?: number | null;
825
+ /** LLM planner model name */
826
+ planner_model_name?: string | null;
827
+ /** LLM planner model id */
828
+ planner_model_id?: string | null;
506
829
  };
507
- export type UpdateAgentRequest = {
830
+ export type SearchAgentVersionRequest = {
831
+ agent_core_id: string;
832
+ version_number?: number | null;
833
+ };
834
+ export type SearchAgentsRequestV2 = {
835
+ agents: SearchAgentVersionRequest[];
836
+ };
837
+ export type UpdateAgentRequestV2 = {
508
838
  use_only?: boolean | null;
509
839
  /** LLM model name */
510
840
  model_name?: string | null;
@@ -514,6 +844,8 @@ export type UpdateAgentRequest = {
514
844
  name?: string | null;
515
845
  /** Agent unique slug */
516
846
  slug?: string | null;
847
+ /** agent status */
848
+ status?: AgentVersionStatus | null;
517
849
  /** Agent description */
518
850
  description?: string | null;
519
851
  /** Agent avatar image */
@@ -526,11 +858,13 @@ export type UpdateAgentRequest = {
526
858
  "type"?: AgentType | null;
527
859
  knowledge_sources_config?: KnowledgeSourcesConfigRequest | null;
528
860
  builtin_tools_ids?: string[];
529
- sub_agents_ids?: string[];
861
+ /** Multi-agents assignment to the agent */
862
+ sub_agents_ids?: AssignMultiAgentVersionRequest[];
530
863
  /** Custom tools to assign to the agent */
531
864
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
532
865
  mcp_toolkit_ids?: string[] | null;
533
866
  detail_mode?: boolean | null;
867
+ /** JSON schema for structured output */
534
868
  structured_output?: string | null;
535
869
  llm_settings?: {
536
870
  [key: string]: any;
@@ -545,32 +879,135 @@ export type UpdateAgentRequest = {
545
879
  planner_type?: PlannerType;
546
880
  /** Maximum number of LLM interactions allowed for the agent when using simple planner */
547
881
  max_llm_interactions?: number | null;
882
+ /** LLM planner model name */
883
+ planner_model_name?: string | null;
884
+ /** LLM planner model id */
885
+ planner_model_id?: string | null;
548
886
  };
549
- export type ForkAgentRequest = {
550
- /** Agent slug to fork */
551
- slug: string;
552
- name?: string | null;
887
+ export type CustomToolkitToolResponse2 = {
888
+ id: string;
889
+ name: string;
890
+ description: string;
891
+ method: string;
892
+ url: string;
893
+ parameters?: {
894
+ [key: string]: any;
895
+ }[] | null;
896
+ request_body?: {
897
+ [key: string]: any;
898
+ } | null;
899
+ response_transformation?: string | null;
900
+ creator_name?: string | null;
553
901
  };
554
- export type PublishAgentRequest = {
555
- use_only?: boolean;
556
- is_public?: boolean;
902
+ export type CustomToolkitResponse2 = {
903
+ id: string;
904
+ name: string;
905
+ description?: string | null;
906
+ avatar?: string | null;
907
+ visibility_level: string;
908
+ creator_name: string | null;
909
+ toolkit_type?: ToolkitType | null;
910
+ tools: CustomToolkitToolResponse2[];
911
+ secret_id?: string | null;
912
+ secrets?: string[] | null;
913
+ is_usable_by_others: boolean;
914
+ url?: string | null;
557
915
  };
558
- export type ListAgentResponseV2 = {
916
+ export type AgentToolsResponse2 = {
917
+ builtin_toolkits?: BuiltinToolkitResponse[];
918
+ custom_toolkits?: CustomToolkitResponse2[];
919
+ mcp_toolkits?: ToolkitMcpResponse[];
920
+ multi_agent_toolkits?: MultiAgentToolkitResponse[];
921
+ };
922
+ export type AgentVersionResponse2 = {
923
+ /** Username of creator */
924
+ created_by?: string | null;
925
+ /** Creation timestamp */
926
+ created_at?: string | null;
927
+ /** Username of last updater */
928
+ updated_by?: string | null;
929
+ /** Last update timestamp */
930
+ updated_at?: string | null;
931
+ /** System prompt for the agent version */
932
+ system_prompt: string;
933
+ /** Whether detail mode is enabled for responses */
934
+ detail_mode: boolean;
935
+ /** Whether version is internal-only */
936
+ is_internal: boolean;
937
+ /** Agent execution mode (autonomous, orchestrator, etc.) */
938
+ mode: AgentMode;
939
+ /** Memory type used by the agent */
940
+ memory: string;
941
+ /** Version status (draft, published, archived) */
942
+ status: AgentVersionStatus;
943
+ /** Sequential version number */
944
+ version_number: number;
945
+ /** Whether this is the recommended version for use */
946
+ is_recommended: boolean;
947
+ /** Whether this is the most recent version */
948
+ is_latest: boolean;
949
+ /** Base version ID used for creating this version */
950
+ base_version_id?: string | null;
951
+ /** Original agent version ID if this is a fork */
952
+ origin_fork_id?: string | null;
953
+ /** LLM model ID used by this version */
954
+ model_id?: string | null;
955
+ /** LLM model name used by this version */
956
+ model_name?: string | null;
957
+ /** Suggested conversation starters */
958
+ conversation_starter?: string[] | null;
959
+ /** JSON schema for structured output */
960
+ structured_output?: {
961
+ [key: string]: any;
962
+ } | null;
963
+ /** Agent planner type */
964
+ planner_type?: PlannerType | null;
965
+ /** Maximum number of LLM interactions */
966
+ max_llm_interactions?: number | null;
967
+ /** Default LLM planner model ID */
968
+ planner_model_id?: string | null;
969
+ /** Default LLM planner model name */
970
+ planner_model_name?: string | null;
971
+ /** Knowledge sources configuration for RAG capabilities */
972
+ knowledge_sources_config?: KnowledgeSourcesConfigResponse2 | null;
973
+ /** List of tools (builtin) assigned to this version */
974
+ toolkits?: AgentToolsResponse2;
975
+ /** LLM-specific settings for this version */
976
+ settings?: LlmSettingsResponse[];
977
+ /** Available LLM models for this version */
978
+ available_llm_models?: AgentLlmModelResponse[];
979
+ };
980
+ export type AgentCoreWithSingleVersionResponse2 = {
981
+ /** Username of creator */
982
+ created_by?: string | null;
983
+ /** Creation timestamp */
984
+ created_at?: string | null;
985
+ /** Username of last updater */
986
+ updated_by?: string | null;
987
+ /** Last update timestamp */
988
+ updated_at?: string | null;
989
+ /** Agent core unique identifier (ULID format) */
559
990
  id: string;
991
+ /** Agent display name */
560
992
  name: string;
993
+ /** Agent unique slug for URL-friendly identification */
561
994
  slug: string;
562
- created_by: string | null;
563
- created_at: string | null;
995
+ /** Agent core type */
996
+ "type": string;
997
+ /** Whether agent is use-only (hides implementation) */
998
+ use_only: boolean;
999
+ /** Detailed description of the agent's purpose and capabilities */
1000
+ description?: string | null;
1001
+ /** URL or path to agent's avatar image */
1002
+ avatar?: string | null;
1003
+ /** Agent visibility level (PERSONAL, WORKSPACE, ORGANIZATION, PUBLIC) */
564
1004
  visibility_level: string;
565
- avatar: string | null;
566
- conversation_starter: string[] | null;
567
- knowledge_sources_config: KnowledgeSourcesConfig;
568
- "type"?: string;
569
- system_prompt?: string;
570
- creator_name?: string;
1005
+ /** Origin ID of forking agent */
1006
+ origin_fork_id?: string | null;
1007
+ /** Specific or recommend version associated with this agent core */
1008
+ version: AgentVersionResponse2;
571
1009
  };
572
- export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
573
- export type ListAgentRequestV3 = {
1010
+ export type ListAgentRequestV4 = {
574
1011
  /** Agent name to filter the list */
575
1012
  name?: string | null;
576
1013
  /** Agent slug to filter the list */
@@ -591,14 +1028,20 @@ export type KnowledgeSourcesConfigResponseV3 = {
591
1028
  post_processing?: boolean;
592
1029
  };
593
1030
  export type AgentResponseV3 = {
1031
+ /** Username of creator */
1032
+ created_by?: string | null;
1033
+ /** Creation timestamp */
1034
+ created_at?: string | null;
1035
+ /** Username of last updater */
1036
+ updated_by?: string | null;
1037
+ /** Last update timestamp */
1038
+ updated_at?: string | null;
594
1039
  id: string;
595
1040
  name: string;
596
1041
  slug: string;
597
- created_by: string | null;
598
- created_at: string | null;
599
- visibility_level: string;
600
- avatar: string | null;
601
- suggested_prompts: string[] | null;
1042
+ visibility_level: AgentVisibilityLevelEnum | VisibilityLevelEnum;
1043
+ avatar?: string | null;
1044
+ suggested_prompts?: string[] | null;
602
1045
  knowledge_sources_config: KnowledgeSourcesConfigResponseV3;
603
1046
  has_multiagent_tool?: boolean;
604
1047
  "type"?: string;
@@ -606,11 +1049,41 @@ export type AgentResponseV3 = {
606
1049
  creator_name?: string;
607
1050
  is_favorite?: boolean;
608
1051
  is_recently_used?: boolean;
1052
+ version_number: number;
1053
+ status: AgentVersionStatus;
1054
+ is_recommended: boolean;
609
1055
  };
610
1056
  export type PaginatedResponseAgentResponseV3 = {
611
1057
  total_pages: number;
612
1058
  items: AgentResponseV3[];
613
1059
  };
1060
+ export type ListAgentVersionResponse2 = {
1061
+ version_number: number;
1062
+ status: AgentVersionStatus;
1063
+ is_recommended: boolean;
1064
+ };
1065
+ export type ListAgentCoreResponse = {
1066
+ /** Username of creator */
1067
+ created_by?: string | null;
1068
+ /** Creation timestamp */
1069
+ created_at?: string | null;
1070
+ /** Username of last updater */
1071
+ updated_by?: string | null;
1072
+ /** Last update timestamp */
1073
+ updated_at?: string | null;
1074
+ id: string;
1075
+ name: string;
1076
+ slug: string;
1077
+ visibility_level: string;
1078
+ avatar?: string | null;
1079
+ is_favorite?: boolean;
1080
+ is_recently_used?: boolean;
1081
+ version: ListAgentVersionResponse2;
1082
+ };
1083
+ export type PaginatedResponseListAgentCoreResponse = {
1084
+ total_pages: number;
1085
+ items: ListAgentCoreResponse[];
1086
+ };
614
1087
  export type InternalListToolkitsRequest = {
615
1088
  /** List of toolkit IDs to retrieve */
616
1089
  toolkit_ids: string[];
@@ -844,24 +1317,12 @@ export declare function listAgentsUsingToolsV1ToolkitsToolkitIdToolsAgentsPost({
844
1317
  authorization: string;
845
1318
  listAgentsUsingToolsRequest: ListAgentsUsingToolsRequest;
846
1319
  }, opts?: Oazapfts.RequestOpts): Promise<AgentUsingToolsResponse[]>;
847
- /**
848
- * Assign Tools
849
- */
850
- export declare function assignToolsV1AgentsAgentIdToolsPost({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, assignToolsToAgentRequest }: {
851
- agentId: string;
852
- isPublic?: boolean;
853
- xAccountId?: string | null;
854
- xUsername?: string | null;
855
- xUserId?: string | null;
856
- xUserFullName?: string | null;
857
- authorization: string;
858
- assignToolsToAgentRequest: AssignToolsToAgentRequest;
859
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
860
1320
  /**
861
1321
  * List Tools
862
1322
  */
863
- export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1323
+ export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
864
1324
  agentId: string;
1325
+ versionNumber?: number | null;
865
1326
  isPublic?: boolean;
866
1327
  xAccountId?: string | null;
867
1328
  xUsername?: string | null;
@@ -869,24 +1330,13 @@ export declare function listToolsV1AgentsAgentIdToolsGet({ agentId, isPublic, xA
869
1330
  xUserFullName?: string | null;
870
1331
  authorization: string;
871
1332
  }, opts?: Oazapfts.RequestOpts): Promise<AgentToolsResponse>;
872
- /**
873
- * Delete Tools
874
- */
875
- export declare function deleteToolsV1AgentsAgentIdToolsDelete({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
876
- agentId: string;
877
- isPublic?: boolean;
878
- xAccountId?: string | null;
879
- xUsername?: string | null;
880
- xUserId?: string | null;
881
- xUserFullName?: string | null;
882
- authorization: string;
883
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
884
1333
  /**
885
1334
  * List Tools By Agent For Schema
886
1335
  */
887
- export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1336
+ export declare function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ agentId, schema, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
888
1337
  agentId: string;
889
1338
  schema: SchemaEnum;
1339
+ versionNumber?: number | null;
890
1340
  isPublic?: boolean;
891
1341
  xAccountId?: string | null;
892
1342
  xUsername?: string | null;
@@ -909,6 +1359,21 @@ export declare function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentTo
909
1359
  authorization: string;
910
1360
  executeAgentToolRequest: ExecuteAgentToolRequest;
911
1361
  }, opts?: Oazapfts.RequestOpts): Promise<AgentToolExecutionResponse>;
1362
+ /**
1363
+ * List Account Agents
1364
+ */
1365
+ export declare function listAccountAgentsV1AgentsAccountGet({ name, size, page, username, order, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1366
+ name?: string | null;
1367
+ size?: number;
1368
+ page?: number;
1369
+ username?: string | null;
1370
+ order?: OrderEnum | null;
1371
+ xAccountId?: string | null;
1372
+ xUsername?: string | null;
1373
+ xUserId?: string | null;
1374
+ xUserFullName?: string | null;
1375
+ authorization: string;
1376
+ }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseListAccountAgentResponseV1>;
912
1377
  /**
913
1378
  * List Agents
914
1379
  */
@@ -938,9 +1403,9 @@ export declare function createAgentV1AgentsPost({ isPublic, xAccountId, xUsernam
938
1403
  newAgentRequest: NewAgentRequest;
939
1404
  }, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
940
1405
  /**
941
- * Search Agents
1406
+ * Search Agents By Ids
942
1407
  */
943
- export declare function searchAgentsV1AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
1408
+ export declare function searchAgentsByIdsV1AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
944
1409
  xAccountId?: string | null;
945
1410
  xUsername?: string | null;
946
1411
  xUserId?: string | null;
@@ -1010,15 +1475,16 @@ export declare function listMultiAgentsV1AgentsMultiAgentsGet({ name, slug, visi
1010
1475
  /**
1011
1476
  * Get Agent
1012
1477
  */
1013
- export declare function getAgentV1AgentsAgentIdGet({ agentId, details, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1478
+ export declare function getAgentV1AgentsAgentIdGet({ agentId, details, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1014
1479
  agentId: string;
1015
1480
  details?: boolean;
1481
+ versionNumber?: number | null;
1016
1482
  xAccountId?: string | null;
1017
1483
  xUsername?: string | null;
1018
1484
  xUserId?: string | null;
1019
1485
  xUserFullName?: string | null;
1020
1486
  authorization: string;
1021
- }, opts?: Oazapfts.RequestOpts): Promise<AgentModel>;
1487
+ }, opts?: Oazapfts.RequestOpts): Promise<FindByIdAgentResponse>;
1022
1488
  /**
1023
1489
  * Update Agent
1024
1490
  */
@@ -1135,6 +1601,79 @@ export declare function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({
1135
1601
  xUserFullName?: string | null;
1136
1602
  authorization: string;
1137
1603
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1604
+ /**
1605
+ * Create Version
1606
+ */
1607
+ export declare function createVersionV1AgentsAgentCoreIdVersionsPost({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization, createVersionRequest }: {
1608
+ agentCoreId: string;
1609
+ xAccountId?: string | null;
1610
+ xUsername?: string | null;
1611
+ xUserId?: string | null;
1612
+ xUserFullName?: string | null;
1613
+ authorization: string;
1614
+ createVersionRequest: CreateVersionRequest;
1615
+ }, opts?: Oazapfts.RequestOpts): Promise<CreateVersionResponse>;
1616
+ /**
1617
+ * List Versions Of Agent Core
1618
+ */
1619
+ export declare function listVersionsOfAgentCoreV1AgentsAgentCoreIdVersionsGet({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1620
+ agentCoreId: string;
1621
+ xAccountId?: string | null;
1622
+ xUsername?: string | null;
1623
+ xUserId?: string | null;
1624
+ xUserFullName?: string | null;
1625
+ authorization: string;
1626
+ }, opts?: Oazapfts.RequestOpts): Promise<ListAgentVersionResponse[]>;
1627
+ /**
1628
+ * Delete Version
1629
+ */
1630
+ export declare function deleteVersionV1AgentsAgentCoreIdVersionsVersionNumberDelete({ agentCoreId, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1631
+ agentCoreId: string;
1632
+ versionNumber: number;
1633
+ isPublic?: boolean;
1634
+ xAccountId?: string | null;
1635
+ xUsername?: string | null;
1636
+ xUserId?: string | null;
1637
+ xUserFullName?: string | null;
1638
+ authorization: string;
1639
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1640
+ /**
1641
+ * Patch Version Recommended
1642
+ */
1643
+ export declare function patchVersionRecommendedV1AgentsAgentCoreIdVersionsVersionNumberPatch({ agentCoreId, versionNumber, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1644
+ agentCoreId: string;
1645
+ versionNumber: number;
1646
+ isPublic?: boolean;
1647
+ xAccountId?: string | null;
1648
+ xUsername?: string | null;
1649
+ xUserId?: string | null;
1650
+ xUserFullName?: string | null;
1651
+ authorization: string;
1652
+ }, opts?: Oazapfts.RequestOpts): Promise<AgentVersionResponse>;
1653
+ /**
1654
+ * Fork Agent Version
1655
+ */
1656
+ export declare function forkAgentVersionV1AgentsAgentCoreIdVersionsVersionNumberForkPost({ agentCoreId, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization, forkAgentRequest }: {
1657
+ agentCoreId: string;
1658
+ versionNumber: number;
1659
+ xAccountId?: string | null;
1660
+ xUsername?: string | null;
1661
+ xUserId?: string | null;
1662
+ xUserFullName?: string | null;
1663
+ authorization: string;
1664
+ forkAgentRequest: ForkAgentRequest;
1665
+ }, opts?: Oazapfts.RequestOpts): Promise<AgentCoreWithSingleVersionResponse>;
1666
+ /**
1667
+ * Find By Agent Core Id With All Versions
1668
+ */
1669
+ export declare function findByAgentCoreIdWithAllVersionsV1AgentsAgentCoreIdAllVersionsGet({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1670
+ agentCoreId: string;
1671
+ xAccountId?: string | null;
1672
+ xUsername?: string | null;
1673
+ xUserId?: string | null;
1674
+ xUserFullName?: string | null;
1675
+ authorization: string;
1676
+ }, opts?: Oazapfts.RequestOpts): Promise<AgentCoreResponse>;
1138
1677
  /**
1139
1678
  * List Agents
1140
1679
  */
@@ -1150,22 +1689,59 @@ export declare function listAgentsV2AgentsGet({ name, slug, visibility, size, pa
1150
1689
  xUserFullName?: string | null;
1151
1690
  authorization: string;
1152
1691
  }, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponseV2[]>;
1692
+ /**
1693
+ * Create Agent
1694
+ */
1695
+ export declare function createAgentV2AgentsPost({ isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, newAgentRequestV2 }: {
1696
+ isPublic?: boolean;
1697
+ xAccountId?: string | null;
1698
+ xUsername?: string | null;
1699
+ xUserId?: string | null;
1700
+ xUserFullName?: string | null;
1701
+ authorization: string;
1702
+ newAgentRequestV2: NewAgentRequestV2;
1703
+ }, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
1153
1704
  /**
1154
1705
  * Search Agents
1155
1706
  */
1156
- export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequest }: {
1707
+ export declare function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, searchAgentsRequestV2 }: {
1157
1708
  xAccountId?: string | null;
1158
1709
  xUsername?: string | null;
1159
1710
  xUserId?: string | null;
1160
1711
  xUserFullName?: string | null;
1161
1712
  authorization: string;
1162
- searchAgentsRequest: SearchAgentsRequest;
1713
+ searchAgentsRequestV2: SearchAgentsRequestV2;
1163
1714
  }, opts?: Oazapfts.RequestOpts): Promise<ListAgentResponseV2[]>;
1715
+ /**
1716
+ * Update Agent
1717
+ */
1718
+ export declare function updateAgentV2AgentsAgentIdPatch({ agentId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, updateAgentRequestV2 }: {
1719
+ agentId: string;
1720
+ isPublic?: boolean;
1721
+ xAccountId?: string | null;
1722
+ xUsername?: string | null;
1723
+ xUserId?: string | null;
1724
+ xUserFullName?: string | null;
1725
+ authorization: string;
1726
+ updateAgentRequestV2: UpdateAgentRequestV2;
1727
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1728
+ /**
1729
+ * Find By Agent Core Id
1730
+ */
1731
+ export declare function findByAgentCoreIdV2AgentsAgentCoreIdGet({ agentCoreId, versionNumber, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1732
+ agentCoreId: string;
1733
+ versionNumber?: number | null;
1734
+ xAccountId?: string | null;
1735
+ xUsername?: string | null;
1736
+ xUserId?: string | null;
1737
+ xUserFullName?: string | null;
1738
+ authorization: string;
1739
+ }, opts?: Oazapfts.RequestOpts): Promise<AgentCoreWithSingleVersionResponse2>;
1164
1740
  /**
1165
1741
  * List Agents
1166
1742
  */
1167
1743
  export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1168
- filters: ListAgentRequestV3;
1744
+ filters: ListAgentRequestV4;
1169
1745
  isPublic?: boolean;
1170
1746
  xAccountId?: string | null;
1171
1747
  xUsername?: string | null;
@@ -1173,6 +1749,18 @@ export declare function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, x
1173
1749
  xUserFullName?: string | null;
1174
1750
  authorization: string;
1175
1751
  }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseAgentResponseV3>;
1752
+ /**
1753
+ * List Agent Core with all versions
1754
+ */
1755
+ export declare function listAgentsV4AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1756
+ filters: ListAgentRequestV4;
1757
+ isPublic?: boolean;
1758
+ xAccountId?: string | null;
1759
+ xUsername?: string | null;
1760
+ xUserId?: string | null;
1761
+ xUserFullName?: string | null;
1762
+ authorization: string;
1763
+ }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseListAgentCoreResponse>;
1176
1764
  /**
1177
1765
  * Internal List Toolkits By Ids
1178
1766
  */