@breign/client 1.0.109 → 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.
Files changed (60) hide show
  1. package/dist/apis/AppApi.d.ts +92 -18
  2. package/dist/apis/AppApi.js +196 -32
  3. package/dist/apis/KnowledgeApi.d.ts +120 -8
  4. package/dist/apis/KnowledgeApi.js +268 -30
  5. package/dist/apis/PromptsApi.d.ts +3 -3
  6. package/dist/apis/PromptsApi.js +3 -2
  7. package/dist/apis/ToolsApi.d.ts +42 -1
  8. package/dist/apis/ToolsApi.js +87 -0
  9. package/dist/models/AddCustomFiller201ResponseFillerUio.d.ts +50 -0
  10. package/dist/models/AddCustomFiller201ResponseFillerUio.js +62 -0
  11. package/dist/models/AddCustomFiller201ResponseUio.d.ts +39 -0
  12. package/dist/models/AddCustomFiller201ResponseUio.js +55 -0
  13. package/dist/models/AddCustomFillerRequestUio.d.ts +32 -0
  14. package/dist/models/AddCustomFillerRequestUio.js +50 -0
  15. package/dist/models/AgentPatchUio.d.ts +1 -1
  16. package/dist/models/AgentUio.d.ts +1 -1
  17. package/dist/models/FileCreationRequestUio.d.ts +6 -0
  18. package/dist/models/FileCreationRequestUio.js +2 -0
  19. package/dist/models/FileCreationResponseUio.d.ts +38 -0
  20. package/dist/models/FileCreationResponseUio.js +18 -0
  21. package/dist/models/FileUio.d.ts +38 -0
  22. package/dist/models/FileUio.js +18 -0
  23. package/dist/models/FileWithDownloadUrlUio.d.ts +38 -0
  24. package/dist/models/FileWithDownloadUrlUio.js +18 -0
  25. package/dist/models/KnowledgeSitePageUio.d.ts +129 -0
  26. package/dist/models/KnowledgeSitePageUio.js +101 -0
  27. package/dist/models/MessageStatusErrorUio.d.ts +38 -0
  28. package/dist/models/MessageStatusErrorUio.js +50 -0
  29. package/dist/models/MessageStatusToolCallUio.d.ts +38 -0
  30. package/dist/models/MessageStatusToolCallUio.js +54 -0
  31. package/dist/models/MessageStatusUio.d.ts +79 -0
  32. package/dist/models/MessageStatusUio.js +73 -0
  33. package/dist/models/PatchKnowledgeBaseRequestUio.d.ts +38 -0
  34. package/dist/models/PatchKnowledgeBaseRequestUio.js +54 -0
  35. package/dist/models/PatchKnowledgeFileRequestUio.d.ts +32 -0
  36. package/dist/models/PatchKnowledgeFileRequestUio.js +50 -0
  37. package/dist/models/SearchKnowledgeBase200ResponseInnerUio.d.ts +52 -0
  38. package/dist/models/SearchKnowledgeBase200ResponseInnerUio.js +60 -0
  39. package/dist/models/SearchKnowledgeBaseRequestUio.d.ts +38 -0
  40. package/dist/models/SearchKnowledgeBaseRequestUio.js +52 -0
  41. package/dist/models/StartKnowledgeBaseScrappingRequestUio.d.ts +88 -0
  42. package/dist/models/StartKnowledgeBaseScrappingRequestUio.js +74 -0
  43. package/dist/models/UpdateSelectedFillers200ResponseUio.d.ts +39 -0
  44. package/dist/models/UpdateSelectedFillers200ResponseUio.js +55 -0
  45. package/dist/models/UpdateSelectedFillersRequestDataInnerUio.d.ts +38 -0
  46. package/dist/models/UpdateSelectedFillersRequestDataInnerUio.js +54 -0
  47. package/dist/models/UpdateSelectedFillersRequestUio.d.ts +33 -0
  48. package/dist/models/UpdateSelectedFillersRequestUio.js +51 -0
  49. package/dist/models/UpdateToolStaticCredentialsRequestUio.d.ts +38 -0
  50. package/dist/models/UpdateToolStaticCredentialsRequestUio.js +50 -0
  51. package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.d.ts +41 -0
  52. package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.js +55 -0
  53. package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.d.ts +50 -0
  54. package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.js +62 -0
  55. package/dist/models/index.d.ts +18 -1
  56. package/dist/models/index.js +18 -1
  57. package/dist/openapi.json +1365 -282
  58. package/package.json +1 -1
  59. package/dist/models/AudioFillerExistsResponseUio.d.ts +0 -32
  60. 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
