@botpress/api 1.25.0 → 1.27.0
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/index.js +1533 -615
- package/dist/src/gen/admin/state.d.ts +401 -0
- package/dist/src/gen/state.d.ts +401 -0
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +460 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +1 -1
- package/src/gen/state.ts +460 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -4654,6 +4654,359 @@ export declare const state: {
|
|
|
4654
4654
|
};
|
|
4655
4655
|
};
|
|
4656
4656
|
};
|
|
4657
|
+
getDereferencedPublicPluginById: {
|
|
4658
|
+
name: string;
|
|
4659
|
+
description: string;
|
|
4660
|
+
method: "get";
|
|
4661
|
+
section: "hub";
|
|
4662
|
+
path: string;
|
|
4663
|
+
disableDefaultParameters: {
|
|
4664
|
+
"x-workspace-id": boolean;
|
|
4665
|
+
};
|
|
4666
|
+
parameters: {
|
|
4667
|
+
id: {
|
|
4668
|
+
type: "string";
|
|
4669
|
+
description: string;
|
|
4670
|
+
in: "path";
|
|
4671
|
+
};
|
|
4672
|
+
interfaces: {
|
|
4673
|
+
in: "query";
|
|
4674
|
+
type: "object";
|
|
4675
|
+
schema: {
|
|
4676
|
+
type: "object";
|
|
4677
|
+
additionalProperties: {
|
|
4678
|
+
type: "string";
|
|
4679
|
+
description: string;
|
|
4680
|
+
};
|
|
4681
|
+
description: string;
|
|
4682
|
+
};
|
|
4683
|
+
description: string;
|
|
4684
|
+
required: true;
|
|
4685
|
+
};
|
|
4686
|
+
};
|
|
4687
|
+
response: {
|
|
4688
|
+
description: string;
|
|
4689
|
+
schema: {
|
|
4690
|
+
type: "object";
|
|
4691
|
+
properties: {
|
|
4692
|
+
plugin: {
|
|
4693
|
+
type: "object";
|
|
4694
|
+
properties: {
|
|
4695
|
+
id: {
|
|
4696
|
+
type: "string";
|
|
4697
|
+
minLength: number;
|
|
4698
|
+
maxLength: number;
|
|
4699
|
+
description: string;
|
|
4700
|
+
};
|
|
4701
|
+
name: {
|
|
4702
|
+
type: "string";
|
|
4703
|
+
maxLength: number;
|
|
4704
|
+
description: string;
|
|
4705
|
+
};
|
|
4706
|
+
version: {
|
|
4707
|
+
type: "string";
|
|
4708
|
+
maxLength: number;
|
|
4709
|
+
description: string;
|
|
4710
|
+
};
|
|
4711
|
+
createdAt: {
|
|
4712
|
+
type: "string";
|
|
4713
|
+
format: string;
|
|
4714
|
+
description: string;
|
|
4715
|
+
};
|
|
4716
|
+
updatedAt: {
|
|
4717
|
+
type: "string";
|
|
4718
|
+
format: string;
|
|
4719
|
+
description: string;
|
|
4720
|
+
};
|
|
4721
|
+
configuration: {
|
|
4722
|
+
type: "object";
|
|
4723
|
+
properties: {
|
|
4724
|
+
title: {
|
|
4725
|
+
type: "string";
|
|
4726
|
+
maxLength: number;
|
|
4727
|
+
description: string;
|
|
4728
|
+
};
|
|
4729
|
+
description: {
|
|
4730
|
+
type: "string";
|
|
4731
|
+
maxLength: number;
|
|
4732
|
+
description: string;
|
|
4733
|
+
};
|
|
4734
|
+
schema: {
|
|
4735
|
+
type: "object";
|
|
4736
|
+
additionalProperties: true;
|
|
4737
|
+
description: string;
|
|
4738
|
+
};
|
|
4739
|
+
};
|
|
4740
|
+
required: string[];
|
|
4741
|
+
description: string;
|
|
4742
|
+
additionalProperties: false;
|
|
4743
|
+
};
|
|
4744
|
+
states: {
|
|
4745
|
+
type: "object";
|
|
4746
|
+
additionalProperties: {
|
|
4747
|
+
type: "object";
|
|
4748
|
+
properties: {
|
|
4749
|
+
type: {
|
|
4750
|
+
type: "string";
|
|
4751
|
+
enum: string[];
|
|
4752
|
+
description: string;
|
|
4753
|
+
};
|
|
4754
|
+
schema: {
|
|
4755
|
+
type: "object";
|
|
4756
|
+
additionalProperties: true;
|
|
4757
|
+
description: string;
|
|
4758
|
+
};
|
|
4759
|
+
expiry: {
|
|
4760
|
+
type: "number";
|
|
4761
|
+
minimum: number;
|
|
4762
|
+
description: string;
|
|
4763
|
+
};
|
|
4764
|
+
};
|
|
4765
|
+
required: string[];
|
|
4766
|
+
additionalProperties: false;
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4769
|
+
events: {
|
|
4770
|
+
type: "object";
|
|
4771
|
+
additionalProperties: {
|
|
4772
|
+
type: "object";
|
|
4773
|
+
properties: {
|
|
4774
|
+
title: {
|
|
4775
|
+
type: "string";
|
|
4776
|
+
maxLength: number;
|
|
4777
|
+
description: string;
|
|
4778
|
+
};
|
|
4779
|
+
description: {
|
|
4780
|
+
type: "string";
|
|
4781
|
+
maxLength: number;
|
|
4782
|
+
description: string;
|
|
4783
|
+
};
|
|
4784
|
+
schema: {
|
|
4785
|
+
type: "object";
|
|
4786
|
+
additionalProperties: true;
|
|
4787
|
+
};
|
|
4788
|
+
attributes: {
|
|
4789
|
+
type: "object";
|
|
4790
|
+
additionalProperties: {
|
|
4791
|
+
type: "string";
|
|
4792
|
+
maxLength: number;
|
|
4793
|
+
};
|
|
4794
|
+
description: string;
|
|
4795
|
+
};
|
|
4796
|
+
};
|
|
4797
|
+
required: string[];
|
|
4798
|
+
description: string;
|
|
4799
|
+
additionalProperties: false;
|
|
4800
|
+
};
|
|
4801
|
+
};
|
|
4802
|
+
actions: {
|
|
4803
|
+
type: "object";
|
|
4804
|
+
additionalProperties: {
|
|
4805
|
+
type: "object";
|
|
4806
|
+
properties: {
|
|
4807
|
+
title: {
|
|
4808
|
+
type: "string";
|
|
4809
|
+
maxLength: number;
|
|
4810
|
+
description: string;
|
|
4811
|
+
};
|
|
4812
|
+
description: {
|
|
4813
|
+
type: "string";
|
|
4814
|
+
maxLength: number;
|
|
4815
|
+
description: string;
|
|
4816
|
+
};
|
|
4817
|
+
billable: {
|
|
4818
|
+
type: "boolean";
|
|
4819
|
+
};
|
|
4820
|
+
cacheable: {
|
|
4821
|
+
type: "boolean";
|
|
4822
|
+
};
|
|
4823
|
+
input: {
|
|
4824
|
+
type: "object";
|
|
4825
|
+
properties: {
|
|
4826
|
+
schema: {
|
|
4827
|
+
type: "object";
|
|
4828
|
+
additionalProperties: true;
|
|
4829
|
+
};
|
|
4830
|
+
};
|
|
4831
|
+
required: string[];
|
|
4832
|
+
additionalProperties: false;
|
|
4833
|
+
};
|
|
4834
|
+
output: {
|
|
4835
|
+
type: "object";
|
|
4836
|
+
properties: {
|
|
4837
|
+
schema: {
|
|
4838
|
+
type: "object";
|
|
4839
|
+
additionalProperties: true;
|
|
4840
|
+
};
|
|
4841
|
+
};
|
|
4842
|
+
required: string[];
|
|
4843
|
+
additionalProperties: false;
|
|
4844
|
+
};
|
|
4845
|
+
attributes: {
|
|
4846
|
+
type: "object";
|
|
4847
|
+
additionalProperties: {
|
|
4848
|
+
type: "string";
|
|
4849
|
+
maxLength: number;
|
|
4850
|
+
};
|
|
4851
|
+
description: string;
|
|
4852
|
+
};
|
|
4853
|
+
};
|
|
4854
|
+
required: string[];
|
|
4855
|
+
description: string;
|
|
4856
|
+
additionalProperties: false;
|
|
4857
|
+
};
|
|
4858
|
+
};
|
|
4859
|
+
dependencies: {
|
|
4860
|
+
type: "object";
|
|
4861
|
+
properties: {
|
|
4862
|
+
interfaces: {
|
|
4863
|
+
type: "object";
|
|
4864
|
+
additionalProperties: {
|
|
4865
|
+
type: "object";
|
|
4866
|
+
properties: {
|
|
4867
|
+
id: {
|
|
4868
|
+
type: "string";
|
|
4869
|
+
minLength: number;
|
|
4870
|
+
maxLength: number;
|
|
4871
|
+
};
|
|
4872
|
+
name: {
|
|
4873
|
+
type: "string";
|
|
4874
|
+
maxLength: number;
|
|
4875
|
+
};
|
|
4876
|
+
version: {
|
|
4877
|
+
type: "string";
|
|
4878
|
+
maxLength: number;
|
|
4879
|
+
};
|
|
4880
|
+
};
|
|
4881
|
+
required: string[];
|
|
4882
|
+
additionalProperties: false;
|
|
4883
|
+
};
|
|
4884
|
+
};
|
|
4885
|
+
integrations: {
|
|
4886
|
+
type: "object";
|
|
4887
|
+
additionalProperties: {
|
|
4888
|
+
type: "object";
|
|
4889
|
+
properties: {
|
|
4890
|
+
id: {
|
|
4891
|
+
type: "string";
|
|
4892
|
+
minLength: number;
|
|
4893
|
+
maxLength: number;
|
|
4894
|
+
};
|
|
4895
|
+
name: {
|
|
4896
|
+
type: "string";
|
|
4897
|
+
maxLength: number;
|
|
4898
|
+
};
|
|
4899
|
+
version: {
|
|
4900
|
+
type: "string";
|
|
4901
|
+
maxLength: number;
|
|
4902
|
+
};
|
|
4903
|
+
};
|
|
4904
|
+
required: string[];
|
|
4905
|
+
additionalProperties: false;
|
|
4906
|
+
};
|
|
4907
|
+
};
|
|
4908
|
+
};
|
|
4909
|
+
required: string[];
|
|
4910
|
+
additionalProperties: false;
|
|
4911
|
+
};
|
|
4912
|
+
user: {
|
|
4913
|
+
type: "object";
|
|
4914
|
+
properties: {
|
|
4915
|
+
tags: {
|
|
4916
|
+
type: "object";
|
|
4917
|
+
additionalProperties: {
|
|
4918
|
+
type: "object";
|
|
4919
|
+
properties: {
|
|
4920
|
+
title: {
|
|
4921
|
+
type: "string";
|
|
4922
|
+
maxLength: number;
|
|
4923
|
+
description: string;
|
|
4924
|
+
};
|
|
4925
|
+
description: {
|
|
4926
|
+
type: "string";
|
|
4927
|
+
maxLength: number;
|
|
4928
|
+
description: string;
|
|
4929
|
+
};
|
|
4930
|
+
};
|
|
4931
|
+
description: string;
|
|
4932
|
+
additionalProperties: false;
|
|
4933
|
+
};
|
|
4934
|
+
};
|
|
4935
|
+
};
|
|
4936
|
+
required: string[];
|
|
4937
|
+
description: string;
|
|
4938
|
+
additionalProperties: false;
|
|
4939
|
+
};
|
|
4940
|
+
conversation: {
|
|
4941
|
+
type: "object";
|
|
4942
|
+
properties: {
|
|
4943
|
+
tags: {
|
|
4944
|
+
type: "object";
|
|
4945
|
+
additionalProperties: {
|
|
4946
|
+
type: "object";
|
|
4947
|
+
properties: {
|
|
4948
|
+
title: {
|
|
4949
|
+
type: "string";
|
|
4950
|
+
maxLength: number;
|
|
4951
|
+
description: string;
|
|
4952
|
+
};
|
|
4953
|
+
description: {
|
|
4954
|
+
type: "string";
|
|
4955
|
+
maxLength: number;
|
|
4956
|
+
description: string;
|
|
4957
|
+
};
|
|
4958
|
+
};
|
|
4959
|
+
description: string;
|
|
4960
|
+
additionalProperties: false;
|
|
4961
|
+
};
|
|
4962
|
+
};
|
|
4963
|
+
};
|
|
4964
|
+
required: string[];
|
|
4965
|
+
description: string;
|
|
4966
|
+
additionalProperties: false;
|
|
4967
|
+
};
|
|
4968
|
+
attributes: {
|
|
4969
|
+
type: "object";
|
|
4970
|
+
additionalProperties: {
|
|
4971
|
+
type: "string";
|
|
4972
|
+
maxLength: number;
|
|
4973
|
+
};
|
|
4974
|
+
description: string;
|
|
4975
|
+
};
|
|
4976
|
+
title: {
|
|
4977
|
+
type: "string";
|
|
4978
|
+
minLength: number;
|
|
4979
|
+
maxLength: number;
|
|
4980
|
+
description: string;
|
|
4981
|
+
};
|
|
4982
|
+
description: {
|
|
4983
|
+
type: "string";
|
|
4984
|
+
maxLength: number;
|
|
4985
|
+
description: string;
|
|
4986
|
+
};
|
|
4987
|
+
iconUrl: {
|
|
4988
|
+
type: "string";
|
|
4989
|
+
description: string;
|
|
4990
|
+
};
|
|
4991
|
+
readmeUrl: {
|
|
4992
|
+
type: "string";
|
|
4993
|
+
description: string;
|
|
4994
|
+
};
|
|
4995
|
+
public: {
|
|
4996
|
+
type: "boolean";
|
|
4997
|
+
description: string;
|
|
4998
|
+
};
|
|
4999
|
+
};
|
|
5000
|
+
required: string[];
|
|
5001
|
+
additionalProperties: false;
|
|
5002
|
+
};
|
|
5003
|
+
};
|
|
5004
|
+
required: string[];
|
|
5005
|
+
title: string;
|
|
5006
|
+
additionalProperties: false;
|
|
5007
|
+
};
|
|
5008
|
+
};
|
|
5009
|
+
};
|
|
4657
5010
|
getPublicPlugin: {
|
|
4658
5011
|
name: string;
|
|
4659
5012
|
description: string;
|
|
@@ -6288,6 +6641,10 @@ export declare const state: {
|
|
|
6288
6641
|
enabled: {
|
|
6289
6642
|
type: "boolean";
|
|
6290
6643
|
};
|
|
6644
|
+
integrationId: {
|
|
6645
|
+
type: "string";
|
|
6646
|
+
description: string;
|
|
6647
|
+
};
|
|
6291
6648
|
configurationType: {
|
|
6292
6649
|
type: "string";
|
|
6293
6650
|
nullable: true;
|
|
@@ -13041,6 +13398,48 @@ export declare const state: {
|
|
|
13041
13398
|
};
|
|
13042
13399
|
};
|
|
13043
13400
|
};
|
|
13401
|
+
getDereferencedPlugin: {
|
|
13402
|
+
name: string;
|
|
13403
|
+
description: string;
|
|
13404
|
+
method: "get";
|
|
13405
|
+
section: "plugin";
|
|
13406
|
+
path: string;
|
|
13407
|
+
parameters: {
|
|
13408
|
+
id: {
|
|
13409
|
+
type: "string";
|
|
13410
|
+
description: string;
|
|
13411
|
+
in: "path";
|
|
13412
|
+
};
|
|
13413
|
+
interfaces: {
|
|
13414
|
+
in: "query";
|
|
13415
|
+
type: "object";
|
|
13416
|
+
schema: {
|
|
13417
|
+
type: "object";
|
|
13418
|
+
additionalProperties: {
|
|
13419
|
+
type: "string";
|
|
13420
|
+
description: string;
|
|
13421
|
+
};
|
|
13422
|
+
description: string;
|
|
13423
|
+
};
|
|
13424
|
+
description: string;
|
|
13425
|
+
required: true;
|
|
13426
|
+
};
|
|
13427
|
+
};
|
|
13428
|
+
response: {
|
|
13429
|
+
description: string;
|
|
13430
|
+
schema: {
|
|
13431
|
+
type: "object";
|
|
13432
|
+
properties: {
|
|
13433
|
+
plugin: {
|
|
13434
|
+
$ref: string;
|
|
13435
|
+
};
|
|
13436
|
+
};
|
|
13437
|
+
required: string[];
|
|
13438
|
+
title: string;
|
|
13439
|
+
additionalProperties: false;
|
|
13440
|
+
};
|
|
13441
|
+
};
|
|
13442
|
+
};
|
|
13044
13443
|
getPluginByName: {
|
|
13045
13444
|
name: string;
|
|
13046
13445
|
description: string;
|
|
@@ -16721,6 +17120,7 @@ export declare const state: {
|
|
|
16721
17120
|
getPublicIntegrationResponse: true;
|
|
16722
17121
|
listPublicPluginsResponse: true;
|
|
16723
17122
|
getPublicPluginByIdResponse: true;
|
|
17123
|
+
getDereferencedPublicPluginByIdResponse: true;
|
|
16724
17124
|
getPublicPluginResponse: true;
|
|
16725
17125
|
getPublicPluginCodeResponse: true;
|
|
16726
17126
|
listPublicInterfacesResponse: true;
|
|
@@ -16796,6 +17196,7 @@ export declare const state: {
|
|
|
16796
17196
|
listInterfacesResponse: true;
|
|
16797
17197
|
createPluginResponse: true;
|
|
16798
17198
|
getPluginResponse: true;
|
|
17199
|
+
getDereferencedPluginResponse: true;
|
|
16799
17200
|
getPluginByNameResponse: true;
|
|
16800
17201
|
updatePluginResponse: true;
|
|
16801
17202
|
deletePluginResponse: true;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sections":[{"description":"","title":"User","name":"user","operations":[],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":[],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":[],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":[],"schema":"Message"},{"description":"","title":"State","name":"state","operations":[],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration","listPublicPlugins","getPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"description":"","title":"Action","name":"action","operations":[]},{"description":"","title":"Task","name":"task","operations":[],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":[],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":[]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listActionRuns","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","getBotJson","publishFromBotJson","createBotVersion","deployBotVersion","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","getWorkspaceMember","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","deleteAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage","getMultipleUsages","listUsageActivityDaily"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":[],"schema":"Table"},{"title":"Files","description":"The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.","name":"files","operations":[],"schema":"File"}],"errors":[{"status":500,"type":"Unknown","description":"An unknown error occurred"},{"status":500,"type":"Internal","description":"An internal error occurred"},{"status":401,"type":"Unauthorized","description":"The request requires to be authenticated."},{"status":403,"type":"Forbidden","description":"The requested action can't be peform by this resource."},{"status":413,"type":"PayloadTooLarge","description":"The request payload is too large."},{"status":400,"type":"InvalidPayload","description":"The request payload is invalid."},{"status":415,"type":"UnsupportedMediaType","description":"The request is invalid because the content-type is not supported."},{"status":405,"type":"MethodNotFound","description":"The requested method does not exist."},{"status":404,"type":"ResourceNotFound","description":"The requested resource does not exist."},{"status":400,"type":"InvalidJsonSchema","description":"The provided JSON schema is invalid."},{"status":400,"type":"InvalidDataFormat","description":"The provided data doesn't respect the provided JSON schema."},{"status":400,"type":"InvalidIdentifier","description":"The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters."},{"status":409,"type":"RelationConflict","description":"The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together."},{"status":409,"type":"ReferenceConstraint","description":"The resource cannot be deleted because it's referenced by another resource"},{"status":409,"type":"ResourceLockedConflict","description":"The resource is current locked and cannot be operated on until the lock is released."},{"status":400,"type":"ReferenceNotFound","description":"The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request."},{"status":400,"type":"InvalidQuery","description":"The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource."},{"status":400,"type":"Runtime","description":"An error happened during the execution of a runtime (bot or integration)."},{"status":409,"type":"AlreadyExists","description":"The record attempted to be created already exists."},{"status":429,"type":"RateLimited","description":"The request has been rate limited."},{"status":402,"type":"PaymentRequired","description":"A payment is required to perform this request."},{"status":403,"type":"QuotaExceeded","description":"The request exceeds the allowed quota. Quotas are a soft limit that can be increased."},{"status":413,"type":"LimitExceeded","description":"The request exceeds the allowed limit. Limits are a hard limit that cannot be increased."},{"status":400,"type":"BreakingChanges","description":"Request payload contains breaking changes which is not allowed for this resource without a version increment."}]}
|
|
1
|
+
{"sections":[{"description":"","title":"User","name":"user","operations":[],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":[],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":[],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":[],"schema":"Message"},{"description":"","title":"State","name":"state","operations":[],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration","listPublicPlugins","getPublicPluginById","getDereferencedPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"description":"","title":"Action","name":"action","operations":[]},{"description":"","title":"Task","name":"task","operations":[],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":[],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":[]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listActionRuns","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","getBotJson","publishFromBotJson","createBotVersion","deployBotVersion","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getDereferencedPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","getWorkspaceMember","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","deleteAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage","getMultipleUsages","listUsageActivityDaily"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":[],"schema":"Table"},{"title":"Files","description":"The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.","name":"files","operations":[],"schema":"File"}],"errors":[{"status":500,"type":"Unknown","description":"An unknown error occurred"},{"status":500,"type":"Internal","description":"An internal error occurred"},{"status":401,"type":"Unauthorized","description":"The request requires to be authenticated."},{"status":403,"type":"Forbidden","description":"The requested action can't be peform by this resource."},{"status":413,"type":"PayloadTooLarge","description":"The request payload is too large."},{"status":400,"type":"InvalidPayload","description":"The request payload is invalid."},{"status":415,"type":"UnsupportedMediaType","description":"The request is invalid because the content-type is not supported."},{"status":405,"type":"MethodNotFound","description":"The requested method does not exist."},{"status":404,"type":"ResourceNotFound","description":"The requested resource does not exist."},{"status":400,"type":"InvalidJsonSchema","description":"The provided JSON schema is invalid."},{"status":400,"type":"InvalidDataFormat","description":"The provided data doesn't respect the provided JSON schema."},{"status":400,"type":"InvalidIdentifier","description":"The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters."},{"status":409,"type":"RelationConflict","description":"The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together."},{"status":409,"type":"ReferenceConstraint","description":"The resource cannot be deleted because it's referenced by another resource"},{"status":409,"type":"ResourceLockedConflict","description":"The resource is current locked and cannot be operated on until the lock is released."},{"status":400,"type":"ReferenceNotFound","description":"The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request."},{"status":400,"type":"InvalidQuery","description":"The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource."},{"status":400,"type":"Runtime","description":"An error happened during the execution of a runtime (bot or integration)."},{"status":409,"type":"AlreadyExists","description":"The record attempted to be created already exists."},{"status":429,"type":"RateLimited","description":"The request has been rate limited."},{"status":402,"type":"PaymentRequired","description":"A payment is required to perform this request."},{"status":403,"type":"QuotaExceeded","description":"The request exceeds the allowed quota. Quotas are a soft limit that can be increased."},{"status":413,"type":"LimitExceeded","description":"The request exceeds the allowed limit. Limits are a hard limit that cannot be increased."},{"status":400,"type":"BreakingChanges","description":"Request payload contains breaking changes which is not allowed for this resource without a version increment."}]}
|