@breign/client 1.0.124 → 1.0.126

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 (88) hide show
  1. package/dist/apis/AgentApi.d.ts +17 -12
  2. package/dist/apis/AgentApi.js +29 -14
  3. package/dist/apis/KnowledgeApi.d.ts +122 -168
  4. package/dist/apis/KnowledgeApi.js +232 -365
  5. package/dist/apis/MetricsApi.d.ts +15 -13
  6. package/dist/apis/MetricsApi.js +27 -21
  7. package/dist/apis/OrganizationsApi.d.ts +1 -26
  8. package/dist/apis/OrganizationsApi.js +0 -64
  9. package/dist/apis/SkillsApi.d.ts +14 -1
  10. package/dist/apis/SkillsApi.js +29 -0
  11. package/dist/models/AddModuleRequestUio.d.ts +60 -0
  12. package/dist/models/AddModuleRequestUio.js +68 -0
  13. package/dist/models/AgentPatchUio.d.ts +0 -30
  14. package/dist/models/AgentPatchUio.js +0 -10
  15. package/dist/models/AgentRefUio.d.ts +38 -0
  16. package/dist/models/AgentRefUio.js +54 -0
  17. package/dist/models/AgentRequestUio.d.ts +0 -59
  18. package/dist/models/AgentRequestUio.js +0 -22
  19. package/dist/models/AgentUio.d.ts +6 -44
  20. package/dist/models/AgentUio.js +2 -14
  21. package/dist/models/ChunkCreateRequestContentInnerUio.d.ts +1 -1
  22. package/dist/models/ChunkCreateRequestContentInnerUio.js +1 -3
  23. package/dist/models/ChunkCreateRequestUio.d.ts +3 -3
  24. package/dist/models/ChunkCreateRequestUio.js +10 -4
  25. package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.d.ts +44 -0
  26. package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.js +58 -0
  27. package/dist/models/CreateKnowledgeBaseRequestUio.d.ts +59 -0
  28. package/dist/models/CreateKnowledgeBaseRequestUio.js +65 -0
  29. package/dist/models/CreateKnowledgeBaseResponseUio.d.ts +46 -0
  30. package/dist/models/CreateKnowledgeBaseResponseUio.js +62 -0
  31. package/dist/models/DeleteKnowledgeSitePage200ResponseUio.d.ts +38 -0
  32. package/dist/models/DeleteKnowledgeSitePage200ResponseUio.js +52 -0
  33. package/dist/models/FileCreationResponseUio.d.ts +1 -0
  34. package/dist/models/FileCreationResponseUio.js +2 -1
  35. package/dist/models/FileUio.d.ts +5 -3
  36. package/dist/models/FileUio.js +4 -4
  37. package/dist/models/FileWithDownloadUrlUio.d.ts +5 -3
  38. package/dist/models/FileWithDownloadUrlUio.js +4 -4
  39. package/dist/models/ImageKnowledgeUio.d.ts +13 -6
  40. package/dist/models/ImageKnowledgeUio.js +23 -6
  41. package/dist/models/KnowledgeBaseConfigurationUio.d.ts +14 -0
  42. package/dist/models/KnowledgeBaseConfigurationUio.js +10 -1
  43. package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.d.ts +45 -0
  44. package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.js +57 -0
  45. package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.d.ts +22 -0
  46. package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.js +50 -0
  47. package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.d.ts +157 -0
  48. package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.js +102 -0
  49. package/dist/models/KnowledgeBaseUio.d.ts +6 -62
  50. package/dist/models/KnowledgeBaseUio.js +2 -22
  51. package/dist/models/KnowledgeFileCreationRequestUio.d.ts +68 -0
  52. package/dist/models/KnowledgeFileCreationRequestUio.js +64 -0
  53. package/dist/models/KnowledgeFileParsingCallbackRequestUio.d.ts +51 -0
  54. package/dist/models/KnowledgeFileParsingCallbackRequestUio.js +58 -0
  55. package/dist/models/KnowledgeFileSummaryUio.d.ts +2 -3
  56. package/dist/models/KnowledgeFileSummaryUio.js +2 -3
  57. package/dist/models/KnowledgeFileUio.d.ts +140 -0
  58. package/dist/models/KnowledgeFileUio.js +92 -0
  59. package/dist/models/UploadedStatusUpdateRequestUio.d.ts +39 -0
  60. package/dist/models/UploadedStatusUpdateRequestUio.js +57 -0
  61. package/dist/models/index.d.ts +13 -12
  62. package/dist/models/index.js +13 -12
  63. package/dist/openapi.json +920 -969
  64. package/package.json +1 -1
  65. package/dist/models/AgentRequestProfilePictureUio.d.ts +0 -50
  66. package/dist/models/AgentRequestProfilePictureUio.js +0 -62
  67. package/dist/models/DocumentAddRequestUio.d.ts +0 -38
  68. package/dist/models/DocumentAddRequestUio.js +0 -52
  69. package/dist/models/FileFormDataUio.d.ts +0 -38
  70. package/dist/models/FileFormDataUio.js +0 -50
  71. package/dist/models/FileStatusUpdateRequestUio.d.ts +0 -33
  72. package/dist/models/FileStatusUpdateRequestUio.js +0 -51
  73. package/dist/models/ImportFileToAgentKnowledge200ResponseUio.d.ts +0 -56
  74. package/dist/models/ImportFileToAgentKnowledge200ResponseUio.js +0 -56
  75. package/dist/models/KnowledgeBaseFilesInnerUio.d.ts +0 -44
  76. package/dist/models/KnowledgeBaseFilesInnerUio.js +0 -58
  77. package/dist/models/KnowledgeBasePrivacyUio.d.ts +0 -25
  78. package/dist/models/KnowledgeBasePrivacyUio.js +0 -51
  79. package/dist/models/KnowledgeFilePagePreviewUio.d.ts +0 -44
  80. package/dist/models/KnowledgeFilePagePreviewUio.js +0 -56
  81. package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.d.ts +0 -21
  82. package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.js +0 -37
  83. package/dist/models/UserAgentAccessAgentUio.d.ts +0 -38
  84. package/dist/models/UserAgentAccessAgentUio.js +0 -54
  85. package/dist/models/UserAgentAccessRequestUio.d.ts +0 -38
  86. package/dist/models/UserAgentAccessRequestUio.js +0 -54
  87. package/dist/models/UserAgentAccessUio.d.ts +0 -45
  88. package/dist/models/UserAgentAccessUio.js +0 -59
package/dist/openapi.json CHANGED
@@ -99,7 +99,7 @@
99
99
  "description" : "Get all agents accessible to user",
100
100
  "operationId" : "getAgents",
101
101
  "parameters" : [ {
102
- "description" : "If true, only returns agents created by the authenticated user.\n",
102
+ "description" : "If true, only returns agents created by the authenticated user.",
103
103
  "in" : "query",
104
104
  "name" : "isCreator",
105
105
  "required" : false,
@@ -115,6 +115,49 @@
115
115
  "enum" : [ "EXTERNAL", "INTERNAL" ],
116
116
  "type" : "string"
117
117
  }
118
+ }, {
119
+ "in" : "query",
120
+ "name" : "page",
121
+ "required" : false,
122
+ "schema" : {
123
+ "minimum" : 1,
124
+ "type" : "integer"
125
+ }
126
+ }, {
127
+ "in" : "query",
128
+ "name" : "limit",
129
+ "required" : false,
130
+ "schema" : {
131
+ "maximum" : 500,
132
+ "minimum" : 1,
133
+ "type" : "integer"
134
+ }
135
+ }, {
136
+ "in" : "query",
137
+ "name" : "search",
138
+ "required" : false,
139
+ "schema" : {
140
+ "type" : "string"
141
+ }
142
+ }, {
143
+ "explode" : true,
144
+ "in" : "query",
145
+ "name" : "roleIds",
146
+ "required" : false,
147
+ "schema" : {
148
+ "items" : {
149
+ "type" : "string"
150
+ },
151
+ "type" : "array"
152
+ },
153
+ "style" : "form"
154
+ }, {
155
+ "in" : "query",
156
+ "name" : "personal",
157
+ "required" : false,
158
+ "schema" : {
159
+ "type" : "boolean"
160
+ }
118
161
  } ],
119
162
  "responses" : {
120
163
  "200" : {
@@ -128,7 +171,33 @@
128
171
  }
129
172
  }
130
173
  },
131
- "description" : "Agents retrieved successfully"
174
+ "description" : "Agents retrieved successfully",
175
+ "headers" : {
176
+ "X-Total-Count" : {
177
+ "description" : "Total number of agents",
178
+ "schema" : {
179
+ "type" : "integer"
180
+ }
181
+ },
182
+ "X-Page" : {
183
+ "description" : "Current page number",
184
+ "schema" : {
185
+ "type" : "integer"
186
+ }
187
+ },
188
+ "X-Limit" : {
189
+ "description" : "Maximum number of items per page",
190
+ "schema" : {
191
+ "type" : "integer"
192
+ }
193
+ },
194
+ "X-Total-Pages" : {
195
+ "description" : "Total number of pages",
196
+ "schema" : {
197
+ "type" : "integer"
198
+ }
199
+ }
200
+ }
132
201
  }
133
202
  },
134
203
  "summary" : "Get all agents",
@@ -234,7 +303,7 @@
234
303
  },