- "/organizations/{organizationId}/knowledge/files" : {
7383
- "post" : {
7384
- "description" : "Add a file to the knowledge base",
7385
- "operationId" : "addFileToKnowledgeBase",
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 organization",
7433
+ "description" : "ID of the knowledge base to retrieve",
7388
7434
  "in" : "path",
7389
- "name" : "organizationId",
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
- "201" : {
7443
+ "200" : {
7407
7444
  "content" : {
7408
7445
  "application/json" : {
7409
7446
  "schema" : {
7410
- "$ref" : "#/components/schemas/FileCreationResponse"
7447
+ "$ref" : "#/components/schemas/BodyWithMessage"
7411
7448
  }
7412
7449
  }
7413
7450
  },
7414
- "description" : "File added successfully"
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" : "chunk not found"
7460
+ "description" : "Knowledge base not found"
7458
7461
  },
7459
7462
  "500" : {
7460
7463
  "description" : "Server error"
7461
7464
  }
7462
7465
  },
7463
- "summary" : "Delete a chunk from a knowledge file",
7466
+ "summary" : "Delete a knowledge base",
7464
7467
  "tags" : [ "knowledge" ]
7465
- }
7466
- },
7467
- "/knowledge-bases/{knowledgebaseId}/images" : {
7468
- "delete" : {
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
- "204" : {
7492
- "description" : "Image deleted successfully"
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 doesn't have access to this knowledge base"
7497
+ "description" : "Forbidden - User is not part of the organization"
7499
7498
  },
7500
7499
  "404" : {
7501
- "description" : "Knowledge base or image not found"
7502
- },
7503
- "500" : {
7504
- "description" : "Server error"
7500
+ "description" : "Knowledge base not found"
7505
7501
  }
7506
7502
  },
7507
- "summary" : "Delete a specific knowledge image from a library image in knowledge base",
7503
+ "summary" : "Get a knowledge base",
7508
7504
  "tags" : [ "knowledge" ]
7509
7505
  },
7510
- "get" : {
7511
- "description" : "Get all images from a library image in knowledge base",
7512
- "operationId" : "getImagesFromKnowledgeBaseLibrary",
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/ImageKnowledge"
7534
+ "$ref" : "#/components/schemas/BodyWithMessage"
7529
7535
  }
7530
7536
  }
7531
7537
  },
7532
- "description" : "Images retrieved successfully"
7538
+ "description" : "Knowledge base updated successfully"
7533
7539
  },
7534
7540
  "401" : {
7535
7541
  "description" : "Unauthorized"
7536
7542
  },
7537
7543
  "403" : {
7538
- "description" : "Forbidden - User cannot access this knowledge base"
7544
+ "description" : "Forbidden - User is not admin of the organization"
7539
7545
  },
7540
7546
  "404" : {
7541
- "description" : "Images not found"
7542
- },
7543
- "500" : {
7544
- "description" : "Server error"
7547
+ "description" : "Knowledge base not found"
7545
7548
  }
7546
7549
  },
7547
- "summary" : "Get all knowledge images from a knowledge base",
7550
+ "summary" : "Update a knowledge base",
7548
7551
  "tags" : [ "knowledge" ]
