@breign/client 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/apis/AgentApi.d.ts +5 -4
  2. package/dist/apis/AgentApi.js +6 -3
  3. package/dist/apis/EngineApi.d.ts +6 -5
  4. package/dist/apis/EngineApi.js +13 -7
  5. package/dist/apis/FilesApi.d.ts +21 -21
  6. package/dist/apis/FilesApi.js +42 -42
  7. package/dist/apis/GeneralApi.d.ts +2 -2
  8. package/dist/apis/GeneralApi.js +3 -3
  9. package/dist/apis/GuardiansApi.d.ts +54 -54
  10. package/dist/apis/GuardiansApi.js +91 -91
  11. package/dist/apis/KnowledgeApi.d.ts +72 -72
  12. package/dist/apis/KnowledgeApi.js +152 -152
  13. package/dist/apis/ManifestsApi.d.ts +28 -28
  14. package/dist/apis/ManifestsApi.js +45 -45
  15. package/dist/apis/MetricsApi.d.ts +14 -14
  16. package/dist/apis/MetricsApi.js +18 -18
  17. package/dist/apis/OrganizationsApi.d.ts +3 -3
  18. package/dist/apis/OrganizationsApi.js +4 -4
  19. package/dist/apis/PromptsApi.d.ts +31 -31
  20. package/dist/apis/PromptsApi.js +60 -60
  21. package/dist/apis/RemotesApi.d.ts +3 -3
  22. package/dist/apis/RemotesApi.js +4 -4
  23. package/dist/apis/ToolsApi.d.ts +6 -6
  24. package/dist/apis/ToolsApi.js +8 -8
  25. package/dist/models/AgentPatchEngineUio.d.ts +38 -0
  26. package/dist/models/AgentPatchEngineUio.js +54 -0
  27. package/dist/models/AgentPatchUio.d.ts +4 -4
  28. package/dist/models/AgentPatchUio.js +3 -3
  29. package/dist/models/AgentRequestUio.d.ts +10 -1
  30. package/dist/models/AgentRequestUio.js +5 -3
  31. package/dist/models/AgentUio.d.ts +10 -3
  32. package/dist/models/AgentUio.js +4 -3
  33. package/dist/models/AppCreateRequestUio.d.ts +6 -0
  34. package/dist/models/AppCreateRequestUio.js +2 -0
  35. package/dist/models/AppSequencesInnerUio.d.ts +38 -0
  36. package/dist/models/AppSequencesInnerUio.js +50 -0
  37. package/dist/models/AppUio.d.ts +24 -3
  38. package/dist/models/AppUio.js +11 -10
  39. package/dist/models/ChatMessageAudioInnerUio.d.ts +38 -0
  40. package/dist/models/ChatMessageAudioInnerUio.js +54 -0
  41. package/dist/models/ChatMessageUio.d.ts +10 -2
  42. package/dist/models/ChatMessageUio.js +6 -2
  43. package/dist/models/ChatMessageWithFlowNodeUio.d.ts +129 -0
  44. package/dist/models/ChatMessageWithFlowNodeUio.js +95 -0
  45. package/dist/models/ChatUio.d.ts +9 -3
  46. package/dist/models/ChatUio.js +5 -3
  47. package/dist/models/ConversationFlowNodeEntrypointsUio.d.ts +32 -0
  48. package/dist/models/ConversationFlowNodeEntrypointsUio.js +48 -0
  49. package/dist/models/ConversationFlowNodeUio.d.ts +51 -0
  50. package/dist/models/ConversationFlowNodeUio.js +55 -0
  51. package/dist/models/ConversationUio.d.ts +7 -0
  52. package/dist/models/ConversationUio.js +5 -0
  53. package/dist/models/DefaultEngineRequestUio.d.ts +1 -7
  54. package/dist/models/DefaultEngineRequestUio.js +3 -7
  55. package/dist/models/EngineUio.d.ts +4 -7
  56. package/dist/models/EngineUio.js +6 -7
  57. package/dist/models/FileCreationRequestUio.d.ts +1 -1
  58. package/dist/models/FileCreationRequestUio.js +1 -3
  59. package/dist/models/FileCreationResponseUio.d.ts +6 -0
  60. package/dist/models/FileCreationResponseUio.js +2 -0
  61. package/dist/models/FileUio.d.ts +6 -0
  62. package/dist/models/FileUio.js +2 -0
  63. package/dist/models/FileWithDownloadUrlUio.d.ts +6 -0
  64. package/dist/models/FileWithDownloadUrlUio.js +2 -0
  65. package/dist/models/GuardianCreateRequestUio.d.ts +7 -0
  66. package/dist/models/GuardianCreateRequestUio.js +5 -0
  67. package/dist/models/GuardianEngineUio.d.ts +0 -7
  68. package/dist/models/GuardianEngineUio.js +0 -5
  69. package/dist/models/GuardianPutRequestUio.d.ts +7 -0
  70. package/dist/models/GuardianPutRequestUio.js +3 -0
  71. package/dist/models/GuardianTypeUio.d.ts +26 -0
  72. package/dist/models/GuardianTypeUio.js +52 -0
  73. package/dist/models/GuardianUio.d.ts +7 -0
  74. package/dist/models/GuardianUio.js +5 -0
  75. package/dist/models/ImportFileToAgentKnowledge200ResponseUio.d.ts +56 -0
  76. package/dist/models/ImportFileToAgentKnowledge200ResponseUio.js +56 -0
  77. package/dist/models/KnowledgeBaseFilesInnerUio.d.ts +44 -0
  78. package/dist/models/KnowledgeBaseFilesInnerUio.js +58 -0
  79. package/dist/models/KnowledgeBaseUio.d.ts +124 -0
  80. package/dist/models/KnowledgeBaseUio.js +88 -0
  81. package/dist/models/OrganizationUio.d.ts +0 -9
  82. package/dist/models/OrganizationUio.js +0 -6
  83. package/dist/models/ProviderCreateRequestUio.d.ts +4 -9
  84. package/dist/models/ProviderCreateRequestUio.js +4 -9
  85. package/dist/models/ProviderTypeUio.d.ts +27 -0
  86. package/dist/models/ProviderTypeUio.js +53 -0
  87. package/dist/models/ProviderUio.d.ts +4 -9
  88. package/dist/models/ProviderUio.js +4 -9
  89. package/dist/models/index.d.ts +11 -6
  90. package/dist/models/index.js +11 -6
  91. package/dist/openapi.json +369 -120
  92. package/package.json +1 -1
  93. package/dist/models/AgentKnowledgeBaseUio.d.ts +0 -57
  94. package/dist/models/AgentKnowledgeBaseUio.js +0 -67
  95. package/dist/models/AgentsAgentIdKnowledgeFileImportsPost200ResponseUio.d.ts +0 -56
  96. package/dist/models/AgentsAgentIdKnowledgeFileImportsPost200ResponseUio.js +0 -56
  97. package/dist/models/DuplicateAgent201ResponseUio.d.ts +0 -32
  98. package/dist/models/DuplicateAgent201ResponseUio.js +0 -50
  99. package/dist/models/EngineTypeUio.d.ts +0 -25
  100. package/dist/models/EngineTypeUio.js +0 -51
  101. package/dist/models/GuardianEngineTypeUio.d.ts +0 -26
  102. package/dist/models/GuardianEngineTypeUio.js +0 -52
  103. package/dist/models/GuardianExcludedAgentsRequestUio.d.ts +0 -32
  104. package/dist/models/GuardianExcludedAgentsRequestUio.js +0 -50
