@breign/client 1.0.82 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/KnowledgeApi.d.ts +73 -1
- package/dist/apis/KnowledgeApi.js +166 -0
- package/dist/apis/SkillsApi.d.ts +115 -0
- package/dist/apis/SkillsApi.js +298 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/KnowledgeBaseConfigurationAuthenticationOneOfUio.d.ts +45 -0
- package/dist/models/KnowledgeBaseConfigurationAuthenticationOneOfUio.js +57 -0
- package/dist/models/KnowledgeBaseConfigurationAuthenticationUio.d.ts +22 -0
- package/dist/models/KnowledgeBaseConfigurationAuthenticationUio.js +50 -0
- package/dist/models/KnowledgeBaseConfigurationUio.d.ts +151 -0
- package/dist/models/KnowledgeBaseConfigurationUio.js +98 -0
- package/dist/models/KnowledgeFilePagePreviewUio.d.ts +44 -0
- package/dist/models/KnowledgeFilePagePreviewUio.js +56 -0
- package/dist/models/SkillAssignRequestUio.d.ts +32 -0
- package/dist/models/SkillAssignRequestUio.js +50 -0
- package/dist/models/SkillCreateRequestUio.d.ts +56 -0
- package/dist/models/SkillCreateRequestUio.js +66 -0
- package/dist/models/SkillUio.d.ts +86 -0
- package/dist/models/SkillUio.js +80 -0
- package/dist/models/SkillUpdateRequestUio.d.ts +50 -0
- package/dist/models/SkillUpdateRequestUio.js +54 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/openapi.json +845 -30
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -66,6 +66,9 @@
|
|
|
66
66
|
}, {
|
|
67
67
|
"description" : "Chat prompts and conversation management",
|
|
68
68
|
"name" : "prompts"
|
|
69
|
+
}, {
|
|
70
|
+
"description" : "Skills management endpoints",
|
|
71
|
+
"name" : "skills"
|
|
69
72
|
} ],
|
|
70
73
|
"paths" : {
|
|
71
74
|
"/health" : {
|
|
@@ -6081,6 +6084,185 @@
|
|
|
6081
6084
|
"tags" : [ "knowledge" ]
|
|
6082
6085
|
}
|
|
6083
6086
|
},
|
|
6087
|
+
"/knowledge-bases/{knowledgebaseId}/configuration" : {
|
|
6088
|
+
"get" : {
|
|
6089
|
+
"description" : "Returns the current configuration for a knowledge base",
|
|
6090
|
+
"operationId" : "getKnowledgeBaseConfiguration",
|
|
6091
|
+
"parameters" : [ {
|
|
6092
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
6093
|
+
"in" : "path",
|
|
6094
|
+
"name" : "knowledgebaseId",
|
|
6095
|
+
"required" : true,
|
|
6096
|
+
"schema" : {
|
|
6097
|
+
"format" : "uuid",
|
|
6098
|
+
"type" : "string"
|
|
6099
|
+
}
|
|
6100
|
+
} ],
|
|
6101
|
+
"responses" : {
|
|
6102
|
+
"200" : {
|
|
6103
|
+
"content" : {
|
|
6104
|
+
"application/json" : {
|
|
6105
|
+
"schema" : {
|
|
6106
|
+
"$ref" : "#/components/schemas/KnowledgeBaseConfiguration"
|
|
6107
|
+
}
|
|
6108
|
+
}
|
|
6109
|
+
},
|
|
6110
|
+
"description" : "Configuration retrieved successfully"
|
|
6111
|
+
},
|
|
6112
|
+
"401" : {
|
|
6113
|
+
"description" : "Unauthorized"
|
|
6114
|
+
},
|
|
6115
|
+
"404" : {
|
|
6116
|
+
"description" : "Knowledge base not found"
|
|
6117
|
+
},
|
|
6118
|
+
"500" : {
|
|
6119
|
+
"description" : "Server error"
|
|
6120
|
+
}
|
|
6121
|
+
},
|
|
6122
|
+
"summary" : "Get knowledge base configuration",
|
|
6123
|
+
"tags" : [ "knowledge" ]
|
|
6124
|
+
},
|
|
6125
|
+
"put" : {
|
|
6126
|
+
"description" : "Updates the module configuration for a knowledge base",
|
|
6127
|
+
"operationId" : "updateKnowledgeBaseConfiguration",
|
|
6128
|
+
"parameters" : [ {
|
|
6129
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
6130
|
+
"in" : "path",
|
|
6131
|
+
"name" : "knowledgebaseId",
|
|
6132
|
+
"required" : true,
|
|
6133
|
+
"schema" : {
|
|
6134
|
+
"format" : "uuid",
|
|
6135
|
+
"type" : "string"
|
|
6136
|
+
}
|
|
6137
|
+
} ],
|
|
6138
|
+
"requestBody" : {
|
|
6139
|
+
"content" : {
|
|
6140
|
+
"application/json" : {
|
|
6141
|
+
"schema" : {
|
|
6142
|
+
"$ref" : "#/components/schemas/KnowledgeBaseConfiguration"
|
|
6143
|
+
}
|
|
6144
|
+
}
|
|
6145
|
+
},
|
|
6146
|
+
"required" : true
|
|
6147
|
+
},
|
|
6148
|
+
"responses" : {
|
|
6149
|
+
"200" : {
|
|
6150
|
+
"content" : {
|
|
6151
|
+
"application/json" : {
|
|
6152
|
+
"schema" : {
|
|
6153
|
+
"additionalProperties" : true,
|
|
6154
|
+
"type" : "object"
|
|
6155
|
+
}
|
|
6156
|
+
}
|
|
6157
|
+
},
|
|
6158
|
+
"description" : "Configuration updated successfully"
|
|
6159
|
+
},
|
|
6160
|
+
"400" : {
|
|
6161
|
+
"description" : "Invalid configuration payload"
|
|
6162
|
+
},
|
|
6163
|
+
"401" : {
|
|
6164
|
+
"description" : "Unauthorized"
|
|
6165
|
+
},
|
|
6166
|
+
"404" : {
|
|
6167
|
+
"description" : "Knowledge base not found"
|
|
6168
|
+
},
|
|
6169
|
+
"500" : {
|
|
6170
|
+
"description" : "Server error"
|
|
6171
|
+
}
|
|
6172
|
+
},
|
|
6173
|
+
"summary" : "Update knowledge base configuration",
|
|
6174
|
+
"tags" : [ "knowledge" ]
|
|
6175
|
+
}
|
|
6176
|
+
},
|
|
6177
|
+
"/knowledge-files/{fileId}" : {
|
|
6178
|
+
"get" : {
|
|
6179
|
+
"description" : "Retrieves metadata for a specific knowledge file by file ID",
|
|
6180
|
+
"operationId" : "getKnowledgeFile",
|
|
6181
|
+
"parameters" : [ {
|
|
6182
|
+
"description" : "The ID of the file",
|
|
6183
|
+
"in" : "path",
|
|
6184
|
+
"name" : "fileId",
|
|
6185
|
+
"required" : true,
|
|
6186
|
+
"schema" : {
|
|
6187
|
+
"type" : "string"
|
|
6188
|
+
}
|
|
6189
|
+
} ],
|
|
6190
|
+
"responses" : {
|
|
6191
|
+
"200" : {
|
|
6192
|
+
"content" : {
|
|
6193
|
+
"application/json" : {
|
|
6194
|
+
"schema" : {
|
|
6195
|
+
"$ref" : "#/components/schemas/FileWithDownloadUrl"
|
|
6196
|
+
}
|
|
6197
|
+
}
|
|
6198
|
+
},
|
|
6199
|
+
"description" : "File details retrieved successfully"
|
|
6200
|
+
},
|
|
6201
|
+
"401" : {
|
|
6202
|
+
"description" : "Unauthorized"
|
|
6203
|
+
},
|
|
6204
|
+
"404" : {
|
|
6205
|
+
"description" : "File not found"
|
|
6206
|
+
},
|
|
6207
|
+
"500" : {
|
|
6208
|
+
"description" : "Server error"
|
|
6209
|
+
}
|
|
6210
|
+
},
|
|
6211
|
+
"summary" : "Get a specific knowledge file",
|
|
6212
|
+
"tags" : [ "knowledge" ]
|
|
6213
|
+
}
|
|
6214
|
+
},
|
|
6215
|
+
"/knowledge-files/{fileId}/status" : {
|
|
6216
|
+
"post" : {
|
|
6217
|
+
"description" : "Updates the status of a knowledge file and triggers indexing when uploaded",
|
|
6218
|
+
"operationId" : "updateKnowledgeFileStatus",
|
|
6219
|
+
"parameters" : [ {
|
|
6220
|
+
"description" : "The ID of the file",
|
|
6221
|
+
"in" : "path",
|
|
6222
|
+
"name" : "fileId",
|
|
6223
|
+
"required" : true,
|
|
6224
|
+
"schema" : {
|
|
6225
|
+
"type" : "string"
|
|
6226
|
+
}
|
|
6227
|
+
} ],
|
|
6228
|
+
"requestBody" : {
|
|
6229
|
+
"content" : {
|
|
6230
|
+
"application/json" : {
|
|
6231
|
+
"schema" : {
|
|
6232
|
+
"$ref" : "#/components/schemas/FileStatusUpdateRequest"
|
|
6233
|
+
}
|
|
6234
|
+
}
|
|
6235
|
+
},
|
|
6236
|
+
"required" : true
|
|
6237
|
+
},
|
|
6238
|
+
"responses" : {
|
|
6239
|
+
"200" : {
|
|
6240
|
+
"content" : {
|
|
6241
|
+
"application/json" : {
|
|
6242
|
+
"schema" : {
|
|
6243
|
+
"$ref" : "#/components/schemas/File"
|
|
6244
|
+
}
|
|
6245
|
+
}
|
|
6246
|
+
},
|
|
6247
|
+
"description" : "File status updated successfully"
|
|
6248
|
+
},
|
|
6249
|
+
"400" : {
|
|
6250
|
+
"description" : "Invalid status update"
|
|
6251
|
+
},
|
|
6252
|
+
"401" : {
|
|
6253
|
+
"description" : "Unauthorized"
|
|
6254
|
+
},
|
|
6255
|
+
"404" : {
|
|
6256
|
+
"description" : "File not found"
|
|
6257
|
+
},
|
|
6258
|
+
"500" : {
|
|
6259
|
+
"description" : "Server error"
|
|
6260
|
+
}
|
|
6261
|
+
},
|
|
6262
|
+
"summary" : "Update knowledge file status",
|
|
6263
|
+
"tags" : [ "knowledge" ]
|
|
6264
|
+
}
|
|
6265
|
+
},
|
|
6084
6266
|
"/knowledge-files/by-ids" : {
|
|
6085
6267
|
"post" : {
|
|
6086
6268
|
"description" : "Returns knowledge file summaries (id and name) for the given file IDs.",
|
|
@@ -6120,6 +6302,53 @@
|
|
|
6120
6302
|
"tags" : [ "knowledge" ]
|
|
6121
6303
|
}
|
|
6122
6304
|
},
|
|
6305
|
+
"/knowledge-files/{fileId}/page-preview" : {
|
|
6306
|
+
"get" : {
|
|
6307
|
+
"description" : "Returns a presigned URL to preview a specific page image (ColPali knowledge bases only).",
|
|
6308
|
+
"operationId" : "getKnowledgeFilePagePreview",
|
|
6309
|
+
"parameters" : [ {
|
|
6310
|
+
"description" : "The ID of the file",
|
|
6311
|
+
"in" : "path",
|
|
6312
|
+
"name" : "fileId",
|
|
6313
|
+
"required" : true,
|
|
6314
|
+
"schema" : {
|
|
6315
|
+
"type" : "string"
|
|
6316
|
+
}
|
|
6317
|
+
}, {
|
|
6318
|
+
"description" : "Zero-based page index.",
|
|
6319
|
+
"in" : "query",
|
|
6320
|
+
"name" : "pageIndex",
|
|
6321
|
+
"required" : true,
|
|
6322
|
+
"schema" : {
|
|
6323
|
+
"minimum" : 0,
|
|
6324
|
+
"type" : "integer"
|
|
6325
|
+
}
|
|
6326
|
+
} ],
|
|
6327
|
+
"responses" : {
|
|
6328
|
+
"200" : {
|
|
6329
|
+
"content" : {
|
|
6330
|
+
"application/json" : {
|
|
6331
|
+
"schema" : {
|
|
6332
|
+
"$ref" : "#/components/schemas/KnowledgeFilePagePreview"
|
|
6333
|
+
}
|
|
6334
|
+
}
|
|
6335
|
+
},
|
|
6336
|
+
"description" : "Presigned preview URL"
|
|
6337
|
+
},
|
|
6338
|
+
"400" : {
|
|
6339
|
+
"description" : "Invalid page index or unsupported knowledge base type"
|
|
6340
|
+
},
|
|
6341
|
+
"401" : {
|
|
6342
|
+
"description" : "Unauthorized"
|
|
6343
|
+
},
|
|
6344
|
+
"404" : {
|
|
6345
|
+
"description" : "File not found"
|
|
6346
|
+
}
|
|
6347
|
+
},
|
|
6348
|
+
"summary" : "Get a presigned preview URL for a knowledge file page",
|
|
6349
|
+
"tags" : [ "knowledge" ]
|
|
6350
|
+
}
|
|
6351
|
+
},
|
|
6123
6352
|
"/tools" : {
|
|
6124
6353
|
"get" : {
|
|
6125
6354
|
"description" : "Returns tools matching optional search query, with pagination",
|
|
@@ -6693,43 +6922,405 @@
|
|
|
6693
6922
|
"tags" : [ "tools" ]
|
|
6694
6923
|
}
|
|
6695
6924
|
},
|
|
6696
|
-
"/
|
|
6697
|
-
"
|
|
6698
|
-
"description" : "
|
|
6699
|
-
"operationId" : "
|
|
6700
|
-
"
|
|
6701
|
-
"
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
}
|
|
6708
|
-
|
|
6709
|
-
|
|
6925
|
+
"/skills" : {
|
|
6926
|
+
"get" : {
|
|
6927
|
+
"description" : "Returns a paginated list of skills scoped to an organization",
|
|
6928
|
+
"operationId" : "listSkills",
|
|
6929
|
+
"parameters" : [ {
|
|
6930
|
+
"description" : "Organization ID",
|
|
6931
|
+
"in" : "query",
|
|
6932
|
+
"name" : "organizationId",
|
|
6933
|
+
"required" : true,
|
|
6934
|
+
"schema" : {
|
|
6935
|
+
"type" : "string"
|
|
6936
|
+
}
|
|
6937
|
+
}, {
|
|
6938
|
+
"description" : "Page number",
|
|
6939
|
+
"in" : "query",
|
|
6940
|
+
"name" : "page",
|
|
6941
|
+
"schema" : {
|
|
6942
|
+
"type" : "integer"
|
|
6943
|
+
}
|
|
6944
|
+
}, {
|
|
6945
|
+
"description" : "Maximum number of skills to return",
|
|
6946
|
+
"in" : "query",
|
|
6947
|
+
"name" : "limit",
|
|
6948
|
+
"schema" : {
|
|
6949
|
+
"default" : 20,
|
|
6950
|
+
"maximum" : 100,
|
|
6951
|
+
"type" : "integer"
|
|
6952
|
+
}
|
|
6953
|
+
} ],
|
|
6710
6954
|
"responses" : {
|
|
6711
|
-
"
|
|
6955
|
+
"200" : {
|
|
6712
6956
|
"content" : {
|
|
6713
6957
|
"application/json" : {
|
|
6714
6958
|
"schema" : {
|
|
6715
|
-
"
|
|
6959
|
+
"items" : {
|
|
6960
|
+
"$ref" : "#/components/schemas/Skill"
|
|
6961
|
+
},
|
|
6962
|
+
"type" : "array"
|
|
6716
6963
|
}
|
|
6717
6964
|
}
|
|
6718
6965
|
},
|
|
6719
|
-
"description" : "
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6966
|
+
"description" : "List of skills",
|
|
6967
|
+
"headers" : {
|
|
6968
|
+
"X-Total-Count" : {
|
|
6969
|
+
"description" : "Total number of skills in the organization",
|
|
6970
|
+
"schema" : {
|
|
6971
|
+
"type" : "integer"
|
|
6972
|
+
}
|
|
6973
|
+
},
|
|
6974
|
+
"X-Page" : {
|
|
6975
|
+
"schema" : {
|
|
6976
|
+
"type" : "integer"
|
|
6977
|
+
}
|
|
6978
|
+
},
|
|
6979
|
+
"X-Limit" : {
|
|
6980
|
+
"schema" : {
|
|
6981
|
+
"type" : "integer"
|
|
6982
|
+
}
|
|
6983
|
+
},
|
|
6984
|
+
"X-Total-Pages" : {
|
|
6985
|
+
"schema" : {
|
|
6986
|
+
"type" : "integer"
|
|
6987
|
+
}
|
|
6988
|
+
}
|
|
6989
|
+
}
|
|
6990
|
+
},
|
|
6991
|
+
"400" : {
|
|
6992
|
+
"description" : "MISSING_ORG_ID"
|
|
6993
|
+
},
|
|
6994
|
+
"401" : {
|
|
6995
|
+
"description" : "Unauthorized"
|
|
6996
|
+
},
|
|
6997
|
+
"403" : {
|
|
6998
|
+
"description" : "Forbidden"
|
|
6999
|
+
}
|
|
7000
|
+
},
|
|
7001
|
+
"summary" : "List skills in an organization",
|
|
7002
|
+
"tags" : [ "skills" ]
|
|
7003
|
+
},
|
|
7004
|
+
"post" : {
|
|
7005
|
+
"description" : "Creates a new skill in an organization",
|
|
7006
|
+
"operationId" : "createSkill",
|
|
7007
|
+
"requestBody" : {
|
|
7008
|
+
"content" : {
|
|
7009
|
+
"application/json" : {
|
|
7010
|
+
"schema" : {
|
|
7011
|
+
"$ref" : "#/components/schemas/SkillCreateRequest"
|
|
7012
|
+
}
|
|
7013
|
+
}
|
|
7014
|
+
},
|
|
7015
|
+
"required" : true
|
|
7016
|
+
},
|
|
7017
|
+
"responses" : {
|
|
7018
|
+
"201" : {
|
|
7019
|
+
"content" : {
|
|
7020
|
+
"application/json" : {
|
|
7021
|
+
"schema" : {
|
|
7022
|
+
"$ref" : "#/components/schemas/Skill"
|
|
7023
|
+
}
|
|
7024
|
+
}
|
|
7025
|
+
},
|
|
7026
|
+
"description" : "Skill created successfully"
|
|
7027
|
+
},
|
|
7028
|
+
"400" : {
|
|
7029
|
+
"description" : "Invalid request body"
|
|
7030
|
+
},
|
|
7031
|
+
"401" : {
|
|
7032
|
+
"description" : "Unauthorized"
|
|
7033
|
+
},
|
|
7034
|
+
"403" : {
|
|
7035
|
+
"description" : "Forbidden"
|
|
7036
|
+
},
|
|
7037
|
+
"409" : {
|
|
7038
|
+
"description" : "SKILL_SLUG_ALREADY_EXISTS"
|
|
7039
|
+
}
|
|
7040
|
+
},
|
|
7041
|
+
"summary" : "Create a skill",
|
|
7042
|
+
"tags" : [ "skills" ]
|
|
7043
|
+
}
|
|
7044
|
+
},
|
|
7045
|
+
"/skills/{skillId}" : {
|
|
7046
|
+
"delete" : {
|
|
7047
|
+
"operationId" : "deleteSkill",
|
|
7048
|
+
"parameters" : [ {
|
|
7049
|
+
"description" : "Skill identifier",
|
|
7050
|
+
"in" : "path",
|
|
7051
|
+
"name" : "skillId",
|
|
7052
|
+
"required" : true,
|
|
7053
|
+
"schema" : {
|
|
7054
|
+
"format" : "uuid",
|
|
7055
|
+
"type" : "string"
|
|
7056
|
+
}
|
|
7057
|
+
} ],
|
|
7058
|
+
"responses" : {
|
|
7059
|
+
"204" : {
|
|
7060
|
+
"description" : "Skill deleted successfully"
|
|
7061
|
+
},
|
|
7062
|
+
"401" : {
|
|
7063
|
+
"description" : "Unauthorized"
|
|
7064
|
+
},
|
|
7065
|
+
"403" : {
|
|
7066
|
+
"description" : "Forbidden"
|
|
7067
|
+
},
|
|
7068
|
+
"404" : {
|
|
7069
|
+
"description" : "SKILL_NOT_FOUND"
|
|
7070
|
+
}
|
|
7071
|
+
},
|
|
7072
|
+
"summary" : "Delete a skill",
|
|
7073
|
+
"tags" : [ "skills" ]
|
|
7074
|
+
},
|
|
7075
|
+
"get" : {
|
|
7076
|
+
"operationId" : "getSkill",
|
|
7077
|
+
"parameters" : [ {
|
|
7078
|
+
"description" : "Skill identifier",
|
|
7079
|
+
"in" : "path",
|
|
7080
|
+
"name" : "skillId",
|
|
7081
|
+
"required" : true,
|
|
7082
|
+
"schema" : {
|
|
7083
|
+
"format" : "uuid",
|
|
7084
|
+
"type" : "string"
|
|
7085
|
+
}
|
|
7086
|
+
} ],
|
|
7087
|
+
"responses" : {
|
|
7088
|
+
"200" : {
|
|
7089
|
+
"content" : {
|
|
7090
|
+
"application/json" : {
|
|
7091
|
+
"schema" : {
|
|
7092
|
+
"$ref" : "#/components/schemas/Skill"
|
|
7093
|
+
}
|
|
7094
|
+
}
|
|
7095
|
+
},
|
|
7096
|
+
"description" : "Skill details"
|
|
7097
|
+
},
|
|
7098
|
+
"401" : {
|
|
7099
|
+
"description" : "Unauthorized"
|
|
7100
|
+
},
|
|
7101
|
+
"403" : {
|
|
7102
|
+
"description" : "Forbidden"
|
|
7103
|
+
},
|
|
7104
|
+
"404" : {
|
|
7105
|
+
"description" : "SKILL_NOT_FOUND"
|
|
7106
|
+
}
|
|
7107
|
+
},
|
|
7108
|
+
"summary" : "Get a skill by ID",
|
|
7109
|
+
"tags" : [ "skills" ]
|
|
7110
|
+
},
|
|
7111
|
+
"patch" : {
|
|
7112
|
+
"operationId" : "updateSkill",
|
|
7113
|
+
"parameters" : [ {
|
|
7114
|
+
"description" : "Skill identifier",
|
|
7115
|
+
"in" : "path",
|
|
7116
|
+
"name" : "skillId",
|
|
7117
|
+
"required" : true,
|
|
7118
|
+
"schema" : {
|
|
7119
|
+
"format" : "uuid",
|
|
7120
|
+
"type" : "string"
|
|
7121
|
+
}
|
|
7122
|
+
} ],
|
|
7123
|
+
"requestBody" : {
|
|
7124
|
+
"content" : {
|
|
7125
|
+
"application/json" : {
|
|
7126
|
+
"schema" : {
|
|
7127
|
+
"$ref" : "#/components/schemas/SkillUpdateRequest"
|
|
7128
|
+
}
|
|
7129
|
+
}
|
|
7130
|
+
},
|
|
7131
|
+
"required" : true
|
|
7132
|
+
},
|
|
7133
|
+
"responses" : {
|
|
7134
|
+
"200" : {
|
|
7135
|
+
"content" : {
|
|
7136
|
+
"application/json" : {
|
|
7137
|
+
"schema" : {
|
|
7138
|
+
"$ref" : "#/components/schemas/Skill"
|
|
7139
|
+
}
|
|
7140
|
+
}
|
|
7141
|
+
},
|
|
7142
|
+
"description" : "Skill updated successfully"
|
|
7143
|
+
},
|
|
7144
|
+
"400" : {
|
|
7145
|
+
"description" : "Invalid request body"
|
|
7146
|
+
},
|
|
7147
|
+
"401" : {
|
|
7148
|
+
"description" : "Unauthorized"
|
|
7149
|
+
},
|
|
7150
|
+
"403" : {
|
|
7151
|
+
"description" : "Forbidden"
|
|
7152
|
+
},
|
|
7153
|
+
"404" : {
|
|
7154
|
+
"description" : "SKILL_NOT_FOUND"
|
|
7155
|
+
},
|
|
7156
|
+
"409" : {
|
|
7157
|
+
"description" : "SKILL_SLUG_ALREADY_EXISTS"
|
|
7158
|
+
}
|
|
7159
|
+
},
|
|
7160
|
+
"summary" : "Update a skill",
|
|
7161
|
+
"tags" : [ "skills" ]
|
|
7162
|
+
}
|
|
7163
|
+
},
|
|
7164
|
+
"/agents/{agentId}/skills" : {
|
|
7165
|
+
"get" : {
|
|
7166
|
+
"operationId" : "getAgentSkills",
|
|
7167
|
+
"parameters" : [ {
|
|
7168
|
+
"description" : "ID of the agent",
|
|
7169
|
+
"in" : "path",
|
|
7170
|
+
"name" : "agentId",
|
|
7171
|
+
"required" : true,
|
|
7172
|
+
"schema" : {
|
|
7173
|
+
"format" : "uuid",
|
|
7174
|
+
"type" : "string"
|
|
7175
|
+
}
|
|
7176
|
+
} ],
|
|
7177
|
+
"responses" : {
|
|
7178
|
+
"200" : {
|
|
7179
|
+
"content" : {
|
|
7180
|
+
"application/json" : {
|
|
7181
|
+
"schema" : {
|
|
7182
|
+
"items" : {
|
|
7183
|
+
"$ref" : "#/components/schemas/Skill"
|
|
7184
|
+
},
|
|
7185
|
+
"type" : "array"
|
|
7186
|
+
}
|
|
7187
|
+
}
|
|
7188
|
+
},
|
|
7189
|
+
"description" : "List of skills assigned to the agent"
|
|
7190
|
+
},
|
|
7191
|
+
"401" : {
|
|
7192
|
+
"description" : "Unauthorized"
|
|
7193
|
+
},
|
|
7194
|
+
"403" : {
|
|
7195
|
+
"description" : "Forbidden"
|
|
7196
|
+
},
|
|
7197
|
+
"404" : {
|
|
7198
|
+
"description" : "AGENT_NOT_FOUND"
|
|
7199
|
+
}
|
|
7200
|
+
},
|
|
7201
|
+
"summary" : "Get skills assigned to an agent",
|
|
7202
|
+
"tags" : [ "skills" ]
|
|
7203
|
+
},
|
|
7204
|
+
"post" : {
|
|
7205
|
+
"operationId" : "assignSkillToAgent",
|
|
7206
|
+
"parameters" : [ {
|
|
7207
|
+
"description" : "ID of the agent",
|
|
7208
|
+
"in" : "path",
|
|
7209
|
+
"name" : "agentId",
|
|
7210
|
+
"required" : true,
|
|
7211
|
+
"schema" : {
|
|
7212
|
+
"format" : "uuid",
|
|
7213
|
+
"type" : "string"
|
|
7214
|
+
}
|
|
7215
|
+
} ],
|
|
7216
|
+
"requestBody" : {
|
|
7217
|
+
"content" : {
|
|
7218
|
+
"application/json" : {
|
|
7219
|
+
"schema" : {
|
|
7220
|
+
"$ref" : "#/components/schemas/SkillAssignRequest"
|
|
7221
|
+
}
|
|
7222
|
+
}
|
|
7223
|
+
},
|
|
7224
|
+
"required" : true
|
|
7225
|
+
},
|
|
7226
|
+
"responses" : {
|
|
7227
|
+
"200" : {
|
|
7228
|
+
"description" : "Skill assigned (or already assigned — idempotent)"
|
|
7229
|
+
},
|
|
7230
|
+
"400" : {
|
|
7231
|
+
"description" : "Invalid request body"
|
|
7232
|
+
},
|
|
7233
|
+
"401" : {
|
|
7234
|
+
"description" : "Unauthorized"
|
|
7235
|
+
},
|
|
7236
|
+
"403" : {
|
|
7237
|
+
"description" : "Forbidden — SKILL_ORG_MISMATCH if skill belongs to a different org"
|
|
7238
|
+
},
|
|
7239
|
+
"404" : {
|
|
7240
|
+
"description" : "AGENT_NOT_FOUND or SKILL_NOT_FOUND"
|
|
7241
|
+
}
|
|
7242
|
+
},
|
|
7243
|
+
"summary" : "Assign a skill to an agent",
|
|
7244
|
+
"tags" : [ "skills" ]
|
|
7245
|
+
}
|
|
7246
|
+
},
|
|
7247
|
+
"/agents/{agentId}/skills/{skillId}" : {
|
|
7248
|
+
"delete" : {
|
|
7249
|
+
"operationId" : "unassignSkillFromAgent",
|
|
7250
|
+
"parameters" : [ {
|
|
7251
|
+
"description" : "ID of the agent",
|
|
7252
|
+
"in" : "path",
|
|
7253
|
+
"name" : "agentId",
|
|
7254
|
+
"required" : true,
|
|
7255
|
+
"schema" : {
|
|
7256
|
+
"format" : "uuid",
|
|
7257
|
+
"type" : "string"
|
|
7258
|
+
}
|
|
7259
|
+
}, {
|
|
7260
|
+
"description" : "Skill identifier",
|
|
7261
|
+
"in" : "path",
|
|
7262
|
+
"name" : "skillId",
|
|
7263
|
+
"required" : true,
|
|
7264
|
+
"schema" : {
|
|
7265
|
+
"format" : "uuid",
|
|
7266
|
+
"type" : "string"
|
|
7267
|
+
}
|
|
7268
|
+
} ],
|
|
7269
|
+
"responses" : {
|
|
7270
|
+
"204" : {
|
|
7271
|
+
"description" : "Skill unassigned successfully"
|
|
7272
|
+
},
|
|
7273
|
+
"401" : {
|
|
7274
|
+
"description" : "Unauthorized"
|
|
7275
|
+
},
|
|
7276
|
+
"403" : {
|
|
7277
|
+
"description" : "Forbidden"
|
|
7278
|
+
},
|
|
7279
|
+
"404" : {
|
|
7280
|
+
"description" : "AGENT_NOT_FOUND or assignment not found"
|
|
7281
|
+
}
|
|
7282
|
+
},
|
|
7283
|
+
"summary" : "Unassign a skill from an agent",
|
|
7284
|
+
"tags" : [ "skills" ]
|
|
7285
|
+
}
|
|
7286
|
+
},
|
|
7287
|
+
"/remote/pin-requests" : {
|
|
7288
|
+
"post" : {
|
|
7289
|
+
"description" : "Creates a PIN request for remote access",
|
|
7290
|
+
"operationId" : "createPinRequest",
|
|
7291
|
+
"requestBody" : {
|
|
7292
|
+
"content" : {
|
|
7293
|
+
"application/json" : {
|
|
7294
|
+
"schema" : {
|
|
7295
|
+
"$ref" : "#/components/schemas/PinRequest"
|
|
7296
|
+
}
|
|
7297
|
+
}
|
|
7298
|
+
},
|
|
7299
|
+
"required" : true
|
|
7300
|
+
},
|
|
7301
|
+
"responses" : {
|
|
7302
|
+
"201" : {
|
|
7303
|
+
"content" : {
|
|
7304
|
+
"application/json" : {
|
|
7305
|
+
"schema" : {
|
|
7306
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
7307
|
+
}
|
|
7308
|
+
}
|
|
7309
|
+
},
|
|
7310
|
+
"description" : "PIN request created successfully"
|
|
7311
|
+
},
|
|
7312
|
+
"400" : {
|
|
7313
|
+
"description" : "Invalid request format"
|
|
7314
|
+
},
|
|
7315
|
+
"404" : {
|
|
7316
|
+
"description" : "User not found"
|
|
7317
|
+
},
|
|
7318
|
+
"500" : {
|
|
7319
|
+
"description" : "Server error"
|
|
7320
|
+
}
|
|
7321
|
+
},
|
|
7322
|
+
"summary" : "Create a remote access PIN request",
|
|
7323
|
+
"tags" : [ "remotes" ]
|
|
6733
7324
|
}
|
|
6734
7325
|
},
|
|
6735
7326
|
"/agents/{agentId}/prompts/flows" : {
|
|
@@ -7564,6 +8155,16 @@
|
|
|
7564
8155
|
"type" : "string"
|
|
7565
8156
|
}
|
|
7566
8157
|
},
|
|
8158
|
+
"skillIdPath" : {
|
|
8159
|
+
"description" : "Skill identifier",
|
|
8160
|
+
"in" : "path",
|
|
8161
|
+
"name" : "skillId",
|
|
8162
|
+
"required" : true,
|
|
8163
|
+
"schema" : {
|
|
8164
|
+
"format" : "uuid",
|
|
8165
|
+
"type" : "string"
|
|
8166
|
+
}
|
|
8167
|
+
},
|
|
7567
8168
|
"async" : {
|
|
7568
8169
|
"description" : "If true, run the operation in async mode (poll the ressource then).",
|
|
7569
8170
|
"in" : "query",
|
|
@@ -10800,6 +11401,84 @@
|
|
|
10800
11401
|
"enum" : [ "SCRAPING", "PENDING", "UPLOADED", "PROCESSING", "INDEXED" ],
|
|
10801
11402
|
"type" : "string"
|
|
10802
11403
|
},
|
|
11404
|
+
"KnowledgeBaseConfiguration" : {
|
|
11405
|
+
"properties" : {
|
|
11406
|
+
"host" : {
|
|
11407
|
+
"nullable" : true,
|
|
11408
|
+
"type" : "string"
|
|
11409
|
+
},
|
|
11410
|
+
"scheme" : {
|
|
11411
|
+
"enum" : [ "http", "https" ],
|
|
11412
|
+
"nullable" : true,
|
|
11413
|
+
"type" : "string"
|
|
11414
|
+
},
|
|
11415
|
+
"authentication" : {
|
|
11416
|
+
"$ref" : "#/components/schemas/KnowledgeBaseConfiguration_authentication"
|
|
11417
|
+
},
|
|
11418
|
+
"indexName" : {
|
|
11419
|
+
"nullable" : true,
|
|
11420
|
+
"type" : "string"
|
|
11421
|
+
},
|
|
11422
|
+
"colpaliKnowledgeBaseId" : {
|
|
11423
|
+
"nullable" : true,
|
|
11424
|
+
"type" : "string"
|
|
11425
|
+
},
|
|
11426
|
+
"emptyKnowledgeResult" : {
|
|
11427
|
+
"nullable" : true,
|
|
11428
|
+
"type" : "string"
|
|
11429
|
+
},
|
|
11430
|
+
"additionalInstructions" : {
|
|
11431
|
+
"nullable" : true,
|
|
11432
|
+
"type" : "string"
|
|
11433
|
+
},
|
|
11434
|
+
"fusionType" : {
|
|
11435
|
+
"enum" : [ "rankedFusion", "relativeScoreFusion" ],
|
|
11436
|
+
"nullable" : true,
|
|
11437
|
+
"type" : "string"
|
|
11438
|
+
},
|
|
11439
|
+
"toolDescription" : {
|
|
11440
|
+
"nullable" : true,
|
|
11441
|
+
"type" : "string"
|
|
11442
|
+
},
|
|
11443
|
+
"toolParametersQueryDescription" : {
|
|
11444
|
+
"nullable" : true,
|
|
11445
|
+
"type" : "string"
|
|
11446
|
+
},
|
|
11447
|
+
"scoreThreshold" : {
|
|
11448
|
+
"nullable" : true,
|
|
11449
|
+
"type" : "number"
|
|
11450
|
+
},
|
|
11451
|
+
"maxDocuments" : {
|
|
11452
|
+
"nullable" : true,
|
|
11453
|
+
"type" : "number"
|
|
11454
|
+
},
|
|
11455
|
+
"maxRetrievalLength" : {
|
|
11456
|
+
"nullable" : true,
|
|
11457
|
+
"type" : "number"
|
|
11458
|
+
},
|
|
11459
|
+
"vectorizerModel" : {
|
|
11460
|
+
"nullable" : true,
|
|
11461
|
+
"type" : "string"
|
|
11462
|
+
},
|
|
11463
|
+
"vectorizerModelDimensions" : {
|
|
11464
|
+
"nullable" : true,
|
|
11465
|
+
"type" : "number"
|
|
11466
|
+
},
|
|
11467
|
+
"embeddingProviderId" : {
|
|
11468
|
+
"nullable" : true,
|
|
11469
|
+
"type" : "string"
|
|
11470
|
+
},
|
|
11471
|
+
"embeddingModelId" : {
|
|
11472
|
+
"nullable" : true,
|
|
11473
|
+
"type" : "string"
|
|
11474
|
+
},
|
|
11475
|
+
"embeddingDimensions" : {
|
|
11476
|
+
"nullable" : true,
|
|
11477
|
+
"type" : "number"
|
|
11478
|
+
}
|
|
11479
|
+
},
|
|
11480
|
+
"type" : "object"
|
|
11481
|
+
},
|
|
10803
11482
|
"KnowledgeFilesByIdsRequest" : {
|
|
10804
11483
|
"properties" : {
|
|
10805
11484
|
"ids" : {
|
|
@@ -10813,6 +11492,21 @@
|
|
|
10813
11492
|
"required" : [ "ids" ],
|
|
10814
11493
|
"type" : "object"
|
|
10815
11494
|
},
|
|
11495
|
+
"KnowledgeFilePagePreview" : {
|
|
11496
|
+
"properties" : {
|
|
11497
|
+
"url" : {
|
|
11498
|
+
"type" : "string"
|
|
11499
|
+
},
|
|
11500
|
+
"key" : {
|
|
11501
|
+
"type" : "string"
|
|
11502
|
+
},
|
|
11503
|
+
"pageIndex" : {
|
|
11504
|
+
"type" : "integer"
|
|
11505
|
+
}
|
|
11506
|
+
},
|
|
11507
|
+
"required" : [ "pageIndex", "url" ],
|
|
11508
|
+
"type" : "object"
|
|
11509
|
+
},
|
|
10816
11510
|
"ToolCreateRequest" : {
|
|
10817
11511
|
"additionalProperties" : false,
|
|
10818
11512
|
"properties" : {
|
|
@@ -10998,6 +11692,105 @@
|
|
|
10998
11692
|
"title" : "RevealTokenResponse",
|
|
10999
11693
|
"type" : "object"
|
|
11000
11694
|
},
|
|
11695
|
+
"Skill" : {
|
|
11696
|
+
"properties" : {
|
|
11697
|
+
"id" : {
|
|
11698
|
+
"format" : "uuid",
|
|
11699
|
+
"type" : "string"
|
|
11700
|
+
},
|
|
11701
|
+
"orgId" : {
|
|
11702
|
+
"format" : "uuid",
|
|
11703
|
+
"type" : "string"
|
|
11704
|
+
},
|
|
11705
|
+
"name" : {
|
|
11706
|
+
"type" : "string"
|
|
11707
|
+
},
|
|
11708
|
+
"slug" : {
|
|
11709
|
+
"type" : "string"
|
|
11710
|
+
},
|
|
11711
|
+
"description" : {
|
|
11712
|
+
"type" : "string"
|
|
11713
|
+
},
|
|
11714
|
+
"content" : {
|
|
11715
|
+
"type" : "string"
|
|
11716
|
+
},
|
|
11717
|
+
"isActive" : {
|
|
11718
|
+
"type" : "boolean"
|
|
11719
|
+
},
|
|
11720
|
+
"createdBy" : {
|
|
11721
|
+
"format" : "uuid",
|
|
11722
|
+
"nullable" : true,
|
|
11723
|
+
"type" : "string"
|
|
11724
|
+
},
|
|
11725
|
+
"createdAt" : {
|
|
11726
|
+
"format" : "date-time",
|
|
11727
|
+
"type" : "string"
|
|
11728
|
+
},
|
|
11729
|
+
"updatedAt" : {
|
|
11730
|
+
"format" : "date-time",
|
|
11731
|
+
"type" : "string"
|
|
11732
|
+
}
|
|
11733
|
+
},
|
|
11734
|
+
"required" : [ "content", "description", "id", "isActive", "name", "orgId", "slug" ],
|
|
11735
|
+
"type" : "object"
|
|
11736
|
+
},
|
|
11737
|
+
"SkillCreateRequest" : {
|
|
11738
|
+
"additionalProperties" : false,
|
|
11739
|
+
"properties" : {
|
|
11740
|
+
"orgId" : {
|
|
11741
|
+
"format" : "uuid",
|
|
11742
|
+
"type" : "string"
|
|
11743
|
+
},
|
|
11744
|
+
"name" : {
|
|
11745
|
+
"maxLength" : 255,
|
|
11746
|
+
"minLength" : 1,
|
|
11747
|
+
"type" : "string"
|
|
11748
|
+
},
|
|
11749
|
+
"slug" : {
|
|
11750
|
+
"pattern" : "^[a-z0-9]+(?:-[a-z0-9]+)*$",
|
|
11751
|
+
"type" : "string"
|
|
11752
|
+
},
|
|
11753
|
+
"description" : {
|
|
11754
|
+
"type" : "string"
|
|
11755
|
+
},
|
|
11756
|
+
"content" : {
|
|
11757
|
+
"type" : "string"
|
|
11758
|
+
}
|
|
11759
|
+
},
|
|
11760
|
+
"required" : [ "content", "description", "name", "orgId", "slug" ],
|
|
11761
|
+
"type" : "object"
|
|
11762
|
+
},
|
|
11763
|
+
"SkillUpdateRequest" : {
|
|
11764
|
+
"additionalProperties" : false,
|
|
11765
|
+
"properties" : {
|
|
11766
|
+
"name" : {
|
|
11767
|
+
"maxLength" : 255,
|
|
11768
|
+
"minLength" : 1,
|
|
11769
|
+
"type" : "string"
|
|
11770
|
+
},
|
|
11771
|
+
"description" : {
|
|
11772
|
+
"type" : "string"
|
|
11773
|
+
},
|
|
11774
|
+
"content" : {
|
|
11775
|
+
"type" : "string"
|
|
11776
|
+
},
|
|
11777
|
+
"isActive" : {
|
|
11778
|
+
"type" : "boolean"
|
|
11779
|
+
}
|
|
11780
|
+
},
|
|
11781
|
+
"type" : "object"
|
|
11782
|
+
},
|
|
11783
|
+
"SkillAssignRequest" : {
|
|
11784
|
+
"additionalProperties" : false,
|
|
11785
|
+
"properties" : {
|
|
11786
|
+
"skill_id" : {
|
|
11787
|
+
"format" : "uuid",
|
|
11788
|
+
"type" : "string"
|
|
11789
|
+
}
|
|
11790
|
+
},
|
|
11791
|
+
"required" : [ "skill_id" ],
|
|
11792
|
+
"type" : "object"
|
|
11793
|
+
},
|
|
11001
11794
|
"PinRequest" : {
|
|
11002
11795
|
"properties" : {
|
|
11003
11796
|
"user" : {
|
|
@@ -12120,6 +12913,28 @@
|
|
|
12120
12913
|
"type" : "array"
|
|
12121
12914
|
} ]
|
|
12122
12915
|
},
|
|
12916
|
+
"KnowledgeBaseConfiguration_authentication_oneOf" : {
|
|
12917
|
+
"nullable" : true,
|
|
12918
|
+
"properties" : {
|
|
12919
|
+
"apiKey" : {
|
|
12920
|
+
"type" : "string"
|
|
12921
|
+
},
|
|
12922
|
+
"type" : {
|
|
12923
|
+
"enum" : [ "API_KEY" ],
|
|
12924
|
+
"type" : "string"
|
|
12925
|
+
}
|
|
12926
|
+
},
|
|
12927
|
+
"type" : "object"
|
|
12928
|
+
},
|
|
12929
|
+
"KnowledgeBaseConfiguration_authentication" : {
|
|
12930
|
+
"oneOf" : [ {
|
|
12931
|
+
"enum" : [ "NONE" ],
|
|
12932
|
+
"nullable" : true,
|
|
12933
|
+
"type" : "string"
|
|
12934
|
+
}, {
|
|
12935
|
+
"$ref" : "#/components/schemas/KnowledgeBaseConfiguration_authentication_oneOf"
|
|
12936
|
+
} ]
|
|
12937
|
+
},
|
|
12123
12938
|
"ToolSecure_configuration" : {
|
|
12124
12939
|
"additionalProperties" : true,
|
|
12125
12940
|
"properties" : {
|