7549
- },
7552
+ }
7553
+ },
7554
+ "/knowledge-bases/{knowledgebaseId}/files" : {
7550
7555
  "post" : {
7551
- "description" : "Upload a new image to a library image in knowledge base and return the upload URL",
7552
- "operationId" : "uploadImageToKnowledgeBaseLibrary",
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
- "multipart/form-data" : {
7570
+ "application/json" : {
7566
7571
  "schema" : {
7567
- "$ref" : "#/components/schemas/uploadImageToKnowledgeBaseLibrary_request"
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/S3UploadBody"
7583
+ "$ref" : "#/components/schemas/FileCreationResponse"
7579
7584
  }
7580
7585
  }
7581
7586
  },
7582
- "description" : "Image uploaded successfully with upload URL"
7583
- },
7584
- "401" : {
7585
- "description" : "Unauthorized"
7587
+ "description" : "File added successfully"
7586
7588
  },
7587
- "403" : {
7588
- "description" : "Forbidden - User doesn't have access to this knowledge base"
7589
+ "400" : {
7590
+ "description" : "Invalid file description"
7589
7591
  },
7590
7592
  "404" : {
7591
- "description" : "Knowledge base or image not found"
7592
- },
7593
- "500" : {
7594
- "description" : "Server error"
7593
+ "description" : "Knowledge base not found"
7595
7594
  }
7596
7595
  },
7597
- "summary" : "Upload a new image to a library image in knowledge base",
7596
+ "summary" : "Add a file to the knowledge base",
7598
7597
  "tags" : [ "knowledge" ]
7599
7598
  }
7600
7599
  },
7601
- "/knowledge-bases/{knowledgebaseId}/images/{imageId}/status" : {
7600
+ "/knowledge-bases/{knowledgebaseId}/search" : {
7602
7601
  "post" : {
7603
- "description" : "Update the status of a specific knowledge image in a library image in knowledge base",
7604
- "operationId" : "updateImageStatusInKnowledgeBaseLibrary",
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/FileStatusUpdateRequest"
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
- "$ref" : "#/components/schemas/FileStatus"
7629
+ "items" : {
7630
+ "$ref" : "#/components/schemas/searchKnowledgeBase_200_response_inner"
7631
+ },
7632
+ "type" : "array"
7640
7633
  }
7641
7634
  }
7642
7635
  },
7643
- "description" : "Image status updated successfully"
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 doesn't have access to this knowledge base"
7645
+ "description" : "Forbidden - User is not part of the organization"
7650
7646
  },
7651
7647
  "404" : {
7652
- "description" : "Knowledge base or image not found or status not found"
7648
+ "description" : "Knowledge base not found"
7653
7649
  },
7654
7650
  "500" : {
7655
7651
  "description" : "Server error"
7656
7652
  }
7657
7653
  },
7658
- "summary" : "Update the status of a specific knowledge image in a library image in knowledge base",
7654
+ "summary" : "Search a knowledge base",
7659
7655
  "tags" : [ "knowledge" ]
7660
7656
  }
7661
7657
  },
7662
- "/knowledge-bases/{knowledgebaseId}/inactive-file-ids" : {
7663
- "get" : {
7664
- "description" : "Returns an array of file IDs that are marked as inactive in the given knowledge base.",
7665
- "operationId" : "getInactiveKnowledgeFileIds",
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
- "items" : {
7682
- "type" : "string"
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" : "List of inactive file IDs"
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" : "Get inactive knowledge file IDs for a knowledge base",
7711
+ "summary" : "Start a knowledge base scrapping job",
7701
7712
  "tags" : [ "knowledge" ]
7702
7713
  }
7703
7714
  },
7704
- "/knowledge-bases/{knowledgebaseId}/configuration" : {
7705
- "get" : {
7706
- "description" : "Returns the current configuration for a knowledge base",
7707
- "operationId" : "getKnowledgeBaseConfiguration",
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
- "responses" : {
7719
- "200" : {
7720
- "content" : {
7721
- "application/json" : {
7722
- "schema" : {
7723
- "$ref" : "#/components/schemas/KnowledgeBaseConfiguration"
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",
@@ -7809,23 +8147,113 @@
7809
8147
  "content" : {
7810
8148
  "application/json" : {
7811
8149
  "schema" : {
7812
- "$ref" : "#/components/schemas/FileWithDownloadUrl"
8150
+ "$ref" : "#/components/schemas/FileWithDownloadUrl"
8151
+ }
8152
+ }
8153
+ },
8154
+ "description" : "File details retrieved successfully"
8155
+ },
8156
+ "401" : {
8157
+ "description" : "Unauthorized"
8158
+ },
8159
+ "404" : {
8160
+ "description" : "File not found"
8161
+ },
8162
+ "500" : {
8163
+ "description" : "Server error"
8164
+ }
8165
+ },
8166
+ "summary" : "Get a specific knowledge file",
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"
7813
8241
  }
7814
8242
  }
7815
8243
  },
7816
- "description" : "File details retrieved successfully"
8244
+ "description" : "Knowledge site pages retrieved successfully"
7817
8245
  },
7818
8246
  "401" : {
7819
8247
  "description" : "Unauthorized"
7820
8248
  },
7821
- "404" : {
7822
- "description" : "File not found"
8249
+ "403" : {
8250
+ "description" : "Forbidden - User is not part of the organization"
7823
8251
  },
7824
- "500" : {
7825
- "description" : "Server error"
8252
+ "404" : {
8253
+ "description" : "File or knowledge base not found"
7826
8254
  }
7827
8255
  },
7828
- "summary" : "Get a specific knowledge file",
8256
+ "summary" : "Get knowledge site pages for a file",
7829
8257
  "tags" : [ "knowledge" ]
7830
8258
  }
7831
8259
  },
@@ -8097,6 +8525,109 @@
8097
8525
  "tags" : [ "tools" ]
8098
8526
  }