235
304
  "/agents/{agentId}" : {
236
305
  "delete" : {
237
- "description" : "Deletes an agent and all its associated flows",
306
+ "description" : "Deletes an agent by ID",
238
307
  "operationId" : "deleteAgentById",
239
308
  "parameters" : [ {
240
309
  "description" : "ID of the agent",
@@ -327,7 +396,7 @@
327
396
  "content" : {
328
397
  "application/json" : {
329
398
  "schema" : {
330
- "$ref" : "#/components/schemas/AgentPatch"
399
+ "$ref" : "#/components/schemas/Agent"
331
400
  }
332
401
  }
333
402
  },
@@ -411,7 +480,7 @@
411
480
  "content" : {
412
481
  "application/json" : {
413
482
  "schema" : {
414
- "$ref" : "#/components/schemas/AgentModule"
483
+ "$ref" : "#/components/schemas/addModule_request"
415
484
  }
416
485
  }
417
486
  },
@@ -906,7 +975,7 @@
906
975
  },
907
976
  "/agents/{agentId}/flows/{flowId}" : {
908
977
  "delete" : {
909
- "description" : "Deletes a specific conversation flow",
978
+ "description" : "Deletes an existing conversation flow",
910
979
  "operationId" : "deleteFlow",
911
980
  "parameters" : [ {
912
981
  "description" : "ID of the agent",
@@ -1645,7 +1714,7 @@
1645
1714
  },
1646
1715
  "/agents/{agentId}/tools/{toolId}" : {
1647
1716
  "delete" : {
1648
- "description" : "Removes a tool from the specified agent",
1717
+ "description" : "Unlinks an organization tool from the specified agent",
1649
1718
  "operationId" : "unlinkToolFromAgent",
1650
1719
  "parameters" : [ {
1651
1720
  "description" : "ID of the agent",
@@ -1676,7 +1745,7 @@
1676
1745
  "description" : "Forbidden - User doesn't have access to this agent"
1677
1746
  },
1678
1747
  "404" : {
1679
- "description" : "Agent not found"
1748
+ "description" : "Agent or tool not found"
1680
1749
  },
1681
1750
  "500" : {
1682
1751
  "description" : "Internal server error"
@@ -2706,7 +2775,7 @@
2706
2775
  }
2707
2776
  } ],
2708
2777
  "responses" : {
2709
- "200" : {
2778
+ "206" : {
2710
2779
  "content" : {
2711
2780
  "application/json" : {
2712
2781
  "schema" : {
@@ -5857,10 +5926,10 @@
5857
5926
  "tags" : [ "metrics" ]
5858
5927
  }
5859
5928
  },
5860
- "/metrics/agents" : {
5929
+ "/metrics/brains" : {
5861
5930
  "get" : {
5862
- "description" : "Retrieves usage metrics broken down by agent within a date range (admin only)",
5863
- "operationId" : "getMetricsAgents",
5931
+ "description" : "Retrieves usage metrics broken down by agent within an optional date range (admin only)",
5932
+ "operationId" : "getBrainsMetrics",
5864
5933
  "parameters" : [ {
5865
5934
  "description" : "Start date for metrics (ISO format)",
5866
5935
  "in" : "query",
@@ -5888,7 +5957,7 @@
5888
5957
  }
5889
5958
  }
5890
5959
  },
5891
- "description" : "Agent metrics retrieved successfully"
5960
+ "description" : "Brains metrics retrieved successfully"
5892
5961
  },
5893
5962
  "400" : {
5894
5963
  "description" : "Invalid date format"
@@ -5903,7 +5972,7 @@
5903
5972
  "description" : "Server error"
5904
5973
  }
5905
5974
  },
5906
- "summary" : "Get agent-specific metrics",
5975
+ "summary" : "Get brains metrics",
5907
5976
  "tags" : [ "metrics" ]
5908
5977
  }
5909
5978
  },
@@ -7419,92 +7488,6 @@
7419
7488
  "tags" : [ "organizations" ]
7420
7489
  }
7421
7490
  },
7422
- "/organizations/{organizationId}/users/{userId}/agents-access" : {
7423
- "get" : {
7424
- "operationId" : "getOrganizationUserAgentsAccess",
7425
- "parameters" : [ {
7426
- "description" : "ID of the organization",
7427
- "in" : "path",
7428
- "name" : "organizationId",
7429
- "required" : true,
7430
- "schema" : {
7431
- "type" : "string"
7432
- }
7433
- }, {
7434
- "in" : "path",
7435
- "name" : "userId",
7436
- "required" : true,
7437
- "schema" : {
7438
- "type" : "string"
7439
- }
7440
- } ],
7441
- "responses" : {
7442
- "200" : {
7443
- "content" : {
7444
- "application/json" : {
7445
- "schema" : {
7446
- "$ref" : "#/components/schemas/UserAgentAccess"
7447
- }
7448
- }
7449
- },
7450
- "description" : "User agent access configuration"
7451
- },
7452
- "401" : {
7453
- "description" : "Unauthorized"
7454
- },
7455
- "404" : {
7456
- "description" : "Organization or user not found"
7457
- }
7458
- },
7459
- "summary" : "Get user agent access configuration",
7460
- "tags" : [ "organizations" ]
7461
- },
7462
- "put" : {
7463
- "operationId" : "setOrganizationUserAgentsAccess",
7464
- "parameters" : [ {
7465
- "description" : "ID of the organization",
7466
- "in" : "path",
7467
- "name" : "organizationId",
7468
- "required" : true,
7469
- "schema" : {
7470
- "type" : "string"
7471
- }
7472
- }, {
7473
- "in" : "path",
7474
- "name" : "userId",
7475
- "required" : true,
7476
- "schema" : {
7477
- "type" : "string"
7478
- }
7479
- } ],
7480
- "requestBody" : {
7481
- "content" : {
7482
- "application/json" : {
7483
- "schema" : {
7484
- "$ref" : "#/components/schemas/UserAgentAccessRequest"
7485
- }
7486
- }
7487
- },
7488
- "required" : true
7489
- },
7490
- "responses" : {
7491
- "204" : {
7492
- "description" : "User agent access updated"
7493
- },
7494
- "400" : {
7495
- "description" : "Invalid request body"
7496
- },
7497
- "401" : {
7498
- "description" : "Unauthorized"
7499
- },
7500
- "404" : {
7501
- "description" : "Organization or user not found"
7502
- }
7503
- },
7504
- "summary" : "Set user agent access configuration",
7505
- "tags" : [ "organizations" ]
7506
- }
7507
- },
7508
7491
  "/organizations/{organizationId}/engine" : {
7509
7492
  "get" : {
7510
7493
  "description" : "Retrieves only the engine configuration (providerId, model, options) for a given organization.",
@@ -7546,11 +7529,25 @@
7546
7529
  "tags" : [ "organizations" ]
7547
7530
  }
7548
7531
  },
7549
- "/organizations/{organizationId}/metrics/agents/{agentId}" : {
7532
+ "/organizations/{organizationId}/agents/{agentId}" : {
7550
7533
  "get" : {
7551
7534
  "description" : "Retrieves metrics for a brain agent",
7552
7535
  "operationId" : "getMetricsBrainsAgent",
7553
7536
  "parameters" : [ {
7537
+ "description" : "Start date for metrics (ISO format)",
7538
+ "in" : "query",
7539
+ "name" : "startDate",
7540
+ "schema" : {
7541
+ "type" : "string"
7542
+ }
7543
+ }, {
7544
+ "description" : "End date for metrics (ISO format)",
7545
+ "in" : "query",
7546
+ "name" : "endDate",
7547
+ "schema" : {
7548
+ "type" : "string"
7549
+ }
7550
+ }, {
7554
7551
  "description" : "ID of the organization",
7555
7552
  "in" : "path",
7556
7553
  "name" : "organizationId",
@@ -7579,6 +7576,9 @@
7579
7576
  },
7580
7577
  "description" : "Metrics for a brain agent found"
7581
7578
  },
7579
+ "400" : {
7580
+ "description" : "Invalid date format"
7581
+ },
7582
7582
  "401" : {
7583
7583
  "description" : "Unauthorized"
7584
7584
  },
@@ -7787,41 +7787,6 @@
7787
7787
  "tags" : [ "manifests" ]
7788
7788
  }
7789
7789
  },
7790
- "/agents/{agentId}/knowledge/resets" : {
7791
- "post" : {
7792
- "description" : "Deletes all knowledge embeddings and files associated with an agent",
7793
- "operationId" : "resetAgentKnowledge",
7794
- "parameters" : [ {
7795
- "description" : "ID of the agent",
7796
- "in" : "path",
7797
- "name" : "agentId",
7798
- "required" : true,
7799
- "schema" : {
7800
- "format" : "uuid",
7801
- "type" : "string"
7802
- }
7803
- } ],
7804
- "responses" : {
7805
- "204" : {
7806
- "description" : "Knowledge base reset successfully"
7807
- },
7808
- "401" : {
7809
- "description" : "Unauthorized"
7810
- },
7811
- "403" : {
7812
- "description" : "Forbidden - User cannot access this agent"
7813
- },
7814
- "404" : {
7815
- "description" : "Agent not found"
7816
- },
7817
- "500" : {
7818
- "description" : "Server error"
7819
- }
7820
- },
7821
- "summary" : "Reset all knowledge for an agent",
7822
- "tags" : [ "knowledge" ]
7823
- }
7824
- },
7825
7790
  "/agents/{agentId}/knowledge-files" : {
7826
7791
  "get" : {
7827
7792
  "description" : "Returns all knowledge bases attached to the agent and their indexed files.",
@@ -7883,223 +7848,106 @@
7883
7848
  "tags" : [ "knowledge" ]
7884
7849
  }
7885
7850
  },
7886
- "/agents/{agentId}/knowledge/project-imports" : {
7887
- "post" : {
7888
- "description" : "Imports project data from a local JSON file into the agent's knowledge base",
7889
- "operationId" : "importProjectsToAgentKnowledge",
7851
+ "/organizations/{organizationId}/agents/{agentId}/available-knowledge-bases" : {
7852
+ "get" : {
7853
+ "description" : "Returns all knowledge bases belonging to the organization that can be assigned to the specified agent…\n",
7854
+ "operationId" : "getAvailableKnowledgeBases",
7890
7855
  "parameters" : [ {
7891
- "description" : "ID of the agent",
7856
+ "in" : "path",
7857
+ "name" : "organizationId",
7858
+ "required" : true,
7859
+ "schema" : {
7860
+ "type" : "string"
7861
+ }
7862
+ }, {
7892
7863
  "in" : "path",
7893
7864
  "name" : "agentId",
7894
7865
  "required" : true,
7895
7866
  "schema" : {
7896
- "format" : "uuid",
7867
+ "type" : "string"
7868
+ }
7869
+ }, {
7870
+ "description" : "Optional prefix used to filter knowledge bases by name (autocomplete). Case-insensitive.\n",
7871
+ "in" : "query",
7872
+ "name" : "searchName",
7873
+ "required" : false,
7874
+ "schema" : {
7897
7875
  "type" : "string"
7898
7876
  }
7899
7877
  } ],
7900
7878
  "responses" : {
7901
7879
  "200" : {
7902
- "description" : "Project import started successfully"
7880
+ "content" : {
7881
+ "application/json" : {
7882
+ "schema" : {
7883
+ "items" : {
7884
+ "$ref" : "#/components/schemas/KnowledgeBase"
7885
+ },
7886
+ "type" : "array"
7887
+ }
7888
+ }
7889
+ },
7890
+ "description" : "Successful retrieval of available knowledge bases"
7903
7891
  },
7904
7892
  "401" : {
7905
7893
  "description" : "Unauthorized"
7906
7894
  },
7907
7895
  "403" : {
7908
- "description" : "Forbidden - User cannot access this agent"
7896
+ "description" : "Forbidden – user does not belong to the organization"
7909
7897
  },
7910
7898
  "404" : {
7911
- "description" : "Agent not found or ContextualKnowledgeWeaviate module not installed"
7899
+ "description" : "Organization or agent not found"
7912
7900
  },
7913
7901
  "500" : {
7914
7902
  "description" : "Server error"
7915
7903
  }
7916
7904
  },
7917
- "summary" : "Import projects into agent knowledge",
7905
+ "summary" : "List available knowledge bases for an agent",
7918
7906
  "tags" : [ "knowledge" ]
7919
7907
  }
7920
7908
  },
7921
- "/agents/{agentId}/knowledge/documents" : {
7922
- "post" : {
7923
- "description" : "Adds a text document to the agent's knowledge base, splitting it into chunks if necessary",
7924
- "operationId" : "addDocumentToKnowledgeBase",
7909
+ "/organizations/{organizationId}/knowledge-bases" : {
7910
+ "get" : {
7911
+ "description" : "Returns every knowledge base belonging to the organization",
7912
+ "operationId" : "getOrganizationKnowledgeBases",
7925
7913
  "parameters" : [ {
7926
- "description" : "ID of the agent",
7927
7914
  "in" : "path",
7928
- "name" : "agentId",
7915
+ "name" : "organizationId",
7929
7916
  "required" : true,
7930
7917
  "schema" : {
7931
- "format" : "uuid",
7932
7918
  "type" : "string"
7933
7919
  }
7934
- }, {
7935
- "description" : "Whether to disable automatic document splitting",
7936
- "in" : "query",
7937
- "name" : "noSplit",
7938
- "schema" : {
7939
- "type" : "boolean"
7940
- }
7941
7920
  } ],
7942
- "requestBody" : {
7943
- "content" : {
7944
- "application/json" : {
7945
- "schema" : {
7946
- "$ref" : "#/components/schemas/DocumentAddRequest"
7947
- }
7948
- }
7949
- },
7950
- "required" : true
7951
- },
7952
- "responses" : {
7953
- "201" : {
7954
- "description" : "Document imported successfully"
7955
- },
7956
- "400" : {
7957
- "description" : "Invalid request body"
7958
- },
7959
- "401" : {
7960
- "description" : "Unauthorized"
7961
- },
7962
- "403" : {
7963
- "description" : "Forbidden - User cannot access this brain"
7964
- },
7965
- "404" : {
7966
- "description" : "Brain not found or ContextualKnowledgeWeaviate module not installed"
7967
- },
7968
- "500" : {
7969
- "description" : "Server error"
7970
- }
7971
- },
7972
- "summary" : "Add a document to agent's knowledge base",
7973
- "tags" : [ "knowledge" ]
7974
- }
7975
- },
7976
- "/agents/{agentId}/knowledge/file-imports" : {
7977
- "post" : {
7978
- "description" : "Processes documents like PDFs, CSVs, and text files, and adds them to the brain's knowledge base",
7979
- "operationId" : "importFileToAgentKnowledge",
7980
- "parameters" : [ {
7981
- "description" : "ID of the agent",
7982
- "in" : "path",
7983
- "name" : "agentId",
7984
- "required" : true,
7985
- "schema" : {
7986
- "format" : "uuid",
7987
- "type" : "string"
7988
- }
7989
- } ],
7990
- "requestBody" : {
7991
- "content" : {
7992
- "multipart/form-data" : {
7993
- "schema" : {
7994
- "$ref" : "#/components/schemas/importFileToAgentKnowledge_request"
7995
- }
7996
- }
7997
- },
7998
- "required" : true
7999
- },
8000
7921
  "responses" : {
8001
7922
  "200" : {
8002
7923
  "content" : {
8003
7924
  "application/json" : {
8004
7925
  "schema" : {
8005
- "$ref" : "#/components/schemas/importFileToAgentKnowledge_200_response"
8006
- }
8007
- }
8008
- },
8009
- "description" : "File imported successfully"
8010
- },
8011
- "400" : {
8012
- "description" : "Invalid file or parameters"
8013
- },
8014
- "401" : {
8015
- "description" : "Unauthorized"
8016
- },
8017
- "403" : {
8018
- "description" : "Forbidden - User cannot access this brain"
8019
- },
8020
- "404" : {
8021
- "description" : "Brain not found"
8022
- },
8023
- "500" : {
8024
- "description" : "Server error"
8025
- }
8026
- },
8027
- "summary" : "Upload and import a file into the brain's knowledge base",
8028
- "tags" : [ "knowledge" ]
8029
- }
8030
- },
8031
- "/agents/{agentId}/knowledge/files" : {
8032
- "post" : {
8033
- "description" : "Registers a file for upload to the brain's knowledge base and returns an upload URL",
8034
- "operationId" : "prepareFileUpload",
8035
- "parameters" : [ {
8036
- "description" : "ID of the agent",
8037
- "in" : "path",
8038
- "name" : "agentId",
8039
- "required" : true,
8040
- "schema" : {
8041
- "format" : "uuid",
8042
- "type" : "string"
8043
- }
8044
- } ],
8045
- "requestBody" : {
8046
- "content" : {
8047
- "application/json" : {
8048
- "schema" : {
8049
- "$ref" : "#/components/schemas/FileCreationRequest"
8050
- }
8051
- }
8052
- },
8053
- "required" : true
8054
- },
8055
- "responses" : {
8056
- "201" : {
8057
- "content" : {
8058
- "application/json" : {
8059
- "schema" : {
8060
- "$ref" : "#/components/schemas/FileCreationResponse"
7926
+ "items" : {
7927
+ "$ref" : "#/components/schemas/KnowledgeBase"
7928
+ },
7929
+ "type" : "array"
8061
7930
  }
8062
7931
  }
8063
7932
  },
8064
- "description" : "File preparation successful with upload URL"
8065
- },
8066
- "400" : {
8067
- "description" : "Invalid file description"
7933
+ "description" : "Knowledge bases retrieved successfully"
8068
7934
  },
8069
7935
  "401" : {
8070
7936
  "description" : "Unauthorized"
8071
7937
  },
8072
7938
  "403" : {
8073
- "description" : "Forbidden - User cannot access this brain"
8074
- },
8075
- "404" : {
8076
- "description" : "Brain not found"
8077
- },
8078
- "500" : {
8079
- "description" : "Server error"
7939
+ "description" : "Forbidden - User is not part of the organization"
8080
7940
  }
8081
7941
  },
8082
- "summary" : "Prepare file upload for knowledge base",
7942
+ "summary" : "List the knowledge bases of an organization",
8083
7943
  "tags" : [ "knowledge" ]
8084
- }
8085
- },
8086
- "/agents/{agentId}/knowledge/files/{fileId}/status" : {
7944
+ },
8087
7945
  "post" : {
8088
- "description" : "Updates the status of a knowledge file and triggers the indexing process if the file is uploaded",
8089
- "operationId" : "updateFileStatus",
7946
+ "description" : "Creates a knowledge base and provisions its vector store collection. `embeddingConfig` est obligatoire lorsque `vectorStoreType` vaut `qdrant`.",
7947
+ "operationId" : "createKnowledgeBase",
8090
7948
  "parameters" : [ {
8091
- "description" : "ID of the agent",
8092
7949
  "in" : "path",
8093
- "name" : "agentId",
8094
- "required" : true,
8095
- "schema" : {
8096
- "format" : "uuid",
8097
- "type" : "string"
8098
- }
8099
- }, {
8100
- "description" : "The ID of the file",
8101
- "in" : "path",
8102
- "name" : "fileId",
7950
+ "name" : "organizationId",
8103
7951
  "required" : true,
8104
7952
  "schema" : {
8105
7953
  "type" : "string"
@@ -8109,7 +7957,7 @@
8109
7957
  "content" : {
8110
7958
  "application/json" : {
8111
7959
  "schema" : {
8112
- "$ref" : "#/components/schemas/FileStatusUpdateRequest"
7960
+ "$ref" : "#/components/schemas/CreateKnowledgeBaseRequest"
8113
7961
  }
8114
7962
  }
8115
7963
  },
@@ -8120,231 +7968,43 @@
8120
7968
  "content" : {
8121
7969
  "application/json" : {
8122
7970
  "schema" : {
8123
- "$ref" : "#/components/schemas/File"
7971
+ "$ref" : "#/components/schemas/CreateKnowledgeBaseResponse"
8124
7972
  }
8125
7973
  }
8126
7974
  },
8127
- "description" : "File status updated and indexing initiated"
7975
+ "description" : "Knowledge base created successfully"
8128
7976
  },
8129
7977
  "400" : {
8130
- "description" : "Invalid status update"
7978
+ "description" : "Missing name, invalid authorizedAgents, missing embeddingConfig for Qdrant, or knowledge base name already taken"
8131
7979
  },
8132
7980
  "401" : {
8133
7981
  "description" : "Unauthorized"
8134
7982
  },
8135
7983
  "403" : {
8136
- "description" : "Forbidden - User cannot access this agent"
8137
- },
8138
- "404" : {
8139
- "description" : "File not found"
8140
- },
8141
- "500" : {
8142
- "description" : "Server error"
8143
- }
8144
- },
8145
- "summary" : "Update file status and trigger indexing",
8146
- "tags" : [ "knowledge" ]
8147
- }
8148
- },
8149
- "/agents/{agentId}/knowledge/files/{fileId}" : {
8150
- "delete" : {
8151
- "description" : "Removes a file and its associated chunks from the agent's knowledge base",
8152
- "operationId" : "deleteFileFromAgentKnowledge",
8153
- "parameters" : [ {
8154
- "description" : "ID of the agent",
8155
- "in" : "path",
8156
- "name" : "agentId",
8157
- "required" : true,
8158
- "schema" : {
8159
- "format" : "uuid",
8160
- "type" : "string"
8161
- }
8162
- }, {
8163
- "description" : "The ID of the file",
8164
- "in" : "path",
8165
- "name" : "fileId",
8166
- "required" : true,
8167
- "schema" : {
8168
- "type" : "string"
8169
- }
8170
- } ],
8171
- "responses" : {
8172
- "204" : {
8173
- "description" : "File deleted successfully"
8174
- },
8175
- "401" : {
8176
- "description" : "Unauthorized"
8177
- },
8178
- "403" : {
8179
- "description" : "Forbidden - User cannot access this agent"
8180
- },
8181
- "404" : {
8182
- "description" : "Agent or file not found"
8183
- },
8184
- "500" : {
8185
- "description" : "Server error"
8186
- }
8187
- },
8188
- "summary" : "Delete a knowledge file from an agent",
8189
- "tags" : [ "knowledge" ]
8190
- },
8191
- "get" : {
8192
- "description" : "Retrieves metadata for a file that has been imported into the agent's knowledge base",
8193
- "operationId" : "getFileFromAgentKnowledge",
8194
- "parameters" : [ {
8195
- "description" : "ID of the agent",
8196
- "in" : "path",
8197
- "name" : "agentId",
8198
- "required" : true,
8199
- "schema" : {
8200
- "format" : "uuid",
8201
- "type" : "string"
8202
- }
8203
- }, {
8204
- "description" : "The ID of the file",
8205
- "in" : "path",
8206
- "name" : "fileId",
8207
- "required" : true,
8208
- "schema" : {
8209
- "type" : "string"
8210
- }
8211
- } ],
8212
- "responses" : {
8213
- "200" : {
8214
- "content" : {
8215
- "application/json" : {
8216
- "schema" : {
8217
- "$ref" : "#/components/schemas/FileWithDownloadUrl"
8218
- }
8219
- }
8220
- },
8221
- "description" : "File details retrieved successfully"
8222
- },
8223
- "401" : {
8224
- "description" : "Unauthorized"
8225
- },
8226
- "403" : {
8227
- "description" : "Forbidden - User cannot access this agent"
8228
- },
8229
- "404" : {
8230
- "description" : "Agent or file not found"
7984
+ "description" : "Forbidden - User is not admin of the organization"
8231
7985
  },
8232
7986
  "500" : {
8233
- "description" : "Server error"
7987
+ "description" : "Failed to create the knowledge base"
8234
7988
  }
8235
7989
  },
8236
- "summary" : "Get a specific knowledge file from an agent",
7990
+ "summary" : "Create a knowledge base",
8237
7991
  "tags" : [ "knowledge" ]
8238
7992
  }
8239
7993
  },
8240
- "/organizations/{organizationId}/modules" : {
8241
- "post" : {
8242
- "description" : "Create a new module for an organization",
8243
- "operationId" : "createModuleForOrganization",
8244
- "parameters" : [ {
8245
- "description" : "ID of the organization",
8246
- "in" : "path",
8247
- "name" : "organizationId",
8248
- "required" : true,
8249
- "schema" : {
8250
- "type" : "string"
8251
- }
8252
- } ],
8253
- "requestBody" : {
8254
- "content" : {
8255
- "application/json" : {
8256
- "schema" : {
8257
- "$ref" : "#/components/schemas/AgentModule"
8258
- }
8259
- }
8260
- },
8261
- "required" : true
8262
- },
8263
- "responses" : {
8264
- "201" : {
8265
- "content" : {
8266
- "application/json" : {
8267
- "schema" : {
8268
- "$ref" : "#/components/schemas/AgentModule"
8269
- }
8270
- }
8271
- },
8272
- "description" : "Module created successfully"
8273
- }
8274
- },
8275
- "summary" : "Create a new module for an organization",
8276
- "tags" : [ "knowledge" ]
8277
- }
8278
- },
8279
- "/organizations/{organizationId}/agents/{agentId}/available-knowledge-bases" : {
7994
+ "/knowledge-bases/configurations" : {
8280
7995
  "get" : {
8281
- "description" : "Returns all knowledge bases belonging to the organization that can be assigned to the specified agent…\n",
8282
- "operationId" : "getAvailableKnowledgeBases",
7996
+ "description" : "Returns the vector store module configuration of one or several knowledge bases. Toutes les knowledge bases demandées doivent appartenir à la même organisation.\n\nLa forme de la réponse dépend du paramètre : un seul id renvoie la configuration à plat, plusieurs ids (répétés ou séparés par des virgules) renvoient une map `{ [knowledgeBaseId]: configuration }`.",
7997
+ "operationId" : "getKnowledgeBasesConfigurations",
8283
7998
  "parameters" : [ {
8284
- "in" : "path",
8285
- "name" : "organizationId",
8286
- "required" : true,
8287
- "schema" : {
8288
- "type" : "string"
8289
- }
8290
- }, {
8291
- "in" : "path",
8292
- "name" : "agentId",
8293
- "required" : true,
8294
- "schema" : {
8295
- "type" : "string"
8296
- }
8297
- }, {
8298
- "description" : "Optional prefix used to filter knowledge bases by name (autocomplete). Case-insensitive.\n",
7999
+ "description" : "IDs des knowledge bases dont on veut la configuration",
8299
8000
  "in" : "query",
8300
- "name" : "searchName",
8301
- "required" : false,
8302
- "schema" : {
8303
- "type" : "string"
8304
- }
8305
- } ],
8306
- "responses" : {
8307
- "200" : {
8308
- "content" : {
8309
- "application/json" : {
8310
- "schema" : {
8311
- "items" : {
8312
- "$ref" : "#/components/schemas/KnowledgeBase"
8313
- },
8314
- "type" : "array"
8315
- }
8316
- }
8317
- },
8318
- "description" : "Successful retrieval of available knowledge bases"
8319
- },
8320
- "401" : {
8321
- "description" : "Unauthorized"
8322
- },
8323
- "403" : {
8324
- "description" : "Forbidden – user does not belong to the organization"
8325
- },
8326
- "404" : {
8327
- "description" : "Organization or agent not found"
8328
- },
8329
- "500" : {
8330
- "description" : "Server error"
8331
- }
8332
- },
8333
- "summary" : "List available knowledge bases for an agent",
8334
- "tags" : [ "knowledge" ]
8335
- }
8336
- },
8337
- "/organizations/{organizationId}/knowledge/resets" : {
8338
- "post" : {
8339
- "description" : "Reset knowledge base",
8340
- "operationId" : "resetKnowledgeBase",
8341
- "parameters" : [ {
8342
- "description" : "ID of the organization",
8343
- "in" : "path",
8344
- "name" : "organizationId",
8001
+ "name" : "knowledgeBaseIds",
8345
8002
  "required" : true,
8346
8003
  "schema" : {
8347
- "type" : "string"
8004
+ "items" : {
8005
+ "type" : "string"
8006
+ },
8007
+ "type" : "array"
8348
8008
  }
8349
8009
  } ],
8350
8010
  "responses" : {
@@ -8352,14 +8012,27 @@
8352
8012
  "content" : {
8353
8013
  "application/json" : {
8354
8014
  "schema" : {
8355
- "$ref" : "#/components/schemas/BodyWithMessage"
8015
+ "additionalProperties" : true,
8016
+ "type" : "object"
8356
8017
  }
8357
8018
  }
8358
8019
  },
8359
- "description" : "Knowledge base reset successfully"
8020
+ "description" : "Configurations retrieved successfully"
8021
+ },
8022
+ "400" : {
8023
+ "description" : "All knowledge bases must belong to the same organization"
8024
+ },
8025
+ "401" : {
8026
+ "description" : "Unauthorized"
8027
+ },
8028
+ "403" : {
8029
+ "description" : "Forbidden - User is not part of the organization"
8030
+ },
8031
+ "404" : {
8032
+ "description" : "Knowledge bases not found, or one of them has no vector store configuration"
8360
8033
  }
8361
8034
  },
8362
- "summary" : "Reset knowledge base",
8035
+ "summary" : "Get the vector store configurations of several knowledge bases",
8363
8036
  "tags" : [ "knowledge" ]
8364
8037
  }
8365
8038
  },
@@ -8507,7 +8180,7 @@
8507
8180
  "content" : {
8508
8181
  "application/json" : {
8509
8182
  "schema" : {
8510
- "$ref" : "#/components/schemas/FileCreationRequest"
8183
+ "$ref" : "#/components/schemas/KnowledgeFileCreationRequest"
8511
8184
  }
8512
8185
  }
8513
8186
  },
@@ -8713,7 +8386,14 @@
8713
8386
  }
8714
8387
  } ],
8715
8388
  "responses" : {
8716
- "204" : {
8389
+ "200" : {
8390
+ "content" : {
8391
+ "application/json" : {
8392
+ "schema" : {
8393
+ "$ref" : "#/components/schemas/BodyWithMessage"
8394
+ }
8395
+ }
8396
+ },
8717
8397
  "description" : "Chunk deleted successfully"
8718
8398
  },
8719
8399
  "401" : {
@@ -8731,48 +8411,6 @@
8731
8411
  }
8732
8412
  },
8733
8413
  "/knowledge-bases/{knowledgebaseId}/images" : {
8734
- "delete" : {
8735
- "description" : "Delete a specific knowledge image from a library image in knowledge base",
8736
- "operationId" : "deleteImageFromKnowledgeBaseLibrary",
8737
- "parameters" : [ {
8738
- "description" : "ID of the knowledge base to retrieve",
8739
- "in" : "path",
8740
- "name" : "knowledgebaseId",
8741
- "required" : true,
8742
- "schema" : {
8743
- "format" : "uuid",
8744
- "type" : "string"
8745
- }
8746
- }, {
8747
- "description" : "ID of the image to delete",
8748
- "in" : "path",
8749
- "name" : "imageId",
8750
- "required" : true,
8751
- "schema" : {
8752
- "format" : "uuid",
8753
- "type" : "string"
8754
- }
8755
- } ],
8756
- "responses" : {
8757
- "204" : {
8758
- "description" : "Image deleted successfully"
8759
- },
8760
- "401" : {
8761
- "description" : "Unauthorized"
8762
- },
8763
- "403" : {
8764
- "description" : "Forbidden - User doesn't have access to this knowledge base"
8765
- },
8766
- "404" : {
8767
- "description" : "Knowledge base or image not found"
8768
- },
8769
- "500" : {
8770
- "description" : "Server error"
8771
- }
8772
- },
8773
- "summary" : "Delete a specific knowledge image from a library image in knowledge base",
8774
- "tags" : [ "knowledge" ]
8775
- },
8776
8414
  "get" : {
8777
8415
  "description" : "Get all images from a library image in knowledge base",
8778
8416
  "operationId" : "getImagesFromKnowledgeBaseLibrary",
@@ -8867,6 +8505,57 @@
8867
8505
  "tags" : [ "knowledge" ]
8868
8506
  }
8869
8507
  },
8508
+ "/knowledge-bases/{knowledgebaseId}/images/{imageId}" : {
8509
+ "delete" : {
8510
+ "description" : "Delete a specific knowledge image by ID from a knowledge base",
8511
+ "operationId" : "deleteImageFromKnowledgeBaseLibrary",
8512
+ "parameters" : [ {
8513
+ "description" : "ID of the knowledge base to retrieve",
8514
+ "in" : "path",
8515
+ "name" : "knowledgebaseId",
8516
+ "required" : true,
8517
+ "schema" : {
8518
+ "format" : "uuid",
8519
+ "type" : "string"
8520
+ }
8521
+ }, {
8522
+ "description" : "ID of the image to delete",
8523
+ "in" : "path",
8524
+ "name" : "imageId",
8525
+ "required" : true,
8526
+ "schema" : {
8527
+ "format" : "uuid",
8528
+ "type" : "string"
8529
+ }
8530
+ } ],
8531
+ "responses" : {
8532
+ "200" : {
8533
+ "content" : {
8534
+ "application/json" : {
8535
+ "schema" : {
8536
+ "$ref" : "#/components/schemas/BodyWithMessage"
8537
+ }
8538
+ }
8539
+ },
8540
+ "description" : "Image deleted successfully"
8541
+ },
8542
+ "401" : {
8543
+ "description" : "Unauthorized"
8544
+ },
8545
+ "403" : {
8546
+ "description" : "Forbidden - User doesn't have access to this knowledge base"
8547
+ },
8548
+ "404" : {
8549
+ "description" : "Knowledge base or image not found"
8550
+ },
8551
+ "500" : {
8552
+ "description" : "Server error"
8553
+ }
8554
+ },
8555
+ "summary" : "Delete a specific knowledge image from a knowledge base",
8556
+ "tags" : [ "knowledge" ]
8557
+ }
8558
+ },
8870
8559
  "/knowledge-bases/{knowledgebaseId}/images/{imageId}/status" : {
8871
8560
  "post" : {
8872
8561
  "description" : "Update the status of a specific knowledge image in a library image in knowledge base",
@@ -8894,7 +8583,7 @@
8894
8583
  "content" : {
8895
8584
  "application/json" : {
8896
8585
  "schema" : {
8897
- "$ref" : "#/components/schemas/FileStatusUpdateRequest"
8586
+ "$ref" : "#/components/schemas/UploadedStatusUpdateRequest"
8898
8587
  }
8899
8588
  }
8900
8589
  },
@@ -8905,11 +8594,14 @@
8905
8594
  "content" : {
8906
8595
  "application/json" : {
8907
8596
  "schema" : {
8908
- "$ref" : "#/components/schemas/FileStatus"
8597
+ "$ref" : "#/components/schemas/ImageKnowledge"
8909
8598
  }
8910
8599
  }
8911
8600
  },
8912
- "description" : "Image status updated successfully"
8601
+ "description" : "Image status updated successfully — returns the updated image"
8602
+ },
8603
+ "400" : {
8604
+ "description" : "Invalid image status update"
8913
8605
  },
8914
8606
  "401" : {
8915
8607
  "description" : "Unauthorized"
@@ -9025,23 +8717,22 @@
9025
8717
  "content" : {
9026
8718
  "application/json" : {
9027
8719
  "schema" : {
9028
- "$ref" : "#/components/schemas/KnowledgeBaseConfiguration"
8720
+ "$ref" : "#/components/schemas/KnowledgeBaseConfigurationUpdateRequest"
9029
8721
  }
9030
8722
  }
9031
8723
  },
9032
8724
  "required" : true
9033
8725
  },
9034
8726
  "responses" : {
9035
- "200" : {
8727
+ "201" : {
9036
8728
  "content" : {
9037
8729
  "application/json" : {
9038
8730
  "schema" : {
9039
- "additionalProperties" : true,
9040
- "type" : "object"
8731
+ "$ref" : "#/components/schemas/AgentModule"
9041
8732
  }
9042
8733
  }
9043
8734
  },
9044
- "description" : "Configuration updated successfully"
8735
+ "description" : "Configuration updated successfully. La réponse est le module de vector store résultant (`{ type, name, configuration }`)."
9045
8736
  },
9046
8737
  "400" : {
9047
8738
  "description" : "Invalid configuration payload"
@@ -9082,7 +8773,7 @@
9082
8773
  "application/json" : {
9083
8774
  "schema" : {
9084
8775
  "items" : {
9085
- "$ref" : "#/components/schemas/File"
8776
+ "$ref" : "#/components/schemas/KnowledgeFile"
9086
8777
  },
9087
8778
  "type" : "array"
9088
8779
  }
@@ -9108,6 +8799,42 @@
9108
8799
  }
9109
8800
  },
9110
8801
  "/knowledge-files/{fileId}" : {
8802
+ "delete" : {
8803
+ "description" : "Deletes a knowledge file, its stored object, its vectors and — pour une connaissance de type site — ses pages de site associées.",
8804
+ "operationId" : "deleteKnowledgeFile",
8805
+ "parameters" : [ {
8806
+ "description" : "The ID of the file",
8807
+ "in" : "path",
8808
+ "name" : "fileId",
8809
+ "required" : true,
8810
+ "schema" : {
8811
+ "type" : "string"
8812
+ }
8813
+ } ],
8814
+ "responses" : {
8815
+ "200" : {
8816
+ "content" : {
8817
+ "application/json" : {
8818
+ "schema" : {
8819
+ "$ref" : "#/components/schemas/BodyWithMessage"
8820
+ }
8821
+ }
8822
+ },
8823
+ "description" : "File deleted successfully"
8824
+ },
8825
+ "401" : {
8826
+ "description" : "Unauthorized"
8827
+ },
8828
+ "403" : {
8829
+ "description" : "Forbidden - User is not admin of the organization"
8830
+ },
8831
+ "404" : {
8832
+ "description" : "File or knowledge base not found"
8833
+ }
8834
+ },
8835
+ "summary" : "Delete a knowledge file",
8836
+ "tags" : [ "knowledge" ]
8837
+ },
9111
8838
  "get" : {
9112
8839
  "description" : "Retrieves metadata for a specific knowledge file by file ID",
9113
8840
  "operationId" : "getKnowledgeFile",
@@ -9194,7 +8921,7 @@
9194
8921
  "tags" : [ "knowledge" ]
9195
8922
  }
9196
8923
  },
9197
- "/knowledge-files/{fileId}/kowledge-site-pages" : {
8924
+ "/knowledge-files/{fileId}/knowledge-site-pages" : {
9198
8925
  "get" : {
9199
8926
  "description" : "Get the scraped site pages attached to a knowledge file of type website",
9200
8927
  "operationId" : "getKnowledgeSitePagesForFile",
@@ -9252,7 +8979,7 @@
9252
8979
  "content" : {
9253
8980
  "application/json" : {
9254
8981
  "schema" : {
9255
- "$ref" : "#/components/schemas/FileStatusUpdateRequest"
8982
+ "$ref" : "#/components/schemas/UploadedStatusUpdateRequest"
9256
8983
  }
9257
8984
  }
9258
8985
  },
@@ -9263,7 +8990,7 @@
9263
8990
  "content" : {
9264
8991
  "application/json" : {
9265
8992
  "schema" : {
9266
- "$ref" : "#/components/schemas/File"
8993
+ "$ref" : "#/components/schemas/KnowledgeFile"
9267
8994
  }
9268
8995
  }
9269
8996
  },
@@ -9286,15 +9013,143 @@
9286
9013
  "tags" : [ "knowledge" ]
9287
9014
  }
9288
9015
  },
9289
- "/knowledge-files/by-ids" : {
9016
+ "/knowledge-files/by-ids" : {
9017
+ "post" : {
9018
+ "description" : "Returns knowledge file summaries (id and name) for the given file IDs.",
9019
+ "operationId" : "getKnowledgeFilesByIds",
9020
+ "requestBody" : {
9021
+ "content" : {
9022
+ "application/json" : {
9023
+ "schema" : {
9024
+ "$ref" : "#/components/schemas/KnowledgeFilesByIdsRequest"
9025
+ }
9026
+ }
9027
+ },
9028
+ "required" : true
9029
+ },
9030
+ "responses" : {
9031
+ "200" : {
9032
+ "content" : {
9033
+ "application/json" : {
9034
+ "schema" : {
9035
+ "items" : {
9036
+ "$ref" : "#/components/schemas/KnowledgeFileSummary"
9037
+ },
9038
+ "type" : "array"
9039
+ }
9040
+ }
9041
+ },
9042
+ "description" : "List of knowledge file summaries"
9043
+ },
9044
+ "400" : {
9045
+ "description" : "Invalid request - ids array is required"
9046
+ },
9047
+ "401" : {
9048
+ "description" : "Unauthorized"
9049
+ }
9050
+ },
9051
+ "summary" : "Get knowledge files by IDs",
9052
+ "tags" : [ "knowledge" ]
9053
+ }
9054
+ },
9055
+ "/knowledge-files/{fileId}/parsing-callback" : {
9056
+ "post" : {
9057
+ "description" : "Internal callback endpoint called when file parsing is complete",
9058
+ "operationId" : "knowledgeFileParsingCallback",
9059
+ "parameters" : [ {
9060
+ "description" : "The ID of the file",
9061
+ "in" : "path",
9062
+ "name" : "fileId",
9063
+ "required" : true,
9064
+ "schema" : {
9065
+ "type" : "string"
9066
+ }
9067
+ } ],
9068
+ "requestBody" : {
9069
+ "content" : {
9070
+ "application/json" : {
9071
+ "schema" : {
9072
+ "$ref" : "#/components/schemas/knowledgeFileParsingCallback_request"
9073
+ }
9074
+ }
9075
+ },
9076
+ "required" : true
9077
+ },
9078
+ "responses" : {
9079
+ "200" : {
9080
+ "content" : {
9081
+ "application/json" : {
9082
+ "schema" : {
9083
+ "$ref" : "#/components/schemas/KnowledgeFile"
9084
+ }
9085
+ }
9086
+ },
9087
+ "description" : "Callback processed successfully — returns the updated knowledge file"
9088
+ },
9089
+ "401" : {
9090
+ "description" : "Unauthorized"
9091
+ },
9092
+ "404" : {
9093
+ "description" : "File not found"
9094
+ }
9095
+ },
9096
+ "summary" : "Knowledge file parsing callback",
9097
+ "tags" : [ "knowledge" ]
9098
+ }
9099
+ },
9100
+ "/knowledge-site-pages/{knowledgeSitePageId}" : {
9101
+ "delete" : {
9102
+ "description" : "Deletes a specific knowledge site page. Lorsque la page supprimée était la dernière de la connaissance, celle-ci est supprimée avec elle et la réponse porte `lastPage: true`.",
9103
+ "operationId" : "deleteKnowledgeSitePage",
9104
+ "parameters" : [ {
9105
+ "description" : "ID of the knowledge site page",
9106
+ "in" : "path",
9107
+ "name" : "knowledgeSitePageId",
9108
+ "required" : true,
9109
+ "schema" : {
9110
+ "type" : "string"
9111
+ }
9112
+ } ],
9113
+ "responses" : {
9114
+ "200" : {
9115
+ "content" : {
9116
+ "application/json" : {
9117
+ "schema" : {
9118
+ "$ref" : "#/components/schemas/deleteKnowledgeSitePage_200_response"
9119
+ }
9120
+ }
9121
+ },
9122
+ "description" : "Site page deleted successfully"
9123
+ },
9124
+ "401" : {
9125
+ "description" : "Unauthorized"
9126
+ },
9127
+ "404" : {
9128
+ "description" : "Site page not found"
9129
+ }
9130
+ },
9131
+ "summary" : "Delete a knowledge site page",
9132
+ "tags" : [ "knowledge" ]
9133
+ }
9134
+ },
9135
+ "/knowledge-site-pages/{knowledgeSitePageId}/status" : {
9290
9136
  "post" : {
9291
- "description" : "Returns knowledge file summaries (id and name) for the given file IDs.",
9292
- "operationId" : "getKnowledgeFilesByIds",
9137
+ "description" : "Updates the processing status of a knowledge site page",
9138
+ "operationId" : "updateKnowledgeSitePageStatus",
9139
+ "parameters" : [ {
9140
+ "description" : "ID of the knowledge site page",
9141
+ "in" : "path",
9142
+ "name" : "knowledgeSitePageId",
9143
+ "required" : true,
9144
+ "schema" : {
9145
+ "type" : "string"
9146
+ }
9147
+ } ],
9293
9148
  "requestBody" : {
9294
9149
  "content" : {
9295
9150
  "application/json" : {
9296
9151
  "schema" : {
9297
- "$ref" : "#/components/schemas/KnowledgeFilesByIdsRequest"
9152
+ "$ref" : "#/components/schemas/UploadedStatusUpdateRequest"
9298
9153
  }
9299
9154
  }
9300
9155
  },
@@ -9305,70 +9160,58 @@
9305
9160
  "content" : {
9306
9161
  "application/json" : {
9307
9162
  "schema" : {
9308
- "items" : {
9309
- "$ref" : "#/components/schemas/KnowledgeFileSummary"
9310
- },
9311
- "type" : "array"
9163
+ "$ref" : "#/components/schemas/KnowledgeSitePage"
9312
9164
  }
9313
9165
  }
9314
9166
  },
9315
- "description" : "List of knowledge file summaries"
9316
- },
9317
- "400" : {
9318
- "description" : "Invalid request - ids array is required"
9167
+ "description" : "Status updated successfully — returns the updated site page"
9319
9168
  },
9320
9169
  "401" : {
9321
9170
  "description" : "Unauthorized"
9171
+ },
9172
+ "404" : {
9173
+ "description" : "Site page not found"
9322
9174
  }
9323
9175
  },
9324
- "summary" : "Get knowledge files by IDs",
9176
+ "summary" : "Update knowledge site page status",
9325
9177
  "tags" : [ "knowledge" ]
9326
9178
  }
9327
9179
  },
9328
- "/knowledge-files/{fileId}/page-preview" : {
9180
+ "/knowledge/{knowledgeId}/knowledge-site-pages" : {
9329
9181
  "get" : {
9330
- "description" : "Returns a presigned URL to preview a specific page image (ColPali knowledge bases only).",
9331
- "operationId" : "getKnowledgeFilePagePreview",
9182
+ "description" : "Retrieves all site pages associated with a knowledge base",
9183
+ "operationId" : "getKnowledgeSitePages",
9332
9184
  "parameters" : [ {
9333
- "description" : "The ID of the file",
9185
+ "description" : "ID of the knowledge base",
9334
9186
  "in" : "path",
9335
- "name" : "fileId",
9187
+ "name" : "knowledgeId",
9336
9188
  "required" : true,
9337
9189
  "schema" : {
9338
9190
  "type" : "string"
9339
9191
  }
9340
- }, {
9341
- "description" : "Zero-based page index.",
9342
- "in" : "query",
9343
- "name" : "pageIndex",
9344
- "required" : true,
9345
- "schema" : {
9346
- "minimum" : 0,
9347
- "type" : "integer"
9348
- }
9349
9192
  } ],
9350
9193
  "responses" : {
9351
9194
  "200" : {
9352
9195
  "content" : {
9353
9196
  "application/json" : {
9354
9197
  "schema" : {
9355
- "$ref" : "#/components/schemas/KnowledgeFilePagePreview"
9198
+ "items" : {
9199
+ "$ref" : "#/components/schemas/KnowledgeSitePage"
9200
+ },
9201
+ "type" : "array"
9356
9202
  }
9357
9203
  }
9358
9204
  },
9359
- "description" : "Presigned preview URL"
9360
- },
9361
- "400" : {
9362
- "description" : "Invalid page index or unsupported knowledge base type"
9205
+ "description" : "Site pages retrieved successfully"
9363
9206
  },
9364
9207
  "401" : {
9365
9208
  "description" : "Unauthorized"
9366
9209
  },
9367
9210
  "404" : {
9368
- "description" : "File not found"
9211
+ "description" : "Knowledge base not found"
9369
9212
  }
9370
9213
  },
9371
- "summary" : "Get a presigned preview URL for a knowledge file page",
9214
+ "summary" : "Get site pages for a knowledge base",
9372
9215
  "tags" : [ "knowledge" ]
9373
9216
  }
9374
9217
  },
@@ -10677,6 +10520,45 @@
10677
10520
  "tags" : [ "skills" ]
10678
10521
  }
10679
10522
  },
10523
+ "/skills/{skillId}/agents" : {
10524
+ "get" : {
10525
+ "description" : "Returns all agents that have this skill installed. La réponse est une projection minimale : les deux adaptateurs ne sélectionnent que `id` et `name` (skills-pg.adapter.ts, skills-mongodb.adapter.ts).",
10526
+ "operationId" : "getSkillAgents",
10527
+ "parameters" : [ {
10528
+ "description" : "Skill identifier",
10529
+ "in" : "path",
10530
+ "name" : "skillId",
10531
+ "required" : true,
10532
+ "schema" : {
10533
+ "format" : "uuid",
10534
+ "type" : "string"
10535
+ }
10536
+ } ],
10537
+ "responses" : {
10538
+ "200" : {
10539
+ "content" : {
10540
+ "application/json" : {
10541
+ "schema" : {
10542
+ "items" : {
10543
+ "$ref" : "#/components/schemas/AgentRef"
10544
+ },
10545
+ "type" : "array"
10546
+ }
10547
+ }
10548
+ },
10549
+ "description" : "Agents retrieved successfully"
10550
+ },
10551
+ "401" : {
10552
+ "description" : "Unauthorized"
10553
+ },
10554
+ "404" : {
10555
+ "description" : "Skill not found"
10556
+ }
10557
+ },
10558
+ "summary" : "Get agents using a skill",
10559
+ "tags" : [ "skills" ]
10560
+ }
10561
+ },
10680
10562
  "/agents/{agentId}/skills" : {
10681
10563
  "get" : {
10682
10564
  "operationId" : "getAgentSkills",
@@ -11085,7 +10967,7 @@
11085
10967
  "required" : true
11086
10968
  },
11087
10969
  "responses" : {
11088
- "201" : {
10970
+ "200" : {
11089
10971
  "content" : {
11090
10972
  "application/json" : {
11091
10973
  "schema" : {
@@ -11166,6 +11048,16 @@
11166
11048
  },
11167
11049
  "description" : "Prompt created successfully"
11168
11050
  },
11051
+ "202" : {
11052
+ "content" : {
11053
+ "application/json" : {
11054
+ "schema" : {
11055
+ "$ref" : "#/components/schemas/PromptCreateResponse"
11056
+ }
11057
+ }
11058
+ },
11059
+ "description" : "Prompt accepted (async mode). Même enveloppe que la réponse synchrone, avec `text` vide et sans suggestions ni tools puisque rien n'est encore calculé."
11060
+ },
11169
11061
  "400" : {
11170
11062
  "description" : "Invalid request"
11171
11063
  },
@@ -12246,14 +12138,6 @@
12246
12138
  "type" : "string"
12247
12139
  }
12248
12140
  },
12249
- "noSplit" : {
12250
- "description" : "Whether to disable automatic document splitting",
12251
- "in" : "query",
12252
- "name" : "noSplit",
12253
- "schema" : {
12254
- "type" : "boolean"
12255
- }
12256
- },
12257
12141
  "knowledgebaseIdPath" : {
12258
12142
  "description" : "ID of the knowledge base to retrieve",
12259
12143
  "in" : "path",
@@ -12292,6 +12176,24 @@
12292
12176
  "type" : "string"
12293
12177
  }
12294
12178
  },
12179
+ "knowledgeSitePageIdPath" : {
12180
+ "description" : "ID of the knowledge site page",
12181
+ "in" : "path",
12182
+ "name" : "knowledgeSitePageId",
12183
+ "required" : true,
12184
+ "schema" : {
12185
+ "type" : "string"
12186
+ }
12187
+ },
12188
+ "knowledgeIdPath" : {
12189
+ "description" : "ID of the knowledge base",
12190
+ "in" : "path",
12191
+ "name" : "knowledgeId",
12192
+ "required" : true,
12193
+ "schema" : {
12194
+ "type" : "string"
12195
+ }
12196
+ },
12295
12197
  "toolIdPath" : {
12296
12198
  "description" : "Tool identifier",
12297
12199
  "in" : "path",
@@ -12402,10 +12304,15 @@
12402
12304
  "updatedAt" : {
12403
12305
  "type" : "string"
12404
12306
  },
12307
+ "status" : {
12308
+ "$ref" : "#/components/schemas/FileStatus"
12309
+ },
12405
12310
  "url" : {
12311
+ "description" : "URL publique de l'image. Toujours renseignée par le backend : soit stockée (MongoDB), soit dérivée de `key` à la lecture (PostgreSQL).",
12406
12312
  "type" : "string"
12407
12313
  }
12408
12314
  },
12315
+ "required" : [ "createdAt", "id", "key", "knowledgeBaseId", "name", "status", "url" ],
12409
12316
  "type" : "object"
12410
12317
  },
12411
12318
  "KnowledgeBase" : {
@@ -12416,6 +12323,11 @@
12416
12323
  "name" : {
12417
12324
  "type" : "string"
12418
12325
  },
12326
+ "indexName" : {
12327
+ "description" : "Nom de la collection/classe du vector store. Legacy : la source de vérité est `modules.<type>.configuration.indexName`.",
12328
+ "nullable" : true,
12329
+ "type" : "string"
12330
+ },
12419
12331
  "createdAt" : {
12420
12332
  "type" : "string"
12421
12333
  },
@@ -12431,43 +12343,9 @@
12431
12343
  },
12432
12344
  "type" : "array"
12433
12345
  },
12434
- "isTemplate" : {
12435
- "description" : "DEPRECATED",
12436
- "type" : "boolean"
12437
- },
12438
- "privacy" : {
12439
- "$ref" : "#/components/schemas/KnowledgeBasePrivacy"
12440
- },
12441
- "role" : {
12442
- "type" : "string"
12443
- },
12444
- "description" : {
12445
- "type" : "string"
12446
- },
12447
- "picture" : {
12448
- "type" : "string"
12449
- },
12450
- "template" : {
12451
- "type" : "string"
12452
- },
12453
- "agentType" : {
12454
- "type" : "string"
12455
- },
12456
12346
  "modules" : {
12457
12347
  "additionalProperties" : true,
12458
12348
  "type" : "object"
12459
- },
12460
- "files" : {
12461
- "items" : {
12462
- "$ref" : "#/components/schemas/KnowledgeBase_files_inner"
12463
- },
12464
- "type" : "array"
12465
- },
12466
- "status" : {
12467
- "type" : "string"
12468
- },
12469
- "indexed" : {
12470
- "type" : "boolean"
12471
12349
  }
12472
12350
  },
12473
12351
  "required" : [ "authorizedAgents", "createdAt", "id", "name" ],
@@ -12580,12 +12458,6 @@
12580
12458
  "additionalProperties" : true,
12581
12459
  "type" : "object"
12582
12460
  },
12583
- "tools" : {
12584
- "items" : {
12585
- "$ref" : "#/components/schemas/AgentTool"
12586
- },
12587
- "type" : "array"
12588
- },
12589
12461
  "knowledgeBaseIds" : {
12590
12462
  "items" : {
12591
12463
  "type" : "string"
@@ -12629,15 +12501,6 @@
12629
12501
  "description" : {
12630
12502
  "type" : "string"
12631
12503
  },
12632
- "template" : {
12633
- "type" : "string"
12634
- },
12635
- "color" : {
12636
- "type" : "string"
12637
- },
12638
- "picture" : {
12639
- "type" : "string"
12640
- },
12641
12504
  "createdAt" : {
12642
12505
  "type" : "string"
12643
12506
  },
@@ -12647,20 +12510,9 @@
12647
12510
  "isActivated" : {
12648
12511
  "type" : "boolean"
12649
12512
  },
12650
- "isTemplate" : {
12651
- "type" : "boolean"
12652
- },
12653
- "deleted" : {
12654
- "type" : "boolean"
12655
- },
12656
12513
  "agentType" : {
12657
12514
  "$ref" : "#/components/schemas/AgentType"
12658
12515
  },
12659
- "favoriteOutfit" : {
12660
- "additionalProperties" : true,
12661
- "maxProperties" : 100,
12662
- "type" : "object"
12663
- },
12664
12516
  "personal" : {
12665
12517
  "type" : "boolean"
12666
12518
  },
@@ -12700,53 +12552,16 @@
12700
12552
  "providerSource" : {
12701
12553
  "enum" : [ "EXTERNAL", "INTERNAL" ],
12702
12554
  "type" : "string"
12703
- }
12704
- },
12705
- "required" : [ "id", "modules", "name", "organisationId", "persona", "promptInit" ],
12706
- "type" : "object"
12707
- },
12708
- "AgentTool" : {
12709
- "properties" : {
12710
- "id" : {
12711
- "type" : "string"
12712
- },
12713
- "name" : {
12714
- "type" : "string"
12715
- },
12716
- "type" : {
12717
- "type" : "string"
12718
- },
12719
- "orgId" : {
12720
- "type" : "string"
12721
- },
12722
- "description" : {
12723
- "type" : "string"
12724
- },
12725
- "scope" : {
12726
- "description" : "Credentials scope. Defaults to organization for legacy tools.",
12727
- "enum" : [ "organization", "user" ],
12728
- "type" : "string"
12729
- },
12730
- "configuration" : {
12731
- "additionalProperties" : true,
12732
- "type" : "object"
12733
12555
  },
12734
- "manifest" : {
12735
- "additionalProperties" : true,
12736
- "type" : "object"
12737
- },
12738
- "mcp" : {
12739
- "additionalProperties" : true,
12740
- "type" : "object"
12741
- },
12742
- "restricted" : {
12743
- "type" : "boolean"
12744
- },
12745
- "isSetup" : {
12746
- "type" : "boolean"
12556
+ "tools" : {
12557
+ "description" : "Réhydraté en objets par GET /agents/{agentId}, le seul endpoint qui joint la table des tools de l'organisation. Les autres endpoints qui renvoient un agent (liste, création, mise à jour) omettent la propriété : en base elle ne contient que des identifiants.",
12558
+ "items" : {
12559
+ "$ref" : "#/components/schemas/AgentTool"
12560
+ },
12561
+ "type" : "array"
12747
12562
  }
12748
12563
  },
12749
- "required" : [ "description", "id", "name", "orgId", "type" ],
12564
+ "required" : [ "id", "modules", "name", "organisationId", "persona", "promptInit" ],
12750
12565
  "type" : "object"
12751
12566
  },
12752
12567
  "Persona" : {
@@ -12866,7 +12681,51 @@
12866
12681
  "$ref" : "#/components/schemas/ContextualKnowledgeConversation_embedding"
12867
12682
  }
12868
12683
  },
12869
- "required" : [ "backend", "enabled", "ttlDays" ],
12684
+ "required" : [ "backend", "enabled", "ttlDays" ],
12685
+ "type" : "object"
12686
+ },
12687
+ "AgentTool" : {
12688
+ "properties" : {
12689
+ "id" : {
12690
+ "type" : "string"
12691
+ },
12692
+ "name" : {
12693
+ "type" : "string"
12694
+ },
12695
+ "type" : {
12696
+ "type" : "string"
12697
+ },
12698
+ "orgId" : {
12699
+ "type" : "string"
12700
+ },
12701
+ "description" : {
12702
+ "type" : "string"
12703
+ },
12704
+ "scope" : {
12705
+ "description" : "Credentials scope. Defaults to organization for legacy tools.",
12706
+ "enum" : [ "organization", "user" ],
12707
+ "type" : "string"
12708
+ },
12709
+ "configuration" : {
12710
+ "additionalProperties" : true,
12711
+ "type" : "object"
12712
+ },
12713
+ "manifest" : {
12714
+ "additionalProperties" : true,
12715
+ "type" : "object"
12716
+ },
12717
+ "mcp" : {
12718
+ "additionalProperties" : true,
12719
+ "type" : "object"
12720
+ },
12721
+ "restricted" : {
12722
+ "type" : "boolean"
12723
+ },
12724
+ "isSetup" : {
12725
+ "type" : "boolean"
12726
+ }
12727
+ },
12728
+ "required" : [ "description", "id", "name", "orgId", "type" ],
12870
12729
  "type" : "object"
12871
12730
  },
12872
12731
  "AgentRequest" : {
@@ -12877,15 +12736,9 @@
12877
12736
  "persona" : {
12878
12737
  "$ref" : "#/components/schemas/Persona"
12879
12738
  },
12880
- "engine" : {
12881
- "$ref" : "#/components/schemas/Engine"
12882
- },
12883
12739
  "promptInit" : {
12884
12740
  "$ref" : "#/components/schemas/PromptInit"
12885
12741
  },
12886
- "profilePicture" : {
12887
- "$ref" : "#/components/schemas/AgentRequest_profilePicture"
12888
- },
12889
12742
  "organisationId" : {
12890
12743
  "type" : "string"
12891
12744
  },
@@ -12898,32 +12751,8 @@
12898
12751
  "description" : {
12899
12752
  "type" : "string"
12900
12753
  },
12901
- "template" : {
12902
- "type" : "string"
12903
- },
12904
- "color" : {
12905
- "type" : "string"
12906
- },
12907
- "picture" : {
12908
- "type" : "string"
12909
- },
12910
- "createdAt" : {
12911
- "type" : "string"
12912
- },
12913
- "isActivated" : {
12914
- "type" : "boolean"
12915
- },
12916
- "modules" : {
12917
- "additionalProperties" : {
12918
- "$ref" : "#/components/schemas/AgentModule"
12919
- },
12920
- "type" : "object"
12921
- },
12922
12754
  "personal" : {
12923
12755
  "type" : "boolean"
12924
- },
12925
- "createdBy" : {
12926
- "type" : "string"
12927
12756
  }
12928
12757
  },
12929
12758
  "required" : [ "name", "organisationId", "persona", "promptInit" ],
@@ -12980,15 +12809,6 @@
12980
12809
  "description" : {
12981
12810
  "type" : "string"
12982
12811
  },
12983
- "template" : {
12984
- "type" : "string"
12985
- },
12986
- "color" : {
12987
- "type" : "string"
12988
- },
12989
- "picture" : {
12990
- "type" : "string"
12991
- },
12992
12812
  "createdAt" : {
12993
12813
  "type" : "string"
12994
12814
  },
@@ -13001,12 +12821,6 @@
13001
12821
  },
13002
12822
  "type" : "array"
13003
12823
  },
13004
- "isTemplate" : {
13005
- "type" : "boolean"
13006
- },
13007
- "deleted" : {
13008
- "type" : "boolean"
13009
- },
13010
12824
  "agentType" : {
13011
12825
  "$ref" : "#/components/schemas/AgentType"
13012
12826
  },
@@ -13793,7 +13607,7 @@
13793
13607
  "type" : "string"
13794
13608
  },
13795
13609
  "knowledgeType" : {
13796
- "enum" : [ "file", "website" ],
13610
+ "enum" : [ "file", "website", "image" ],
13797
13611
  "type" : "string"
13798
13612
  },
13799
13613
  "isFAQ" : {
@@ -13821,7 +13635,8 @@
13821
13635
  "type" : "string"
13822
13636
  },
13823
13637
  "formData" : {
13824
- "$ref" : "#/components/schemas/File_formData"
13638
+ "additionalProperties" : true,
13639
+ "type" : "object"
13825
13640
  },
13826
13641
  "createdAt" : {
13827
13642
  "type" : "string"
@@ -15444,20 +15259,28 @@
15444
15259
  "type" : "object"
15445
15260
  },
15446
15261
  "ChunkCreateRequest" : {
15262
+ "additionalProperties" : false,
15447
15263
  "properties" : {
15448
15264
  "name" : {
15265
+ "maxLength" : 100,
15266
+ "minLength" : 1,
15449
15267
  "type" : "string"
15450
15268
  },
15451
15269
  "version" : {
15270
+ "maxLength" : 25,
15271
+ "minLength" : 1,
15452
15272
  "type" : "string"
15453
15273
  },
15454
15274
  "content" : {
15455
15275
  "items" : {
15456
15276
  "$ref" : "#/components/schemas/ChunkCreateRequest_content_inner"
15457
15277
  },
15278
+ "maxItems" : 100,
15279
+ "minItems" : 1,
15458
15280
  "type" : "array"
15459
15281
  }
15460
15282
  },
15283
+ "required" : [ "content", "name", "version" ],
15461
15284
  "type" : "object"
15462
15285
  },
15463
15286
  "ChunkCreateResponse" : {
@@ -16526,55 +16349,6 @@
16526
16349
  "required" : [ "permissions" ],
16527
16350
  "type" : "object"
16528
16351
  },
16529
- "UserAgentAccess" : {
16530
- "properties" : {
16531
- "scoped" : {
16532
- "description" : "When true, only listed agents are accessible (org-wide agent.read is ignored for listing).",
16533
- "type" : "boolean"
16534
- },
16535
- "agentIds" : {
16536
- "items" : {
16537
- "type" : "string"
16538
- },
16539
- "type" : "array"
16540
- },
16541
- "availableAgents" : {
16542
- "items" : {
16543
- "$ref" : "#/components/schemas/UserAgentAccessAgent"
16544
- },
16545
- "type" : "array"
16546
- }
16547
- },
16548
- "required" : [ "agentIds", "availableAgents", "scoped" ],
16549
- "type" : "object"
16550
- },
16551
- "UserAgentAccessAgent" : {
16552
- "properties" : {
16553
- "id" : {
16554
- "type" : "string"
16555
- },
16556
- "name" : {
16557
- "type" : "string"
16558
- }
16559
- },
16560
- "required" : [ "id", "name" ],
16561
- "type" : "object"
16562
- },
16563
- "UserAgentAccessRequest" : {
16564
- "properties" : {
16565
- "scoped" : {
16566
- "type" : "boolean"
16567
- },
16568
- "agentIds" : {
16569
- "items" : {
16570
- "type" : "string"
16571
- },
16572
- "type" : "array"
16573
- }
16574
- },
16575
- "required" : [ "agentIds", "scoped" ],
16576
- "type" : "object"
16577
- },
16578
16352
  "OrganizationEngine" : {
16579
16353
  "additionalProperties" : false,
16580
16354
  "description" : "Engine configuration attached to an organization.",
@@ -16706,60 +16480,215 @@
16706
16480
  },
16707
16481
  "type" : "array"
16708
16482
  },
16709
- "files" : {
16710
- "items" : {
16711
- "$ref" : "#/components/schemas/KnowledgeFileSummary"
16712
- },
16713
- "type" : "array"
16714
- }
16715
- },
16716
- "required" : [ "files", "id", "indexed", "name", "organisationId" ],
16717
- "type" : "object"
16718
- },
16719
- "KnowledgeFileSummary" : {
16720
- "properties" : {
16721
- "id" : {
16483
+ "files" : {
16484
+ "items" : {
16485
+ "$ref" : "#/components/schemas/KnowledgeFileSummary"
16486
+ },
16487
+ "type" : "array"
16488
+ }
16489
+ },
16490
+ "required" : [ "files", "id", "indexed", "name", "organisationId" ],
16491
+ "type" : "object"
16492
+ },
16493
+ "KnowledgeFileSummary" : {
16494
+ "properties" : {
16495
+ "id" : {
16496
+ "type" : "string"
16497
+ },
16498
+ "name" : {
16499
+ "type" : "string"
16500
+ },
16501
+ "knowledgeBaseId" : {
16502
+ "type" : "string"
16503
+ }
16504
+ },
16505
+ "required" : [ "id", "name" ],
16506
+ "type" : "object"
16507
+ },
16508
+ "CreateKnowledgeBaseRequest" : {
16509
+ "properties" : {
16510
+ "name" : {
16511
+ "type" : "string"
16512
+ },
16513
+ "authorizedAgents" : {
16514
+ "items" : {
16515
+ "type" : "string"
16516
+ },
16517
+ "type" : "array"
16518
+ },
16519
+ "vectorStoreType" : {
16520
+ "description" : "Défaut `weaviate` lorsque omis.",
16521
+ "enum" : [ "weaviate", "qdrant" ],
16522
+ "type" : "string"
16523
+ },
16524
+ "embeddingConfig" : {
16525
+ "$ref" : "#/components/schemas/CreateKnowledgeBaseRequest_embeddingConfig"
16526
+ }
16527
+ },
16528
+ "required" : [ "name" ],
16529
+ "type" : "object"
16530
+ },
16531
+ "CreateKnowledgeBaseResponse" : {
16532
+ "properties" : {
16533
+ "knowledgeBaseId" : {
16534
+ "type" : "string"
16535
+ },
16536
+ "vectorStoreType" : {
16537
+ "enum" : [ "weaviate", "qdrant" ],
16538
+ "type" : "string"
16539
+ }
16540
+ },
16541
+ "required" : [ "knowledgeBaseId", "vectorStoreType" ],
16542
+ "type" : "object"
16543
+ },
16544
+ "KnowledgeFileCreationRequest" : {
16545
+ "additionalProperties" : false,
16546
+ "properties" : {
16547
+ "name" : {
16548
+ "maxLength" : 150,
16549
+ "minLength" : 1,
16550
+ "type" : "string"
16551
+ },
16552
+ "contentType" : {
16553
+ "description" : "MIME type of the file",
16554
+ "type" : "string"
16555
+ },
16556
+ "ext" : {
16557
+ "description" : "File extension",
16558
+ "maxLength" : 10,
16559
+ "minLength" : 1,
16560
+ "pattern" : "^[a-zA-Z0-9]{1,10}$",
16561
+ "type" : "string"
16562
+ },
16563
+ "hash" : {
16564
+ "description" : "File hash",
16565
+ "type" : "string"
16566
+ },
16567
+ "size" : {
16568
+ "description" : "File size in bytes",
16569
+ "maximum" : 1073741824,
16570
+ "minimum" : 1,
16571
+ "type" : "number"
16572
+ },
16573
+ "isActive" : {
16574
+ "type" : "boolean"
16575
+ },
16576
+ "isFAQ" : {
16577
+ "description" : "Whether the file is a FAQ document",
16578
+ "type" : "boolean"
16579
+ }
16580
+ },
16581
+ "required" : [ "ext", "size" ],
16582
+ "type" : "object"
16583
+ },
16584
+ "UploadedStatusUpdateRequest" : {
16585
+ "additionalProperties" : false,
16586
+ "properties" : {
16587
+ "status" : {
16588
+ "enum" : [ "UPLOADED" ],
16589
+ "type" : "string"
16590
+ }
16591
+ },
16592
+ "required" : [ "status" ],
16593
+ "type" : "object"
16594
+ },
16595
+ "KnowledgeBaseConfiguration" : {
16596
+ "properties" : {
16597
+ "vectorStoreType" : {
16598
+ "description" : "Dérivé du module installé sur la knowledge base. Lecture seule : ce champ n'est pas accepté par le PUT.",
16599
+ "enum" : [ "weaviate", "qdrant" ],
16600
+ "type" : "string"
16601
+ },
16602
+ "host" : {
16603
+ "nullable" : true,
16604
+ "type" : "string"
16605
+ },
16606
+ "scheme" : {
16607
+ "enum" : [ "http", "https" ],
16608
+ "nullable" : true,
16609
+ "type" : "string"
16610
+ },
16611
+ "authentication" : {
16612
+ "$ref" : "#/components/schemas/KnowledgeBaseConfiguration_authentication"
16613
+ },
16614
+ "indexName" : {
16615
+ "nullable" : true,
16616
+ "type" : "string"
16617
+ },
16618
+ "colpaliKnowledgeBaseId" : {
16619
+ "nullable" : true,
16620
+ "type" : "string"
16621
+ },
16622
+ "emptyKnowledgeResult" : {
16623
+ "nullable" : true,
16624
+ "type" : "string"
16625
+ },
16626
+ "additionalInstructions" : {
16627
+ "nullable" : true,
16628
+ "type" : "string"
16629
+ },
16630
+ "fusionType" : {
16631
+ "enum" : [ "rankedFusion", "relativeScoreFusion" ],
16632
+ "nullable" : true,
16633
+ "type" : "string"
16634
+ },
16635
+ "toolDescription" : {
16636
+ "nullable" : true,
16637
+ "type" : "string"
16638
+ },
16639
+ "toolParametersQueryDescription" : {
16640
+ "nullable" : true,
16641
+ "type" : "string"
16642
+ },
16643
+ "scoreThreshold" : {
16644
+ "nullable" : true,
16645
+ "type" : "number"
16646
+ },
16647
+ "maxDocuments" : {
16648
+ "nullable" : true,
16649
+ "type" : "number"
16650
+ },
16651
+ "maxRetrievalLength" : {
16652
+ "nullable" : true,
16653
+ "type" : "number"
16654
+ },
16655
+ "isChunkingEnriched" : {
16656
+ "nullable" : true,
16657
+ "type" : "boolean"
16658
+ },
16659
+ "boostScore" : {
16660
+ "nullable" : true,
16661
+ "type" : "number"
16662
+ },
16663
+ "vectorizerModel" : {
16664
+ "nullable" : true,
16665
+ "type" : "string"
16666
+ },
16667
+ "vectorizerModelDimensions" : {
16668
+ "nullable" : true,
16669
+ "type" : "number"
16670
+ },
16671
+ "embeddingProviderId" : {
16672
+ "nullable" : true,
16722
16673
  "type" : "string"
16723
16674
  },
16724
- "name" : {
16675
+ "embeddingModelId" : {
16676
+ "nullable" : true,
16725
16677
  "type" : "string"
16726
16678
  },
16727
- "knowledgeBaseId" : {
16728
- "$ref" : "#/components/schemas/KnowledgeFileSummary_knowledgeBaseId"
16679
+ "embeddingDimensions" : {
16680
+ "nullable" : true,
16681
+ "type" : "number"
16729
16682
  }
16730
16683
  },
16731
- "required" : [ "id", "name" ],
16732
16684
  "type" : "object"
16733
16685
  },
16734
- "DocumentAddRequest" : {
16686
+ "KnowledgeBaseConfigurationUpdateRequest" : {
16687
+ "additionalProperties" : false,
16735
16688
  "properties" : {
16736
- "document" : {
16737
- "description" : "The text document to add to the knowledge base",
16689
+ "indexName" : {
16738
16690
  "type" : "string"
16739
16691
  },
16740
- "customId" : {
16741
- "description" : "Optional custom ID for the document",
16742
- "type" : "string"
16743
- }
16744
- },
16745
- "required" : [ "document" ],
16746
- "type" : "object"
16747
- },
16748
- "FileStatusUpdateRequest" : {
16749
- "properties" : {
16750
- "status" : {
16751
- "$ref" : "#/components/schemas/FileStatus"
16752
- }
16753
- },
16754
- "required" : [ "status" ],
16755
- "type" : "object"
16756
- },
16757
- "FileStatus" : {
16758
- "enum" : [ "SCRAPING", "PENDING", "UPLOADED", "PROCESSING", "INDEXED" ],
16759
- "type" : "string"
16760
- },
16761
- "KnowledgeBaseConfiguration" : {
16762
- "properties" : {
16763
16692
  "host" : {
16764
16693
  "nullable" : true,
16765
16694
  "type" : "string"
@@ -16770,15 +16699,7 @@
16770
16699
  "type" : "string"
16771
16700
  },
16772
16701
  "authentication" : {
16773
- "$ref" : "#/components/schemas/KnowledgeBaseConfiguration_authentication"
16774
- },
16775
- "indexName" : {
16776
- "nullable" : true,
16777
- "type" : "string"
16778
- },
16779
- "colpaliKnowledgeBaseId" : {
16780
- "nullable" : true,
16781
- "type" : "string"
16702
+ "$ref" : "#/components/schemas/KnowledgeBaseConfigurationUpdateRequest_authentication"
16782
16703
  },
16783
16704
  "emptyKnowledgeResult" : {
16784
16705
  "nullable" : true,
@@ -16793,23 +16714,17 @@
16793
16714
  "nullable" : true,
16794
16715
  "type" : "string"
16795
16716
  },
16796
- "toolDescription" : {
16797
- "nullable" : true,
16798
- "type" : "string"
16799
- },
16800
- "toolParametersQueryDescription" : {
16801
- "nullable" : true,
16802
- "type" : "string"
16803
- },
16804
16717
  "scoreThreshold" : {
16805
16718
  "nullable" : true,
16806
16719
  "type" : "number"
16807
16720
  },
16808
16721
  "maxDocuments" : {
16722
+ "minimum" : 0,
16809
16723
  "nullable" : true,
16810
16724
  "type" : "number"
16811
16725
  },
16812
16726
  "maxRetrievalLength" : {
16727
+ "minimum" : 0,
16813
16728
  "nullable" : true,
16814
16729
  "type" : "number"
16815
16730
  },
@@ -16818,10 +16733,22 @@
16818
16733
  "type" : "boolean"
16819
16734
  },
16820
16735
  "boostScore" : {
16736
+ "minimum" : 0,
16821
16737
  "nullable" : true,
16822
16738
  "type" : "number"
16823
16739
  },
16740
+ "toolDescription" : {
16741
+ "maxLength" : 500,
16742
+ "nullable" : true,
16743
+ "type" : "string"
16744
+ },
16745
+ "toolParametersQueryDescription" : {
16746
+ "maxLength" : 500,
16747
+ "nullable" : true,
16748
+ "type" : "string"
16749
+ },
16824
16750
  "vectorizerModel" : {
16751
+ "maxLength" : 100,
16825
16752
  "nullable" : true,
16826
16753
  "type" : "string"
16827
16754
  },
@@ -16830,10 +16757,12 @@
16830
16757
  "type" : "number"
16831
16758
  },
16832
16759
  "embeddingProviderId" : {
16760
+ "maxLength" : 100,
16833
16761
  "nullable" : true,
16834
16762
  "type" : "string"
16835
16763
  },
16836
16764
  "embeddingModelId" : {
16765
+ "maxLength" : 100,
16837
16766
  "nullable" : true,
16838
16767
  "type" : "string"
16839
16768
  },
@@ -16842,8 +16771,14 @@
16842
16771
  "type" : "number"
16843
16772
  }
16844
16773
  },
16774
+ "required" : [ "indexName" ],
16845
16775
  "type" : "object"
16846
16776
  },
16777
+ "KnowledgeFile" : {
16778
+ "allOf" : [ {
16779
+ "$ref" : "#/components/schemas/File"
16780
+ } ]
16781
+ },
16847
16782
  "KnowledgeSitePage" : {
16848
16783
  "properties" : {
16849
16784
  "id" : {
@@ -16914,21 +16849,6 @@
16914
16849
  "required" : [ "ids" ],
16915
16850
  "type" : "object"
16916
16851
  },
16917
- "KnowledgeFilePagePreview" : {
16918
- "properties" : {
16919
- "url" : {
16920
- "type" : "string"
16921
- },
16922
- "key" : {
16923
- "type" : "string"
16924
- },
16925
- "pageIndex" : {
16926
- "type" : "integer"
16927
- }
16928
- },
16929
- "required" : [ "pageIndex", "url" ],
16930
- "type" : "object"
16931
- },
16932
16852
  "ToolCreateRequest" : {
16933
16853
  "additionalProperties" : false,
16934
16854
  "properties" : {
@@ -17371,6 +17291,18 @@
17371
17291
  },
17372
17292
  "type" : "object"
17373
17293
  },
17294
+ "AgentRef" : {
17295
+ "properties" : {
17296
+ "id" : {
17297
+ "type" : "string"
17298
+ },
17299
+ "name" : {
17300
+ "type" : "string"
17301
+ }
17302
+ },
17303
+ "required" : [ "id", "name" ],
17304
+ "type" : "object"
17305
+ },
17374
17306
  "SkillAssignRequest" : {
17375
17307
  "additionalProperties" : false,
17376
17308
  "properties" : {
@@ -17743,8 +17675,8 @@
17743
17675
  },
17744
17676
  "type" : "array"
17745
17677
  },
17746
- "KnowledgeBasePrivacy" : {
17747
- "enum" : [ "private", "public" ],
17678
+ "FileStatus" : {
17679
+ "enum" : [ "SCRAPING", "PENDING", "UPLOADED", "PROCESSING", "INDEXED" ],
17748
17680
  "type" : "string"
17749
17681
  },
17750
17682
  "HealthStatus" : {
@@ -18013,6 +17945,29 @@
18013
17945
  },
18014
17946
  "type" : "object"
18015
17947
  },
17948
+ "addModule_request" : {
17949
+ "additionalProperties" : false,
17950
+ "properties" : {
17951
+ "type" : {
17952
+ "enum" : [ "ContextualKnowledgeWeaviate", "External" ],
17953
+ "type" : "string"
17954
+ },
17955
+ "name" : {
17956
+ "pattern" : "^[a-zA-Z0-9]+$",
17957
+ "type" : "string"
17958
+ },
17959
+ "_configuration" : {
17960
+ "additionalProperties" : true,
17961
+ "type" : "object"
17962
+ },
17963
+ "restricted" : {
17964
+ "nullable" : true,
17965
+ "type" : "boolean"
17966
+ }
17967
+ },
17968
+ "required" : [ "_configuration", "name", "type" ],
17969
+ "type" : "object"
17970
+ },
18016
17971
  "deleteMessageAudio_200_response" : {
18017
17972
  "properties" : {
18018
17973
  "message" : {
@@ -18056,37 +18011,6 @@
18056
18011
  "required" : [ "title" ],
18057
18012
  "type" : "object"
18058
18013
  },
18059
- "importFileToAgentKnowledge_request" : {
18060
- "properties" : {
18061
- "file" : {
18062
- "description" : "The file to import (PDF, CSV, TXT supported)",
18063
- "format" : "binary",
18064
- "type" : "string"
18065
- }
18066
- },
18067
- "required" : [ "file" ],
18068
- "type" : "object"
18069
- },
18070
- "importFileToAgentKnowledge_200_response" : {
18071
- "properties" : {
18072
- "id" : {
18073
- "type" : "string"
18074
- },
18075
- "name" : {
18076
- "type" : "string"
18077
- },
18078
- "type" : {
18079
- "type" : "string"
18080
- },
18081
- "size" : {
18082
- "type" : "number"
18083
- },
18084
- "chunkCount" : {
18085
- "type" : "number"
18086
- }
18087
- },
18088
- "type" : "object"
18089
- },
18090
18014
  "patchKnowledgeBase_request" : {
18091
18015
  "properties" : {
18092
18016
  "name" : {
@@ -18231,6 +18155,41 @@
18231
18155
  "required" : [ "isActive" ],
18232
18156
  "type" : "object"
18233
18157
  },
18158
+ "knowledgeFileParsingCallback_request" : {
18159
+ "additionalProperties" : true,
18160
+ "properties" : {
18161
+ "success" : {
18162
+ "type" : "boolean"
18163
+ },
18164
+ "markdownKey" : {
18165
+ "nullable" : true,
18166
+ "type" : "string"
18167
+ },
18168
+ "markdown_object_name" : {
18169
+ "nullable" : true,
18170
+ "type" : "string"
18171
+ },
18172
+ "error" : {
18173
+ "nullable" : true,
18174
+ "type" : "string"
18175
+ }
18176
+ },
18177
+ "required" : [ "success" ],
18178
+ "type" : "object"
18179
+ },
18180
+ "deleteKnowledgeSitePage_200_response" : {
18181
+ "properties" : {
18182
+ "message" : {
18183
+ "type" : "string"
18184
+ },
18185
+ "lastPage" : {
18186
+ "description" : "Présent et à `true` quand la connaissance entière a été supprimée",
18187
+ "type" : "boolean"
18188
+ }
18189
+ },
18190
+ "required" : [ "message" ],
18191
+ "type" : "object"
18192
+ },
18234
18193
  "updateToolStaticCredentials_request" : {
18235
18194
  "properties" : {
18236
18195
  "bearerToken" : {
@@ -18395,21 +18354,6 @@
18395
18354
  "required" : [ "message", "updated" ],
18396
18355
  "type" : "object"
18397
18356
  },
18398
- "KnowledgeBase_files_inner" : {
18399
- "properties" : {
18400
- "id" : {
18401
- "type" : "string"
18402
- },
18403
- "name" : {
18404
- "type" : "string"
18405
- },
18406
- "knowledgeBaseId" : {
18407
- "type" : "string"
18408
- }
18409
- },
18410
- "required" : [ "id", "knowledgeBaseId", "name" ],
18411
- "type" : "object"
18412
- },
18413
18357
  "HealthCheckResponse_components_api" : {
18414
18358
  "properties" : {
18415
18359
  "status" : {
@@ -18493,24 +18437,6 @@
18493
18437
  "required" : [ "modelId", "providerId" ],
18494
18438
  "type" : "object"
18495
18439
  },
18496
- "AgentRequest_profilePicture" : {
18497
- "properties" : {
18498
- "hash" : {
18499
- "type" : "string"
18500
- },
18501
- "size" : {
18502
- "type" : "number"
18503
- },
18504
- "contentType" : {
18505
- "type" : "string"
18506
- },
18507
- "ext" : {
18508
- "type" : "string"
18509
- }
18510
- },
18511
- "required" : [ "contentType", "ext", "hash", "size" ],
18512
- "type" : "object"
18513
- },
18514
18440
  "AgentPatch_engine" : {
18515
18441
  "nullable" : true,
18516
18442
  "properties" : {
@@ -18625,17 +18551,6 @@
18625
18551
  "required" : [ "x", "y" ],
18626
18552
  "type" : "object"
18627
18553
  },
18628
- "File_formData" : {
18629
- "properties" : {
18630
- "fileName" : {
18631
- "type" : "string"
18632
- },
18633
- "contentType" : {
18634
- "type" : "string"
18635
- }
18636
- },
18637
- "type" : "object"
18638
- },
18639
18554
  "ChatMessage_audio_inner" : {
18640
18555
  "properties" : {
18641
18556
  "sequence" : {
@@ -19137,21 +19052,29 @@
19137
19052
  "type" : "object"
19138
19053
  },
19139
19054
  "ChunkCreateRequest_content_inner" : {
19055
+ "additionalProperties" : false,
19140
19056
  "properties" : {
19141
19057
  "fileName" : {
19058
+ "maxLength" : 100,
19059
+ "minLength" : 1,
19142
19060
  "type" : "string"
19143
19061
  },
19144
19062
  "contentType" : {
19145
19063
  "type" : "string"
19146
19064
  },
19147
19065
  "ext" : {
19066
+ "maxLength" : 10,
19067
+ "minLength" : 1,
19068
+ "pattern" : "^[a-zA-Z0-9]{1,10}$",
19148
19069
  "type" : "string"
19149
19070
  },
19150
19071
  "size" : {
19072
+ "maximum" : 1073741824,
19073
+ "minimum" : 1,
19151
19074
  "type" : "number"
19152
19075
  }
19153
19076
  },
19154
- "required" : [ "contentType", "ext", "fileName", "size" ],
19077
+ "required" : [ "contentType", "ext", "size" ],
19155
19078
  "type" : "object"
19156
19079
  },
19157
19080
  "ConversationSummary_agent_engine_provider" : {
@@ -19316,15 +19239,21 @@
19316
19239
  "required" : [ "agentId", "agentName", "usage" ],
19317
19240
  "type" : "object"
19318
19241
  },
19319
- "KnowledgeFileSummary_knowledgeBaseId" : {
19320
- "oneOf" : [ {
19321
- "type" : "string"
19322
- }, {
19323
- "items" : {
19242
+ "CreateKnowledgeBaseRequest_embeddingConfig" : {
19243
+ "description" : "Obligatoire lorsque `vectorStoreType` vaut `qdrant`.",
19244
+ "properties" : {
19245
+ "providerId" : {
19324
19246
  "type" : "string"
19325
19247
  },
19326
- "type" : "array"
19327
- } ]
19248
+ "modelId" : {
19249
+ "type" : "string"
19250
+ },
19251
+ "dimensions" : {
19252
+ "type" : "number"
19253
+ }
19254
+ },
19255
+ "required" : [ "dimensions", "modelId", "providerId" ],
19256
+ "type" : "object"
19328
19257
  },
19329
19258
  "KnowledgeBaseConfiguration_authentication_oneOf" : {
19330
19259
  "nullable" : true,
@@ -19348,6 +19277,28 @@
19348
19277
  "$ref" : "#/components/schemas/KnowledgeBaseConfiguration_authentication_oneOf"
19349
19278
  } ]
19350
19279
  },
19280
+ "KnowledgeBaseConfigurationUpdateRequest_authentication_oneOf" : {
19281
+ "nullable" : true,
19282
+ "properties" : {
19283
+ "type" : {
19284
+ "enum" : [ "API_KEY" ],
19285
+ "type" : "string"
19286
+ },
19287
+ "apiKey" : {
19288
+ "type" : "string"
19289
+ }
19290
+ },
19291
+ "type" : "object"
19292
+ },
19293
+ "KnowledgeBaseConfigurationUpdateRequest_authentication" : {
19294
+ "oneOf" : [ {
19295
+ "enum" : [ "NONE" ],
19296
+ "nullable" : true,
19297
+ "type" : "string"
19298
+ }, {
19299
+ "$ref" : "#/components/schemas/KnowledgeBaseConfigurationUpdateRequest_authentication_oneOf"
19300
+ } ]
19301
+ },
19351
19302
  "ToolSecure_configuration" : {
19352
19303
  "additionalProperties" : true,
19353
19304
  "properties" : {