@botpress/api 0.80.0 → 0.83.1
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 +496 -740
- package/dist/src/gen/state.d.ts +305 -0
- package/package.json +2 -2
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +339 -6
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1597,6 +1597,16 @@ export declare const state: {
|
|
|
1597
1597
|
enum: string[];
|
|
1598
1598
|
description: string;
|
|
1599
1599
|
};
|
|
1600
|
+
sandboxIdentifiers: {
|
|
1601
|
+
type: "object";
|
|
1602
|
+
additionalProperties: {
|
|
1603
|
+
type: "object";
|
|
1604
|
+
nullable: true;
|
|
1605
|
+
additionalProperties: false;
|
|
1606
|
+
};
|
|
1607
|
+
nullable: true;
|
|
1608
|
+
description: string;
|
|
1609
|
+
};
|
|
1600
1610
|
};
|
|
1601
1611
|
title: string;
|
|
1602
1612
|
additionalProperties: false;
|
|
@@ -2885,6 +2895,22 @@ export declare const state: {
|
|
|
2885
2895
|
description: string;
|
|
2886
2896
|
additionalProperties: false;
|
|
2887
2897
|
};
|
|
2898
|
+
sandbox: {
|
|
2899
|
+
type: "object";
|
|
2900
|
+
properties: {
|
|
2901
|
+
identifierExtractScript: {
|
|
2902
|
+
type: "string";
|
|
2903
|
+
maxLength: number;
|
|
2904
|
+
description: string;
|
|
2905
|
+
};
|
|
2906
|
+
messageExtractScript: {
|
|
2907
|
+
type: "string";
|
|
2908
|
+
maxLength: number;
|
|
2909
|
+
description: string;
|
|
2910
|
+
};
|
|
2911
|
+
};
|
|
2912
|
+
additionalProperties: false;
|
|
2913
|
+
};
|
|
2888
2914
|
url: {
|
|
2889
2915
|
type: "string";
|
|
2890
2916
|
maxLength: number;
|
|
@@ -3481,6 +3507,22 @@ export declare const state: {
|
|
|
3481
3507
|
description: string;
|
|
3482
3508
|
additionalProperties: false;
|
|
3483
3509
|
};
|
|
3510
|
+
sandbox: {
|
|
3511
|
+
type: "object";
|
|
3512
|
+
properties: {
|
|
3513
|
+
identifierExtractScript: {
|
|
3514
|
+
type: "string";
|
|
3515
|
+
maxLength: number;
|
|
3516
|
+
description: string;
|
|
3517
|
+
};
|
|
3518
|
+
messageExtractScript: {
|
|
3519
|
+
type: "string";
|
|
3520
|
+
maxLength: number;
|
|
3521
|
+
description: string;
|
|
3522
|
+
};
|
|
3523
|
+
};
|
|
3524
|
+
additionalProperties: false;
|
|
3525
|
+
};
|
|
3484
3526
|
url: {
|
|
3485
3527
|
type: "string";
|
|
3486
3528
|
maxLength: number;
|
|
@@ -8764,6 +8806,22 @@ export declare const state: {
|
|
|
8764
8806
|
additionalProperties: false;
|
|
8765
8807
|
};
|
|
8766
8808
|
};
|
|
8809
|
+
sandbox: {
|
|
8810
|
+
type: "object";
|
|
8811
|
+
properties: {
|
|
8812
|
+
identifierExtractScript: {
|
|
8813
|
+
type: "string";
|
|
8814
|
+
maxLength: number;
|
|
8815
|
+
nullable: true;
|
|
8816
|
+
};
|
|
8817
|
+
messageExtractScript: {
|
|
8818
|
+
type: "string";
|
|
8819
|
+
maxLength: number;
|
|
8820
|
+
nullable: true;
|
|
8821
|
+
};
|
|
8822
|
+
};
|
|
8823
|
+
additionalProperties: false;
|
|
8824
|
+
};
|
|
8767
8825
|
secrets: {
|
|
8768
8826
|
type: "object";
|
|
8769
8827
|
additionalProperties: {
|
|
@@ -9293,6 +9351,22 @@ export declare const state: {
|
|
|
9293
9351
|
additionalProperties: false;
|
|
9294
9352
|
};
|
|
9295
9353
|
};
|
|
9354
|
+
sandbox: {
|
|
9355
|
+
type: "object";
|
|
9356
|
+
properties: {
|
|
9357
|
+
identifierExtractScript: {
|
|
9358
|
+
type: "string";
|
|
9359
|
+
maxLength: number;
|
|
9360
|
+
nullable: true;
|
|
9361
|
+
};
|
|
9362
|
+
messageExtractScript: {
|
|
9363
|
+
type: "string";
|
|
9364
|
+
maxLength: number;
|
|
9365
|
+
nullable: true;
|
|
9366
|
+
};
|
|
9367
|
+
};
|
|
9368
|
+
additionalProperties: false;
|
|
9369
|
+
};
|
|
9296
9370
|
secrets: {
|
|
9297
9371
|
type: "object";
|
|
9298
9372
|
additionalProperties: {
|
|
@@ -9398,6 +9472,12 @@ export declare const state: {
|
|
|
9398
9472
|
in: "query";
|
|
9399
9473
|
enum: string[];
|
|
9400
9474
|
};
|
|
9475
|
+
installedByBotId: {
|
|
9476
|
+
in: "query";
|
|
9477
|
+
description: string;
|
|
9478
|
+
type: "string";
|
|
9479
|
+
required: false;
|
|
9480
|
+
};
|
|
9401
9481
|
verificationStatus: {
|
|
9402
9482
|
type: "string";
|
|
9403
9483
|
description: string;
|
|
@@ -11016,6 +11096,25 @@ export declare const state: {
|
|
|
11016
11096
|
maxLength: number;
|
|
11017
11097
|
description: string;
|
|
11018
11098
|
};
|
|
11099
|
+
title: {
|
|
11100
|
+
type: "string";
|
|
11101
|
+
minLength: number;
|
|
11102
|
+
maxLength: number;
|
|
11103
|
+
description: string;
|
|
11104
|
+
};
|
|
11105
|
+
description: {
|
|
11106
|
+
type: "string";
|
|
11107
|
+
maxLength: number;
|
|
11108
|
+
description: string;
|
|
11109
|
+
};
|
|
11110
|
+
iconUrl: {
|
|
11111
|
+
type: "string";
|
|
11112
|
+
description: string;
|
|
11113
|
+
};
|
|
11114
|
+
readmeUrl: {
|
|
11115
|
+
type: "string";
|
|
11116
|
+
description: string;
|
|
11117
|
+
};
|
|
11019
11118
|
};
|
|
11020
11119
|
required: string[];
|
|
11021
11120
|
};
|
|
@@ -12587,6 +12686,190 @@ export declare const state: {
|
|
|
12587
12686
|
};
|
|
12588
12687
|
};
|
|
12589
12688
|
};
|
|
12689
|
+
createKnowledgeBase: {
|
|
12690
|
+
name: string;
|
|
12691
|
+
path: string;
|
|
12692
|
+
description: string;
|
|
12693
|
+
method: "post";
|
|
12694
|
+
requestBody: {
|
|
12695
|
+
description: string;
|
|
12696
|
+
schema: {
|
|
12697
|
+
type: "object";
|
|
12698
|
+
properties: {
|
|
12699
|
+
name: {
|
|
12700
|
+
type: "string";
|
|
12701
|
+
description: string;
|
|
12702
|
+
};
|
|
12703
|
+
};
|
|
12704
|
+
required: string[];
|
|
12705
|
+
title: string;
|
|
12706
|
+
additionalProperties: false;
|
|
12707
|
+
};
|
|
12708
|
+
};
|
|
12709
|
+
contentType: "application/json";
|
|
12710
|
+
section: "files";
|
|
12711
|
+
response: {
|
|
12712
|
+
description: string;
|
|
12713
|
+
schema: {
|
|
12714
|
+
type: "object";
|
|
12715
|
+
properties: {
|
|
12716
|
+
knowledgeBase: {
|
|
12717
|
+
type: "object";
|
|
12718
|
+
properties: {
|
|
12719
|
+
id: {
|
|
12720
|
+
type: "string";
|
|
12721
|
+
description: string;
|
|
12722
|
+
};
|
|
12723
|
+
name: {
|
|
12724
|
+
type: "string";
|
|
12725
|
+
description: string;
|
|
12726
|
+
};
|
|
12727
|
+
};
|
|
12728
|
+
required: string[];
|
|
12729
|
+
additionalProperties: false;
|
|
12730
|
+
};
|
|
12731
|
+
};
|
|
12732
|
+
required: string[];
|
|
12733
|
+
title: string;
|
|
12734
|
+
additionalProperties: false;
|
|
12735
|
+
};
|
|
12736
|
+
};
|
|
12737
|
+
parameters: {};
|
|
12738
|
+
};
|
|
12739
|
+
deleteKnowledgeBase: {
|
|
12740
|
+
name: string;
|
|
12741
|
+
path: string;
|
|
12742
|
+
description: string;
|
|
12743
|
+
method: "delete";
|
|
12744
|
+
section: "files";
|
|
12745
|
+
parameters: {
|
|
12746
|
+
id: {
|
|
12747
|
+
type: "string";
|
|
12748
|
+
description: string;
|
|
12749
|
+
in: "path";
|
|
12750
|
+
};
|
|
12751
|
+
};
|
|
12752
|
+
response: {
|
|
12753
|
+
description: string;
|
|
12754
|
+
schema: {
|
|
12755
|
+
type: "object";
|
|
12756
|
+
title: string;
|
|
12757
|
+
additionalProperties: false;
|
|
12758
|
+
};
|
|
12759
|
+
};
|
|
12760
|
+
};
|
|
12761
|
+
updateKnowledgeBase: {
|
|
12762
|
+
name: string;
|
|
12763
|
+
path: string;
|
|
12764
|
+
description: string;
|
|
12765
|
+
method: "put";
|
|
12766
|
+
section: "files";
|
|
12767
|
+
parameters: {
|
|
12768
|
+
id: {
|
|
12769
|
+
type: "string";
|
|
12770
|
+
description: string;
|
|
12771
|
+
in: "path";
|
|
12772
|
+
};
|
|
12773
|
+
};
|
|
12774
|
+
requestBody: {
|
|
12775
|
+
description: string;
|
|
12776
|
+
schema: {
|
|
12777
|
+
type: "object";
|
|
12778
|
+
properties: {
|
|
12779
|
+
name: {
|
|
12780
|
+
type: "string";
|
|
12781
|
+
description: string;
|
|
12782
|
+
};
|
|
12783
|
+
};
|
|
12784
|
+
required: string[];
|
|
12785
|
+
title: string;
|
|
12786
|
+
additionalProperties: false;
|
|
12787
|
+
};
|
|
12788
|
+
};
|
|
12789
|
+
contentType: "application/json";
|
|
12790
|
+
response: {
|
|
12791
|
+
description: string;
|
|
12792
|
+
schema: {
|
|
12793
|
+
type: "object";
|
|
12794
|
+
properties: {
|
|
12795
|
+
knowledgeBase: {
|
|
12796
|
+
type: "object";
|
|
12797
|
+
properties: {
|
|
12798
|
+
id: {
|
|
12799
|
+
type: "string";
|
|
12800
|
+
description: string;
|
|
12801
|
+
};
|
|
12802
|
+
name: {
|
|
12803
|
+
type: "string";
|
|
12804
|
+
description: string;
|
|
12805
|
+
};
|
|
12806
|
+
};
|
|
12807
|
+
required: string[];
|
|
12808
|
+
additionalProperties: false;
|
|
12809
|
+
};
|
|
12810
|
+
};
|
|
12811
|
+
required: string[];
|
|
12812
|
+
title: string;
|
|
12813
|
+
additionalProperties: false;
|
|
12814
|
+
};
|
|
12815
|
+
};
|
|
12816
|
+
};
|
|
12817
|
+
listKnowledgeBases: {
|
|
12818
|
+
name: string;
|
|
12819
|
+
path: string;
|
|
12820
|
+
description: string;
|
|
12821
|
+
method: "get";
|
|
12822
|
+
section: "files";
|
|
12823
|
+
parameters: {
|
|
12824
|
+
nextToken: {
|
|
12825
|
+
in: "query";
|
|
12826
|
+
description: string;
|
|
12827
|
+
type: "string";
|
|
12828
|
+
};
|
|
12829
|
+
};
|
|
12830
|
+
response: {
|
|
12831
|
+
description: string;
|
|
12832
|
+
schema: {
|
|
12833
|
+
type: "object";
|
|
12834
|
+
properties: {
|
|
12835
|
+
knowledgeBases: {
|
|
12836
|
+
type: "array";
|
|
12837
|
+
items: {
|
|
12838
|
+
type: "object";
|
|
12839
|
+
properties: {
|
|
12840
|
+
id: {
|
|
12841
|
+
type: "string";
|
|
12842
|
+
description: string;
|
|
12843
|
+
};
|
|
12844
|
+
name: {
|
|
12845
|
+
type: "string";
|
|
12846
|
+
description: string;
|
|
12847
|
+
};
|
|
12848
|
+
createdAt: {
|
|
12849
|
+
type: "string";
|
|
12850
|
+
description: string;
|
|
12851
|
+
};
|
|
12852
|
+
};
|
|
12853
|
+
required: string[];
|
|
12854
|
+
};
|
|
12855
|
+
};
|
|
12856
|
+
meta: {
|
|
12857
|
+
type: "object";
|
|
12858
|
+
properties: {
|
|
12859
|
+
nextToken: {
|
|
12860
|
+
type: "string";
|
|
12861
|
+
description: string;
|
|
12862
|
+
};
|
|
12863
|
+
};
|
|
12864
|
+
additionalProperties: false;
|
|
12865
|
+
};
|
|
12866
|
+
};
|
|
12867
|
+
required: string[];
|
|
12868
|
+
title: string;
|
|
12869
|
+
additionalProperties: false;
|
|
12870
|
+
};
|
|
12871
|
+
};
|
|
12872
|
+
};
|
|
12590
12873
|
listTables: {
|
|
12591
12874
|
name: string;
|
|
12592
12875
|
path: string;
|
|
@@ -13777,6 +14060,8 @@ export declare const state: {
|
|
|
13777
14060
|
upsertFileBody: true;
|
|
13778
14061
|
updateFileMetadataBody: true;
|
|
13779
14062
|
copyFileBody: true;
|
|
14063
|
+
createKnowledgeBaseBody: true;
|
|
14064
|
+
updateKnowledgeBaseBody: true;
|
|
13780
14065
|
getOrCreateTableBody: true;
|
|
13781
14066
|
createTableBody: true;
|
|
13782
14067
|
duplicateTableBody: true;
|
|
@@ -13929,6 +14214,10 @@ export declare const state: {
|
|
|
13929
14214
|
listFilePassagesResponse: true;
|
|
13930
14215
|
listFileTagsResponse: true;
|
|
13931
14216
|
listFileTagValuesResponse: true;
|
|
14217
|
+
createKnowledgeBaseResponse: true;
|
|
14218
|
+
deleteKnowledgeBaseResponse: true;
|
|
14219
|
+
updateKnowledgeBaseResponse: true;
|
|
14220
|
+
listKnowledgeBasesResponse: true;
|
|
13932
14221
|
listTablesResponse: true;
|
|
13933
14222
|
getTableResponse: true;
|
|
13934
14223
|
getOrCreateTableResponse: true;
|
|
@@ -14449,6 +14738,22 @@ export declare const state: {
|
|
|
14449
14738
|
description: string;
|
|
14450
14739
|
additionalProperties: false;
|
|
14451
14740
|
};
|
|
14741
|
+
sandbox: {
|
|
14742
|
+
type: "object";
|
|
14743
|
+
properties: {
|
|
14744
|
+
identifierExtractScript: {
|
|
14745
|
+
type: "string";
|
|
14746
|
+
maxLength: number;
|
|
14747
|
+
description: string;
|
|
14748
|
+
};
|
|
14749
|
+
messageExtractScript: {
|
|
14750
|
+
type: "string";
|
|
14751
|
+
maxLength: number;
|
|
14752
|
+
description: string;
|
|
14753
|
+
};
|
|
14754
|
+
};
|
|
14755
|
+
additionalProperties: false;
|
|
14756
|
+
};
|
|
14452
14757
|
url: {
|
|
14453
14758
|
type: "string";
|
|
14454
14759
|
maxLength: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.83.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"zod": "^3.22.4"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@bpinternal/opapi": "0.12.
|
|
26
|
+
"@bpinternal/opapi": "0.12.2"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/gen/metadata.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sections":[{"description":"","title":"User","name":"user","operations":["createUser","getUser","listUsers","getOrCreateUser","updateUser","deleteUser"],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":["createConversation","getConversation","listConversations","getOrCreateConversation","updateConversation","deleteConversation","listParticipants","addParticipant","getParticipant","removeParticipant"],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":["createEvent","getEvent","listEvents"],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":["createMessage","getOrCreateMessage","getMessage","updateMessage","listMessages","deleteMessage"],"schema":"Message"},{"description":"","title":"State","name":"state","operations":["setStateExpiry","getState","setState","getOrSetState","patchState"],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration"]},{"description":"","title":"Action","name":"action","operations":["callAction"]},{"description":"","title":"Task","name":"task","operations":["getTask","createTask","updateTask","deleteTask","listTasks"],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":["createWorkflow","getWorkflow","updateWorkflow","deleteWorkflow","listWorkflows","getOrCreateWorkflow"],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":["listTagValues"]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","createBotVersion","deployBotVersion"],"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","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":["listTables","getTable","getOrCreateTable","createTable","duplicateTable","exportTable","getTableJobs","importTable","updateTable","renameTableColumn","deleteTable","getTableRow","findTableRows","createTableRows","deleteTableRows","updateTableRows","upsertTableRows"],"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":["upsertFile","deleteFile","listFiles","getFile","updateFileMetadata","copyFile","searchFiles","listFilePassages","listFileTags","listFileTagValues"],"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":["createUser","getUser","listUsers","getOrCreateUser","updateUser","deleteUser"],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":["createConversation","getConversation","listConversations","getOrCreateConversation","updateConversation","deleteConversation","listParticipants","addParticipant","getParticipant","removeParticipant"],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":["createEvent","getEvent","listEvents"],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":["createMessage","getOrCreateMessage","getMessage","updateMessage","listMessages","deleteMessage"],"schema":"Message"},{"description":"","title":"State","name":"state","operations":["setStateExpiry","getState","setState","getOrSetState","patchState"],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration"]},{"description":"","title":"Action","name":"action","operations":["callAction"]},{"description":"","title":"Task","name":"task","operations":["getTask","createTask","updateTask","deleteTask","listTasks"],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":["createWorkflow","getWorkflow","updateWorkflow","deleteWorkflow","listWorkflows","getOrCreateWorkflow"],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":["listTagValues"]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","createBotVersion","deployBotVersion"],"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","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":["listTables","getTable","getOrCreateTable","createTable","duplicateTable","exportTable","getTableJobs","importTable","updateTable","renameTableColumn","deleteTable","getTableRow","findTableRows","createTableRows","deleteTableRows","updateTableRows","upsertTableRows"],"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":["upsertFile","deleteFile","listFiles","getFile","updateFileMetadata","copyFile","searchFiles","listFilePassages","listFileTags","listFileTagValues","createKnowledgeBase","deleteKnowledgeBase","updateKnowledgeBase","listKnowledgeBases"],"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."}]}
|