@botpress/api 1.20.0 → 1.22.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 +71 -9
- package/dist/src/gen/admin/state.d.ts +29 -0
- package/dist/src/gen/runtime/state.d.ts +1 -0
- package/dist/src/gen/state.d.ts +30 -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 +33 -3
- 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 +2 -1
- package/src/gen/state.ts +34 -3
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -282791,6 +282791,7 @@ var state = {
|
|
|
282791
282791
|
"name": {
|
|
282792
282792
|
"type": "string",
|
|
282793
282793
|
"maxLength": 200,
|
|
282794
|
+
"nullable": true,
|
|
282794
282795
|
"description": "Name of the user"
|
|
282795
282796
|
},
|
|
282796
282797
|
"pictureUrl": {
|
|
@@ -284123,7 +284124,7 @@ var state = {
|
|
|
284123
284124
|
"title": "Botpress API",
|
|
284124
284125
|
"description": "API for Botpress Cloud",
|
|
284125
284126
|
"server": "https://api.botpress.cloud",
|
|
284126
|
-
"version": "1.
|
|
284127
|
+
"version": "1.22.0",
|
|
284127
284128
|
"prefix": "v1"
|
|
284128
284129
|
},
|
|
284129
284130
|
"errors": [
|
|
@@ -288206,6 +288207,33 @@ var state2 = {
|
|
|
288206
288207
|
},
|
|
288207
288208
|
"parameters": {}
|
|
288208
288209
|
},
|
|
288210
|
+
"deleteAccount": {
|
|
288211
|
+
"name": "deleteAccount",
|
|
288212
|
+
"description": "Delete the account associated with authenticated user",
|
|
288213
|
+
"method": "post",
|
|
288214
|
+
"path": "/v1/admin/account/me",
|
|
288215
|
+
"section": "account",
|
|
288216
|
+
"disableDefaultParameters": {
|
|
288217
|
+
"x-workspace-id": true
|
|
288218
|
+
},
|
|
288219
|
+
"requestBody": {
|
|
288220
|
+
"description": "Account",
|
|
288221
|
+
"schema": {
|
|
288222
|
+
"type": "object",
|
|
288223
|
+
"title": "deleteAccountBody",
|
|
288224
|
+
"additionalProperties": false
|
|
288225
|
+
}
|
|
288226
|
+
},
|
|
288227
|
+
"response": {
|
|
288228
|
+
"description": "Success",
|
|
288229
|
+
"schema": {
|
|
288230
|
+
"type": "object",
|
|
288231
|
+
"title": "deleteAccountResponse",
|
|
288232
|
+
"additionalProperties": false
|
|
288233
|
+
}
|
|
288234
|
+
},
|
|
288235
|
+
"parameters": {}
|
|
288236
|
+
},
|
|
288209
288237
|
"listPersonalAccessTokens": {
|
|
288210
288238
|
"name": "listPersonalAccessTokens",
|
|
288211
288239
|
"description": "List PATs (Personal Access Tokens) of account.",
|
|
@@ -300894,6 +300922,7 @@ var state2 = {
|
|
|
300894
300922
|
"enum": [
|
|
300895
300923
|
"IntegrationAction",
|
|
300896
300924
|
"FileIndexing",
|
|
300925
|
+
"BingSearch",
|
|
300897
300926
|
"WebSearch"
|
|
300898
300927
|
]
|
|
300899
300928
|
},
|
|
@@ -300906,8 +300935,7 @@ var state2 = {
|
|
|
300906
300935
|
},
|
|
300907
300936
|
"required": [
|
|
300908
300937
|
"botId",
|
|
300909
|
-
"type"
|
|
300910
|
-
"subtype"
|
|
300938
|
+
"type"
|
|
300911
300939
|
]
|
|
300912
300940
|
}
|
|
300913
300941
|
},
|
|
@@ -301083,7 +301111,7 @@ var state2 = {
|
|
|
301083
301111
|
"title": "Botpress API",
|
|
301084
301112
|
"description": "API for Botpress Cloud",
|
|
301085
301113
|
"server": "https://api.botpress.cloud",
|
|
301086
|
-
"version": "1.
|
|
301114
|
+
"version": "1.22.0",
|
|
301087
301115
|
"prefix": "v1"
|
|
301088
301116
|
},
|
|
301089
301117
|
"errors": [
|
|
@@ -301213,6 +301241,7 @@ var state2 = {
|
|
|
301213
301241
|
"requestBodies": {
|
|
301214
301242
|
"runVrlBody": true,
|
|
301215
301243
|
"updateAccountBody": true,
|
|
301244
|
+
"deleteAccountBody": true,
|
|
301216
301245
|
"createPersonalAccessTokenBody": true,
|
|
301217
301246
|
"setAccountPreferenceBody": true,
|
|
301218
301247
|
"createBotBody": true,
|
|
@@ -301245,6 +301274,7 @@ var state2 = {
|
|
|
301245
301274
|
"runVrlResponse": true,
|
|
301246
301275
|
"getAccountResponse": true,
|
|
301247
301276
|
"updateAccountResponse": true,
|
|
301277
|
+
"deleteAccountResponse": true,
|
|
301248
301278
|
"listPersonalAccessTokensResponse": true,
|
|
301249
301279
|
"createPersonalAccessTokenResponse": true,
|
|
301250
301280
|
"deletePersonalAccessTokenResponse": true,
|
|
@@ -305028,6 +305058,7 @@ var state2 = {
|
|
|
305028
305058
|
"operations": [
|
|
305029
305059
|
"getAccount",
|
|
305030
305060
|
"updateAccount",
|
|
305061
|
+
"deleteAccount",
|
|
305031
305062
|
"listPersonalAccessTokens",
|
|
305032
305063
|
"createPersonalAccessToken",
|
|
305033
305064
|
"deletePersonalAccessToken",
|
|
@@ -306872,7 +306903,7 @@ var state3 = {
|
|
|
306872
306903
|
"title": "Botpress API",
|
|
306873
306904
|
"description": "API for Botpress Cloud",
|
|
306874
306905
|
"server": "https://api.botpress.cloud",
|
|
306875
|
-
"version": "1.
|
|
306906
|
+
"version": "1.22.0",
|
|
306876
306907
|
"prefix": "v1"
|
|
306877
306908
|
},
|
|
306878
306909
|
"errors": [
|
|
@@ -311902,7 +311933,7 @@ var state4 = {
|
|
|
311902
311933
|
"title": "Botpress API",
|
|
311903
311934
|
"description": "API for Botpress Cloud",
|
|
311904
311935
|
"server": "https://api.botpress.cloud",
|
|
311905
|
-
"version": "1.
|
|
311936
|
+
"version": "1.22.0",
|
|
311906
311937
|
"prefix": "v1"
|
|
311907
311938
|
},
|
|
311908
311939
|
"errors": [
|
|
@@ -316990,6 +317021,7 @@ var state5 = {
|
|
|
316990
317021
|
"name": {
|
|
316991
317022
|
"type": "string",
|
|
316992
317023
|
"maxLength": 200,
|
|
317024
|
+
"nullable": true,
|
|
316993
317025
|
"description": "Name of the user"
|
|
316994
317026
|
},
|
|
316995
317027
|
"pictureUrl": {
|
|
@@ -318500,6 +318532,33 @@ var state5 = {
|
|
|
318500
318532
|
},
|
|
318501
318533
|
"parameters": {}
|
|
318502
318534
|
},
|
|
318535
|
+
"deleteAccount": {
|
|
318536
|
+
"name": "deleteAccount",
|
|
318537
|
+
"description": "Delete the account associated with authenticated user",
|
|
318538
|
+
"method": "post",
|
|
318539
|
+
"path": "/v1/admin/account/me",
|
|
318540
|
+
"section": "account",
|
|
318541
|
+
"disableDefaultParameters": {
|
|
318542
|
+
"x-workspace-id": true
|
|
318543
|
+
},
|
|
318544
|
+
"requestBody": {
|
|
318545
|
+
"description": "Account",
|
|
318546
|
+
"schema": {
|
|
318547
|
+
"type": "object",
|
|
318548
|
+
"title": "deleteAccountBody",
|
|
318549
|
+
"additionalProperties": false
|
|
318550
|
+
}
|
|
318551
|
+
},
|
|
318552
|
+
"response": {
|
|
318553
|
+
"description": "Success",
|
|
318554
|
+
"schema": {
|
|
318555
|
+
"type": "object",
|
|
318556
|
+
"title": "deleteAccountResponse",
|
|
318557
|
+
"additionalProperties": false
|
|
318558
|
+
}
|
|
318559
|
+
},
|
|
318560
|
+
"parameters": {}
|
|
318561
|
+
},
|
|
318503
318562
|
"listPersonalAccessTokens": {
|
|
318504
318563
|
"name": "listPersonalAccessTokens",
|
|
318505
318564
|
"description": "List PATs (Personal Access Tokens) of account.",
|
|
@@ -331189,6 +331248,7 @@ var state5 = {
|
|
|
331189
331248
|
"enum": [
|
|
331190
331249
|
"IntegrationAction",
|
|
331191
331250
|
"FileIndexing",
|
|
331251
|
+
"BingSearch",
|
|
331192
331252
|
"WebSearch"
|
|
331193
331253
|
]
|
|
331194
331254
|
},
|
|
@@ -331201,8 +331261,7 @@ var state5 = {
|
|
|
331201
331261
|
},
|
|
331202
331262
|
"required": [
|
|
331203
331263
|
"botId",
|
|
331204
|
-
"type"
|
|
331205
|
-
"subtype"
|
|
331264
|
+
"type"
|
|
331206
331265
|
]
|
|
331207
331266
|
}
|
|
331208
331267
|
},
|
|
@@ -334352,7 +334411,7 @@ var state5 = {
|
|
|
334352
334411
|
"title": "Botpress API",
|
|
334353
334412
|
"description": "API for Botpress Cloud",
|
|
334354
334413
|
"server": "https://api.botpress.cloud",
|
|
334355
|
-
"version": "1.
|
|
334414
|
+
"version": "1.22.0",
|
|
334356
334415
|
"prefix": "v1"
|
|
334357
334416
|
},
|
|
334358
334417
|
"errors": [
|
|
@@ -334505,6 +334564,7 @@ var state5 = {
|
|
|
334505
334564
|
"trackAnalyticsBody": true,
|
|
334506
334565
|
"runVrlBody": true,
|
|
334507
334566
|
"updateAccountBody": true,
|
|
334567
|
+
"deleteAccountBody": true,
|
|
334508
334568
|
"createPersonalAccessTokenBody": true,
|
|
334509
334569
|
"setAccountPreferenceBody": true,
|
|
334510
334570
|
"createBotBody": true,
|
|
@@ -334599,6 +334659,7 @@ var state5 = {
|
|
|
334599
334659
|
"runVrlResponse": true,
|
|
334600
334660
|
"getAccountResponse": true,
|
|
334601
334661
|
"updateAccountResponse": true,
|
|
334662
|
+
"deleteAccountResponse": true,
|
|
334602
334663
|
"listPersonalAccessTokensResponse": true,
|
|
334603
334664
|
"createPersonalAccessTokenResponse": true,
|
|
334604
334665
|
"deletePersonalAccessTokenResponse": true,
|
|
@@ -338468,6 +338529,7 @@ var state5 = {
|
|
|
338468
338529
|
"operations": [
|
|
338469
338530
|
"getAccount",
|
|
338470
338531
|
"updateAccount",
|
|
338532
|
+
"deleteAccount",
|
|
338471
338533
|
"listPersonalAccessTokens",
|
|
338472
338534
|
"createPersonalAccessToken",
|
|
338473
338535
|
"deletePersonalAccessToken",
|
|
@@ -166,6 +166,33 @@ export declare const state: {
|
|
|
166
166
|
};
|
|
167
167
|
parameters: {};
|
|
168
168
|
};
|
|
169
|
+
deleteAccount: {
|
|
170
|
+
name: string;
|
|
171
|
+
description: string;
|
|
172
|
+
method: "post";
|
|
173
|
+
path: string;
|
|
174
|
+
section: "account";
|
|
175
|
+
disableDefaultParameters: {
|
|
176
|
+
"x-workspace-id": boolean;
|
|
177
|
+
};
|
|
178
|
+
requestBody: {
|
|
179
|
+
description: string;
|
|
180
|
+
schema: {
|
|
181
|
+
type: "object";
|
|
182
|
+
title: string;
|
|
183
|
+
additionalProperties: false;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
response: {
|
|
187
|
+
description: string;
|
|
188
|
+
schema: {
|
|
189
|
+
type: "object";
|
|
190
|
+
title: string;
|
|
191
|
+
additionalProperties: false;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
parameters: {};
|
|
195
|
+
};
|
|
169
196
|
listPersonalAccessTokens: {
|
|
170
197
|
name: string;
|
|
171
198
|
description: string;
|
|
@@ -11566,6 +11593,7 @@ export declare const state: {
|
|
|
11566
11593
|
requestBodies: {
|
|
11567
11594
|
runVrlBody: true;
|
|
11568
11595
|
updateAccountBody: true;
|
|
11596
|
+
deleteAccountBody: true;
|
|
11569
11597
|
createPersonalAccessTokenBody: true;
|
|
11570
11598
|
setAccountPreferenceBody: true;
|
|
11571
11599
|
createBotBody: true;
|
|
@@ -11598,6 +11626,7 @@ export declare const state: {
|
|
|
11598
11626
|
runVrlResponse: true;
|
|
11599
11627
|
getAccountResponse: true;
|
|
11600
11628
|
updateAccountResponse: true;
|
|
11629
|
+
deleteAccountResponse: true;
|
|
11601
11630
|
listPersonalAccessTokensResponse: true;
|
|
11602
11631
|
createPersonalAccessTokenResponse: true;
|
|
11603
11632
|
deletePersonalAccessTokenResponse: true;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1180,6 +1180,7 @@ export declare const state: {
|
|
|
1180
1180
|
name: {
|
|
1181
1181
|
type: "string";
|
|
1182
1182
|
maxLength: number;
|
|
1183
|
+
nullable: true;
|
|
1183
1184
|
description: string;
|
|
1184
1185
|
};
|
|
1185
1186
|
pictureUrl: {
|
|
@@ -2512,6 +2513,33 @@ export declare const state: {
|
|
|
2512
2513
|
};
|
|
2513
2514
|
parameters: {};
|
|
2514
2515
|
};
|
|
2516
|
+
deleteAccount: {
|
|
2517
|
+
name: string;
|
|
2518
|
+
description: string;
|
|
2519
|
+
method: "post";
|
|
2520
|
+
path: string;
|
|
2521
|
+
section: "account";
|
|
2522
|
+
disableDefaultParameters: {
|
|
2523
|
+
"x-workspace-id": boolean;
|
|
2524
|
+
};
|
|
2525
|
+
requestBody: {
|
|
2526
|
+
description: string;
|
|
2527
|
+
schema: {
|
|
2528
|
+
type: "object";
|
|
2529
|
+
title: string;
|
|
2530
|
+
additionalProperties: false;
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2533
|
+
response: {
|
|
2534
|
+
description: string;
|
|
2535
|
+
schema: {
|
|
2536
|
+
type: "object";
|
|
2537
|
+
title: string;
|
|
2538
|
+
additionalProperties: false;
|
|
2539
|
+
};
|
|
2540
|
+
};
|
|
2541
|
+
parameters: {};
|
|
2542
|
+
};
|
|
2515
2543
|
listPersonalAccessTokens: {
|
|
2516
2544
|
name: string;
|
|
2517
2545
|
description: string;
|
|
@@ -16493,6 +16521,7 @@ export declare const state: {
|
|
|
16493
16521
|
trackAnalyticsBody: true;
|
|
16494
16522
|
runVrlBody: true;
|
|
16495
16523
|
updateAccountBody: true;
|
|
16524
|
+
deleteAccountBody: true;
|
|
16496
16525
|
createPersonalAccessTokenBody: true;
|
|
16497
16526
|
setAccountPreferenceBody: true;
|
|
16498
16527
|
createBotBody: true;
|
|
@@ -16587,6 +16616,7 @@ export declare const state: {
|
|
|
16587
16616
|
runVrlResponse: true;
|
|
16588
16617
|
getAccountResponse: true;
|
|
16589
16618
|
updateAccountResponse: true;
|
|
16619
|
+
deleteAccountResponse: true;
|
|
16590
16620
|
listPersonalAccessTokensResponse: true;
|
|
16591
16621
|
createPersonalAccessTokenResponse: true;
|
|
16592
16622
|
deletePersonalAccessTokenResponse: 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","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","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","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","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."}]}
|