8099
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"
8566
+ }
8567
+ } ],
8568
+ "responses" : {
8569
+ "204" : {
8570
+ "description" : "Static credentials cleared successfully"
8571
+ },
8572
+ "400" : {
8573
+ "description" : "Tool not user-scoped"
8574
+ },
8575
+ "401" : {
8576
+ "description" : "Unauthorized"
8577
+ },
8578
+ "403" : {
8579
+ "description" : "Forbidden - User is not part of the organization"
8580
+ },
8581
+ "404" : {
8582
+ "description" : "Tool not found"
8583
+ }
8584
+ },
8585
+ "summary" : "Clear user static credentials for a tool",
8586
+ "tags" : [ "tools" ]
8587
+ },
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",
8591
+ "parameters" : [ {
8592
+ "description" : "Tool identifier",
8593
+ "in" : "path",
8594
+ "name" : "toolId",
8595
+ "required" : true,
8596
+ "schema" : {
8597
+ "type" : "string"
8598
+ }
8599
+ } ],
8600
+ "requestBody" : {
8601
+ "content" : {
8602
+ "application/json" : {
8603
+ "schema" : {
8604
+ "$ref" : "#/components/schemas/updateToolStaticCredentials_request"
8605
+ }
8606
+ }
8607
+ },
8608
+ "required" : true
8609
+ },
8610
+ "responses" : {
8611
+ "204" : {
8612
+ "description" : "Static credentials stored successfully"
8613
+ },
8614
+ "400" : {
8615
+ "description" : "Invalid body, tool not user-scoped, wrong auth type or invalid credential"
8616
+ },
8617
+ "401" : {
8618
+ "description" : "Unauthorized"
8619
+ },
8620
+ "403" : {
8621
+ "description" : "Forbidden - User is not part of the organization"
8622
+ },
8623
+ "404" : {
8624
+ "description" : "Tool not found"
8625
+ }
8626
+ },
8627
+ "summary" : "Set user static credentials for a tool",
8628
+ "tags" : [ "tools" ]
8629
+ }
8630
+ },
8100
8631
  "/tools/text-to-speech" : {
8101
8632
  "post" : {
8102
8633
  "description" : "Converts text to speech using the specified provider",
@@ -9683,6 +10214,13 @@
9683
10214
  } ],
9684
10215
  "responses" : {
9685
10216
  "200" : {
10217
+ "content" : {
10218
+ "application/json" : {
10219
+ "schema" : {
10220
+ "$ref" : "#/components/schemas/MessageStatus"
10221
+ }
10222
+ }
10223
+ },
9686
10224
  "description" : "Message status retrieved successfully"
9687
10225
  },
9688
10226
  "401" : {
@@ -9738,33 +10276,198 @@
9738
10276
  "content" : {
9739
10277
  "application/json" : {
9740
10278
  "schema" : {
9741
- "$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"
9742
10442
  }
9743
10443
  }
9744
10444
  },
9745
- "description" : "Reaction updated successfully"
10445
+ "description" : "Map of filler id to audio existence"
9746
10446
  },
9747
10447
  "400" : {
9748
- "description" : "Invalid request"
10448
+ "description" : "Missing fillersIds query parameter"
9749
10449
  },
9750
10450
  "401" : {
9751
10451
  "description" : "Unauthorized"
9752
10452
  },
9753
10453
  "403" : {
9754
- "description" : "Forbidden - User cannot access this conversation"
10454
+ "description" : "Forbidden - User doesn't have access to this app"
9755
10455
  },
9756
10456
  "404" : {
9757
- "description" : "Conversation or message not found"
10457
+ "description" : "App not found"
10458
+ },
10459
+ "500" : {
10460
+ "description" : "Server error"
9758
10461
  }
9759
10462
  },
