@breign/client 1.0.108 → 1.0.110
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/AppApi.d.ts +92 -18
- package/dist/apis/AppApi.js +196 -32
- package/dist/apis/KnowledgeApi.d.ts +120 -8
- package/dist/apis/KnowledgeApi.js +268 -30
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +3 -2
- package/dist/apis/SkillsApi.d.ts +12 -1
- package/dist/apis/SkillsApi.js +27 -0
- package/dist/apis/ToolsApi.d.ts +42 -1
- package/dist/apis/ToolsApi.js +87 -0
- package/dist/models/AddCustomFiller201ResponseFillerUio.d.ts +50 -0
- package/dist/models/AddCustomFiller201ResponseFillerUio.js +62 -0
- package/dist/models/AddCustomFiller201ResponseUio.d.ts +39 -0
- package/dist/models/AddCustomFiller201ResponseUio.js +55 -0
- package/dist/models/AddCustomFillerRequestUio.d.ts +32 -0
- package/dist/models/AddCustomFillerRequestUio.js +50 -0
- package/dist/models/AgentPatchUio.d.ts +1 -1
- package/dist/models/AgentUio.d.ts +1 -1
- package/dist/models/AvailableCommandUio.d.ts +52 -0
- package/dist/models/AvailableCommandUio.js +66 -0
- package/dist/models/FileCreationRequestUio.d.ts +6 -0
- package/dist/models/FileCreationRequestUio.js +2 -0
- package/dist/models/FileCreationResponseUio.d.ts +38 -0
- package/dist/models/FileCreationResponseUio.js +18 -0
- package/dist/models/FileUio.d.ts +38 -0
- package/dist/models/FileUio.js +18 -0
- package/dist/models/FileWithDownloadUrlUio.d.ts +38 -0
- package/dist/models/FileWithDownloadUrlUio.js +18 -0
- package/dist/models/KnowledgeSitePageUio.d.ts +129 -0
- package/dist/models/KnowledgeSitePageUio.js +101 -0
- package/dist/models/MessageStatusErrorUio.d.ts +38 -0
- package/dist/models/MessageStatusErrorUio.js +50 -0
- package/dist/models/MessageStatusToolCallUio.d.ts +38 -0
- package/dist/models/MessageStatusToolCallUio.js +54 -0
- package/dist/models/MessageStatusUio.d.ts +79 -0
- package/dist/models/MessageStatusUio.js +73 -0
- package/dist/models/PatchKnowledgeBaseRequestUio.d.ts +38 -0
- package/dist/models/PatchKnowledgeBaseRequestUio.js +54 -0
- package/dist/models/PatchKnowledgeFileRequestUio.d.ts +32 -0
- package/dist/models/PatchKnowledgeFileRequestUio.js +50 -0
- package/dist/models/SearchKnowledgeBase200ResponseInnerUio.d.ts +52 -0
- package/dist/models/SearchKnowledgeBase200ResponseInnerUio.js +60 -0
- package/dist/models/SearchKnowledgeBaseRequestUio.d.ts +38 -0
- package/dist/models/SearchKnowledgeBaseRequestUio.js +52 -0
- package/dist/models/StartKnowledgeBaseScrappingRequestUio.d.ts +88 -0
- package/dist/models/StartKnowledgeBaseScrappingRequestUio.js +74 -0
- package/dist/models/UpdateSelectedFillers200ResponseUio.d.ts +39 -0
- package/dist/models/UpdateSelectedFillers200ResponseUio.js +55 -0
- package/dist/models/UpdateSelectedFillersRequestDataInnerUio.d.ts +38 -0
- package/dist/models/UpdateSelectedFillersRequestDataInnerUio.js +54 -0
- package/dist/models/UpdateSelectedFillersRequestUio.d.ts +33 -0
- package/dist/models/UpdateSelectedFillersRequestUio.js +51 -0
- package/dist/models/UpdateToolStaticCredentialsRequestUio.d.ts +38 -0
- package/dist/models/UpdateToolStaticCredentialsRequestUio.js +50 -0
- package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.d.ts +41 -0
- package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.js +55 -0
- package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.d.ts +50 -0
- package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.js +62 -0
- package/dist/models/index.d.ts +19 -1
- package/dist/models/index.js +19 -1
- package/dist/openapi.json +1454 -314
- package/package.json +1 -1
- package/dist/models/AudioFillerExistsResponseUio.d.ts +0 -32
- package/dist/models/AudioFillerExistsResponseUio.js +0 -50
package/dist/openapi.json
CHANGED
|
@@ -3252,6 +3252,52 @@
|
|
|
3252
3252
|
"tags" : [ "app" ]
|
|
3253
3253
|
}
|
|
3254
3254
|
},
|
|
3255
|
+
"/apps/{appId}/instances/{instanceId}" : {
|
|
3256
|
+
"delete" : {
|
|
3257
|
+
"description" : "Remove an instance from an app (deactivates it if ephemeral)",
|
|
3258
|
+
"operationId" : "deleteAppInstance",
|
|
3259
|
+
"parameters" : [ {
|
|
3260
|
+
"description" : "ID of the app",
|
|
3261
|
+
"in" : "path",
|
|
3262
|
+
"name" : "appId",
|
|
3263
|
+
"required" : true,
|
|
3264
|
+
"schema" : {
|
|
3265
|
+
"type" : "string"
|
|
3266
|
+
}
|
|
3267
|
+
}, {
|
|
3268
|
+
"description" : "Instance identifier",
|
|
3269
|
+
"in" : "path",
|
|
3270
|
+
"name" : "instanceId",
|
|
3271
|
+
"required" : true,
|
|
3272
|
+
"schema" : {
|
|
3273
|
+
"type" : "string"
|
|
3274
|
+
}
|
|
3275
|
+
} ],
|
|
3276
|
+
"responses" : {
|
|
3277
|
+
"200" : {
|
|
3278
|
+
"content" : {
|
|
3279
|
+
"application/json" : {
|
|
3280
|
+
"schema" : {
|
|
3281
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
3282
|
+
}
|
|
3283
|
+
}
|
|
3284
|
+
},
|
|
3285
|
+
"description" : "Instance removed from app"
|
|
3286
|
+
},
|
|
3287
|
+
"401" : {
|
|
3288
|
+
"description" : "Unauthorized"
|
|
3289
|
+
},
|
|
3290
|
+
"403" : {
|
|
3291
|
+
"description" : "Forbidden - User doesn't have access to this app"
|
|
3292
|
+
},
|
|
3293
|
+
"404" : {
|
|
3294
|
+
"description" : "App not found"
|
|
3295
|
+
}
|
|
3296
|
+
},
|
|
3297
|
+
"summary" : "Delete app instance",
|
|
3298
|
+
"tags" : [ "app" ]
|
|
3299
|
+
}
|
|
3300
|
+
},
|
|
3255
3301
|
"/instances/{instanceId}/context" : {
|
|
3256
3302
|
"get" : {
|
|
3257
3303
|
"description" : "Returns the custom context variables for an app instance.",
|
|
@@ -7379,95 +7425,50 @@
|
|
|
7379
7425
|
"tags" : [ "knowledge" ]
|
|
7380
7426
|
}
|
|
7381
7427
|
},
|
|
7382
|
-
"/
|
|
7383
|
-
"
|
|
7384
|
-
"description" : "
|
|
7385
|
-
"operationId" : "
|
|
7428
|
+
"/knowledge-bases/{knowledgebaseId}" : {
|
|
7429
|
+
"delete" : {
|
|
7430
|
+
"description" : "Delete a knowledge base, its vector store collection and its stored files",
|
|
7431
|
+
"operationId" : "deleteKnowledgeBase",
|
|
7386
7432
|
"parameters" : [ {
|
|
7387
|
-
"description" : "ID of the
|
|
7433
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
7388
7434
|
"in" : "path",
|
|
7389
|
-
"name" : "
|
|
7435
|
+
"name" : "knowledgebaseId",
|
|
7390
7436
|
"required" : true,
|
|
7391
7437
|
"schema" : {
|
|
7438
|
+
"format" : "uuid",
|
|
7392
7439
|
"type" : "string"
|
|
7393
7440
|
}
|
|
7394
7441
|
} ],
|
|
7395
|
-
"requestBody" : {
|
|
7396
|
-
"content" : {
|
|
7397
|
-
"application/json" : {
|
|
7398
|
-
"schema" : {
|
|
7399
|
-
"$ref" : "#/components/schemas/FileCreationRequest"
|
|
7400
|
-
}
|
|
7401
|
-
}
|
|
7402
|
-
},
|
|
7403
|
-
"required" : true
|
|
7404
|
-
},
|
|
7405
7442
|
"responses" : {
|
|
7406
|
-
"
|
|
7443
|
+
"200" : {
|
|
7407
7444
|
"content" : {
|
|
7408
7445
|
"application/json" : {
|
|
7409
7446
|
"schema" : {
|
|
7410
|
-
"$ref" : "#/components/schemas/
|
|
7447
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
7411
7448
|
}
|
|
7412
7449
|
}
|
|
7413
7450
|
},
|
|
7414
|
-
"description" : "
|
|
7415
|
-
},
|
|
7416
|
-
"400" : {
|
|
7417
|
-
"description" : "Invalid file description"
|
|
7418
|
-
},
|
|
7419
|
-
"404" : {
|
|
7420
|
-
"description" : "Organization not found"
|
|
7421
|
-
}
|
|
7422
|
-
},
|
|
7423
|
-
"summary" : "Add a file to the knowledge base",
|
|
7424
|
-
"tags" : [ "knowledge" ]
|
|
7425
|
-
}
|
|
7426
|
-
},
|
|
7427
|
-
"/knowledge-bases/{knowledgebaseId}/chunks/{chunkIdKnowledge}" : {
|
|
7428
|
-
"delete" : {
|
|
7429
|
-
"description" : "Deletes a chunk from a knowledge file",
|
|
7430
|
-
"operationId" : "deleteChunkFromKnowledgeFile",
|
|
7431
|
-
"parameters" : [ {
|
|
7432
|
-
"description" : "ID of the knowledge base to retrieve",
|
|
7433
|
-
"in" : "path",
|
|
7434
|
-
"name" : "knowledgebaseId",
|
|
7435
|
-
"required" : true,
|
|
7436
|
-
"schema" : {
|
|
7437
|
-
"format" : "uuid",
|
|
7438
|
-
"type" : "string"
|
|
7439
|
-
}
|
|
7440
|
-
}, {
|
|
7441
|
-
"description" : "ID of the chunk knowledge file",
|
|
7442
|
-
"in" : "path",
|
|
7443
|
-
"name" : "chunkIdKnowledge",
|
|
7444
|
-
"required" : true,
|
|
7445
|
-
"schema" : {
|
|
7446
|
-
"type" : "string"
|
|
7447
|
-
}
|
|
7448
|
-
} ],
|
|
7449
|
-
"responses" : {
|
|
7450
|
-
"204" : {
|
|
7451
|
-
"description" : "Chunk deleted successfully"
|
|
7451
|
+
"description" : "Knowledge base deleted successfully"
|
|
7452
7452
|
},
|
|
7453
7453
|
"401" : {
|
|
7454
7454
|
"description" : "Unauthorized"
|
|
7455
7455
|
},
|
|
7456
|
+
"403" : {
|
|
7457
|
+
"description" : "Forbidden - User is not admin of the organization"
|
|
7458
|
+
},
|
|
7456
7459
|
"404" : {
|
|
7457
|
-
"description" : "
|
|
7460
|
+
"description" : "Knowledge base not found"
|
|
7458
7461
|
},
|
|
7459
7462
|
"500" : {
|
|
7460
7463
|
"description" : "Server error"
|
|
7461
7464
|
}
|
|
7462
7465
|
},
|
|
7463
|
-
"summary" : "Delete a
|
|
7466
|
+
"summary" : "Delete a knowledge base",
|
|
7464
7467
|
"tags" : [ "knowledge" ]
|
|
7465
|
-
}
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
"description" : "Delete a specific knowledge image from a library image in knowledge base",
|
|
7470
|
-
"operationId" : "deleteImageFromKnowledgeBaseLibrary",
|
|
7468
|
+
},
|
|
7469
|
+
"get" : {
|
|
7470
|
+
"description" : "Get a knowledge base by its ID",
|
|
7471
|
+
"operationId" : "getKnowledgeBase",
|
|
7471
7472
|
"parameters" : [ {
|
|
7472
7473
|
"description" : "ID of the knowledge base to retrieve",
|
|
7473
7474
|
"in" : "path",
|
|
@@ -7477,39 +7478,34 @@
|
|
|
7477
7478
|
"format" : "uuid",
|
|
7478
7479
|
"type" : "string"
|
|
7479
7480
|
}
|
|
7480
|
-
}, {
|
|
7481
|
-
"description" : "ID of the image to delete",
|
|
7482
|
-
"in" : "path",
|
|
7483
|
-
"name" : "imageId",
|
|
7484
|
-
"required" : true,
|
|
7485
|
-
"schema" : {
|
|
7486
|
-
"format" : "uuid",
|
|
7487
|
-
"type" : "string"
|
|
7488
|
-
}
|
|
7489
7481
|
} ],
|
|
7490
7482
|
"responses" : {
|
|
7491
|
-
"
|
|
7492
|
-
"
|
|
7483
|
+
"200" : {
|
|
7484
|
+
"content" : {
|
|
7485
|
+
"application/json" : {
|
|
7486
|
+
"schema" : {
|
|
7487
|
+
"$ref" : "#/components/schemas/KnowledgeBase"
|
|
7488
|
+
}
|
|
7489
|
+
}
|
|
7490
|
+
},
|
|
7491
|
+
"description" : "Knowledge base retrieved successfully"
|
|
7493
7492
|
},
|
|
7494
7493
|
"401" : {
|
|
7495
7494
|
"description" : "Unauthorized"
|
|
7496
7495
|
},
|
|
7497
7496
|
"403" : {
|
|
7498
|
-
"description" : "Forbidden - User
|
|
7497
|
+
"description" : "Forbidden - User is not part of the organization"
|
|
7499
7498
|
},
|
|
7500
7499
|
"404" : {
|
|
7501
|
-
"description" : "Knowledge base
|
|
7502
|
-
},
|
|
7503
|
-
"500" : {
|
|
7504
|
-
"description" : "Server error"
|
|
7500
|
+
"description" : "Knowledge base not found"
|
|
7505
7501
|
}
|
|
7506
7502
|
},
|
|
7507
|
-
"summary" : "
|
|
7503
|
+
"summary" : "Get a knowledge base",
|
|
7508
7504
|
"tags" : [ "knowledge" ]
|
|
7509
7505
|
},
|
|
7510
|
-
"
|
|
7511
|
-
"description" : "
|
|
7512
|
-
"operationId" : "
|
|
7506
|
+
"patch" : {
|
|
7507
|
+
"description" : "Update the name and authorized agents of a knowledge base",
|
|
7508
|
+
"operationId" : "patchKnowledgeBase",
|
|
7513
7509
|
"parameters" : [ {
|
|
7514
7510
|
"description" : "ID of the knowledge base to retrieve",
|
|
7515
7511
|
"in" : "path",
|
|
@@ -7520,36 +7516,45 @@
|
|
|
7520
7516
|
"type" : "string"
|
|
7521
7517
|
}
|
|
7522
7518
|
} ],
|
|
7519
|
+
"requestBody" : {
|
|
7520
|
+
"content" : {
|
|
7521
|
+
"application/json" : {
|
|
7522
|
+
"schema" : {
|
|
7523
|
+
"$ref" : "#/components/schemas/patchKnowledgeBase_request"
|
|
7524
|
+
}
|
|
7525
|
+
}
|
|
7526
|
+
},
|
|
7527
|
+
"required" : true
|
|
7528
|
+
},
|
|
7523
7529
|
"responses" : {
|
|
7524
7530
|
"200" : {
|
|
7525
7531
|
"content" : {
|
|
7526
7532
|
"application/json" : {
|
|
7527
7533
|
"schema" : {
|
|
7528
|
-
"$ref" : "#/components/schemas/
|
|
7534
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
7529
7535
|
}
|
|
7530
7536
|
}
|
|
7531
7537
|
},
|
|
7532
|
-
"description" : "
|
|
7538
|
+
"description" : "Knowledge base updated successfully"
|
|
7533
7539
|
},
|
|
7534
7540
|
"401" : {
|
|
7535
7541
|
"description" : "Unauthorized"
|
|
7536
7542
|
},
|
|
7537
7543
|
"403" : {
|
|
7538
|
-
"description" : "Forbidden - User
|
|
7544
|
+
"description" : "Forbidden - User is not admin of the organization"
|
|
7539
7545
|
},
|
|
7540
7546
|
"404" : {
|
|
7541
|
-
"description" : "
|
|
7542
|
-
},
|
|
7543
|
-
"500" : {
|
|
7544
|
-
"description" : "Server error"
|
|
7547
|
+
"description" : "Knowledge base not found"
|
|
7545
7548
|
}
|
|
7546
7549
|
},
|
|
7547
|
-
"summary" : "
|
|
7550
|
+
"summary" : "Update a knowledge base",
|
|
7548
7551
|
"tags" : [ "knowledge" ]
|
|
7549
|
-
}
|
|
7552
|
+
}
|
|
7553
|
+
},
|
|
7554
|
+
"/knowledge-bases/{knowledgebaseId}/files" : {
|
|
7550
7555
|
"post" : {
|
|
7551
|
-
"description" : "
|
|
7552
|
-
"operationId" : "
|
|
7556
|
+
"description" : "Add a file to the knowledge base",
|
|
7557
|
+
"operationId" : "addFileToKnowledgeBase",
|
|
7553
7558
|
"parameters" : [ {
|
|
7554
7559
|
"description" : "ID of the knowledge base to retrieve",
|
|
7555
7560
|
"in" : "path",
|
|
@@ -7562,9 +7567,9 @@
|
|
|
7562
7567
|
} ],
|
|
7563
7568
|
"requestBody" : {
|
|
7564
7569
|
"content" : {
|
|
7565
|
-
"
|
|
7570
|
+
"application/json" : {
|
|
7566
7571
|
"schema" : {
|
|
7567
|
-
"$ref" : "#/components/schemas/
|
|
7572
|
+
"$ref" : "#/components/schemas/FileCreationRequest"
|
|
7568
7573
|
}
|
|
7569
7574
|
}
|
|
7570
7575
|
},
|
|
@@ -7575,33 +7580,27 @@
|
|
|
7575
7580
|
"content" : {
|
|
7576
7581
|
"application/json" : {
|
|
7577
7582
|
"schema" : {
|
|
7578
|
-
"$ref" : "#/components/schemas/
|
|
7583
|
+
"$ref" : "#/components/schemas/FileCreationResponse"
|
|
7579
7584
|
}
|
|
7580
7585
|
}
|
|
7581
7586
|
},
|
|
7582
|
-
"description" : "
|
|
7583
|
-
},
|
|
7584
|
-
"401" : {
|
|
7585
|
-
"description" : "Unauthorized"
|
|
7587
|
+
"description" : "File added successfully"
|
|
7586
7588
|
},
|
|
7587
|
-
"
|
|
7588
|
-
"description" : "
|
|
7589
|
+
"400" : {
|
|
7590
|
+
"description" : "Invalid file description"
|
|
7589
7591
|
},
|
|
7590
7592
|
"404" : {
|
|
7591
|
-
"description" : "Knowledge base
|
|
7592
|
-
},
|
|
7593
|
-
"500" : {
|
|
7594
|
-
"description" : "Server error"
|
|
7593
|
+
"description" : "Knowledge base not found"
|
|
7595
7594
|
}
|
|
7596
7595
|
},
|
|
7597
|
-
"summary" : "
|
|
7596
|
+
"summary" : "Add a file to the knowledge base",
|
|
7598
7597
|
"tags" : [ "knowledge" ]
|
|
7599
7598
|
}
|
|
7600
7599
|
},
|
|
7601
|
-
"/knowledge-bases/{knowledgebaseId}/
|
|
7600
|
+
"/knowledge-bases/{knowledgebaseId}/search" : {
|
|
7602
7601
|
"post" : {
|
|
7603
|
-
"description" : "
|
|
7604
|
-
"operationId" : "
|
|
7602
|
+
"description" : "Run a vector search on a knowledge base and return matching chunks with their source files",
|
|
7603
|
+
"operationId" : "searchKnowledgeBase",
|
|
7605
7604
|
"parameters" : [ {
|
|
7606
7605
|
"description" : "ID of the knowledge base to retrieve",
|
|
7607
7606
|
"in" : "path",
|
|
@@ -7611,21 +7610,12 @@
|
|
|
7611
7610
|
"format" : "uuid",
|
|
7612
7611
|
"type" : "string"
|
|
7613
7612
|
}
|
|
7614
|
-
}, {
|
|
7615
|
-
"description" : "ID of the image to delete",
|
|
7616
|
-
"in" : "path",
|
|
7617
|
-
"name" : "imageId",
|
|
7618
|
-
"required" : true,
|
|
7619
|
-
"schema" : {
|
|
7620
|
-
"format" : "uuid",
|
|
7621
|
-
"type" : "string"
|
|
7622
|
-
}
|
|
7623
7613
|
} ],
|
|
7624
7614
|
"requestBody" : {
|
|
7625
7615
|
"content" : {
|
|
7626
7616
|
"application/json" : {
|
|
7627
7617
|
"schema" : {
|
|
7628
|
-
"$ref" : "#/components/schemas/
|
|
7618
|
+
"$ref" : "#/components/schemas/searchKnowledgeBase_request"
|
|
7629
7619
|
}
|
|
7630
7620
|
}
|
|
7631
7621
|
},
|
|
@@ -7636,33 +7626,39 @@
|
|
|
7636
7626
|
"content" : {
|
|
7637
7627
|
"application/json" : {
|
|
7638
7628
|
"schema" : {
|
|
7639
|
-
"
|
|
7629
|
+
"items" : {
|
|
7630
|
+
"$ref" : "#/components/schemas/searchKnowledgeBase_200_response_inner"
|
|
7631
|
+
},
|
|
7632
|
+
"type" : "array"
|
|
7640
7633
|
}
|
|
7641
7634
|
}
|
|
7642
7635
|
},
|
|
7643
|
-
"description" : "
|
|
7636
|
+
"description" : "Search results retrieved successfully"
|
|
7637
|
+
},
|
|
7638
|
+
"400" : {
|
|
7639
|
+
"description" : "Invalid query or knowledge base has no vector store module configured"
|
|
7644
7640
|
},
|
|
7645
7641
|
"401" : {
|
|
7646
7642
|
"description" : "Unauthorized"
|
|
7647
7643
|
},
|
|
7648
7644
|
"403" : {
|
|
7649
|
-
"description" : "Forbidden - User
|
|
7645
|
+
"description" : "Forbidden - User is not part of the organization"
|
|
7650
7646
|
},
|
|
7651
7647
|
"404" : {
|
|
7652
|
-
"description" : "Knowledge base
|
|
7648
|
+
"description" : "Knowledge base not found"
|
|
7653
7649
|
},
|
|
7654
7650
|
"500" : {
|
|
7655
7651
|
"description" : "Server error"
|
|
7656
7652
|
}
|
|
7657
7653
|
},
|
|
7658
|
-
"summary" : "
|
|
7654
|
+
"summary" : "Search a knowledge base",
|
|
7659
7655
|
"tags" : [ "knowledge" ]
|
|
7660
7656
|
}
|
|
7661
7657
|
},
|
|
7662
|
-
"/knowledge-bases/{knowledgebaseId}/
|
|
7663
|
-
"
|
|
7664
|
-
"description" : "
|
|
7665
|
-
"operationId" : "
|
|
7658
|
+
"/knowledge-bases/{knowledgebaseId}/scrapping" : {
|
|
7659
|
+
"post" : {
|
|
7660
|
+
"description" : "Trigger the scrapping service to crawl the given URLs and index the result into the knowledge base",
|
|
7661
|
+
"operationId" : "startKnowledgeBaseScrapping",
|
|
7666
7662
|
"parameters" : [ {
|
|
7667
7663
|
"description" : "ID of the knowledge base to retrieve",
|
|
7668
7664
|
"in" : "path",
|
|
@@ -7673,38 +7669,53 @@
|
|
|
7673
7669
|
"type" : "string"
|
|
7674
7670
|
}
|
|
7675
7671
|
} ],
|
|
7672
|
+
"requestBody" : {
|
|
7673
|
+
"content" : {
|
|
7674
|
+
"application/json" : {
|
|
7675
|
+
"schema" : {
|
|
7676
|
+
"$ref" : "#/components/schemas/startKnowledgeBaseScrapping_request"
|
|
7677
|
+
}
|
|
7678
|
+
}
|
|
7679
|
+
},
|
|
7680
|
+
"required" : true
|
|
7681
|
+
},
|
|
7676
7682
|
"responses" : {
|
|
7677
7683
|
"200" : {
|
|
7678
7684
|
"content" : {
|
|
7679
7685
|
"application/json" : {
|
|
7680
7686
|
"schema" : {
|
|
7681
|
-
"
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
"type" : "array"
|
|
7687
|
+
"additionalProperties" : true,
|
|
7688
|
+
"description" : "Contains the job info returned by the scrapping service under `message`",
|
|
7689
|
+
"type" : "object"
|
|
7685
7690
|
}
|
|
7686
7691
|
}
|
|
7687
7692
|
},
|
|
7688
|
-
"description" : "
|
|
7693
|
+
"description" : "Scrapping job started successfully"
|
|
7694
|
+
},
|
|
7695
|
+
"400" : {
|
|
7696
|
+
"description" : "Invalid scrapping request"
|
|
7689
7697
|
},
|
|
7690
7698
|
"401" : {
|
|
7691
7699
|
"description" : "Unauthorized"
|
|
7692
7700
|
},
|
|
7693
7701
|
"403" : {
|
|
7694
|
-
"description" : "Forbidden"
|
|
7702
|
+
"description" : "Forbidden - User is not admin of the organization"
|
|
7695
7703
|
},
|
|
7696
7704
|
"404" : {
|
|
7697
7705
|
"description" : "Knowledge base not found"
|
|
7706
|
+
},
|
|
7707
|
+
"500" : {
|
|
7708
|
+
"description" : "Error while scrapping"
|
|
7698
7709
|
}
|
|
7699
7710
|
},
|
|
7700
|
-
"summary" : "
|
|
7711
|
+
"summary" : "Start a knowledge base scrapping job",
|
|
7701
7712
|
"tags" : [ "knowledge" ]
|
|
7702
7713
|
}
|
|
7703
7714
|
},
|
|
7704
|
-
"/knowledge-bases/{knowledgebaseId}/
|
|
7705
|
-
"
|
|
7706
|
-
"description" : "
|
|
7707
|
-
"operationId" : "
|
|
7715
|
+
"/knowledge-bases/{knowledgebaseId}/chunks/{chunkIdKnowledge}" : {
|
|
7716
|
+
"delete" : {
|
|
7717
|
+
"description" : "Deletes a chunk from a knowledge file",
|
|
7718
|
+
"operationId" : "deleteChunkFromKnowledgeFile",
|
|
7708
7719
|
"parameters" : [ {
|
|
7709
7720
|
"description" : "ID of the knowledge base to retrieve",
|
|
7710
7721
|
"in" : "path",
|
|
@@ -7714,13 +7725,293 @@
|
|
|
7714
7725
|
"format" : "uuid",
|
|
7715
7726
|
"type" : "string"
|
|
7716
7727
|
}
|
|
7717
|
-
}
|
|
7718
|
-
|
|
7719
|
-
"
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
|
|
7723
|
-
|
|
7728
|
+
}, {
|
|
7729
|
+
"description" : "ID of the chunk knowledge file",
|
|
7730
|
+
"in" : "path",
|
|
7731
|
+
"name" : "chunkIdKnowledge",
|
|
7732
|
+
"required" : true,
|
|
7733
|
+
"schema" : {
|
|
7734
|
+
"type" : "string"
|
|
7735
|
+
}
|
|
7736
|
+
} ],
|
|
7737
|
+
"responses" : {
|
|
7738
|
+
"204" : {
|
|
7739
|
+
"description" : "Chunk deleted successfully"
|
|
7740
|
+
},
|
|
7741
|
+
"401" : {
|
|
7742
|
+
"description" : "Unauthorized"
|
|
7743
|
+
},
|
|
7744
|
+
"404" : {
|
|
7745
|
+
"description" : "chunk not found"
|
|
7746
|
+
},
|
|
7747
|
+
"500" : {
|
|
7748
|
+
"description" : "Server error"
|
|
7749
|
+
}
|
|
7750
|
+
},
|
|
7751
|
+
"summary" : "Delete a chunk from a knowledge file",
|
|
7752
|
+
"tags" : [ "knowledge" ]
|
|
7753
|
+
}
|
|
7754
|
+
},
|
|
7755
|
+
"/knowledge-bases/{knowledgebaseId}/images" : {
|
|
7756
|
+
"delete" : {
|
|
7757
|
+
"description" : "Delete a specific knowledge image from a library image in knowledge base",
|
|
7758
|
+
"operationId" : "deleteImageFromKnowledgeBaseLibrary",
|
|
7759
|
+
"parameters" : [ {
|
|
7760
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
7761
|
+
"in" : "path",
|
|
7762
|
+
"name" : "knowledgebaseId",
|
|
7763
|
+
"required" : true,
|
|
7764
|
+
"schema" : {
|
|
7765
|
+
"format" : "uuid",
|
|
7766
|
+
"type" : "string"
|
|
7767
|
+
}
|
|
7768
|
+
}, {
|
|
7769
|
+
"description" : "ID of the image to delete",
|
|
7770
|
+
"in" : "path",
|
|
7771
|
+
"name" : "imageId",
|
|
7772
|
+
"required" : true,
|
|
7773
|
+
"schema" : {
|
|
7774
|
+
"format" : "uuid",
|
|
7775
|
+
"type" : "string"
|
|
7776
|
+
}
|
|
7777
|
+
} ],
|
|
7778
|
+
"responses" : {
|
|
7779
|
+
"204" : {
|
|
7780
|
+
"description" : "Image deleted successfully"
|
|
7781
|
+
},
|
|
7782
|
+
"401" : {
|
|
7783
|
+
"description" : "Unauthorized"
|
|
7784
|
+
},
|
|
7785
|
+
"403" : {
|
|
7786
|
+
"description" : "Forbidden - User doesn't have access to this knowledge base"
|
|
7787
|
+
},
|
|
7788
|
+
"404" : {
|
|
7789
|
+
"description" : "Knowledge base or image not found"
|
|
7790
|
+
},
|
|
7791
|
+
"500" : {
|
|
7792
|
+
"description" : "Server error"
|
|
7793
|
+
}
|
|
7794
|
+
},
|
|
7795
|
+
"summary" : "Delete a specific knowledge image from a library image in knowledge base",
|
|
7796
|
+
"tags" : [ "knowledge" ]
|
|
7797
|
+
},
|
|
7798
|
+
"get" : {
|
|
7799
|
+
"description" : "Get all images from a library image in knowledge base",
|
|
7800
|
+
"operationId" : "getImagesFromKnowledgeBaseLibrary",
|
|
7801
|
+
"parameters" : [ {
|
|
7802
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
7803
|
+
"in" : "path",
|
|
7804
|
+
"name" : "knowledgebaseId",
|
|
7805
|
+
"required" : true,
|
|
7806
|
+
"schema" : {
|
|
7807
|
+
"format" : "uuid",
|
|
7808
|
+
"type" : "string"
|
|
7809
|
+
}
|
|
7810
|
+
} ],
|
|
7811
|
+
"responses" : {
|
|
7812
|
+
"200" : {
|
|
7813
|
+
"content" : {
|
|
7814
|
+
"application/json" : {
|
|
7815
|
+
"schema" : {
|
|
7816
|
+
"items" : {
|
|
7817
|
+
"$ref" : "#/components/schemas/ImageKnowledge"
|
|
7818
|
+
},
|
|
7819
|
+
"type" : "array"
|
|
7820
|
+
}
|
|
7821
|
+
}
|
|
7822
|
+
},
|
|
7823
|
+
"description" : "Images retrieved successfully"
|
|
7824
|
+
},
|
|
7825
|
+
"401" : {
|
|
7826
|
+
"description" : "Unauthorized"
|
|
7827
|
+
},
|
|
7828
|
+
"403" : {
|
|
7829
|
+
"description" : "Forbidden - User cannot access this knowledge base"
|
|
7830
|
+
},
|
|
7831
|
+
"404" : {
|
|
7832
|
+
"description" : "Images not found"
|
|
7833
|
+
},
|
|
7834
|
+
"500" : {
|
|
7835
|
+
"description" : "Server error"
|
|
7836
|
+
}
|
|
7837
|
+
},
|
|
7838
|
+
"summary" : "Get all knowledge images from a knowledge base",
|
|
7839
|
+
"tags" : [ "knowledge" ]
|
|
7840
|
+
},
|
|
7841
|
+
"post" : {
|
|
7842
|
+
"description" : "Upload a new image to a library image in knowledge base and return the upload URL",
|
|
7843
|
+
"operationId" : "uploadImageToKnowledgeBaseLibrary",
|
|
7844
|
+
"parameters" : [ {
|
|
7845
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
7846
|
+
"in" : "path",
|
|
7847
|
+
"name" : "knowledgebaseId",
|
|
7848
|
+
"required" : true,
|
|
7849
|
+
"schema" : {
|
|
7850
|
+
"format" : "uuid",
|
|
7851
|
+
"type" : "string"
|
|
7852
|
+
}
|
|
7853
|
+
} ],
|
|
7854
|
+
"requestBody" : {
|
|
7855
|
+
"content" : {
|
|
7856
|
+
"application/json" : {
|
|
7857
|
+
"schema" : {
|
|
7858
|
+
"$ref" : "#/components/schemas/uploadImageToKnowledgeBaseLibrary_request"
|
|
7859
|
+
}
|
|
7860
|
+
}
|
|
7861
|
+
},
|
|
7862
|
+
"required" : true
|
|
7863
|
+
},
|
|
7864
|
+
"responses" : {
|
|
7865
|
+
"200" : {
|
|
7866
|
+
"content" : {
|
|
7867
|
+
"application/json" : {
|
|
7868
|
+
"schema" : {
|
|
7869
|
+
"$ref" : "#/components/schemas/uploadImageToKnowledgeBaseLibrary_200_response"
|
|
7870
|
+
}
|
|
7871
|
+
}
|
|
7872
|
+
},
|
|
7873
|
+
"description" : "Image declared successfully with presigned upload URL"
|
|
7874
|
+
},
|
|
7875
|
+
"401" : {
|
|
7876
|
+
"description" : "Unauthorized"
|
|
7877
|
+
},
|
|
7878
|
+
"403" : {
|
|
7879
|
+
"description" : "Forbidden - User doesn't have access to this knowledge base"
|
|
7880
|
+
},
|
|
7881
|
+
"404" : {
|
|
7882
|
+
"description" : "Knowledge base or image not found"
|
|
7883
|
+
},
|
|
7884
|
+
"500" : {
|
|
7885
|
+
"description" : "Server error"
|
|
7886
|
+
}
|
|
7887
|
+
},
|
|
7888
|
+
"summary" : "Upload a new image to a library image in knowledge base",
|
|
7889
|
+
"tags" : [ "knowledge" ]
|
|
7890
|
+
}
|
|
7891
|
+
},
|
|
7892
|
+
"/knowledge-bases/{knowledgebaseId}/images/{imageId}/status" : {
|
|
7893
|
+
"post" : {
|
|
7894
|
+
"description" : "Update the status of a specific knowledge image in a library image in knowledge base",
|
|
7895
|
+
"operationId" : "updateImageStatusInKnowledgeBaseLibrary",
|
|
7896
|
+
"parameters" : [ {
|
|
7897
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
7898
|
+
"in" : "path",
|
|
7899
|
+
"name" : "knowledgebaseId",
|
|
7900
|
+
"required" : true,
|
|
7901
|
+
"schema" : {
|
|
7902
|
+
"format" : "uuid",
|
|
7903
|
+
"type" : "string"
|
|
7904
|
+
}
|
|
7905
|
+
}, {
|
|
7906
|
+
"description" : "ID of the image to delete",
|
|
7907
|
+
"in" : "path",
|
|
7908
|
+
"name" : "imageId",
|
|
7909
|
+
"required" : true,
|
|
7910
|
+
"schema" : {
|
|
7911
|
+
"format" : "uuid",
|
|
7912
|
+
"type" : "string"
|
|
7913
|
+
}
|
|
7914
|
+
} ],
|
|
7915
|
+
"requestBody" : {
|
|
7916
|
+
"content" : {
|
|
7917
|
+
"application/json" : {
|
|
7918
|
+
"schema" : {
|
|
7919
|
+
"$ref" : "#/components/schemas/FileStatusUpdateRequest"
|
|
7920
|
+
}
|
|
7921
|
+
}
|
|
7922
|
+
},
|
|
7923
|
+
"required" : true
|
|
7924
|
+
},
|
|
7925
|
+
"responses" : {
|
|
7926
|
+
"200" : {
|
|
7927
|
+
"content" : {
|
|
7928
|
+
"application/json" : {
|
|
7929
|
+
"schema" : {
|
|
7930
|
+
"$ref" : "#/components/schemas/FileStatus"
|
|
7931
|
+
}
|
|
7932
|
+
}
|
|
7933
|
+
},
|
|
7934
|
+
"description" : "Image status updated successfully"
|
|
7935
|
+
},
|
|
7936
|
+
"401" : {
|
|
7937
|
+
"description" : "Unauthorized"
|
|
7938
|
+
},
|
|
7939
|
+
"403" : {
|
|
7940
|
+
"description" : "Forbidden - User doesn't have access to this knowledge base"
|
|
7941
|
+
},
|
|
7942
|
+
"404" : {
|
|
7943
|
+
"description" : "Knowledge base or image not found or status not found"
|
|
7944
|
+
},
|
|
7945
|
+
"500" : {
|
|
7946
|
+
"description" : "Server error"
|
|
7947
|
+
}
|
|
7948
|
+
},
|
|
7949
|
+
"summary" : "Update the status of a specific knowledge image in a library image in knowledge base",
|
|
7950
|
+
"tags" : [ "knowledge" ]
|
|
7951
|
+
}
|
|
7952
|
+
},
|
|
7953
|
+
"/knowledge-bases/{knowledgebaseId}/inactive-file-ids" : {
|
|
7954
|
+
"get" : {
|
|
7955
|
+
"description" : "Returns an array of file IDs that are marked as inactive in the given knowledge base.",
|
|
7956
|
+
"operationId" : "getInactiveKnowledgeFileIds",
|
|
7957
|
+
"parameters" : [ {
|
|
7958
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
7959
|
+
"in" : "path",
|
|
7960
|
+
"name" : "knowledgebaseId",
|
|
7961
|
+
"required" : true,
|
|
7962
|
+
"schema" : {
|
|
7963
|
+
"format" : "uuid",
|
|
7964
|
+
"type" : "string"
|
|
7965
|
+
}
|
|
7966
|
+
} ],
|
|
7967
|
+
"responses" : {
|
|
7968
|
+
"200" : {
|
|
7969
|
+
"content" : {
|
|
7970
|
+
"application/json" : {
|
|
7971
|
+
"schema" : {
|
|
7972
|
+
"items" : {
|
|
7973
|
+
"type" : "string"
|
|
7974
|
+
},
|
|
7975
|
+
"type" : "array"
|
|
7976
|
+
}
|
|
7977
|
+
}
|
|
7978
|
+
},
|
|
7979
|
+
"description" : "List of inactive file IDs"
|
|
7980
|
+
},
|
|
7981
|
+
"401" : {
|
|
7982
|
+
"description" : "Unauthorized"
|
|
7983
|
+
},
|
|
7984
|
+
"403" : {
|
|
7985
|
+
"description" : "Forbidden"
|
|
7986
|
+
},
|
|
7987
|
+
"404" : {
|
|
7988
|
+
"description" : "Knowledge base not found"
|
|
7989
|
+
}
|
|
7990
|
+
},
|
|
7991
|
+
"summary" : "Get inactive knowledge file IDs for a knowledge base",
|
|
7992
|
+
"tags" : [ "knowledge" ]
|
|
7993
|
+
}
|
|
7994
|
+
},
|
|
7995
|
+
"/knowledge-bases/{knowledgebaseId}/configuration" : {
|
|
7996
|
+
"get" : {
|
|
7997
|
+
"description" : "Returns the current configuration for a knowledge base",
|
|
7998
|
+
"operationId" : "getKnowledgeBaseConfiguration",
|
|
7999
|
+
"parameters" : [ {
|
|
8000
|
+
"description" : "ID of the knowledge base to retrieve",
|
|
8001
|
+
"in" : "path",
|
|
8002
|
+
"name" : "knowledgebaseId",
|
|
8003
|
+
"required" : true,
|
|
8004
|
+
"schema" : {
|
|
8005
|
+
"format" : "uuid",
|
|
8006
|
+
"type" : "string"
|
|
8007
|
+
}
|
|
8008
|
+
} ],
|
|
8009
|
+
"responses" : {
|
|
8010
|
+
"200" : {
|
|
8011
|
+
"content" : {
|
|
8012
|
+
"application/json" : {
|
|
8013
|
+
"schema" : {
|
|
8014
|
+
"$ref" : "#/components/schemas/KnowledgeBaseConfiguration"
|
|
7724
8015
|
}
|
|
7725
8016
|
}
|
|
7726
8017
|
},
|
|
@@ -7791,6 +8082,53 @@
|
|
|
7791
8082
|
"tags" : [ "knowledge" ]
|
|
7792
8083
|
}
|
|
7793
8084
|
},
|
|
8085
|
+
"/knowledge-files" : {
|
|
8086
|
+
"get" : {
|
|
8087
|
+
"description" : "Get all knowledge files belonging to the given knowledge bases",
|
|
8088
|
+
"operationId" : "getKnowledgeFiles",
|
|
8089
|
+
"parameters" : [ {
|
|
8090
|
+
"description" : "IDs of the knowledge bases to get files for",
|
|
8091
|
+
"in" : "query",
|
|
8092
|
+
"name" : "knowledgeBaseIds",
|
|
8093
|
+
"required" : true,
|
|
8094
|
+
"schema" : {
|
|
8095
|
+
"items" : {
|
|
8096
|
+
"type" : "string"
|
|
8097
|
+
},
|
|
8098
|
+
"type" : "array"
|
|
8099
|
+
}
|
|
8100
|
+
} ],
|
|
8101
|
+
"responses" : {
|
|
8102
|
+
"200" : {
|
|
8103
|
+
"content" : {
|
|
8104
|
+
"application/json" : {
|
|
8105
|
+
"schema" : {
|
|
8106
|
+
"items" : {
|
|
8107
|
+
"$ref" : "#/components/schemas/File"
|
|
8108
|
+
},
|
|
8109
|
+
"type" : "array"
|
|
8110
|
+
}
|
|
8111
|
+
}
|
|
8112
|
+
},
|
|
8113
|
+
"description" : "Knowledge files retrieved successfully"
|
|
8114
|
+
},
|
|
8115
|
+
"400" : {
|
|
8116
|
+
"description" : "knowledgeBaseIds query parameter is required"
|
|
8117
|
+
},
|
|
8118
|
+
"401" : {
|
|
8119
|
+
"description" : "Unauthorized"
|
|
8120
|
+
},
|
|
8121
|
+
"403" : {
|
|
8122
|
+
"description" : "Forbidden - User is not part of the organization"
|
|
8123
|
+
},
|
|
8124
|
+
"404" : {
|
|
8125
|
+
"description" : "Knowledge bases not found"
|
|
8126
|
+
}
|
|
8127
|
+
},
|
|
8128
|
+
"summary" : "Get knowledge files for knowledge bases",
|
|
8129
|
+
"tags" : [ "knowledge" ]
|
|
8130
|
+
}
|
|
8131
|
+
},
|
|
7794
8132
|
"/knowledge-files/{fileId}" : {
|
|
7795
8133
|
"get" : {
|
|
7796
8134
|
"description" : "Retrieves metadata for a specific knowledge file by file ID",
|
|
@@ -7827,6 +8165,96 @@
|
|
|
7827
8165
|
},
|
|
7828
8166
|
"summary" : "Get a specific knowledge file",
|
|
7829
8167
|
"tags" : [ "knowledge" ]
|
|
8168
|
+
},
|
|
8169
|
+
"patch" : {
|
|
8170
|
+
"description" : "Update the active state of a knowledge file",
|
|
8171
|
+
"operationId" : "patchKnowledgeFile",
|
|
8172
|
+
"parameters" : [ {
|
|
8173
|
+
"description" : "The ID of the file",
|
|
8174
|
+
"in" : "path",
|
|
8175
|
+
"name" : "fileId",
|
|
8176
|
+
"required" : true,
|
|
8177
|
+
"schema" : {
|
|
8178
|
+
"type" : "string"
|
|
8179
|
+
}
|
|
8180
|
+
} ],
|
|
8181
|
+
"requestBody" : {
|
|
8182
|
+
"content" : {
|
|
8183
|
+
"application/json" : {
|
|
8184
|
+
"schema" : {
|
|
8185
|
+
"$ref" : "#/components/schemas/patchKnowledgeFile_request"
|
|
8186
|
+
}
|
|
8187
|
+
}
|
|
8188
|
+
},
|
|
8189
|
+
"required" : true
|
|
8190
|
+
},
|
|
8191
|
+
"responses" : {
|
|
8192
|
+
"200" : {
|
|
8193
|
+
"content" : {
|
|
8194
|
+
"application/json" : {
|
|
8195
|
+
"schema" : {
|
|
8196
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
8197
|
+
}
|
|
8198
|
+
}
|
|
8199
|
+
},
|
|
8200
|
+
"description" : "Knowledge file updated successfully"
|
|
8201
|
+
},
|
|
8202
|
+
"400" : {
|
|
8203
|
+
"description" : "Invalid file status update"
|
|
8204
|
+
},
|
|
8205
|
+
"401" : {
|
|
8206
|
+
"description" : "Unauthorized"
|
|
8207
|
+
},
|
|
8208
|
+
"403" : {
|
|
8209
|
+
"description" : "Forbidden - User cannot access this knowledge base"
|
|
8210
|
+
},
|
|
8211
|
+
"404" : {
|
|
8212
|
+
"description" : "Knowledge file not found"
|
|
8213
|
+
}
|
|
8214
|
+
},
|
|
8215
|
+
"summary" : "Update a knowledge file",
|
|
8216
|
+
"tags" : [ "knowledge" ]
|
|
8217
|
+
}
|
|
8218
|
+
},
|
|
8219
|
+
"/knowledge-files/{fileId}/kowledge-site-pages" : {
|
|
8220
|
+
"get" : {
|
|
8221
|
+
"description" : "Get the scraped site pages attached to a knowledge file of type website",
|
|
8222
|
+
"operationId" : "getKnowledgeSitePagesForFile",
|
|
8223
|
+
"parameters" : [ {
|
|
8224
|
+
"description" : "The ID of the file",
|
|
8225
|
+
"in" : "path",
|
|
8226
|
+
"name" : "fileId",
|
|
8227
|
+
"required" : true,
|
|
8228
|
+
"schema" : {
|
|
8229
|
+
"type" : "string"
|
|
8230
|
+
}
|
|
8231
|
+
} ],
|
|
8232
|
+
"responses" : {
|
|
8233
|
+
"200" : {
|
|
8234
|
+
"content" : {
|
|
8235
|
+
"application/json" : {
|
|
8236
|
+
"schema" : {
|
|
8237
|
+
"items" : {
|
|
8238
|
+
"$ref" : "#/components/schemas/KnowledgeSitePage"
|
|
8239
|
+
},
|
|
8240
|
+
"type" : "array"
|
|
8241
|
+
}
|
|
8242
|
+
}
|
|
8243
|
+
},
|
|
8244
|
+
"description" : "Knowledge site pages retrieved successfully"
|
|
8245
|
+
},
|
|
8246
|
+
"401" : {
|
|
8247
|
+
"description" : "Unauthorized"
|
|
8248
|
+
},
|
|
8249
|
+
"403" : {
|
|
8250
|
+
"description" : "Forbidden - User is not part of the organization"
|
|
8251
|
+
},
|
|
8252
|
+
"404" : {
|
|
8253
|
+
"description" : "File or knowledge base not found"
|
|
8254
|
+
}
|
|
8255
|
+
},
|
|
8256
|
+
"summary" : "Get knowledge site pages for a file",
|
|
8257
|
+
"tags" : [ "knowledge" ]
|
|
7830
8258
|
}
|
|
7831
8259
|
},
|
|
7832
8260
|
"/knowledge-files/{fileId}/status" : {
|
|
@@ -8006,51 +8434,164 @@
|
|
|
8006
8434
|
"in" : "query",
|
|
8007
8435
|
"name" : "page",
|
|
8008
8436
|
"schema" : {
|
|
8009
|
-
"type" : "integer"
|
|
8437
|
+
"type" : "integer"
|
|
8438
|
+
}
|
|
8439
|
+
} ],
|
|
8440
|
+
"responses" : {
|
|
8441
|
+
"200" : {
|
|
8442
|
+
"content" : {
|
|
8443
|
+
"application/json" : {
|
|
8444
|
+
"schema" : {
|
|
8445
|
+
"items" : {
|
|
8446
|
+
"$ref" : "#/components/schemas/AgentTool"
|
|
8447
|
+
},
|
|
8448
|
+
"type" : "array"
|
|
8449
|
+
}
|
|
8450
|
+
}
|
|
8451
|
+
},
|
|
8452
|
+
"description" : "List of tools",
|
|
8453
|
+
"headers" : {
|
|
8454
|
+
"X-Total-Count" : {
|
|
8455
|
+
"description" : "Total number of matching tools",
|
|
8456
|
+
"schema" : {
|
|
8457
|
+
"type" : "integer"
|
|
8458
|
+
}
|
|
8459
|
+
}
|
|
8460
|
+
}
|
|
8461
|
+
},
|
|
8462
|
+
"400" : {
|
|
8463
|
+
"description" : "MISSING_ORG_ID"
|
|
8464
|
+
},
|
|
8465
|
+
"401" : {
|
|
8466
|
+
"description" : "Unauthorized"
|
|
8467
|
+
},
|
|
8468
|
+
"403" : {
|
|
8469
|
+
"description" : "Forbidden"
|
|
8470
|
+
}
|
|
8471
|
+
},
|
|
8472
|
+
"summary" : "Search tools in an organization",
|
|
8473
|
+
"tags" : [ "tools" ]
|
|
8474
|
+
},
|
|
8475
|
+
"post" : {
|
|
8476
|
+
"description" : "Creates a tool in an organization (admin only)",
|
|
8477
|
+
"operationId" : "createTool",
|
|
8478
|
+
"parameters" : [ {
|
|
8479
|
+
"description" : "ID of the organization",
|
|
8480
|
+
"in" : "path",
|
|
8481
|
+
"name" : "organizationId",
|
|
8482
|
+
"required" : true,
|
|
8483
|
+
"schema" : {
|
|
8484
|
+
"type" : "string"
|
|
8485
|
+
}
|
|
8486
|
+
} ],
|
|
8487
|
+
"requestBody" : {
|
|
8488
|
+
"content" : {
|
|
8489
|
+
"application/json" : {
|
|
8490
|
+
"schema" : {
|
|
8491
|
+
"$ref" : "#/components/schemas/ToolCreateRequest"
|
|
8492
|
+
}
|
|
8493
|
+
}
|
|
8494
|
+
},
|
|
8495
|
+
"required" : true
|
|
8496
|
+
},
|
|
8497
|
+
"responses" : {
|
|
8498
|
+
"201" : {
|
|
8499
|
+
"content" : {
|
|
8500
|
+
"application/json" : {
|
|
8501
|
+
"schema" : {
|
|
8502
|
+
"$ref" : "#/components/schemas/AgentTool"
|
|
8503
|
+
}
|
|
8504
|
+
}
|
|
8505
|
+
},
|
|
8506
|
+
"description" : "Tool created successfully"
|
|
8507
|
+
},
|
|
8508
|
+
"400" : {
|
|
8509
|
+
"description" : "Invalid request body / INVALID_TOOL_CONFIGURATION / FAILED_TO_FETCH_MANIFEST / TOOL_NAME_ALREADY_EXISTS"
|
|
8510
|
+
},
|
|
8511
|
+
"401" : {
|
|
8512
|
+
"description" : "Unauthorized"
|
|
8513
|
+
},
|
|
8514
|
+
"403" : {
|
|
8515
|
+
"description" : "Forbidden"
|
|
8516
|
+
},
|
|
8517
|
+
"404" : {
|
|
8518
|
+
"description" : "ORGANIZATION_NOT_FOUND"
|
|
8519
|
+
},
|
|
8520
|
+
"409" : {
|
|
8521
|
+
"description" : "INVALID_TOOL_TYPE"
|
|
8522
|
+
}
|
|
8523
|
+
},
|
|
8524
|
+
"summary" : "Create a new tool",
|
|
8525
|
+
"tags" : [ "tools" ]
|
|
8526
|
+
}
|
|
8527
|
+
},
|
|
8528
|
+
"/tool-presets" : {
|
|
8529
|
+
"get" : {
|
|
8530
|
+
"description" : "Get the list of active tool presets",
|
|
8531
|
+
"operationId" : "getToolPresets",
|
|
8532
|
+
"responses" : {
|
|
8533
|
+
"200" : {
|
|
8534
|
+
"content" : {
|
|
8535
|
+
"application/json" : {
|
|
8536
|
+
"schema" : {
|
|
8537
|
+
"items" : {
|
|
8538
|
+
"additionalProperties" : true,
|
|
8539
|
+
"type" : "object"
|
|
8540
|
+
},
|
|
8541
|
+
"type" : "array"
|
|
8542
|
+
}
|
|
8543
|
+
}
|
|
8544
|
+
},
|
|
8545
|
+
"description" : "Tool presets retrieved successfully"
|
|
8546
|
+
},
|
|
8547
|
+
"401" : {
|
|
8548
|
+
"description" : "Unauthorized"
|
|
8549
|
+
}
|
|
8550
|
+
},
|
|
8551
|
+
"summary" : "Get tool presets",
|
|
8552
|
+
"tags" : [ "tools" ]
|
|
8553
|
+
}
|
|
8554
|
+
},
|
|
8555
|
+
"/tools/{toolId}/credentials/static" : {
|
|
8556
|
+
"delete" : {
|
|
8557
|
+
"description" : "Remove the stored static credentials of the current user on a user-scoped tool",
|
|
8558
|
+
"operationId" : "deleteToolStaticCredentials",
|
|
8559
|
+
"parameters" : [ {
|
|
8560
|
+
"description" : "Tool identifier",
|
|
8561
|
+
"in" : "path",
|
|
8562
|
+
"name" : "toolId",
|
|
8563
|
+
"required" : true,
|
|
8564
|
+
"schema" : {
|
|
8565
|
+
"type" : "string"
|
|
8010
8566
|
}
|
|
8011
8567
|
} ],
|
|
8012
8568
|
"responses" : {
|
|
8013
|
-
"
|
|
8014
|
-
"
|
|
8015
|
-
"application/json" : {
|
|
8016
|
-
"schema" : {
|
|
8017
|
-
"items" : {
|
|
8018
|
-
"$ref" : "#/components/schemas/AgentTool"
|
|
8019
|
-
},
|
|
8020
|
-
"type" : "array"
|
|
8021
|
-
}
|
|
8022
|
-
}
|
|
8023
|
-
},
|
|
8024
|
-
"description" : "List of tools",
|
|
8025
|
-
"headers" : {
|
|
8026
|
-
"X-Total-Count" : {
|
|
8027
|
-
"description" : "Total number of matching tools",
|
|
8028
|
-
"schema" : {
|
|
8029
|
-
"type" : "integer"
|
|
8030
|
-
}
|
|
8031
|
-
}
|
|
8032
|
-
}
|
|
8569
|
+
"204" : {
|
|
8570
|
+
"description" : "Static credentials cleared successfully"
|
|
8033
8571
|
},
|
|
8034
8572
|
"400" : {
|
|
8035
|
-
"description" : "
|
|
8573
|
+
"description" : "Tool not user-scoped"
|
|
8036
8574
|
},
|
|
8037
8575
|
"401" : {
|
|
8038
8576
|
"description" : "Unauthorized"
|
|
8039
8577
|
},
|
|
8040
8578
|
"403" : {
|
|
8041
|
-
"description" : "Forbidden"
|
|
8579
|
+
"description" : "Forbidden - User is not part of the organization"
|
|
8580
|
+
},
|
|
8581
|
+
"404" : {
|
|
8582
|
+
"description" : "Tool not found"
|
|
8042
8583
|
}
|
|
8043
8584
|
},
|
|
8044
|
-
"summary" : "
|
|
8585
|
+
"summary" : "Clear user static credentials for a tool",
|
|
8045
8586
|
"tags" : [ "tools" ]
|
|
8046
8587
|
},
|
|
8047
|
-
"
|
|
8048
|
-
"description" : "
|
|
8049
|
-
"operationId" : "
|
|
8588
|
+
"put" : {
|
|
8589
|
+
"description" : "Validate and store encrypted static credentials (bearer token or header value) for the current user on a user-scoped tool",
|
|
8590
|
+
"operationId" : "updateToolStaticCredentials",
|
|
8050
8591
|
"parameters" : [ {
|
|
8051
|
-
"description" : "
|
|
8592
|
+
"description" : "Tool identifier",
|
|
8052
8593
|
"in" : "path",
|
|
8053
|
-
"name" : "
|
|
8594
|
+
"name" : "toolId",
|
|
8054
8595
|
"required" : true,
|
|
8055
8596
|
"schema" : {
|
|
8056
8597
|
"type" : "string"
|
|
@@ -8060,40 +8601,30 @@
|
|
|
8060
8601
|
"content" : {
|
|
8061
8602
|
"application/json" : {
|
|
8062
8603
|
"schema" : {
|
|
8063
|
-
"$ref" : "#/components/schemas/
|
|
8604
|
+
"$ref" : "#/components/schemas/updateToolStaticCredentials_request"
|
|
8064
8605
|
}
|
|
8065
8606
|
}
|
|
8066
8607
|
},
|
|
8067
8608
|
"required" : true
|
|
8068
8609
|
},
|
|
8069
8610
|
"responses" : {
|
|
8070
|
-
"
|
|
8071
|
-
"
|
|
8072
|
-
"application/json" : {
|
|
8073
|
-
"schema" : {
|
|
8074
|
-
"$ref" : "#/components/schemas/AgentTool"
|
|
8075
|
-
}
|
|
8076
|
-
}
|
|
8077
|
-
},
|
|
8078
|
-
"description" : "Tool created successfully"
|
|
8611
|
+
"204" : {
|
|
8612
|
+
"description" : "Static credentials stored successfully"
|
|
8079
8613
|
},
|
|
8080
8614
|
"400" : {
|
|
8081
|
-
"description" : "Invalid
|
|
8615
|
+
"description" : "Invalid body, tool not user-scoped, wrong auth type or invalid credential"
|
|
8082
8616
|
},
|
|
8083
8617
|
"401" : {
|
|
8084
8618
|
"description" : "Unauthorized"
|
|
8085
8619
|
},
|
|
8086
8620
|
"403" : {
|
|
8087
|
-
"description" : "Forbidden"
|
|
8621
|
+
"description" : "Forbidden - User is not part of the organization"
|
|
8088
8622
|
},
|
|
8089
8623
|
"404" : {
|
|
8090
|
-
"description" : "
|
|
8091
|
-
},
|
|
8092
|
-
"409" : {
|
|
8093
|
-
"description" : "INVALID_TOOL_TYPE"
|
|
8624
|
+
"description" : "Tool not found"
|
|
8094
8625
|
}
|
|
8095
8626
|
},
|
|
8096
|
-
"summary" : "
|
|
8627
|
+
"summary" : "Set user static credentials for a tool",
|
|
8097
8628
|
"tags" : [ "tools" ]
|
|
8098
8629
|
}
|
|
8099
8630
|
},
|
|
@@ -9228,6 +9759,47 @@
|
|
|
9228
9759
|
"tags" : [ "skills" ]
|
|
9229
9760
|
}
|
|
9230
9761
|
},
|
|
9762
|
+
"/agents/{agentId}/commands" : {
|
|
9763
|
+
"get" : {
|
|
9764
|
+
"operationId" : "getAgentAvailableCommands",
|
|
9765
|
+
"parameters" : [ {
|
|
9766
|
+
"description" : "ID of the agent",
|
|
9767
|
+
"in" : "path",
|
|
9768
|
+
"name" : "agentId",
|
|
9769
|
+
"required" : true,
|
|
9770
|
+
"schema" : {
|
|
9771
|
+
"format" : "uuid",
|
|
9772
|
+
"type" : "string"
|
|
9773
|
+
}
|
|
9774
|
+
} ],
|
|
9775
|
+
"responses" : {
|
|
9776
|
+
"200" : {
|
|
9777
|
+
"content" : {
|
|
9778
|
+
"application/json" : {
|
|
9779
|
+
"schema" : {
|
|
9780
|
+
"items" : {
|
|
9781
|
+
"$ref" : "#/components/schemas/AvailableCommand"
|
|
9782
|
+
},
|
|
9783
|
+
"type" : "array"
|
|
9784
|
+
}
|
|
9785
|
+
}
|
|
9786
|
+
},
|
|
9787
|
+
"description" : "List of available commands for the agent"
|
|
9788
|
+
},
|
|
9789
|
+
"401" : {
|
|
9790
|
+
"description" : "Unauthorized"
|
|
9791
|
+
},
|
|
9792
|
+
"403" : {
|
|
9793
|
+
"description" : "Forbidden"
|
|
9794
|
+
},
|
|
9795
|
+
"404" : {
|
|
9796
|
+
"description" : "AGENT_NOT_FOUND"
|
|
9797
|
+
}
|
|
9798
|
+
},
|
|
9799
|
+
"summary" : "Get available slash commands for an agent (predefined commands + active skills)",
|
|
9800
|
+
"tags" : [ "skills" ]
|
|
9801
|
+
}
|
|
9802
|
+
},
|
|
9231
9803
|
"/agents/{agentId}/skills/{skillId}" : {
|
|
9232
9804
|
"delete" : {
|
|
9233
9805
|
"operationId" : "unassignSkillFromAgent",
|
|
@@ -9642,6 +10214,13 @@
|
|
|
9642
10214
|
} ],
|
|
9643
10215
|
"responses" : {
|
|
9644
10216
|
"200" : {
|
|
10217
|
+
"content" : {
|
|
10218
|
+
"application/json" : {
|
|
10219
|
+
"schema" : {
|
|
10220
|
+
"$ref" : "#/components/schemas/MessageStatus"
|
|
10221
|
+
}
|
|
10222
|
+
}
|
|
10223
|
+
},
|
|
9645
10224
|
"description" : "Message status retrieved successfully"
|
|
9646
10225
|
},
|
|
9647
10226
|
"401" : {
|
|
@@ -9697,33 +10276,198 @@
|
|
|
9697
10276
|
"content" : {
|
|
9698
10277
|
"application/json" : {
|
|
9699
10278
|
"schema" : {
|
|
9700
|
-
"$ref" : "#/components/schemas/setMessageReaction_200_response"
|
|
10279
|
+
"$ref" : "#/components/schemas/setMessageReaction_200_response"
|
|
10280
|
+
}
|
|
10281
|
+
}
|
|
10282
|
+
},
|
|
10283
|
+
"description" : "Reaction updated successfully"
|
|
10284
|
+
},
|
|
10285
|
+
"400" : {
|
|
10286
|
+
"description" : "Invalid request"
|
|
10287
|
+
},
|
|
10288
|
+
"401" : {
|
|
10289
|
+
"description" : "Unauthorized"
|
|
10290
|
+
},
|
|
10291
|
+
"403" : {
|
|
10292
|
+
"description" : "Forbidden - User cannot access this conversation"
|
|
10293
|
+
},
|
|
10294
|
+
"404" : {
|
|
10295
|
+
"description" : "Conversation or message not found"
|
|
10296
|
+
}
|
|
10297
|
+
},
|
|
10298
|
+
"summary" : "Set reaction on a message",
|
|
10299
|
+
"tags" : [ "prompts" ]
|
|
10300
|
+
}
|
|
10301
|
+
},
|
|
10302
|
+
"/apps/{appId}/languages/{language}/fillers/{fillerId}/audio" : {
|
|
10303
|
+
"get" : {
|
|
10304
|
+
"description" : "Get audio filler by ID",
|
|
10305
|
+
"operationId" : "getAudioFillerById",
|
|
10306
|
+
"parameters" : [ {
|
|
10307
|
+
"description" : "ID of the app",
|
|
10308
|
+
"in" : "path",
|
|
10309
|
+
"name" : "appId",
|
|
10310
|
+
"required" : true,
|
|
10311
|
+
"schema" : {
|
|
10312
|
+
"type" : "string"
|
|
10313
|
+
}
|
|
10314
|
+
}, {
|
|
10315
|
+
"description" : "Language code",
|
|
10316
|
+
"in" : "path",
|
|
10317
|
+
"name" : "language",
|
|
10318
|
+
"required" : true,
|
|
10319
|
+
"schema" : {
|
|
10320
|
+
"type" : "string"
|
|
10321
|
+
}
|
|
10322
|
+
}, {
|
|
10323
|
+
"description" : "ID of the filler",
|
|
10324
|
+
"in" : "path",
|
|
10325
|
+
"name" : "fillerId",
|
|
10326
|
+
"required" : true,
|
|
10327
|
+
"schema" : {
|
|
10328
|
+
"type" : "string"
|
|
10329
|
+
}
|
|
10330
|
+
} ],
|
|
10331
|
+
"responses" : {
|
|
10332
|
+
"200" : {
|
|
10333
|
+
"content" : {
|
|
10334
|
+
"application/json" : {
|
|
10335
|
+
"schema" : {
|
|
10336
|
+
"$ref" : "#/components/schemas/AudioFile"
|
|
10337
|
+
}
|
|
10338
|
+
}
|
|
10339
|
+
},
|
|
10340
|
+
"description" : "Audio filler retrieved successfully"
|
|
10341
|
+
},
|
|
10342
|
+
"401" : {
|
|
10343
|
+
"description" : "Unauthorized"
|
|
10344
|
+
},
|
|
10345
|
+
"403" : {
|
|
10346
|
+
"description" : "Forbidden - User doesn't have access to this app"
|
|
10347
|
+
},
|
|
10348
|
+
"404" : {
|
|
10349
|
+
"description" : "Audio filler not found"
|
|
10350
|
+
},
|
|
10351
|
+
"500" : {
|
|
10352
|
+
"description" : "Server error"
|
|
10353
|
+
}
|
|
10354
|
+
},
|
|
10355
|
+
"summary" : "Get audio filler by ID",
|
|
10356
|
+
"tags" : [ "app" ]
|
|
10357
|
+
}
|
|
10358
|
+
},
|
|
10359
|
+
"/apps/{appId}/fillers" : {
|
|
10360
|
+
"get" : {
|
|
10361
|
+
"description" : "List all fillers of the app across languages",
|
|
10362
|
+
"operationId" : "getAppFillers",
|
|
10363
|
+
"parameters" : [ {
|
|
10364
|
+
"description" : "ID of the app",
|
|
10365
|
+
"in" : "path",
|
|
10366
|
+
"name" : "appId",
|
|
10367
|
+
"required" : true,
|
|
10368
|
+
"schema" : {
|
|
10369
|
+
"type" : "string"
|
|
10370
|
+
}
|
|
10371
|
+
} ],
|
|
10372
|
+
"responses" : {
|
|
10373
|
+
"200" : {
|
|
10374
|
+
"content" : {
|
|
10375
|
+
"application/json" : {
|
|
10376
|
+
"schema" : {
|
|
10377
|
+
"$ref" : "#/components/schemas/FillersArray"
|
|
10378
|
+
}
|
|
10379
|
+
}
|
|
10380
|
+
},
|
|
10381
|
+
"description" : "List of app fillers"
|
|
10382
|
+
},
|
|
10383
|
+
"401" : {
|
|
10384
|
+
"description" : "Unauthorized"
|
|
10385
|
+
},
|
|
10386
|
+
"403" : {
|
|
10387
|
+
"description" : "Forbidden - User doesn't have access to this app"
|
|
10388
|
+
},
|
|
10389
|
+
"404" : {
|
|
10390
|
+
"description" : "App not found"
|
|
10391
|
+
},
|
|
10392
|
+
"500" : {
|
|
10393
|
+
"description" : "Server error"
|
|
10394
|
+
}
|
|
10395
|
+
},
|
|
10396
|
+
"summary" : "List app fillers",
|
|
10397
|
+
"tags" : [ "app" ]
|
|
10398
|
+
}
|
|
10399
|
+
},
|
|
10400
|
+
"/apps/{appId}/voice/{voiceId}/languages/{language}/fillers" : {
|
|
10401
|
+
"get" : {
|
|
10402
|
+
"description" : "Check for each filler id whether its generated audio exists for the given voice",
|
|
10403
|
+
"operationId" : "checkAudioFillerExists",
|
|
10404
|
+
"parameters" : [ {
|
|
10405
|
+
"description" : "ID of the app",
|
|
10406
|
+
"in" : "path",
|
|
10407
|
+
"name" : "appId",
|
|
10408
|
+
"required" : true,
|
|
10409
|
+
"schema" : {
|
|
10410
|
+
"type" : "string"
|
|
10411
|
+
}
|
|
10412
|
+
}, {
|
|
10413
|
+
"description" : "ID of the voice",
|
|
10414
|
+
"in" : "path",
|
|
10415
|
+
"name" : "voiceId",
|
|
10416
|
+
"required" : true,
|
|
10417
|
+
"schema" : {
|
|
10418
|
+
"type" : "string"
|
|
10419
|
+
}
|
|
10420
|
+
}, {
|
|
10421
|
+
"description" : "Language code",
|
|
10422
|
+
"in" : "path",
|
|
10423
|
+
"name" : "language",
|
|
10424
|
+
"required" : true,
|
|
10425
|
+
"schema" : {
|
|
10426
|
+
"type" : "string"
|
|
10427
|
+
}
|
|
10428
|
+
}, {
|
|
10429
|
+
"description" : "Fillers IDs",
|
|
10430
|
+
"in" : "query",
|
|
10431
|
+
"name" : "fillersIds",
|
|
10432
|
+
"schema" : {
|
|
10433
|
+
"type" : "string"
|
|
10434
|
+
}
|
|
10435
|
+
} ],
|
|
10436
|
+
"responses" : {
|
|
10437
|
+
"200" : {
|
|
10438
|
+
"content" : {
|
|
10439
|
+
"application/json" : {
|
|
10440
|
+
"schema" : {
|
|
10441
|
+
"$ref" : "#/components/schemas/AudioFillerExistsResponse"
|
|
9701
10442
|
}
|
|
9702
10443
|
}
|
|
9703
10444
|
},
|
|
9704
|
-
"description" : "
|
|
10445
|
+
"description" : "Map of filler id to audio existence"
|
|
9705
10446
|
},
|
|
9706
10447
|
"400" : {
|
|
9707
|
-
"description" : "
|
|
10448
|
+
"description" : "Missing fillersIds query parameter"
|
|
9708
10449
|
},
|
|
9709
10450
|
"401" : {
|
|
9710
10451
|
"description" : "Unauthorized"
|
|
9711
10452
|
},
|
|
9712
10453
|
"403" : {
|
|
9713
|
-
"description" : "Forbidden - User
|
|
10454
|
+
"description" : "Forbidden - User doesn't have access to this app"
|
|
9714
10455
|
},
|
|
9715
10456
|
"404" : {
|
|
9716
|
-
"description" : "
|
|
10457
|
+
"description" : "App not found"
|
|
10458
|
+
},
|
|
10459
|
+
"500" : {
|
|
10460
|
+
"description" : "Server error"
|
|
9717
10461
|
}
|
|
9718
10462
|
},
|
|
9719
|
-
"summary" : "
|
|
9720
|
-
"tags" : [ "
|
|
10463
|
+
"summary" : "Check if audio fillers exist",
|
|
10464
|
+
"tags" : [ "app" ]
|
|
9721
10465
|
}
|
|
9722
10466
|
},
|
|
9723
|
-
"/apps/{appId}/
|
|
9724
|
-
"
|
|
9725
|
-
"description" : "
|
|
9726
|
-
"operationId" : "
|
|
10467
|
+
"/apps/{appId}/voice/{voiceId}/defaultFillers/{fillerId}/audio" : {
|
|
10468
|
+
"delete" : {
|
|
10469
|
+
"description" : "Delete the audio file generated for a default filler of an app voice",
|
|
10470
|
+
"operationId" : "deleteVoiceDefaultFillerAudio",
|
|
9727
10471
|
"parameters" : [ {
|
|
9728
10472
|
"description" : "ID of the app",
|
|
9729
10473
|
"in" : "path",
|
|
@@ -9740,14 +10484,6 @@
|
|
|
9740
10484
|
"schema" : {
|
|
9741
10485
|
"type" : "string"
|
|
9742
10486
|
}
|
|
9743
|
-
}, {
|
|
9744
|
-
"description" : "Language code",
|
|
9745
|
-
"in" : "path",
|
|
9746
|
-
"name" : "language",
|
|
9747
|
-
"required" : true,
|
|
9748
|
-
"schema" : {
|
|
9749
|
-
"type" : "string"
|
|
9750
|
-
}
|
|
9751
10487
|
}, {
|
|
9752
10488
|
"description" : "ID of the filler",
|
|
9753
10489
|
"in" : "path",
|
|
@@ -9762,11 +10498,11 @@
|
|
|
9762
10498
|
"content" : {
|
|
9763
10499
|
"application/json" : {
|
|
9764
10500
|
"schema" : {
|
|
9765
|
-
"$ref" : "#/components/schemas/
|
|
10501
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
9766
10502
|
}
|
|
9767
10503
|
}
|
|
9768
10504
|
},
|
|
9769
|
-
"description" : "Audio filler
|
|
10505
|
+
"description" : "Audio generated by default filler deleted"
|
|
9770
10506
|
},
|
|
9771
10507
|
"401" : {
|
|
9772
10508
|
"description" : "Unauthorized"
|
|
@@ -9775,20 +10511,20 @@
|
|
|
9775
10511
|
"description" : "Forbidden - User doesn't have access to this app"
|
|
9776
10512
|
},
|
|
9777
10513
|
"404" : {
|
|
9778
|
-
"description" : "
|
|
10514
|
+
"description" : "App, voice or default filler not found"
|
|
9779
10515
|
},
|
|
9780
10516
|
"500" : {
|
|
9781
10517
|
"description" : "Server error"
|
|
9782
10518
|
}
|
|
9783
10519
|
},
|
|
9784
|
-
"summary" : "
|
|
10520
|
+
"summary" : "Delete the generated audio of a default filler",
|
|
9785
10521
|
"tags" : [ "app" ]
|
|
9786
10522
|
}
|
|
9787
10523
|
},
|
|
9788
|
-
"/apps/{appId}/
|
|
9789
|
-
"
|
|
9790
|
-
"description" : "
|
|
9791
|
-
"operationId" : "
|
|
10524
|
+
"/apps/{appId}/languages/{language}/customFillers" : {
|
|
10525
|
+
"post" : {
|
|
10526
|
+
"description" : "Add a custom filler phrase to an app for a given language",
|
|
10527
|
+
"operationId" : "addCustomFiller",
|
|
9792
10528
|
"parameters" : [ {
|
|
9793
10529
|
"description" : "ID of the app",
|
|
9794
10530
|
"in" : "path",
|
|
@@ -9799,51 +10535,52 @@
|
|
|
9799
10535
|
}
|
|
9800
10536
|
}, {
|
|
9801
10537
|
"description" : "Language code",
|
|
9802
|
-
"in" : "
|
|
9803
|
-
"name" : "
|
|
9804
|
-
"
|
|
9805
|
-
"type" : "string"
|
|
9806
|
-
}
|
|
9807
|
-
}, {
|
|
9808
|
-
"description" : "Fillers IDs",
|
|
9809
|
-
"in" : "query",
|
|
9810
|
-
"name" : "fillersIds",
|
|
10538
|
+
"in" : "path",
|
|
10539
|
+
"name" : "language",
|
|
10540
|
+
"required" : true,
|
|
9811
10541
|
"schema" : {
|
|
9812
10542
|
"type" : "string"
|
|
9813
10543
|
}
|
|
9814
10544
|
} ],
|
|
10545
|
+
"requestBody" : {
|
|
10546
|
+
"content" : {
|
|
10547
|
+
"application/json" : {
|
|
10548
|
+
"schema" : {
|
|
10549
|
+
"$ref" : "#/components/schemas/addCustomFiller_request"
|
|
10550
|
+
}
|
|
10551
|
+
}
|
|
10552
|
+
},
|
|
10553
|
+
"required" : true
|
|
10554
|
+
},
|
|
9815
10555
|
"responses" : {
|
|
9816
|
-
"
|
|
10556
|
+
"201" : {
|
|
9817
10557
|
"content" : {
|
|
9818
10558
|
"application/json" : {
|
|
9819
10559
|
"schema" : {
|
|
9820
|
-
"$ref" : "#/components/schemas/
|
|
10560
|
+
"$ref" : "#/components/schemas/addCustomFiller_201_response"
|
|
9821
10561
|
}
|
|
9822
10562
|
}
|
|
9823
10563
|
},
|
|
9824
|
-
"description" : "
|
|
10564
|
+
"description" : "Filler phrase created successfully"
|
|
10565
|
+
},
|
|
10566
|
+
"400" : {
|
|
10567
|
+
"description" : "Invalid language or missing text"
|
|
9825
10568
|
},
|
|
9826
10569
|
"401" : {
|
|
9827
10570
|
"description" : "Unauthorized"
|
|
9828
10571
|
},
|
|
9829
|
-
"403" : {
|
|
9830
|
-
"description" : "Forbidden - User doesn't have access to this app"
|
|
9831
|
-
},
|
|
9832
10572
|
"404" : {
|
|
9833
|
-
"description" : "
|
|
9834
|
-
},
|
|
9835
|
-
"500" : {
|
|
9836
|
-
"description" : "Server error"
|
|
10573
|
+
"description" : "App not found"
|
|
9837
10574
|
}
|
|
9838
10575
|
},
|
|
9839
|
-
"summary" : "
|
|
10576
|
+
"summary" : "Add a custom filler",
|
|
9840
10577
|
"tags" : [ "app" ]
|
|
9841
10578
|
}
|
|
9842
10579
|
},
|
|
9843
|
-
"/apps/{appId}/
|
|
10580
|
+
"/apps/{appId}/languages/{language}/customFillers/{fillerId}" : {
|
|
9844
10581
|
"delete" : {
|
|
9845
|
-
"description" : "Delete a
|
|
9846
|
-
"operationId" : "
|
|
10582
|
+
"description" : "Delete a custom filler phrase from an app for a given language",
|
|
10583
|
+
"operationId" : "deleteCustomFiller",
|
|
9847
10584
|
"parameters" : [ {
|
|
9848
10585
|
"description" : "ID of the app",
|
|
9849
10586
|
"in" : "path",
|
|
@@ -9852,14 +10589,6 @@
|
|
|
9852
10589
|
"schema" : {
|
|
9853
10590
|
"type" : "string"
|
|
9854
10591
|
}
|
|
9855
|
-
}, {
|
|
9856
|
-
"description" : "ID of the voice",
|
|
9857
|
-
"in" : "path",
|
|
9858
|
-
"name" : "voiceId",
|
|
9859
|
-
"required" : true,
|
|
9860
|
-
"schema" : {
|
|
9861
|
-
"type" : "string"
|
|
9862
|
-
}
|
|
9863
10592
|
}, {
|
|
9864
10593
|
"description" : "Language code",
|
|
9865
10594
|
"in" : "path",
|
|
@@ -9882,26 +10611,71 @@
|
|
|
9882
10611
|
"content" : {
|
|
9883
10612
|
"application/json" : {
|
|
9884
10613
|
"schema" : {
|
|
9885
|
-
"$ref" : "#/components/schemas/
|
|
10614
|
+
"$ref" : "#/components/schemas/BodyWithMessage"
|
|
9886
10615
|
}
|
|
9887
10616
|
}
|
|
9888
10617
|
},
|
|
9889
|
-
"description" : "
|
|
10618
|
+
"description" : "Filler deleted"
|
|
10619
|
+
},
|
|
10620
|
+
"400" : {
|
|
10621
|
+
"description" : "Invalid language"
|
|
9890
10622
|
},
|
|
9891
10623
|
"401" : {
|
|
9892
10624
|
"description" : "Unauthorized"
|
|
9893
10625
|
},
|
|
9894
|
-
"403" : {
|
|
9895
|
-
"description" : "Forbidden - User doesn't have access to this app"
|
|
9896
|
-
},
|
|
9897
10626
|
"404" : {
|
|
9898
|
-
"description" : "
|
|
10627
|
+
"description" : "App not found"
|
|
10628
|
+
}
|
|
10629
|
+
},
|
|
10630
|
+
"summary" : "Delete a custom filler",
|
|
10631
|
+
"tags" : [ "app" ]
|
|
10632
|
+
}
|
|
10633
|
+
},
|
|
10634
|
+
"/apps/{appId}/selectedFillers" : {
|
|
10635
|
+
"patch" : {
|
|
10636
|
+
"description" : "Update the checked state of fillers for an app",
|
|
10637
|
+
"operationId" : "updateSelectedFillers",
|
|
10638
|
+
"parameters" : [ {
|
|
10639
|
+
"description" : "ID of the app",
|
|
10640
|
+
"in" : "path",
|
|
10641
|
+
"name" : "appId",
|
|
10642
|
+
"required" : true,
|
|
10643
|
+
"schema" : {
|
|
10644
|
+
"type" : "string"
|
|
10645
|
+
}
|
|
10646
|
+
} ],
|
|
10647
|
+
"requestBody" : {
|
|
10648
|
+
"content" : {
|
|
10649
|
+
"application/json" : {
|
|
10650
|
+
"schema" : {
|
|
10651
|
+
"$ref" : "#/components/schemas/updateSelectedFillers_request"
|
|
10652
|
+
}
|
|
10653
|
+
}
|
|
9899
10654
|
},
|
|
9900
|
-
"
|
|
9901
|
-
|
|
10655
|
+
"required" : true
|
|
10656
|
+
},
|
|
10657
|
+
"responses" : {
|
|
10658
|
+
"200" : {
|
|
10659
|
+
"content" : {
|
|
10660
|
+
"application/json" : {
|
|
10661
|
+
"schema" : {
|
|
10662
|
+
"$ref" : "#/components/schemas/updateSelectedFillers_200_response"
|
|
10663
|
+
}
|
|
10664
|
+
}
|
|
10665
|
+
},
|
|
10666
|
+
"description" : "Fillers updated"
|
|
10667
|
+
},
|
|
10668
|
+
"400" : {
|
|
10669
|
+
"description" : "Invalid body"
|
|
10670
|
+
},
|
|
10671
|
+
"401" : {
|
|
10672
|
+
"description" : "Unauthorized"
|
|
10673
|
+
},
|
|
10674
|
+
"404" : {
|
|
10675
|
+
"description" : "No fillers found to update"
|
|
9902
10676
|
}
|
|
9903
10677
|
},
|
|
9904
|
-
"summary" : "
|
|
10678
|
+
"summary" : "Update selected fillers",
|
|
9905
10679
|
"tags" : [ "app" ]
|
|
9906
10680
|
}
|
|
9907
10681
|
}
|
|
@@ -10286,6 +11060,15 @@
|
|
|
10286
11060
|
"type" : "string"
|
|
10287
11061
|
}
|
|
10288
11062
|
},
|
|
11063
|
+
"toolIdPath" : {
|
|
11064
|
+
"description" : "Tool identifier",
|
|
11065
|
+
"in" : "path",
|
|
11066
|
+
"name" : "toolId",
|
|
11067
|
+
"required" : true,
|
|
11068
|
+
"schema" : {
|
|
11069
|
+
"type" : "string"
|
|
11070
|
+
}
|
|
11071
|
+
},
|
|
10289
11072
|
"dry" : {
|
|
10290
11073
|
"description" : "If true, returns a mock transcription without processing the file",
|
|
10291
11074
|
"in" : "query",
|
|
@@ -10302,15 +11085,6 @@
|
|
|
10302
11085
|
"type" : "string"
|
|
10303
11086
|
}
|
|
10304
11087
|
},
|
|
10305
|
-
"toolIdPath" : {
|
|
10306
|
-
"description" : "Tool identifier",
|
|
10307
|
-
"in" : "path",
|
|
10308
|
-
"name" : "toolId",
|
|
10309
|
-
"required" : true,
|
|
10310
|
-
"schema" : {
|
|
10311
|
-
"type" : "string"
|
|
10312
|
-
}
|
|
10313
|
-
},
|
|
10314
11088
|
"skillIdPath" : {
|
|
10315
11089
|
"description" : "Skill identifier",
|
|
10316
11090
|
"in" : "path",
|
|
@@ -10339,15 +11113,6 @@
|
|
|
10339
11113
|
"type" : "string"
|
|
10340
11114
|
}
|
|
10341
11115
|
},
|
|
10342
|
-
"voiceIdPath" : {
|
|
10343
|
-
"description" : "ID of the voice",
|
|
10344
|
-
"in" : "path",
|
|
10345
|
-
"name" : "voiceId",
|
|
10346
|
-
"required" : true,
|
|
10347
|
-
"schema" : {
|
|
10348
|
-
"type" : "string"
|
|
10349
|
-
}
|
|
10350
|
-
},
|
|
10351
11116
|
"languagePath" : {
|
|
10352
11117
|
"description" : "Language code",
|
|
10353
11118
|
"in" : "path",
|
|
@@ -10366,10 +11131,11 @@
|
|
|
10366
11131
|
"type" : "string"
|
|
10367
11132
|
}
|
|
10368
11133
|
},
|
|
10369
|
-
"
|
|
10370
|
-
"description" : "
|
|
10371
|
-
"in" : "
|
|
10372
|
-
"name" : "
|
|
11134
|
+
"voiceIdPath" : {
|
|
11135
|
+
"description" : "ID of the voice",
|
|
11136
|
+
"in" : "path",
|
|
11137
|
+
"name" : "voiceId",
|
|
11138
|
+
"required" : true,
|
|
10373
11139
|
"schema" : {
|
|
10374
11140
|
"type" : "string"
|
|
10375
11141
|
}
|
|
@@ -10385,13 +11151,10 @@
|
|
|
10385
11151
|
},
|
|
10386
11152
|
"schemas" : {
|
|
10387
11153
|
"AudioFillerExistsResponse" : {
|
|
10388
|
-
"additionalProperties" :
|
|
10389
|
-
|
|
10390
|
-
"exists" : {
|
|
10391
|
-
"type" : "boolean"
|
|
10392
|
-
}
|
|
11154
|
+
"additionalProperties" : {
|
|
11155
|
+
"type" : "boolean"
|
|
10393
11156
|
},
|
|
10394
|
-
"
|
|
11157
|
+
"description" : "Map of filler id to whether its audio exists (in storage and in DB)",
|
|
10395
11158
|
"type" : "object"
|
|
10396
11159
|
},
|
|
10397
11160
|
"ImageKnowledge" : {
|
|
@@ -10697,7 +11460,10 @@
|
|
|
10697
11460
|
"type" : "integer"
|
|
10698
11461
|
},
|
|
10699
11462
|
"contextualKnowledgeConversation" : {
|
|
10700
|
-
"
|
|
11463
|
+
"allOf" : [ {
|
|
11464
|
+
"$ref" : "#/components/schemas/ContextualKnowledgeConversation"
|
|
11465
|
+
} ],
|
|
11466
|
+
"nullable" : true
|
|
10701
11467
|
},
|
|
10702
11468
|
"creator" : {
|
|
10703
11469
|
"$ref" : "#/components/schemas/Agent_creator"
|
|
@@ -11017,7 +11783,10 @@
|
|
|
11017
11783
|
"type" : "integer"
|
|
11018
11784
|
},
|
|
11019
11785
|
"contextualKnowledgeConversation" : {
|
|
11020
|
-
"
|
|
11786
|
+
"allOf" : [ {
|
|
11787
|
+
"$ref" : "#/components/schemas/ContextualKnowledgeConversation"
|
|
11788
|
+
} ],
|
|
11789
|
+
"nullable" : true
|
|
11021
11790
|
}
|
|
11022
11791
|
},
|
|
11023
11792
|
"type" : "object"
|
|
@@ -11466,6 +12235,10 @@
|
|
|
11466
12235
|
"hash" : {
|
|
11467
12236
|
"description" : "File hash",
|
|
11468
12237
|
"type" : "string"
|
|
12238
|
+
},
|
|
12239
|
+
"isFAQ" : {
|
|
12240
|
+
"description" : "Whether the file is a FAQ document",
|
|
12241
|
+
"type" : "boolean"
|
|
11469
12242
|
}
|
|
11470
12243
|
},
|
|
11471
12244
|
"required" : [ "contentType", "ext", "size" ],
|
|
@@ -11486,6 +12259,22 @@
|
|
|
11486
12259
|
"id" : {
|
|
11487
12260
|
"type" : "string"
|
|
11488
12261
|
},
|
|
12262
|
+
"knowledgeBaseId" : {
|
|
12263
|
+
"type" : "string"
|
|
12264
|
+
},
|
|
12265
|
+
"knowledgeType" : {
|
|
12266
|
+
"enum" : [ "file", "website" ],
|
|
12267
|
+
"type" : "string"
|
|
12268
|
+
},
|
|
12269
|
+
"isFAQ" : {
|
|
12270
|
+
"type" : "boolean"
|
|
12271
|
+
},
|
|
12272
|
+
"uploadId" : {
|
|
12273
|
+
"type" : "string"
|
|
12274
|
+
},
|
|
12275
|
+
"hash" : {
|
|
12276
|
+
"type" : "string"
|
|
12277
|
+
},
|
|
11489
12278
|
"contentType" : {
|
|
11490
12279
|
"type" : "string"
|
|
11491
12280
|
},
|
|
@@ -12783,6 +13572,15 @@
|
|
|
12783
13572
|
"required" : [ "ephemeral", "name" ],
|
|
12784
13573
|
"type" : "object"
|
|
12785
13574
|
},
|
|
13575
|
+
"BodyWithMessage" : {
|
|
13576
|
+
"properties" : {
|
|
13577
|
+
"message" : {
|
|
13578
|
+
"type" : "string"
|
|
13579
|
+
}
|
|
13580
|
+
},
|
|
13581
|
+
"required" : [ "message" ],
|
|
13582
|
+
"type" : "object"
|
|
13583
|
+
},
|
|
12786
13584
|
"InstanceContext" : {
|
|
12787
13585
|
"additionalProperties" : false,
|
|
12788
13586
|
"properties" : {
|
|
@@ -12829,15 +13627,6 @@
|
|
|
12829
13627
|
"required" : [ "animationId", "code", "name", "type" ],
|
|
12830
13628
|
"type" : "object"
|
|
12831
13629
|
},
|
|
12832
|
-
"BodyWithMessage" : {
|
|
12833
|
-
"properties" : {
|
|
12834
|
-
"message" : {
|
|
12835
|
-
"type" : "string"
|
|
12836
|
-
}
|
|
12837
|
-
},
|
|
12838
|
-
"required" : [ "message" ],
|
|
12839
|
-
"type" : "object"
|
|
12840
|
-
},
|
|
12841
13630
|
"SequenceCreateRequest" : {
|
|
12842
13631
|
"properties" : {
|
|
12843
13632
|
"id" : {
|
|
@@ -14304,23 +15093,80 @@
|
|
|
14304
15093
|
"nullable" : true,
|
|
14305
15094
|
"type" : "string"
|
|
14306
15095
|
},
|
|
14307
|
-
"vectorizerModelDimensions" : {
|
|
14308
|
-
"nullable" : true,
|
|
14309
|
-
"type" : "number"
|
|
15096
|
+
"vectorizerModelDimensions" : {
|
|
15097
|
+
"nullable" : true,
|
|
15098
|
+
"type" : "number"
|
|
15099
|
+
},
|
|
15100
|
+
"embeddingProviderId" : {
|
|
15101
|
+
"nullable" : true,
|
|
15102
|
+
"type" : "string"
|
|
15103
|
+
},
|
|
15104
|
+
"embeddingModelId" : {
|
|
15105
|
+
"nullable" : true,
|
|
15106
|
+
"type" : "string"
|
|
15107
|
+
},
|
|
15108
|
+
"embeddingDimensions" : {
|
|
15109
|
+
"nullable" : true,
|
|
15110
|
+
"type" : "number"
|
|
15111
|
+
}
|
|
15112
|
+
},
|
|
15113
|
+
"type" : "object"
|
|
15114
|
+
},
|
|
15115
|
+
"KnowledgeSitePage" : {
|
|
15116
|
+
"properties" : {
|
|
15117
|
+
"id" : {
|
|
15118
|
+
"type" : "string"
|
|
15119
|
+
},
|
|
15120
|
+
"knowledgeBaseId" : {
|
|
15121
|
+
"type" : "string"
|
|
15122
|
+
},
|
|
15123
|
+
"key" : {
|
|
15124
|
+
"type" : "string"
|
|
15125
|
+
},
|
|
15126
|
+
"name" : {
|
|
15127
|
+
"type" : "string"
|
|
15128
|
+
},
|
|
15129
|
+
"url" : {
|
|
15130
|
+
"type" : "string"
|
|
15131
|
+
},
|
|
15132
|
+
"siteId" : {
|
|
15133
|
+
"type" : "string"
|
|
15134
|
+
},
|
|
15135
|
+
"uploadId" : {
|
|
15136
|
+
"type" : "string"
|
|
15137
|
+
},
|
|
15138
|
+
"postURL" : {
|
|
15139
|
+
"type" : "string"
|
|
15140
|
+
},
|
|
15141
|
+
"formData" : {
|
|
15142
|
+
"type" : "string"
|
|
15143
|
+
},
|
|
15144
|
+
"contentType" : {
|
|
15145
|
+
"type" : "string"
|
|
15146
|
+
},
|
|
15147
|
+
"ext" : {
|
|
15148
|
+
"type" : "string"
|
|
15149
|
+
},
|
|
15150
|
+
"size" : {
|
|
15151
|
+
"type" : "number"
|
|
15152
|
+
},
|
|
15153
|
+
"hash" : {
|
|
15154
|
+
"type" : "string"
|
|
15155
|
+
},
|
|
15156
|
+
"status" : {
|
|
15157
|
+
"$ref" : "#/components/schemas/FileStatus"
|
|
14310
15158
|
},
|
|
14311
|
-
"
|
|
14312
|
-
"nullable" : true,
|
|
15159
|
+
"createdAt" : {
|
|
14313
15160
|
"type" : "string"
|
|
14314
15161
|
},
|
|
14315
|
-
"
|
|
14316
|
-
"nullable" : true,
|
|
15162
|
+
"updatedAt" : {
|
|
14317
15163
|
"type" : "string"
|
|
14318
15164
|
},
|
|
14319
|
-
"
|
|
14320
|
-
"
|
|
14321
|
-
"type" : "number"
|
|
15165
|
+
"isActive" : {
|
|
15166
|
+
"type" : "boolean"
|
|
14322
15167
|
}
|
|
14323
15168
|
},
|
|
15169
|
+
"required" : [ "createdAt", "id", "isActive", "key", "knowledgeBaseId", "name", "siteId", "status", "updatedAt", "url" ],
|
|
14324
15170
|
"type" : "object"
|
|
14325
15171
|
},
|
|
14326
15172
|
"KnowledgeFilesByIdsRequest" : {
|
|
@@ -14795,6 +15641,22 @@
|
|
|
14795
15641
|
"required" : [ "skill_id" ],
|
|
14796
15642
|
"type" : "object"
|
|
14797
15643
|
},
|
|
15644
|
+
"AvailableCommand" : {
|
|
15645
|
+
"properties" : {
|
|
15646
|
+
"slug" : {
|
|
15647
|
+
"type" : "string"
|
|
15648
|
+
},
|
|
15649
|
+
"description" : {
|
|
15650
|
+
"type" : "string"
|
|
15651
|
+
},
|
|
15652
|
+
"source" : {
|
|
15653
|
+
"enum" : [ "predefined", "skill" ],
|
|
15654
|
+
"type" : "string"
|
|
15655
|
+
}
|
|
15656
|
+
},
|
|
15657
|
+
"required" : [ "description", "slug", "source" ],
|
|
15658
|
+
"type" : "object"
|
|
15659
|
+
},
|
|
14798
15660
|
"PinRequest" : {
|
|
14799
15661
|
"properties" : {
|
|
14800
15662
|
"user" : {
|
|
@@ -14947,6 +15809,37 @@
|
|
|
14947
15809
|
"required" : [ "message" ],
|
|
14948
15810
|
"type" : "object"
|
|
14949
15811
|
},
|
|
15812
|
+
"MessageStatus" : {
|
|
15813
|
+
"properties" : {
|
|
15814
|
+
"status" : {
|
|
15815
|
+
"type" : "string"
|
|
15816
|
+
},
|
|
15817
|
+
"content" : {
|
|
15818
|
+
"type" : "string"
|
|
15819
|
+
},
|
|
15820
|
+
"reasoning" : {
|
|
15821
|
+
"type" : "string"
|
|
15822
|
+
},
|
|
15823
|
+
"reaction" : {
|
|
15824
|
+
"enum" : [ "positive", "negative" ],
|
|
15825
|
+
"type" : "string"
|
|
15826
|
+
},
|
|
15827
|
+
"error" : {
|
|
15828
|
+
"$ref" : "#/components/schemas/MessageStatus_error"
|
|
15829
|
+
},
|
|
15830
|
+
"toolCall" : {
|
|
15831
|
+
"$ref" : "#/components/schemas/MessageStatus_toolCall"
|
|
15832
|
+
},
|
|
15833
|
+
"toolsUsed" : {
|
|
15834
|
+
"items" : {
|
|
15835
|
+
"$ref" : "#/components/schemas/ToolUsed"
|
|
15836
|
+
},
|
|
15837
|
+
"type" : "array"
|
|
15838
|
+
}
|
|
15839
|
+
},
|
|
15840
|
+
"required" : [ "status" ],
|
|
15841
|
+
"type" : "object"
|
|
15842
|
+
},
|
|
14950
15843
|
"FillersArray" : {
|
|
14951
15844
|
"items" : {
|
|
14952
15845
|
"$ref" : "#/components/schemas/FillersArray_inner"
|
|
@@ -15255,15 +16148,161 @@
|
|
|
15255
16148
|
},
|
|
15256
16149
|
"type" : "object"
|
|
15257
16150
|
},
|
|
16151
|
+
"patchKnowledgeBase_request" : {
|
|
16152
|
+
"properties" : {
|
|
16153
|
+
"name" : {
|
|
16154
|
+
"type" : "string"
|
|
16155
|
+
},
|
|
16156
|
+
"authorizedAgents" : {
|
|
16157
|
+
"items" : {
|
|
16158
|
+
"type" : "string"
|
|
16159
|
+
},
|
|
16160
|
+
"type" : "array"
|
|
16161
|
+
}
|
|
16162
|
+
},
|
|
16163
|
+
"required" : [ "authorizedAgents", "name" ],
|
|
16164
|
+
"type" : "object"
|
|
16165
|
+
},
|
|
16166
|
+
"searchKnowledgeBase_request" : {
|
|
16167
|
+
"properties" : {
|
|
16168
|
+
"query" : {
|
|
16169
|
+
"minLength" : 2,
|
|
16170
|
+
"type" : "string"
|
|
16171
|
+
},
|
|
16172
|
+
"maxResults" : {
|
|
16173
|
+
"type" : "number"
|
|
16174
|
+
}
|
|
16175
|
+
},
|
|
16176
|
+
"required" : [ "query" ],
|
|
16177
|
+
"type" : "object"
|
|
16178
|
+
},
|
|
16179
|
+
"searchKnowledgeBase_200_response_inner" : {
|
|
16180
|
+
"properties" : {
|
|
16181
|
+
"id" : {
|
|
16182
|
+
"type" : "string"
|
|
16183
|
+
},
|
|
16184
|
+
"content" : {
|
|
16185
|
+
"type" : "string"
|
|
16186
|
+
},
|
|
16187
|
+
"score" : {
|
|
16188
|
+
"type" : "number"
|
|
16189
|
+
},
|
|
16190
|
+
"file" : {
|
|
16191
|
+
"additionalProperties" : true,
|
|
16192
|
+
"type" : "object"
|
|
16193
|
+
}
|
|
16194
|
+
},
|
|
16195
|
+
"required" : [ "content", "id", "score" ],
|
|
16196
|
+
"type" : "object"
|
|
16197
|
+
},
|
|
16198
|
+
"startKnowledgeBaseScrapping_request" : {
|
|
16199
|
+
"properties" : {
|
|
16200
|
+
"urls" : {
|
|
16201
|
+
"items" : {
|
|
16202
|
+
"type" : "string"
|
|
16203
|
+
},
|
|
16204
|
+
"minItems" : 1,
|
|
16205
|
+
"type" : "array"
|
|
16206
|
+
},
|
|
16207
|
+
"knowledgeBaseId" : {
|
|
16208
|
+
"type" : "string"
|
|
16209
|
+
},
|
|
16210
|
+
"userId" : {
|
|
16211
|
+
"type" : "string"
|
|
16212
|
+
},
|
|
16213
|
+
"organizationId" : {
|
|
16214
|
+
"type" : "string"
|
|
16215
|
+
},
|
|
16216
|
+
"domainName" : {
|
|
16217
|
+
"nullable" : true,
|
|
16218
|
+
"type" : "string"
|
|
16219
|
+
},
|
|
16220
|
+
"spiderName" : {
|
|
16221
|
+
"nullable" : true,
|
|
16222
|
+
"type" : "string"
|
|
16223
|
+
},
|
|
16224
|
+
"excludeDomains" : {
|
|
16225
|
+
"items" : {
|
|
16226
|
+
"type" : "string"
|
|
16227
|
+
},
|
|
16228
|
+
"nullable" : true,
|
|
16229
|
+
"type" : "array"
|
|
16230
|
+
},
|
|
16231
|
+
"customSettings" : {
|
|
16232
|
+
"additionalProperties" : true,
|
|
16233
|
+
"nullable" : true,
|
|
16234
|
+
"type" : "object"
|
|
16235
|
+
},
|
|
16236
|
+
"onlyThisSite" : {
|
|
16237
|
+
"nullable" : true,
|
|
16238
|
+
"type" : "boolean"
|
|
16239
|
+
},
|
|
16240
|
+
"sitePageId" : {
|
|
16241
|
+
"nullable" : true,
|
|
16242
|
+
"type" : "string"
|
|
16243
|
+
}
|
|
16244
|
+
},
|
|
16245
|
+
"required" : [ "knowledgeBaseId", "organizationId", "urls", "userId" ],
|
|
16246
|
+
"type" : "object"
|
|
16247
|
+
},
|
|
15258
16248
|
"uploadImageToKnowledgeBaseLibrary_request" : {
|
|
16249
|
+
"properties" : {
|
|
16250
|
+
"name" : {
|
|
16251
|
+
"type" : "string"
|
|
16252
|
+
},
|
|
16253
|
+
"size" : {
|
|
16254
|
+
"description" : "File size in bytes",
|
|
16255
|
+
"type" : "number"
|
|
16256
|
+
},
|
|
16257
|
+
"contentType" : {
|
|
16258
|
+
"description" : "MIME type of the image file",
|
|
16259
|
+
"type" : "string"
|
|
16260
|
+
},
|
|
16261
|
+
"ext" : {
|
|
16262
|
+
"description" : "File extension",
|
|
16263
|
+
"type" : "string"
|
|
16264
|
+
}
|
|
16265
|
+
},
|
|
16266
|
+
"required" : [ "contentType", "ext", "name", "size" ],
|
|
16267
|
+
"type" : "object"
|
|
16268
|
+
},
|
|
16269
|
+
"uploadImageToKnowledgeBaseLibrary_200_response" : {
|
|
15259
16270
|
"properties" : {
|
|
15260
16271
|
"image" : {
|
|
15261
|
-
"
|
|
15262
|
-
|
|
16272
|
+
"$ref" : "#/components/schemas/ImageKnowledge"
|
|
16273
|
+
},
|
|
16274
|
+
"presigned" : {
|
|
16275
|
+
"additionalProperties" : true,
|
|
16276
|
+
"type" : "object"
|
|
16277
|
+
}
|
|
16278
|
+
},
|
|
16279
|
+
"required" : [ "image", "presigned" ],
|
|
16280
|
+
"type" : "object"
|
|
16281
|
+
},
|
|
16282
|
+
"patchKnowledgeFile_request" : {
|
|
16283
|
+
"properties" : {
|
|
16284
|
+
"isActive" : {
|
|
16285
|
+
"type" : "boolean"
|
|
16286
|
+
}
|
|
16287
|
+
},
|
|
16288
|
+
"required" : [ "isActive" ],
|
|
16289
|
+
"type" : "object"
|
|
16290
|
+
},
|
|
16291
|
+
"updateToolStaticCredentials_request" : {
|
|
16292
|
+
"properties" : {
|
|
16293
|
+
"bearerToken" : {
|
|
16294
|
+
"maxLength" : 8192,
|
|
16295
|
+
"minLength" : 1,
|
|
16296
|
+
"nullable" : true,
|
|
16297
|
+
"type" : "string"
|
|
16298
|
+
},
|
|
16299
|
+
"headerValue" : {
|
|
16300
|
+
"maxLength" : 8192,
|
|
16301
|
+
"minLength" : 1,
|
|
16302
|
+
"nullable" : true,
|
|
15263
16303
|
"type" : "string"
|
|
15264
16304
|
}
|
|
15265
16305
|
},
|
|
15266
|
-
"required" : [ "image" ],
|
|
15267
16306
|
"type" : "object"
|
|
15268
16307
|
},
|
|
15269
16308
|
"setupTool_request" : {
|
|
@@ -15335,6 +16374,84 @@
|
|
|
15335
16374
|
"required" : [ "id", "reaction" ],
|
|
15336
16375
|
"type" : "object"
|
|
15337
16376
|
},
|
|
16377
|
+
"addCustomFiller_request" : {
|
|
16378
|
+
"properties" : {
|
|
16379
|
+
"text" : {
|
|
16380
|
+
"type" : "string"
|
|
16381
|
+
}
|
|
16382
|
+
},
|
|
16383
|
+
"required" : [ "text" ],
|
|
16384
|
+
"type" : "object"
|
|
16385
|
+
},
|
|
16386
|
+
"addCustomFiller_201_response_filler" : {
|
|
16387
|
+
"properties" : {
|
|
16388
|
+
"id" : {
|
|
16389
|
+
"type" : "string"
|
|
16390
|
+
},
|
|
16391
|
+
"text" : {
|
|
16392
|
+
"type" : "string"
|
|
16393
|
+
},
|
|
16394
|
+
"checked" : {
|
|
16395
|
+
"type" : "boolean"
|
|
16396
|
+
},
|
|
16397
|
+
"isCustom" : {
|
|
16398
|
+
"type" : "boolean"
|
|
16399
|
+
}
|
|
16400
|
+
},
|
|
16401
|
+
"required" : [ "checked", "id", "isCustom", "text" ],
|
|
16402
|
+
"type" : "object"
|
|
16403
|
+
},
|
|
16404
|
+
"addCustomFiller_201_response" : {
|
|
16405
|
+
"properties" : {
|
|
16406
|
+
"message" : {
|
|
16407
|
+
"type" : "string"
|
|
16408
|
+
},
|
|
16409
|
+
"filler" : {
|
|
16410
|
+
"$ref" : "#/components/schemas/addCustomFiller_201_response_filler"
|
|
16411
|
+
}
|
|
16412
|
+
},
|
|
16413
|
+
"required" : [ "filler", "message" ],
|
|
16414
|
+
"type" : "object"
|
|
16415
|
+
},
|
|
16416
|
+
"updateSelectedFillers_request_data_inner" : {
|
|
16417
|
+
"properties" : {
|
|
16418
|
+
"id" : {
|
|
16419
|
+
"type" : "string"
|
|
16420
|
+
},
|
|
16421
|
+
"checked" : {
|
|
16422
|
+
"type" : "boolean"
|
|
16423
|
+
}
|
|
16424
|
+
},
|
|
16425
|
+
"required" : [ "checked", "id" ],
|
|
16426
|
+
"type" : "object"
|
|
16427
|
+
},
|
|
16428
|
+
"updateSelectedFillers_request" : {
|
|
16429
|
+
"properties" : {
|
|
16430
|
+
"data" : {
|
|
16431
|
+
"items" : {
|
|
16432
|
+
"$ref" : "#/components/schemas/updateSelectedFillers_request_data_inner"
|
|
16433
|
+
},
|
|
16434
|
+
"type" : "array"
|
|
16435
|
+
}
|
|
16436
|
+
},
|
|
16437
|
+
"required" : [ "data" ],
|
|
16438
|
+
"type" : "object"
|
|
16439
|
+
},
|
|
16440
|
+
"updateSelectedFillers_200_response" : {
|
|
16441
|
+
"properties" : {
|
|
16442
|
+
"message" : {
|
|
16443
|
+
"type" : "string"
|
|
16444
|
+
},
|
|
16445
|
+
"updated" : {
|
|
16446
|
+
"items" : {
|
|
16447
|
+
"$ref" : "#/components/schemas/updateSelectedFillers_request_data_inner"
|
|
16448
|
+
},
|
|
16449
|
+
"type" : "array"
|
|
16450
|
+
}
|
|
16451
|
+
},
|
|
16452
|
+
"required" : [ "message", "updated" ],
|
|
16453
|
+
"type" : "object"
|
|
16454
|
+
},
|
|
15338
16455
|
"KnowledgeBase_files_inner" : {
|
|
15339
16456
|
"properties" : {
|
|
15340
16457
|
"id" : {
|
|
@@ -16261,6 +17378,29 @@
|
|
|
16261
17378
|
},
|
|
16262
17379
|
"type" : "object"
|
|
16263
17380
|
},
|
|
17381
|
+
"MessageStatus_error" : {
|
|
17382
|
+
"properties" : {
|
|
17383
|
+
"code" : {
|
|
17384
|
+
"type" : "string"
|
|
17385
|
+
},
|
|
17386
|
+
"message" : {
|
|
17387
|
+
"type" : "string"
|
|
17388
|
+
}
|
|
17389
|
+
},
|
|
17390
|
+
"type" : "object"
|
|
17391
|
+
},
|
|
17392
|
+
"MessageStatus_toolCall" : {
|
|
17393
|
+
"properties" : {
|
|
17394
|
+
"name" : {
|
|
17395
|
+
"type" : "string"
|
|
17396
|
+
},
|
|
17397
|
+
"stepIndex" : {
|
|
17398
|
+
"type" : "integer"
|
|
17399
|
+
}
|
|
17400
|
+
},
|
|
17401
|
+
"required" : [ "name", "stepIndex" ],
|
|
17402
|
+
"type" : "object"
|
|
17403
|
+
},
|
|
16264
17404
|
"FillersArray_inner" : {
|
|
16265
17405
|
"properties" : {
|
|
16266
17406
|
"id" : {
|