package/dist/openapi.json CHANGED
@@ -71,6 +71,7 @@
71
71
  "/health" : {
72
72
  "get" : {
73
73
  "description" : "Comprehensive health check that verifies system components",
74
+ "operationId" : "getHealth",
74
75
  "responses" : {
75
76
  "200" : {
76
77
  "content" : {
@@ -157,6 +158,7 @@
157
158
  "name" : "agentId",
158
159
  "required" : true,
159
160
  "schema" : {
161
+ "format" : "uuid",
160
162
  "type" : "string"
161
163
  }
162
164
  } ],
@@ -185,6 +187,7 @@
185
187
  "name" : "agentId",
186
188
  "required" : true,
187
189
  "schema" : {
190
+ "format" : "uuid",
188
191
  "type" : "string"
189
192
  }
190
193
  } ],
@@ -221,6 +224,7 @@
221
224
  "name" : "agentId",
222
225
  "required" : true,
223
226
  "schema" : {
227
+ "format" : "uuid",
224
228
  "type" : "string"
225
229
  }
226
230
  } ],
@@ -275,6 +279,7 @@
275
279
  "name" : "agentId",
276
280
  "required" : true,
277
281
  "schema" : {
282
+ "format" : "uuid",
278
283
  "type" : "string"
279
284
  }
280
285
  } ],
@@ -314,6 +319,7 @@
314
319
  "name" : "agentId",
315
320
  "required" : true,
316
321
  "schema" : {
322
+ "format" : "uuid",
317
323
  "type" : "string"
318
324
  }
319
325
  } ],
@@ -368,6 +374,7 @@
368
374
  "name" : "agentId",
369
375
  "required" : true,
370
376
  "schema" : {
377
+ "format" : "uuid",
371
378
  "type" : "string"
372
379
  }
373
380
  }, {
@@ -410,6 +417,7 @@
410
417
  "name" : "agentId",
411
418
  "required" : true,
412
419
  "schema" : {
420
+ "format" : "uuid",
413
421
  "type" : "string"
414
422
  }
415
423
  }, {
@@ -470,6 +478,7 @@
470
478
  "name" : "agentId",
471
479
  "required" : true,
472
480
  "schema" : {
481
+ "format" : "uuid",
473
482
  "type" : "string"
474
483
  }
475
484
  }, {
@@ -530,6 +539,7 @@
530
539
  "name" : "agentId",
531
540
  "required" : true,
532
541
  "schema" : {
542
+ "format" : "uuid",
533
543
  "type" : "string"
534
544
  }
535
545
  }, {
@@ -598,6 +608,7 @@
598
608
  "name" : "agentId",
599
609
  "required" : true,
600
610
  "schema" : {
611
+ "format" : "uuid",
601
612
  "type" : "string"
602
613
  }
603
614
  } ],
@@ -640,6 +651,7 @@
640
651
  "name" : "agentId",
641
652
  "required" : true,
642
653
  "schema" : {
654
+ "format" : "uuid",
643
655
  "type" : "string"
644
656
  }
645
657
  } ],
@@ -694,6 +706,7 @@
694
706
  "name" : "agentId",
695
707
  "required" : true,
696
708
  "schema" : {
709
+ "format" : "uuid",
697
710
  "type" : "string"
698
711
  }
699
712
  }, {
@@ -735,6 +748,7 @@
735
748
  "name" : "agentId",
736
749
  "required" : true,
737
750
  "schema" : {
751
+ "format" : "uuid",
738
752
  "type" : "string"
739
753
  }
740
754
  }, {
@@ -783,6 +797,7 @@
783
797
  "name" : "agentId",
784
798
  "required" : true,
785
799
  "schema" : {
800
+ "format" : "uuid",
786
801
  "type" : "string"
787
802
  }
788
803
  }, {
@@ -846,6 +861,7 @@
846
861
  "name" : "agentId",
847
862
  "required" : true,
848
863
  "schema" : {
864
+ "format" : "uuid",
849
865
  "type" : "string"
850
866
  }
851
867
  } ],
@@ -875,6 +891,7 @@
875
891
  "name" : "agentId",
876
892
  "required" : true,
877
893
  "schema" : {
894
+ "format" : "uuid",
878
895
  "type" : "string"
879
896
  }
880
897
  } ],
@@ -926,6 +943,7 @@
926
943
  "name" : "agentId",
927
944
  "required" : true,
928
945
  "schema" : {
946
+ "format" : "uuid",
929
947
  "type" : "string"
930
948
  }
931
949
  } ],
@@ -958,6 +976,7 @@
958
976
  "name" : "agentId",
959
977
  "required" : true,
960
978
  "schema" : {
979
+ "format" : "uuid",
961
980
  "type" : "string"
962
981
  }
963
982
  } ],
@@ -1006,6 +1025,7 @@
1006
1025
  "name" : "agentId",
1007
1026
  "required" : true,
1008
1027
  "schema" : {
1028
+ "format" : "uuid",
1009
1029
  "type" : "string"
1010
1030
  }
1011
1031
  } ],
@@ -1024,7 +1044,7 @@
1024
1044
  "content" : {
1025
1045
  "application/json" : {
1026
1046
  "schema" : {
1027
- "$ref" : "#/components/schemas/duplicateAgent_201_response"
1047
+ "$ref" : "#/components/schemas/BodyWithId"
1028
1048
  }
1029
1049
  }
1030
1050
  },
@@ -1059,6 +1079,7 @@
1059
1079
  "name" : "agentId",
1060
1080
  "required" : true,
1061
1081
  "schema" : {
1082
+ "format" : "uuid",
1062
1083
  "type" : "string"
1063
1084
  }
1064
1085
  } ],
@@ -1098,8 +1119,16 @@
1098
1119
  "name" : "agentId",
1099
1120
  "required" : true,
1100
1121
  "schema" : {
1122
+ "format" : "uuid",
1101
1123
  "type" : "string"
1102
1124
  }
1125
+ }, {
1126
+ "description" : "Page number",
1127
+ "in" : "query",
1128
+ "name" : "page",
1129
+ "schema" : {
1130
+ "type" : "integer"
1131
+ }
1103
1132
  } ],
1104
1133
  "responses" : {
1105
1134
  "200" : {
@@ -1142,6 +1171,7 @@
1142
1171
  "name" : "agentId",
1143
1172
  "required" : true,
1144
1173
  "schema" : {
1174
+ "format" : "uuid",
1145
1175
  "type" : "string"
1146
1176
  }
1147
1177
  } ],
@@ -2815,14 +2845,15 @@
2815
2845
  "tags" : [ "engine" ]
2816
2846
  }
2817
2847
  },