9760
- "summary" : "Set reaction on a message",
9761
- "tags" : [ "prompts" ]
10463
+ "summary" : "Check if audio fillers exist",
10464
+ "tags" : [ "app" ]
9762
10465
  }
9763
10466
  },
9764
- "/apps/{appId}/languages/{language}/fillers/{fillerId}/audio" : {
9765
- "get" : {
9766
- "description" : "Get audio filler by ID",
9767
- "operationId" : "getAudioFillerById",
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",
9768
10471
  "parameters" : [ {
9769
10472
  "description" : "ID of the app",
9770
10473
  "in" : "path",
@@ -9781,14 +10484,6 @@
9781
10484
  "schema" : {
9782
10485
  "type" : "string"
9783
10486
  }
9784
- }, {
9785
- "description" : "Language code",
9786
- "in" : "path",
9787
- "name" : "language",
9788
- "required" : true,
9789
- "schema" : {
9790
- "type" : "string"
9791
- }
9792
10487
  }, {
9793
10488
  "description" : "ID of the filler",
9794
10489
  "in" : "path",
@@ -9803,11 +10498,11 @@
9803
10498
  "content" : {
9804
10499
  "application/json" : {
9805
10500
  "schema" : {
9806
- "$ref" : "#/components/schemas/AudioFile"
10501
+ "$ref" : "#/components/schemas/BodyWithMessage"
9807
10502
  }
9808
10503
  }
9809
10504
  },
9810
- "description" : "Audio filler retrieved successfully"
10505
+ "description" : "Audio generated by default filler deleted"
9811
10506
  },
9812
10507
  "401" : {
9813
10508
  "description" : "Unauthorized"
@@ -9816,20 +10511,20 @@
9816
10511
  "description" : "Forbidden - User doesn't have access to this app"
9817
10512
  },
9818
10513
  "404" : {
9819
- "description" : "Audio filler not found"
10514
+ "description" : "App, voice or default filler not found"
9820
10515
  },
9821
10516
  "500" : {
9822
10517
  "description" : "Server error"
9823
10518
  }
9824
10519
  },
9825
- "summary" : "Get audio filler by ID",
10520
+ "summary" : "Delete the generated audio of a default filler",
9826
10521
  "tags" : [ "app" ]
9827
10522
  }
9828
10523
  },
9829
- "/apps/{appId}/fillers" : {
9830
- "get" : {
9831
- "description" : "Check if audio filler exists",
9832
- "operationId" : "checkAudioFillerExists",
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",
9833
10528
  "parameters" : [ {
9834
10529
  "description" : "ID of the app",
9835
10530
  "in" : "path",
@@ -9840,51 +10535,52 @@
9840
10535
  }
9841
10536
  }, {
9842
10537
  "description" : "Language code",
9843
- "in" : "query",
9844
- "name" : "lang",
9845
- "schema" : {
9846
- "type" : "string"
9847
- }
9848
- }, {
9849
- "description" : "Fillers IDs",
9850
- "in" : "query",
9851
- "name" : "fillersIds",
10538
+ "in" : "path",
10539
+ "name" : "language",
10540
+ "required" : true,
9852
10541
  "schema" : {
9853
10542
  "type" : "string"
9854
10543
  }
9855
10544
  } ],
10545
+ "requestBody" : {
10546
+ "content" : {
10547
+ "application/json" : {
10548
+ "schema" : {
10549
+ "$ref" : "#/components/schemas/addCustomFiller_request"
10550
+ }
10551
+ }
10552
+ },
10553
+ "required" : true
10554
+ },
9856
10555
  "responses" : {
9857
- "200" : {
10556
+ "201" : {
9858
10557
  "content" : {
9859
10558
  "application/json" : {
9860
10559
  "schema" : {
9861
- "$ref" : "#/components/schemas/AudioFillerExistsResponse"
10560
+ "$ref" : "#/components/schemas/addCustomFiller_201_response"
9862
10561
  }
9863
10562
  }
9864
10563
  },
9865
- "description" : "Audio filler exists"
10564
+ "description" : "Filler phrase created successfully"
10565
+ },
10566
+ "400" : {
10567
+ "description" : "Invalid language or missing text"
9866
10568
  },
9867
10569
  "401" : {
9868
10570
  "description" : "Unauthorized"
9869
10571
  },
9870
- "403" : {
9871
- "description" : "Forbidden - User doesn't have access to this app"
9872
- },
9873
10572
  "404" : {
9874
- "description" : "Audio filler does not exist"
9875
- },
9876
- "500" : {
9877
- "description" : "Server error"
10573
+ "description" : "App not found"
9878
10574
  }
9879
10575
  },
9880
- "summary" : "Check if audio filler exists",
10576
+ "summary" : "Add a custom filler",
9881
10577
  "tags" : [ "app" ]
9882
10578
  }
9883
10579
  },
9884
- "/apps/{appId}/voice/{voiceId}/default-fillers/{fillerId}" : {
10580
+ "/apps/{appId}/languages/{language}/customFillers/{fillerId}" : {
9885
10581
  "delete" : {
9886
- "description" : "Delete a default filler",
9887
- "operationId" : "deleteDefaultFiller",
10582
+ "description" : "Delete a custom filler phrase from an app for a given language",
10583
+ "operationId" : "deleteCustomFiller",
9888
10584
  "parameters" : [ {
9889
10585
  "description" : "ID of the app",
9890
10586
  "in" : "path",
@@ -9893,14 +10589,6 @@
9893
10589
  "schema" : {
9894
10590
  "type" : "string"
9895
10591
  }
9896
- }, {
9897
- "description" : "ID of the voice",
9898
- "in" : "path",
9899
- "name" : "voiceId",
9900
- "required" : true,
9901
- "schema" : {
9902
- "type" : "string"
9903
- }
9904
10592
  }, {
9905
10593
  "description" : "Language code",
9906
10594
  "in" : "path",
@@ -9923,26 +10611,71 @@
9923
10611
  "content" : {
9924
10612
  "application/json" : {
9925
10613
  "schema" : {
9926
- "$ref" : "#/components/schemas/FillersArray"
10614
+ "$ref" : "#/components/schemas/BodyWithMessage"
9927
10615
  }
9928
10616
  }
9929
10617
  },
9930
- "description" : "Default filler deleted successfully"
10618
+ "description" : "Filler deleted"
10619
+ },
10620
+ "400" : {
10621
+ "description" : "Invalid language"
9931
10622
  },
9932
10623
  "401" : {
9933
10624
  "description" : "Unauthorized"
9934
10625
  },
9935
- "403" : {
9936
- "description" : "Forbidden - User doesn't have access to this app"
9937
- },
9938
10626
  "404" : {
9939
- "description" : "Default filler not found"
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
+ }
9940
10654
  },
9941
- "500" : {
9942
- "description" : "Server error"
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"
9943
10676
  }
9944
10677
  },
9945
- "summary" : "Delete a default filler",
10678
+ "summary" : "Update selected fillers",
9946
10679
  "tags" : [ "app" ]
9947
10680
  }
9948
10681
  }
@@ -10327,6 +11060,15 @@
10327
11060
  "type" : "string"
10328
11061
  }
10329
11062
  },
11063
+ "toolIdPath" : {
11064
+ "description" : "Tool identifier",
11065
+ "in" : "path",
11066
+ "name" : "toolId",
11067
+ "required" : true,
11068
+ "schema" : {
11069
+ "type" : "string"
11070
+ }
11071
+ },
10330
11072
  "dry" : {
10331
11073
  "description" : "If true, returns a mock transcription without processing the file",
10332
11074
  "in" : "query",
@@ -10343,15 +11085,6 @@
10343
11085
  "type" : "string"
10344
11086
  }
10345
11087
  },