2818
- "/engines/providers" : {
2848
+ "/organizations/{organizationId}/engines/providers" : {
2819
2849
  "get" : {
2820
2850
  "description" : "Get providers for an organization",
2821
2851
  "operationId" : "getProviders",
2822
2852
  "parameters" : [ {
2823
- "description" : "Organization ID",
2824
- "in" : "query",
2853
+ "description" : "ID of the organization",
2854
+ "in" : "path",
2825
2855
  "name" : "organizationId",
2856
+ "required" : true,
2826
2857
  "schema" : {
2827
2858
  "type" : "string"
2828
2859
  }
@@ -2848,6 +2879,15 @@
2848
2879
  "post" : {
2849
2880
  "description" : "Create a provider for an organization",
2850
2881
  "operationId" : "createProvider",
2882
+ "parameters" : [ {
2883
+ "description" : "ID of the organization",
2884
+ "in" : "path",
2885
+ "name" : "organizationId",
2886
+ "required" : true,
2887
+ "schema" : {
2888
+ "type" : "string"
2889
+ }
2890
+ } ],
2851
2891
  "requestBody" : {
2852
2892
  "content" : {
2853
2893
  "application/json" : {
@@ -2890,6 +2930,7 @@
2890
2930
  "description" : "Organization ID",
2891
2931
  "in" : "query",
2892
2932
  "name" : "organizationId",
2933
+ "required" : true,
2893
2934
  "schema" : {
2894
2935
  "type" : "string"
2895
2936
  }
@@ -3018,6 +3059,7 @@
3018
3059
  "/files" : {
3019
3060
  "get" : {
3020
3061
  "description" : "Retrieves a list of all files (admin only)",
3062
+ "operationId" : "getFiles",
3021
3063
  "responses" : {
3022
3064
  "206" : {
3023
3065
  "content" : {
@@ -3044,6 +3086,7 @@
3044
3086
  },
3045
3087
  "post" : {
3046
3088
  "description" : "Creates a new file record and returns an upload URL (admin only)",
3089
+ "operationId" : "createFile",
3047
3090
  "requestBody" : {
3048
3091
  "content" : {
3049
3092
  "application/json" : {
@@ -3082,6 +3125,7 @@
3082
3125
  "/files/{fileId}" : {
3083
3126
  "delete" : {
3084
3127
  "description" : "Deletes a file by ID (admin only)",
3128
+ "operationId" : "deleteFileById",
3085
3129
  "parameters" : [ {
3086
3130
  "description" : "The ID of the file",
3087
3131
  "in" : "path",
@@ -3110,6 +3154,7 @@
3110
3154
  },
3111
3155
  "get" : {
3112
3156
  "description" : "Retrieves a specific file by ID and generates a download URL (admin only)",
3157
+ "operationId" : "getFileById",
3113
3158
  "parameters" : [ {
3114
3159
  "description" : "The ID of the file",
3115
3160
  "in" : "path",
@@ -3147,6 +3192,7 @@
3147
3192
  "/metrics" : {
3148
3193
  "get" : {
3149
3194
  "description" : "Retrieves usage metrics for all agents within a date range (admin only)",
3195
+ "operationId" : "getMetrics",
3150
3196
  "parameters" : [ {
3151
3197
  "description" : "Start date for metrics (ISO format)",
3152
3198
  "in" : "query",
@@ -3198,6 +3244,7 @@
3198
3244
  "/metrics/agents" : {
3199
3245
  "get" : {
3200
3246
  "description" : "Retrieves usage metrics broken down by agent within a date range (admin only)",
3247
+ "operationId" : "getMetricsAgents",
3201
3248
  "parameters" : [ {
3202
3249
  "description" : "Start date for metrics (ISO format)",
3203
3250
  "in" : "query",
@@ -3248,12 +3295,14 @@
3248
3295
  },
3249
3296
  "/agents/{agentId}/guardians" : {
3250
3297
  "get" : {
3298
+ "operationId" : "getGuardiansForAgent",
3251
3299
  "parameters" : [ {
3252
3300
  "description" : "ID of the agent",
3253
3301
  "in" : "path",
3254
3302
  "name" : "agentId",
3255
3303
  "required" : true,
3256
3304
  "schema" : {
3305
+ "format" : "uuid",
3257
3306
  "type" : "string"
3258
3307
  }
3259
3308
  } ],
@@ -3286,12 +3335,14 @@
3286
3335
  },
3287
3336
  "post" : {
3288
3337
  "description" : "Creates a new guardian for content moderation",
3338
+ "operationId" : "createGuardianForAgent",
3289
3339
  "parameters" : [ {
3290
3340
  "description" : "ID of the agent",
3291
3341
  "in" : "path",
3292
3342
  "name" : "agentId",
3293
3343
  "required" : true,
3294
3344
  "schema" : {
3345
+ "format" : "uuid",
3295
3346
  "type" : "string"
3296
3347
  }
3297
3348
  } ],
@@ -3336,6 +3387,7 @@
3336
3387
  "/organizations/{organizationId}/guardians" : {
3337
3388
  "get" : {
3338
3389
  "description" : "Retrieves all guardians associated with the specified organization",
3390
+ "operationId" : "getGuardiansForOrganization",
3339
3391
  "parameters" : [ {
3340
3392
  "description" : "ID of the organization",
3341
3393
  "in" : "path",
@@ -3374,6 +3426,7 @@
3374
3426
  },
3375
3427
  "post" : {
3376
3428
  "description" : "Creates a new organisation-level guardian for content moderation",
3429
+ "operationId" : "createGuardianForOrganization",
3377
3430
  "parameters" : [ {
3378
3431
  "description" : "ID of the organization",
3379
3432
  "in" : "path",
@@ -3424,6 +3477,7 @@
3424
3477
  "/guardians/{guardianId}" : {
3425
3478
  "delete" : {
3426
3479
  "description" : "Deletes a guardian by ID",
3480
+ "operationId" : "deleteGuardian",
3427
3481
  "parameters" : [ {
3428
3482
  "description" : "ID of the guardian",
3429
3483
  "in" : "path",
@@ -3454,6 +3508,7 @@
3454
3508
  "tags" : [ "guardians" ]
3455
3509
  },
3456
3510
  "get" : {
3511
+ "operationId" : "getGuardian",
3457
3512
  "parameters" : [ {
3458
3513
  "description" : "ID of the guardian",
3459
3514
  "in" : "path",
@@ -3492,6 +3547,7 @@
3492
3547
  },
3493
3548
  "put" : {
3494
3549
  "description" : "Updates an existing guardian's configuration",
3550
+ "operationId" : "updateGuardian",
3495
3551
  "parameters" : [ {
3496
3552
  "description" : "ID of the guardian",
3497
3553
  "in" : "path",
@@ -3545,6 +3601,7 @@
3545
3601
  "/guardians/{guardianId}/excluded-agents" : {
3546
3602
  "put" : {
3547
3603
  "description" : "Updates the excluded agents for a guardian",
3604
+ "operationId" : "updateExcludedAgents",
3548
3605
  "parameters" : [ {
3549
3606
  "description" : "ID of the guardian",
3550
3607
  "in" : "path",
@@ -3558,7 +3615,10 @@
3558
3615
  "content" : {
3559
3616
  "application/json" : {
3560
3617
  "schema" : {
3561
- "$ref" : "#/components/schemas/GuardianExcludedAgentsRequest"
3618
+ "items" : {
3619
+ "type" : "string"
3620
+ },
3621
+ "type" : "array"
3562
3622
  }
3563
3623
  }
3564
3624
  },
@@ -3598,6 +3658,7 @@
3598
3658
  "/organizations/{organizationId}" : {
3599
3659
  "get" : {
3600
3660
  "description" : "Retrieves an organization by its ID",
3661
+ "operationId" : "getOrganizationById",
3601
3662
  "parameters" : [ {
3602
3663
  "description" : "ID of the organization",
3603
3664
  "in" : "path",
@@ -3638,6 +3699,7 @@
3638
3699
  "/manifests" : {
3639
3700
  "get" : {
3640
3701
  "description" : "Retrieves manifests, filtered by user ID for non-admin users",
3702
+ "operationId" : "getManifests",
3641
3703
  "responses" : {
3642
3704
  "206" : {
3643
3705
  "content" : {
@@ -3664,6 +3726,7 @@
3664
3726
  },
3665
3727
  "post" : {
3666
3728
  "description" : "Creates a new manifest document",
3729
+ "operationId" : "createManifest",
3667
3730
  "requestBody" : {
3668
3731
  "content" : {
3669
3732
  "application/json" : {
@@ -3702,6 +3765,7 @@
3702
3765
  "/manifests/{manifestId}" : {
3703
3766
  "delete" : {
3704
3767
  "description" : "Deletes a manifest by ID",
3768
+ "operationId" : "deleteManifestById",
3705
3769
  "parameters" : [ {
3706
3770
  "description" : "ID of the manifest",
3707
3771
  "in" : "path",
@@ -3733,6 +3797,7 @@
3733
3797
  },
3734
3798
  "get" : {
3735
3799
  "description" : "Retrieves a specific manifest by its ID",
3800
+ "operationId" : "getManifestById",
3736
3801
  "parameters" : [ {
3737
3802
  "description" : "ID of the manifest",
3738
3803
  "in" : "path",
@@ -3771,6 +3836,7 @@
3771
3836
  },
3772
3837
  "put" : {
3773
3838
  "description" : "Updates a manifest by ID",
3839
+ "operationId" : "updateManifestById",
3774
3840
  "parameters" : [ {
3775
3841
  "description" : "ID of the manifest",
3776
3842
  "in" : "path",
@@ -3824,12 +3890,14 @@
3824
3890
  "/agents/{agentId}/knowledge/resets" : {
3825
3891
  "post" : {
3826
3892
  "description" : "Deletes all knowledge embeddings and files associated with an agent",
3893
+ "operationId" : "resetAgentKnowledge",
3827
3894
  "parameters" : [ {
3828
3895
  "description" : "ID of the agent",
3829
3896
  "in" : "path",
3830
3897
  "name" : "agentId",
3831
3898
  "required" : true,
3832
3899
  "schema" : {
3900
+ "format" : "uuid",
3833
3901
  "type" : "string"
3834
3902
  }
3835
3903
  } ],
@@ -3857,12 +3925,14 @@
3857
3925
  "/agents/{agentId}/knowledge/project-imports" : {
3858
3926
  "post" : {
3859
3927
  "description" : "Imports project data from a local JSON file into the agent's knowledge base",
3928
+ "operationId" : "importProjectsToAgentKnowledge",
3860
3929
  "parameters" : [ {
3861
3930
  "description" : "ID of the agent",
3862
3931
  "in" : "path",
3863
3932
  "name" : "agentId",
3864
3933
  "required" : true,
3865
3934
  "schema" : {
3935
+ "format" : "uuid",
3866
3936
  "type" : "string"
3867
3937
  }
3868
3938
  } ],
@@ -3890,12 +3960,14 @@
3890
3960
  "/agents/{agentId}/knowledge/documents" : {
3891
3961
  "post" : {
3892
3962
  "description" : "Adds a text document to the agent's knowledge base, splitting it into chunks if necessary",
3963
+ "operationId" : "addDocumentToKnowledgeBase",
3893
3964
  "parameters" : [ {
3894
3965
  "description" : "ID of the agent",
3895
3966
  "in" : "path",
3896
3967
  "name" : "agentId",
3897
3968
  "required" : true,
3898
3969
  "schema" : {
3970
+ "format" : "uuid",
3899
3971
  "type" : "string"
3900
3972
  }
3901
3973
  }, {
@@ -3943,12 +4015,14 @@
3943
4015
  "/agents/{agentId}/knowledge/file-imports" : {
3944
4016
  "post" : {
3945
4017
  "description" : "Processes documents like PDFs, CSVs, and text files, and adds them to the brain's knowledge base",
4018
+ "operationId" : "importFileToAgentKnowledge",
3946
4019
  "parameters" : [ {
3947
4020
  "description" : "ID of the agent",
3948
4021
  "in" : "path",
3949
4022
  "name" : "agentId",
3950
4023
  "required" : true,
3951
4024
  "schema" : {
4025
+ "format" : "uuid",
3952
4026
  "type" : "string"
3953
4027
  }
3954
4028
  } ],
@@ -3956,7 +4030,7 @@
3956
4030
  "content" : {
3957
4031
  "multipart/form-data" : {
3958
4032
  "schema" : {
3959
- "$ref" : "#/components/schemas/_agents__agentId__knowledge_file_imports_post_request"
4033
+ "$ref" : "#/components/schemas/importFileToAgentKnowledge_request"
3960
4034
  }
3961
4035
  }
3962
4036
  },
@@ -3967,7 +4041,7 @@
3967
4041
  "content" : {
3968
4042
  "application/json" : {
3969
4043
  "schema" : {
3970
- "$ref" : "#/components/schemas/_agents__agentId__knowledge_file_imports_post_200_response"
4044
+ "$ref" : "#/components/schemas/importFileToAgentKnowledge_200_response"
3971
4045
  }
3972
4046
  }
3973
4047
  },
@@ -3996,12 +4070,14 @@
3996
4070
  "/agents/{agentId}/knowledge/files" : {
3997
4071
  "post" : {
3998
4072
  "description" : "Registers a file for upload to the brain's knowledge base and returns an upload URL",
4073
+ "operationId" : "prepareFileUpload",
3999
4074
  "parameters" : [ {
4000
4075
  "description" : "ID of the agent",
4001
4076
  "in" : "path",
4002
4077
  "name" : "agentId",
4003
4078
  "required" : true,
4004
4079
  "schema" : {
4080
+ "format" : "uuid",
4005
4081
  "type" : "string"
4006
4082
  }
4007
4083
  } ],
@@ -4049,12 +4125,14 @@
4049
4125
  "/agents/{agentId}/knowledge/files/{fileId}/status" : {
4050
4126
  "post" : {
4051
4127
  "description" : "Updates the status of a knowledge file and triggers the indexing process if the file is uploaded",
4128
+ "operationId" : "updateFileStatus",
4052
4129
  "parameters" : [ {
4053
4130
  "description" : "ID of the agent",
4054
4131
  "in" : "path",
4055
4132
  "name" : "agentId",
4056
4133
  "required" : true,
4057
4134
  "schema" : {
4135
+ "format" : "uuid",
4058
4136
  "type" : "string"
4059
4137
  }
4060
4138
  }, {
@@ -4110,12 +4188,14 @@
4110
4188
  "/agents/{agentId}/knowledge/files/{fileId}" : {
4111
4189
  "delete" : {
4112
4190
  "description" : "Removes a file and its associated chunks from the agent's knowledge base",
4191
+ "operationId" : "deleteFileFromAgentKnowledge",
4113
4192
  "parameters" : [ {
4114
4193
  "description" : "ID of the agent",
4115
4194
  "in" : "path",
4116
4195
  "name" : "agentId",
4117
4196
  "required" : true,
4118
4197
  "schema" : {
4198
+ "format" : "uuid",
4119
4199
  "type" : "string"
4120
4200
  }
4121
4201
  }, {
@@ -4149,12 +4229,14 @@
4149
4229
  },
4150
4230
  "get" : {
4151
4231
  "description" : "Retrieves metadata for a file that has been imported into the agent's knowledge base",
4232
+ "operationId" : "getFileFromAgentKnowledge",
4152
4233
  "parameters" : [ {
4153
4234
  "description" : "ID of the agent",
4154
4235
  "in" : "path",
4155
4236
  "name" : "agentId",
4156
4237
  "required" : true,
4157
4238
  "schema" : {
4239
+ "format" : "uuid",
4158
4240
  "type" : "string"
4159
4241
  }
4160
4242
  }, {
@@ -4310,6 +4392,7 @@
4310
4392
  "/tools/text-to-speech" : {
4311
4393
  "post" : {
4312
4394
  "description" : "Converts text to speech using the specified provider",
4395
+ "operationId" : "convertTextToSpeech",
4313
4396
  "parameters" : [ {
4314
4397
  "description" : "If true, returns a mock transcription without processing the file",
4315
4398
  "in" : "query",
@@ -4356,6 +4439,7 @@
4356
4439
  "/tools/speech-to-text" : {
4357
4440
  "post" : {
4358
4441
  "description" : "Transcribes audio files to text using OpenAI's Whisper model",
4442
+ "operationId" : "convertSpeechToText",
4359
4443
  "parameters" : [ {
4360
4444
  "description" : "Language code for transcription (optional)",
4361
4445
  "in" : "query",
@@ -4434,6 +4518,7 @@
4434
4518
  "/remote/pin-requests" : {
4435
4519
  "post" : {
4436
4520
  "description" : "Creates a PIN request for remote access",
4521
+ "operationId" : "createPinRequest",
4437
4522
  "requestBody" : {
4438
4523
  "content" : {
4439
4524
  "application/json" : {
@@ -4472,12 +4557,14 @@
4472
4557
  "/agents/{agentId}/prompts/flows" : {
4473
4558
  "post" : {
4474
4559
  "description" : "Starts a new conversation session for the specified agent with flow management",
4560
+ "operationId" : "createConversationWithFlowManagement",
4475
4561
  "parameters" : [ {
4476
4562
  "description" : "ID of the agent",
4477
4563
  "in" : "path",
4478
4564
  "name" : "agentId",
4479
4565
  "required" : true,
4480
4566
  "schema" : {
4567
+ "format" : "uuid",
4481
4568
  "type" : "string"
4482
4569
  }
4483
4570
  } ],
@@ -4525,12 +4612,14 @@
4525
4612
  "/agents/{agentId}/prompts" : {
4526
4613
  "post" : {
4527
4614
  "description" : "Starts a new conversation session for the specified agent",
4615
+ "operationId" : "createPrompt",
4528
4616
  "parameters" : [ {
4529
4617
  "description" : "ID of the agent",
4530
4618
  "in" : "path",
4531
4619
  "name" : "agentId",
4532
4620
  "required" : true,
4533
4621
  "schema" : {
4622
+ "format" : "uuid",
4534
4623
  "type" : "string"
4535
4624
  }
4536
4625
  } ],
@@ -4553,7 +4642,7 @@
4553
4642
  }
4554
4643
  }
4555
4644
  },
4556
- "description" : "Conversation created successfully"
4645
+ "description" : "Prompt created successfully"
4557
4646
  },
4558
4647
  "400" : {
4559
4648
  "description" : "Invalid request"
@@ -4571,19 +4660,21 @@
4571
4660
  "description" : "Server error"
4572
4661
  }
4573
4662
  },
4574
- "summary" : "Create a new conversation",
4663
+ "summary" : "Create a new prompt",
4575
4664
  "tags" : [ "prompts" ]
4576
4665
  }
4577
4666
  },
4578
4667
  "/conversations" : {
4579
4668
  "post" : {
4580
4669
  "description" : "Create a new empty conversation for the specified agent.",
4670
+ "operationId" : "createConversation",
4581
4671
  "parameters" : [ {
4582
4672
  "description" : "ID of the agent",
4583
4673
  "in" : "path",
4584
4674
  "name" : "agentId",
4585
4675
  "required" : true,
4586
4676
  "schema" : {
4677
+ "format" : "uuid",
4587
4678
  "type" : "string"
4588
4679
  }
4589
4680
  } ],
@@ -4631,6 +4722,7 @@
4631
4722
  "/conversations/{conversationId}" : {
4632
4723
  "get" : {
4633
4724
  "description" : "Retrieves details of a specific conversation including all messages",
4725
+ "operationId" : "getConversationById",
4634
4726
  "parameters" : [ {
4635
4727
  "description" : "The ID of the conversation",
4636
4728
  "in" : "path",
@@ -4668,6 +4760,7 @@
4668
4760
  "/conversations/{conversationId}/prompts" : {
4669
4761
  "post" : {
4670
4762
  "description" : "Adds a new message to an existing conversation and gets the AI response",
4763
+ "operationId" : "sendMessageToConversation",
4671
4764
  "parameters" : [ {
4672
4765
  "description" : "The ID of the conversation",
4673
4766
  "in" : "path",
@@ -4721,6 +4814,7 @@
4721
4814
  "/conversations/{conversationId}/messages/{messageId}" : {
4722
4815
  "get" : {
4723
4816
  "description" : "Retrieves a specific message by ID from a conversation",
4817
+ "operationId" : "getMessageById",
4724
4818
  "parameters" : [ {
4725
4819
  "description" : "The ID of the conversation",
4726
4820
  "in" : "path",
@@ -4772,6 +4866,7 @@
4772
4866
  "name" : "agentId",
4773
4867
  "required" : true,
4774
4868
  "schema" : {
4869
+ "format" : "uuid",
4775
4870
  "type" : "string"
4776
4871
  }
4777
4872
  },
@@ -4803,6 +4898,14 @@
4803
4898
  "type" : "string"
4804
4899
  }
4805
4900
  },
4901
+ "page" : {
4902
+ "description" : "Page number",
4903
+ "in" : "query",
4904
+ "name" : "page",
4905
+ "schema" : {
4906
+ "type" : "integer"
4907
+ }
4908
+ },
4806
4909
  "instanceId" : {
4807
4910
  "description" : "Instance id",
4808
4911
  "in" : "query",
@@ -4919,10 +5022,11 @@
4919
5022
  "type" : "string"
4920
5023
  }
4921
5024
  },
4922
- "organizationId" : {
4923
- "description" : "Organization ID",
4924
- "in" : "query",
5025
+ "organizationIdPath" : {
5026
+ "description" : "ID of the organization",
5027
+ "in" : "path",
4925
5028
  "name" : "organizationId",
5029
+ "required" : true,
4926
5030
  "schema" : {
4927
5031
  "type" : "string"
4928
5032
  }
@@ -4936,9 +5040,9 @@
4936
5040
  "type" : "string"
4937
5041
  }
4938
5042
  },
4939
- "organizationIdPath" : {
4940
- "description" : "ID of the organization",
4941
- "in" : "path",
5043
+ "organizationId" : {
5044
+ "description" : "Organization ID",
5045
+ "in" : "query",
4942
5046
  "name" : "organizationId",
4943
5047
  "required" : true,
4944
5048
  "schema" : {
@@ -5007,6 +5111,67 @@
5007
5111
  }
5008
5112
  },
5009
5113
  "schemas" : {
5114
+ "KnowledgeBase" : {
5115
+ "properties" : {
5116
+ "id" : {
5117
+ "type" : "string"
5118
+ },
5119
+ "name" : {
5120
+ "type" : "string"
5121
+ },
5122
+ "createdAt" : {
5123
+ "type" : "string"
5124
+ },
5125
+ "updatedAt" : {
5126
+ "type" : "string"
5127
+ },
5128
+ "organisationId" : {
5129
+ "type" : "string"
5130
+ },
5131
+ "authorizedAgents" : {
5132
+ "items" : {
5133
+ "type" : "string"
5134
+ },
5135
+ "type" : "array"
5136
+ },
5137
+ "isTemplate" : {
5138
+ "description" : "DEPRECATED",
5139
+ "type" : "boolean"
5140
+ },
5141
+ "privacy" : {
5142
+ "$ref" : "#/components/schemas/KnowledgeBasePrivacy"
5143
+ },
5144
+ "role" : {
5145
+ "type" : "string"
5146
+ },
5147
+ "description" : {
5148
+ "type" : "string"
5149
+ },
5150
+ "picture" : {
5151
+ "type" : "string"
5152
+ },
5153
+ "template" : {
5154
+ "type" : "string"
5155
+ },
5156
+ "agentType" : {
5157
+ "type" : "string"
5158
+ },
5159
+ "files" : {
5160
+ "items" : {
5161
+ "$ref" : "#/components/schemas/KnowledgeBase_files_inner"
5162
+ },
5163
+ "type" : "array"
5164
+ },
5165
+ "status" : {
5166
+ "type" : "string"
5167
+ },
5168
+ "indexed" : {
5169
+ "type" : "boolean"
5170
+ }
5171
+ },
5172
+ "required" : [ "authorizedAgents", "createdAt", "id", "name" ],
5173
+ "type" : "object"
5174
+ },
5010
5175
  "HealthCheckResponse" : {
5011
5176
  "properties" : {
5012
5177
  "status" : {
@@ -5045,9 +5210,9 @@
5045
5210
  },
5046
5211
  "type" : "array"
5047
5212
  },
5048
- "knowledgeBases" : {
5213
+ "knowledgeBaseIds" : {
5049
5214
  "items" : {
5050
- "$ref" : "#/components/schemas/AgentKnowledgeBase"
5215
+ "type" : "string"
5051
5216
  },
5052
5217
  "type" : "array"
5053
5218
  },
@@ -5111,6 +5276,11 @@
5111
5276
  },
5112
5277
  "agentType" : {
5113
5278
  "$ref" : "#/components/schemas/AgentType"
5279
+ },
5280
+ "favoriteOutfit" : {
5281
+ "additionalProperties" : true,
5282
+ "maxProperties" : 100,
5283
+ "type" : "object"
5114
5284
  }
5115
5285
  },
5116
5286
  "required" : [ "id", "modules", "name", "organisationId", "persona", "promptInit" ],
@@ -5148,30 +5318,6 @@
5148
5318
  "required" : [ "description", "id", "name", "orgId", "type" ],
5149
5319
  "type" : "object"
5150
5320
  },
5151
- "AgentKnowledgeBase" : {
5152
- "properties" : {
5153
- "id" : {
5154
- "type" : "string"
5155
- },
5156
- "name" : {
5157
- "type" : "string"
5158
- },
5159
- "privacy" : {
5160
- "$ref" : "#/components/schemas/KnowledgeBasePrivacy"
5161
- },
5162
- "organisationId" : {
5163
- "type" : "string"
5164
- },
5165
- "authorizedAgents" : {
5166
- "items" : {
5167
- "type" : "string"
5168
- },
5169
- "type" : "array"
5170
- }
5171
- },
5172
- "required" : [ "authorizedAgents", "id", "name", "organisationId", "privacy" ],
5173
- "type" : "object"
5174
- },
5175
5321
  "Persona" : {
5176
5322
  "additionalProperties" : {
5177
5323
  "type" : "string"
@@ -5283,9 +5429,15 @@
5283
5429
  },
5284
5430
  "isActivated" : {
5285
5431
  "type" : "boolean"
5432
+ },
5433
+ "modules" : {
5434
+ "additionalProperties" : {
5435
+ "$ref" : "#/components/schemas/AgentModule"
5436
+ },
5437
+ "type" : "object"
5286
5438
  }
5287
5439
  },
5288
- "required" : [ "engine", "name", "organisationId", "persona", "promptInit" ],
5440
+ "required" : [ "name", "organisationId", "persona", "promptInit" ],
5289
5441
  "type" : "object"
5290
5442
  },
5291
5443
  "AgentPatch" : {
@@ -5297,7 +5449,7 @@
5297
5449
  "type" : "string"
5298
5450
  },
5299
5451
  "engine" : {
5300
- "$ref" : "#/components/schemas/Engine"
5452
+ "$ref" : "#/components/schemas/AgentPatch_engine"
5301
5453
  },
5302
5454
  "modules" : {
5303
5455
  "additionalProperties" : true,
@@ -5311,6 +5463,7 @@
5311
5463
  },
5312
5464
  "flow" : {
5313
5465
  "format" : "uuid",
5466
+ "nullable" : true,
5314
5467
  "type" : "string"
5315
5468
  },
5316
5469
  "subscription" : {
@@ -5698,7 +5851,7 @@
5698
5851
  "type" : "string"
5699
5852
  }
5700
5853
  },
5701
- "required" : [ "contentType", "ext", "hash", "size" ],
5854
+ "required" : [ "contentType", "ext", "size" ],
5702
5855
  "type" : "object"
5703
5856
  },
5704
5857
  "FileCreationResponse" : {
@@ -5710,6 +5863,9 @@
5710
5863
  },
5711
5864
  "File" : {
5712
5865
  "properties" : {
5866
+ "name" : {
5867
+ "type" : "string"
5868
+ },
5713
5869
  "id" : {
5714
5870
  "type" : "string"
5715
5871
  },
@@ -5756,6 +5912,15 @@
5756
5912
  "required" : [ "organisationId" ],
5757
5913
  "type" : "object"
5758
5914
  },
5915
+ "BodyWithId" : {
5916
+ "properties" : {
5917
+ "id" : {
5918
+ "type" : "string"
5919
+ }
5920
+ },
5921
+ "required" : [ "id" ],
5922
+ "type" : "object"
5923
+ },
5759
5924
  "S3UploadBody" : {
5760
5925
  "properties" : {
5761
5926
  "postURL" : {
@@ -5774,6 +5939,9 @@
5774
5939
  "id" : {
5775
5940
  "type" : "string"
5776
5941
  },
5942
+ "appId" : {
5943
+ "type" : "string"
5944
+ },
5777
5945
  "lang" : {
5778
5946
  "type" : "string"
5779
5947
  },
@@ -5797,7 +5965,7 @@
5797
5965
  },
5798
5966
  "messages" : {
5799
5967
  "items" : {
5800
- "$ref" : "#/components/schemas/ChatMessage"
5968
+ "$ref" : "#/components/schemas/ChatMessageWithFlowNode"
5801
5969
  },
5802
5970
  "type" : "array"
5803
5971
  },
@@ -5814,6 +5982,19 @@
5814
5982
  "required" : [ "agentId", "context", "createdAt", "id", "lang", "messages", "updatedAt" ],
5815
5983
  "type" : "object"
5816
5984
  },
5985
+ "ChatMessageWithFlowNode" : {
5986
+ "allOf" : [ {
5987
+ "$ref" : "#/components/schemas/ChatMessage"
5988
+ }, {
5989
+ "properties" : {
5990
+ "flowNode" : {
5991
+ "$ref" : "#/components/schemas/AgentFlow"
5992
+ }
5993
+ },
5994
+ "required" : [ "flowNode" ],
5995
+ "type" : "object"
5996
+ } ]
5997
+ },
5817
5998
  "ChatMessage" : {
5818
5999
  "properties" : {
5819
6000
  "id" : {
@@ -5845,8 +6026,7 @@
5845
6026
  "type" : "array"
5846
6027
  },
5847
6028
  "flowNode" : {
5848
- "format" : "uuid",
5849
- "type" : "string"
6029
+ "$ref" : "#/components/schemas/AgentFlow"
5850
6030
  },
5851
6031
  "flowNodeRequirementsChecked" : {
5852
6032
  "type" : "boolean"
@@ -5874,6 +6054,12 @@
5874
6054
  "$ref" : "#/components/schemas/FileAttachment"
5875
6055
  },
5876
6056
  "type" : "array"
6057
+ },
6058
+ "audio" : {
6059
+ "items" : {
6060
+ "$ref" : "#/components/schemas/ChatMessage_audio_inner"
6061
+ },
6062
+ "type" : "array"
5877
6063
  }
5878
6064
  },
5879
6065
  "required" : [ "content", "id", "role", "timestamp" ],
@@ -6049,6 +6235,9 @@
6049
6235
  },
6050
6236
  "connected" : {
6051
6237
  "type" : "boolean"
6238
+ },
6239
+ "type" : {
6240
+ "type" : "string"
6052
6241
  }
6053
6242
  },
6054
6243
  "required" : [ "agentId", "name", "streamingEnabled" ],
@@ -6084,6 +6273,12 @@
6084
6273
  "agent" : {
6085
6274
  "$ref" : "#/components/schemas/SimpleAgent"
6086
6275
  },
6276
+ "sequences" : {
6277
+ "items" : {
6278
+ "$ref" : "#/components/schemas/App_sequences_inner"
6279
+ },
6280
+ "type" : "array"
6281
+ },
6087
6282
  "authSecret" : {
6088
6283
  "type" : "string"
6089
6284
  },
@@ -6105,6 +6300,13 @@
6105
6300
  "voiceModelId" : {
6106
6301
  "type" : "string"
6107
6302
  },
6303
+ "voice" : {
6304
+ "additionalProperties" : {
6305
+ "type" : "string"
6306
+ },
6307
+ "maxProperties" : 100,
6308
+ "type" : "object"
6309
+ },
6108
6310
  "lipsync" : {
6109
6311
  "$ref" : "#/components/schemas/Lipsync"
6110
6312
  },
@@ -6128,9 +6330,12 @@
6128
6330
  },
6129
6331
  "disableFillers" : {
6130
6332
  "type" : "boolean"
6333
+ },
6334
+ "type" : {
6335
+ "type" : "string"
6131
6336
  }
6132
6337
  },
6133
- "required" : [ "agent", "agentId", "authSecret", "connected", "id", "instances", "name", "status", "streamingEnabled", "voiceId", "voiceModelId" ],
6338
+ "required" : [ "agentId", "authSecret", "id", "name", "status", "streamingEnabled", "voiceId", "voiceModelId" ],
6134
6339
  "type" : "object"
6135
6340
  },
6136
6341
  "SimpleAgent" : {
@@ -6363,15 +6568,6 @@
6363
6568
  },
6364
6569
  "type" : "object"
6365
6570
  },
6366
- "BodyWithId" : {
6367
- "properties" : {
6368
- "id" : {
6369
- "type" : "string"
6370
- }
6371
- },
6372
- "required" : [ "id" ],
6373
- "type" : "object"
6374
- },
6375
6571
  "AppTextToSpeechRequest" : {
6376
6572
  "properties" : {
6377
6573
  "text" : {
@@ -6748,17 +6944,14 @@
6748
6944
  "organizationId" : {
6749
6945
  "type" : "string"
6750
6946
  },
6751
- "type" : {
6752
- "type" : "string"
6753
- },
6754
- "provider" : {
6947
+ "providerId" : {
6755
6948
  "type" : "string"
6756
6949
  },
6757
6950
  "model" : {
6758
6951
  "type" : "string"
6759
6952
  }
6760
6953
  },
6761
- "required" : [ "model", "organizationId", "provider", "type" ],
6954
+ "required" : [ "model", "organizationId", "providerId" ],
6762
6955
  "type" : "object"
6763
6956
  },
6764
6957
  "Provider" : {
@@ -6784,7 +6977,7 @@
6784
6977
  "type" : "string"
6785
6978
  },
6786
6979
  "providerType" : {
6787
- "type" : "string"
6980
+ "$ref" : "#/components/schemas/ProviderType"
6788
6981
  },
6789
6982
  "models" : {
6790
6983
  "items" : {
@@ -6797,12 +6990,9 @@
6797
6990
  },
6798
6991
  "endpoint" : {
6799
6992
  "type" : "string"
6800
- },
6801
- "organizationId" : {
6802
- "type" : "string"
6803
6993
  }
6804
6994
  },
6805
- "required" : [ "apiKey", "models", "name", "organizationId", "providerType" ],
6995
+ "required" : [ "models", "name", "providerType" ],
6806
6996
  "type" : "object"
6807
6997
  },
6808
6998
  "ProviderSimple" : {
@@ -6967,6 +7157,9 @@
6967
7157
  "name" : {
6968
7158
  "type" : "string"
6969
7159
  },
7160
+ "type" : {
7161
+ "$ref" : "#/components/schemas/GuardianType"
7162
+ },
6970
7163
  "description" : {
6971
7164
  "type" : "string"
6972
7165
  },
@@ -7016,7 +7209,7 @@
7016
7209
  "type" : "array"
7017
7210
  }
7018
7211
  },
7019
- "required" : [ "createdAt", "engine", "id", "role" ],
7212
+ "required" : [ "createdAt", "engine", "id", "role", "type" ],
7020
7213
  "type" : "object"
7021
7214
  },
7022
7215
  "GuardianCreateRequest" : {
@@ -7036,6 +7229,9 @@
7036
7229
  },
7037
7230
  "type" : "object"
7038
7231
  },
7232
+ "type" : {
7233
+ "$ref" : "#/components/schemas/GuardianType"
7234
+ },
7039
7235
  "forbiddenMessages" : {
7040
7236
  "items" : {
7041
7237
  "type" : "string"
@@ -7046,7 +7242,7 @@
7046
7242
  "$ref" : "#/components/schemas/GuardianEngine"
7047
7243
  }
7048
7244
  },
7049
- "required" : [ "engine", "role" ],
7245
+ "required" : [ "engine", "role", "type" ],
7050
7246
  "type" : "object"
7051
7247
  },
7052
7248
  "GuardianPutRequest" : {
@@ -7057,6 +7253,9 @@
7057
7253
  "name" : {
7058
7254
  "type" : "string"
7059
7255
  },
7256
+ "type" : {
7257
+ "$ref" : "#/components/schemas/GuardianType"
7258
+ },
7060
7259
  "description" : {
7061
7260
  "type" : "string"
7062
7261
  },
@@ -7081,18 +7280,6 @@
7081
7280
  },
7082
7281
  "type" : "object"
7083
7282
  },
7084
- "GuardianExcludedAgentsRequest" : {
7085
- "properties" : {
7086
- "excludedAgents" : {
7087
- "items" : {
7088
- "type" : "string"
7089
- },
7090
- "type" : "array"
7091
- }
7092
- },
7093
- "required" : [ "excludedAgents" ],
7094
- "type" : "object"
7095
- },
7096
7283
  "Organization" : {
7097
7284
  "properties" : {
7098
7285
  "id" : {
@@ -7100,15 +7287,9 @@
7100
7287
  },
7101
7288
  "name" : {
7102
7289
  "type" : "string"
7103
- },
7104
- "modules" : {
7105
- "additionalProperties" : {
7106
- "$ref" : "#/components/schemas/AgentModule"
7107
- },
7108
- "type" : "object"
7109
7290
  }
7110
7291
  },
7111
- "required" : [ "id", "modules", "name" ],
7292
+ "required" : [ "id", "name" ],
7112
7293
  "type" : "object"
7113
7294
  },
7114
7295
  "Manifest" : {
@@ -7325,6 +7506,9 @@
7325
7506
  "id" : {
7326
7507
  "type" : "string"
7327
7508
  },
7509
+ "flowNode" : {
7510
+ "$ref" : "#/components/schemas/Conversation_flowNode"
7511
+ },
7328
7512
  "messages" : {
7329
7513
  "items" : {
7330
7514
  "$ref" : "#/components/schemas/ChatMessage"
@@ -7332,7 +7516,7 @@
7332
7516
  "type" : "array"
7333
7517
  }
7334
7518
  },
7335
- "required" : [ "id", "messages" ],
7519
+ "required" : [ "flowNode", "id", "messages" ],
7336
7520
  "type" : "object"
7337
7521
  },
7338
7522
  "Message" : {
@@ -7351,25 +7535,20 @@
7351
7535
  },
7352
7536
  "Engine" : {
7353
7537
  "properties" : {
7354
- "type" : {
7355
- "$ref" : "#/components/schemas/EngineType"
7538
+ "providerId" : {
7539
+ "type" : "string"
7356
7540
  },
7357
- "configuration" : {
7358
- "additionalProperties" : true,
7359
- "type" : "object"
7541
+ "model" : {
7542
+ "type" : "string"
7360
7543
  }
7361
7544
  },
7362
- "required" : [ "configuration", "type" ],
7545
+ "required" : [ "model", "providerId" ],
7363
7546
  "type" : "object"
7364
7547
  },
7365
7548
  "AgentType" : {
7366
7549
  "enum" : [ "workflow", "conversation", "hybrid", "standard" ],
7367
7550
  "type" : "string"
7368
7551
  },
7369
- "KnowledgeBasePrivacy" : {
7370
- "enum" : [ "private", "public" ],
7371
- "type" : "string"
7372
- },
7373
7552
  "AgentModuleType" : {
7374
7553
  "enum" : [ "ContextualKnowledgeWeaviate", "External" ],
7375
7554
  "type" : "string"
@@ -7430,21 +7609,26 @@
7430
7609
  "enum" : [ "reference" ],
7431
7610
  "type" : "string"
7432
7611
  },
7612
+ "ProviderType" : {
7613
+ "enum" : [ "llamacpp", "openai", "mistral", "other" ],
7614
+ "type" : "string"
7615
+ },
7616
+ "GuardianType" : {
7617
+ "enum" : [ "node", "openai", "llmguards" ],
7618
+ "type" : "string"
7619
+ },
7433
7620
  "GuardianRole" : {
7434
7621
  "enum" : [ "PROMPTCHECK", "WORDCHECK", "INTENTIONCHECK", "ATTACKCHECK", "ANONIMIZE" ],
7435
7622
  "type" : "string"
7436
7623
  },
7437
7624
  "GuardianEngine" : {
7438
7625
  "properties" : {
7439
- "type" : {
7440
- "$ref" : "#/components/schemas/GuardianEngineType"
7441
- },
7442
7626
  "configuration" : {
7443
7627
  "additionalProperties" : true,
7444
7628
  "type" : "object"
7445
7629
  }
7446
7630
  },
7447
- "required" : [ "configuration", "type" ],
7631
+ "required" : [ "configuration" ],
7448
7632
  "type" : "object"
7449
7633
  },
7450
7634
  "GuardianPosition" : {
@@ -7455,24 +7639,11 @@
7455
7639
  "enum" : [ "ELEVENLABS" ],
7456
7640
  "type" : "string"
7457
7641
  },
7458
- "EngineType" : {
7459
- "enum" : [ "llamacpp", "openai" ],
7460
- "type" : "string"
7461
- },
7462
- "GuardianEngineType" : {
7463
- "enum" : [ "node", "openai", "llmguards" ],
7642
+ "KnowledgeBasePrivacy" : {
7643
+ "enum" : [ "private", "public" ],
7464
7644
  "type" : "string"
7465
7645
  },
7466
- "duplicateAgent_201_response" : {
7467
- "properties" : {
7468
- "id" : {
7469
- "type" : "string"
7470
- }
7471
- },
7472
- "required" : [ "id" ],
7473
- "type" : "object"
7474
- },
7475
- "_agents__agentId__knowledge_file_imports_post_request" : {
7646
+ "importFileToAgentKnowledge_request" : {
7476
7647
  "properties" : {
7477
7648
  "file" : {
7478
7649
  "description" : "The file to import (PDF, CSV, TXT supported)",
@@ -7483,7 +7654,7 @@
7483
7654
  "required" : [ "file" ],
7484
7655
  "type" : "object"
7485
7656
  },
7486
- "_agents__agentId__knowledge_file_imports_post_200_response" : {
7657
+ "importFileToAgentKnowledge_200_response" : {
7487
7658
  "properties" : {
7488
7659
  "id" : {
7489
7660
  "type" : "string"
@@ -7503,6 +7674,24 @@
7503
7674
  },
7504
7675
  "type" : "object"
7505
7676
  },
7677
+ "KnowledgeBase_files_inner" : {
7678
+ "properties" : {
7679
+ "id" : {
7680
+ "type" : "string"
7681
+ },
7682
+ "name" : {
7683
+ "type" : "string"
7684
+ },
7685
+ "knowledgeBaseId" : {
7686
+ "items" : {
7687
+ "type" : "string"
7688
+ },
7689
+ "type" : "array"
7690
+ }
7691
+ },
7692
+ "required" : [ "id", "knowledgeBaseId", "name" ],
7693
+ "type" : "object"
7694
+ },
7506
7695
  "HealthCheckResponse_components_api" : {
7507
7696
  "properties" : {
7508
7697
  "status" : {
@@ -7552,6 +7741,31 @@
7552
7741
  "required" : [ "contentType", "ext", "hash", "size" ],
7553
7742
  "type" : "object"
7554
7743
  },
7744
+ "AgentPatch_engine" : {
7745
+ "nullable" : true,
7746
+ "properties" : {
7747
+ "providerId" : {
7748
+ "type" : "string"
7749
+ },
7750
+ "model" : {
7751
+ "type" : "string"
7752
+ }
7753
+ },
7754
+ "required" : [ "model", "providerId" ],
7755
+ "type" : "object"
7756
+ },
7757
+ "ChatMessage_audio_inner" : {
7758
+ "properties" : {
7759
+ "sequence" : {
7760
+ "type" : "number"
7761
+ },
7762
+ "audioFileId" : {
7763
+ "type" : "string"
7764
+ }
7765
+ },
7766
+ "required" : [ "audioFileId", "sequence" ],
7767
+ "type" : "object"
7768
+ },
7555
7769
  "ToolResults_tool" : {
7556
7770
  "properties" : {
7557
7771
  "tool" : {
@@ -7599,6 +7813,17 @@
7599
7813
  "$ref" : "#/components/schemas/FileAttachment_processed_oneOf_1"
7600
7814
  } ]
7601
7815
  },
7816
+ "App_sequences_inner" : {
7817
+ "properties" : {
7818
+ "id" : {
7819
+ "type" : "string"
7820
+ },
7821
+ "name" : {
7822
+ "type" : "string"
7823
+ }
7824
+ },
7825
+ "type" : "object"
7826
+ },
7602
7827
  "ChunkCreateRequest_content_inner" : {
7603
7828
  "properties" : {
7604
7829
  "fileName" : {
@@ -7639,6 +7864,30 @@
7639
7864
  },
7640
7865
  "required" : [ "id", "name" ],
7641
7866
  "type" : "object"
7867
+ },
7868
+ "Conversation_flowNode_entrypoints" : {
7869
+ "properties" : {
7870
+ "intents" : {
7871
+ "items" : {
7872
+ "type" : "string"
7873
+ },
7874
+ "type" : "array"
7875
+ }
7876
+ },
7877
+ "type" : "object"
7878
+ },
7879
+ "Conversation_flowNode" : {
7880
+ "properties" : {
7881
+ "id" : {
7882
+ "type" : "string"
7883
+ },
7884
+ "contents" : { },
7885
+ "entrypoints" : {
7886
+ "$ref" : "#/components/schemas/Conversation_flowNode_entrypoints"
7887
+ },
7888
+ "exits" : { }
7889
+ },
7890
+ "type" : "object"
7642
7891
  }
7643
7892
  },
7644
7893
  "securitySchemes" : {