10346
- "toolIdPath" : {
10347
- "description" : "Tool identifier",
10348
- "in" : "path",
10349
- "name" : "toolId",
10350
- "required" : true,
10351
- "schema" : {
10352
- "type" : "string"
10353
- }
10354
- },
10355
11088
  "skillIdPath" : {
10356
11089
  "description" : "Skill identifier",
10357
11090
  "in" : "path",
@@ -10380,15 +11113,6 @@
10380
11113
  "type" : "string"
10381
11114
  }
10382
11115
  },
10383
- "voiceIdPath" : {
10384
- "description" : "ID of the voice",
10385
- "in" : "path",
10386
- "name" : "voiceId",
10387
- "required" : true,
10388
- "schema" : {
10389
- "type" : "string"
10390
- }
10391
- },
10392
11116
  "languagePath" : {
10393
11117
  "description" : "Language code",
10394
11118
  "in" : "path",
@@ -10407,10 +11131,11 @@
10407
11131
  "type" : "string"
10408
11132
  }
10409
11133
  },
10410
- "languageQuery" : {
10411
- "description" : "Language code",
10412
- "in" : "query",
10413
- "name" : "lang",
11134
+ "voiceIdPath" : {
11135
+ "description" : "ID of the voice",
11136
+ "in" : "path",
11137
+ "name" : "voiceId",
11138
+ "required" : true,
10414
11139
  "schema" : {
10415
11140
  "type" : "string"
10416
11141
  }
@@ -10426,13 +11151,10 @@
10426
11151
  },
10427
11152
  "schemas" : {
10428
11153
  "AudioFillerExistsResponse" : {
10429
- "additionalProperties" : false,
10430
- "properties" : {
10431
- "exists" : {
10432
- "type" : "boolean"
10433
- }
11154
+ "additionalProperties" : {
11155
+ "type" : "boolean"
10434
11156
  },
10435
- "required" : [ "exists" ],
11157
+ "description" : "Map of filler id to whether its audio exists (in storage and in DB)",
10436
11158
  "type" : "object"
10437
11159
  },
10438
11160
  "ImageKnowledge" : {
@@ -10738,7 +11460,10 @@
10738
11460
  "type" : "integer"
10739
11461
  },
10740
11462
  "contextualKnowledgeConversation" : {
10741
- "$ref" : "#/components/schemas/ContextualKnowledgeConversation"
11463
+ "allOf" : [ {
11464
+ "$ref" : "#/components/schemas/ContextualKnowledgeConversation"
11465
+ } ],
11466
+ "nullable" : true
10742
11467
  },
10743
11468
  "creator" : {
10744
11469
  "$ref" : "#/components/schemas/Agent_creator"
@@ -11058,7 +11783,10 @@
11058
11783
  "type" : "integer"
11059
11784
  },
11060
11785
  "contextualKnowledgeConversation" : {
11061
- "$ref" : "#/components/schemas/ContextualKnowledgeConversation"
11786
+ "allOf" : [ {
11787
+ "$ref" : "#/components/schemas/ContextualKnowledgeConversation"
11788
+ } ],
11789
+ "nullable" : true
11062
11790
  }
11063
11791
  },
11064
11792
  "type" : "object"
@@ -11507,6 +12235,10 @@
11507
12235
  "hash" : {
11508
12236
  "description" : "File hash",
11509
12237
  "type" : "string"
12238
+ },
12239
+ "isFAQ" : {
12240
+ "description" : "Whether the file is a FAQ document",
12241
+ "type" : "boolean"
11510
12242
  }
11511
12243
  },
11512
12244
  "required" : [ "contentType", "ext", "size" ],
@@ -11527,6 +12259,22 @@
11527
12259
  "id" : {
11528
12260
  "type" : "string"
11529
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
+ },
11530
12278
  "contentType" : {
11531
12279
  "type" : "string"
11532
12280
  },
@@ -12824,6 +13572,15 @@
12824
13572
  "required" : [ "ephemeral", "name" ],
12825
13573
  "type" : "object"
12826
13574
  },
13575
+ "BodyWithMessage" : {
13576
+ "properties" : {
13577
+ "message" : {
13578
+ "type" : "string"
13579
+ }
13580
+ },
13581
+ "required" : [ "message" ],
13582
+ "type" : "object"
13583
+ },
12827
13584
  "InstanceContext" : {
12828
13585
  "additionalProperties" : false,
12829
13586
  "properties" : {
@@ -12870,15 +13627,6 @@
12870
13627
  "required" : [ "animationId", "code", "name", "type" ],
12871
13628
  "type" : "object"
12872
13629
  },
12873
- "BodyWithMessage" : {
12874
- "properties" : {
12875
- "message" : {
12876
- "type" : "string"
12877
- }
12878
- },
12879
- "required" : [ "message" ],
12880
- "type" : "object"
12881
- },
12882
13630
  "SequenceCreateRequest" : {
12883
13631
  "properties" : {
12884
13632
  "id" : {
@@ -14333,35 +15081,92 @@
14333
15081
  "nullable" : true,
14334
15082
  "type" : "number"
14335
15083
  },
14336
- "maxDocuments" : {
14337
- "nullable" : true,
14338
- "type" : "number"
15084
+ "maxDocuments" : {
15085
+ "nullable" : true,
15086
+ "type" : "number"
15087
+ },
15088
+ "maxRetrievalLength" : {
15089
+ "nullable" : true,
15090
+ "type" : "number"
15091
+ },
15092
+ "vectorizerModel" : {
15093
+ "nullable" : true,
15094
+ "type" : "string"
15095
+ },
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"
14339
15149
  },
14340
- "maxRetrievalLength" : {
14341
- "nullable" : true,
15150
+ "size" : {
14342
15151
  "type" : "number"
14343
15152
  },
14344
- "vectorizerModel" : {
14345
- "nullable" : true,
15153
+ "hash" : {
14346
15154
  "type" : "string"
14347
15155
  },
14348
- "vectorizerModelDimensions" : {
14349
- "nullable" : true,
14350
- "type" : "number"
15156
+ "status" : {
15157
+ "$ref" : "#/components/schemas/FileStatus"
14351
15158
  },
14352
- "embeddingProviderId" : {
14353
- "nullable" : true,
15159
+ "createdAt" : {
14354
15160
  "type" : "string"
14355
15161
  },
14356
- "embeddingModelId" : {
14357
- "nullable" : true,
15162
+ "updatedAt" : {
14358
15163
  "type" : "string"
14359
15164
  },
14360
- "embeddingDimensions" : {
14361
- "nullable" : true,
14362
- "type" : "number"
15165
+ "isActive" : {
15166
+ "type" : "boolean"
14363
15167
  }
14364
15168
  },
15169
+ "required" : [ "createdAt", "id", "isActive", "key", "knowledgeBaseId", "name", "siteId", "status", "updatedAt", "url" ],
14365
15170
  "type" : "object"
14366
15171
  },
14367
15172
  "KnowledgeFilesByIdsRequest" : {
@@ -15004,6 +15809,37 @@
15004
15809
  "required" : [ "message" ],
15005
15810
  "type" : "object"
15006
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
+ },
15007
15843
  "FillersArray" : {
15008
15844
  "items" : {
15009
15845
  "$ref" : "#/components/schemas/FillersArray_inner"
@@ -15312,15 +16148,161 @@
15312
16148
  },
15313
16149
  "type" : "object"
15314
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
+ },
15315
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" : {
15316
16270
  "properties" : {
15317
16271
  "image" : {
15318
- "description" : "The image to upload",
15319
- "format" : "binary",
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,
15320
16303
  "type" : "string"
15321
16304
  }
15322
16305
  },
15323
- "required" : [ "image" ],
15324
16306
  "type" : "object"
15325
16307
  },
15326
16308
  "setupTool_request" : {
@@ -15392,6 +16374,84 @@
15392
16374
  "required" : [ "id", "reaction" ],
15393
16375
  "type" : "object"
15394
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
+ },
15395
16455
  "KnowledgeBase_files_inner" : {
15396
16456
  "properties" : {
15397
16457
  "id" : {
@@ -16318,6 +17378,29 @@
16318
17378
  },
16319
17379
  "type" : "object"
16320
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
+ },
16321
17404
  "FillersArray_inner" : {
16322
17405
  "properties" : {
16323
17406
  "id" : {