@botpress/api 0.84.0 → 0.86.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 +130 -9
- package/dist/src/gen/state.d.ts +113 -0
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +130 -9
package/dist/index.js
CHANGED
|
@@ -282904,7 +282904,7 @@ var state = {
|
|
|
282904
282904
|
},
|
|
282905
282905
|
"updateMessage": {
|
|
282906
282906
|
"name": "updateMessage",
|
|
282907
|
-
"description": "
|
|
282907
|
+
"description": "Updates a message tags and payload. The message type cannot be changed. Calling this operation from an integration, to update an incoming message, will not invoke the bot. The other way around it also true; Calling this operation from the bot, to update an outgoing message, will not invoke the integration.",
|
|
282908
282908
|
"method": "put",
|
|
282909
282909
|
"path": "/v1/chat/messages/{id}",
|
|
282910
282910
|
"parameters": {
|
|
@@ -282926,6 +282926,11 @@ var state = {
|
|
|
282926
282926
|
"type": "string"
|
|
282927
282927
|
},
|
|
282928
282928
|
"description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them."
|
|
282929
|
+
},
|
|
282930
|
+
"payload": {
|
|
282931
|
+
"type": "object",
|
|
282932
|
+
"additionalProperties": true,
|
|
282933
|
+
"description": "Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location"
|
|
282929
282934
|
}
|
|
282930
282935
|
},
|
|
282931
282936
|
"required": [
|
|
@@ -285179,7 +285184,7 @@ var state = {
|
|
|
285179
285184
|
"parameters": {
|
|
285180
285185
|
"id": {
|
|
285181
285186
|
"type": "string",
|
|
285182
|
-
"description": "Integration ID",
|
|
285187
|
+
"description": "Integration Version ID",
|
|
285183
285188
|
"in": "path"
|
|
285184
285189
|
}
|
|
285185
285190
|
},
|
|
@@ -288390,6 +288395,115 @@ var state = {
|
|
|
288390
288395
|
}
|
|
288391
288396
|
}
|
|
288392
288397
|
},
|
|
288398
|
+
"createIntegrationShareableId": {
|
|
288399
|
+
"name": "createIntegrationShareableId",
|
|
288400
|
+
"description": "(Experimental) Generate a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
288401
|
+
"method": "post",
|
|
288402
|
+
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
288403
|
+
"section": "bot",
|
|
288404
|
+
"parameters": {
|
|
288405
|
+
"botId": {
|
|
288406
|
+
"type": "string",
|
|
288407
|
+
"description": "Bot ID",
|
|
288408
|
+
"in": "path"
|
|
288409
|
+
},
|
|
288410
|
+
"integrationId": {
|
|
288411
|
+
"type": "string",
|
|
288412
|
+
"description": "Integration Version ID",
|
|
288413
|
+
"in": "path"
|
|
288414
|
+
}
|
|
288415
|
+
},
|
|
288416
|
+
"requestBody": {
|
|
288417
|
+
"description": "Empty body",
|
|
288418
|
+
"schema": {
|
|
288419
|
+
"type": "object",
|
|
288420
|
+
"title": "createIntegrationShareableIdBody",
|
|
288421
|
+
"additionalProperties": false
|
|
288422
|
+
}
|
|
288423
|
+
},
|
|
288424
|
+
"response": {
|
|
288425
|
+
"description": "Success",
|
|
288426
|
+
"schema": {
|
|
288427
|
+
"type": "object",
|
|
288428
|
+
"properties": {
|
|
288429
|
+
"shareableId": {
|
|
288430
|
+
"type": "string"
|
|
288431
|
+
}
|
|
288432
|
+
},
|
|
288433
|
+
"required": [
|
|
288434
|
+
"shareableId"
|
|
288435
|
+
],
|
|
288436
|
+
"title": "createIntegrationShareableIdResponse",
|
|
288437
|
+
"additionalProperties": false
|
|
288438
|
+
}
|
|
288439
|
+
}
|
|
288440
|
+
},
|
|
288441
|
+
"deleteIntegrationShareableId": {
|
|
288442
|
+
"name": "deleteIntegrationShareableId",
|
|
288443
|
+
"description": "(Experimental) Delete a shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
288444
|
+
"method": "delete",
|
|
288445
|
+
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
288446
|
+
"section": "bot",
|
|
288447
|
+
"parameters": {
|
|
288448
|
+
"botId": {
|
|
288449
|
+
"type": "string",
|
|
288450
|
+
"description": "Bot ID",
|
|
288451
|
+
"in": "path"
|
|
288452
|
+
},
|
|
288453
|
+
"integrationId": {
|
|
288454
|
+
"type": "string",
|
|
288455
|
+
"description": "Integration Version ID",
|
|
288456
|
+
"in": "path"
|
|
288457
|
+
}
|
|
288458
|
+
},
|
|
288459
|
+
"response": {
|
|
288460
|
+
"description": "Success",
|
|
288461
|
+
"schema": {
|
|
288462
|
+
"type": "object",
|
|
288463
|
+
"title": "deleteIntegrationShareableIdResponse",
|
|
288464
|
+
"additionalProperties": false
|
|
288465
|
+
}
|
|
288466
|
+
}
|
|
288467
|
+
},
|
|
288468
|
+
"getIntegrationShareableId": {
|
|
288469
|
+
"name": "getIntegrationShareableId",
|
|
288470
|
+
"description": "(Experimental) Get an existing shareable ID for an integration installed in a bot. This ID is meant to identify the crossover of a bot and an integration version, just like the webhook ID, but in a human-readable format. It is used for the integrations channel sandbox feature.",
|
|
288471
|
+
"method": "get",
|
|
288472
|
+
"path": "/v1/admin/bots/{botId}/integrations/{integrationId}/shareable-id",
|
|
288473
|
+
"section": "bot",
|
|
288474
|
+
"parameters": {
|
|
288475
|
+
"botId": {
|
|
288476
|
+
"type": "string",
|
|
288477
|
+
"description": "Bot ID",
|
|
288478
|
+
"in": "path"
|
|
288479
|
+
},
|
|
288480
|
+
"integrationId": {
|
|
288481
|
+
"type": "string",
|
|
288482
|
+
"description": "Integration Version ID",
|
|
288483
|
+
"in": "path"
|
|
288484
|
+
}
|
|
288485
|
+
},
|
|
288486
|
+
"response": {
|
|
288487
|
+
"description": "Shareable ID and expiration indicator",
|
|
288488
|
+
"schema": {
|
|
288489
|
+
"type": "object",
|
|
288490
|
+
"properties": {
|
|
288491
|
+
"shareableId": {
|
|
288492
|
+
"type": "string"
|
|
288493
|
+
},
|
|
288494
|
+
"isExpired": {
|
|
288495
|
+
"type": "boolean"
|
|
288496
|
+
}
|
|
288497
|
+
},
|
|
288498
|
+
"required": [
|
|
288499
|
+
"shareableId",
|
|
288500
|
+
"isExpired"
|
|
288501
|
+
],
|
|
288502
|
+
"title": "getIntegrationShareableIdResponse",
|
|
288503
|
+
"additionalProperties": false
|
|
288504
|
+
}
|
|
288505
|
+
}
|
|
288506
|
+
},
|
|
288393
288507
|
"listWorkspaceInvoices": {
|
|
288394
288508
|
"name": "listWorkspaceInvoices",
|
|
288395
288509
|
"description": "List invoices billed to workspace",
|
|
@@ -291541,7 +291655,7 @@ var state = {
|
|
|
291541
291655
|
"parameters": {
|
|
291542
291656
|
"id": {
|
|
291543
291657
|
"type": "string",
|
|
291544
|
-
"description": "Integration ID",
|
|
291658
|
+
"description": "Integration Version ID",
|
|
291545
291659
|
"in": "path"
|
|
291546
291660
|
}
|
|
291547
291661
|
},
|
|
@@ -292124,7 +292238,7 @@ var state = {
|
|
|
292124
292238
|
"parameters": {
|
|
292125
292239
|
"id": {
|
|
292126
292240
|
"type": "string",
|
|
292127
|
-
"description": "Integration ID",
|
|
292241
|
+
"description": "Integration Version ID",
|
|
292128
292242
|
"in": "path"
|
|
292129
292243
|
}
|
|
292130
292244
|
},
|
|
@@ -292948,7 +293062,7 @@ var state = {
|
|
|
292948
293062
|
"parameters": {
|
|
292949
293063
|
"id": {
|
|
292950
293064
|
"type": "string",
|
|
292951
|
-
"description": "Integration ID",
|
|
293065
|
+
"description": "Integration Version ID",
|
|
292952
293066
|
"in": "path"
|
|
292953
293067
|
}
|
|
292954
293068
|
},
|
|
@@ -292978,7 +293092,7 @@ var state = {
|
|
|
292978
293092
|
"parameters": {
|
|
292979
293093
|
"id": {
|
|
292980
293094
|
"type": "string",
|
|
292981
|
-
"description": "Integration ID",
|
|
293095
|
+
"description": "Integration Version ID",
|
|
292982
293096
|
"in": "path"
|
|
292983
293097
|
},
|
|
292984
293098
|
"timeStart": {
|
|
@@ -293110,7 +293224,7 @@ var state = {
|
|
|
293110
293224
|
"parameters": {
|
|
293111
293225
|
"id": {
|
|
293112
293226
|
"type": "string",
|
|
293113
|
-
"description": "Integration ID",
|
|
293227
|
+
"description": "Integration Version ID",
|
|
293114
293228
|
"in": "path"
|
|
293115
293229
|
}
|
|
293116
293230
|
},
|
|
@@ -297857,7 +297971,7 @@ var state = {
|
|
|
297857
297971
|
"title": "Botpress API",
|
|
297858
297972
|
"description": "API for Botpress Cloud",
|
|
297859
297973
|
"server": "https://api.botpress.cloud",
|
|
297860
|
-
"version": "0.
|
|
297974
|
+
"version": "0.86.0",
|
|
297861
297975
|
"prefix": "v1"
|
|
297862
297976
|
},
|
|
297863
297977
|
"errors": [
|
|
@@ -298017,6 +298131,7 @@ var state = {
|
|
|
298017
298131
|
"transferBotBody": true,
|
|
298018
298132
|
"createBotVersionBody": true,
|
|
298019
298133
|
"deployBotVersionBody": true,
|
|
298134
|
+
"createIntegrationShareableIdBody": true,
|
|
298020
298135
|
"chargeWorkspaceUnpaidInvoicesBody": true,
|
|
298021
298136
|
"createWorkspaceBody": true,
|
|
298022
298137
|
"updateWorkspaceBody": true,
|
|
@@ -298126,6 +298241,9 @@ var state = {
|
|
|
298126
298241
|
"getBotVersionResponse": true,
|
|
298127
298242
|
"createBotVersionResponse": true,
|
|
298128
298243
|
"deployBotVersionResponse": true,
|
|
298244
|
+
"createIntegrationShareableIdResponse": true,
|
|
298245
|
+
"deleteIntegrationShareableIdResponse": true,
|
|
298246
|
+
"getIntegrationShareableIdResponse": true,
|
|
298129
298247
|
"listWorkspaceInvoicesResponse": true,
|
|
298130
298248
|
"getUpcomingInvoiceResponse": true,
|
|
298131
298249
|
"chargeWorkspaceUnpaidInvoicesResponse": true,
|
|
@@ -301596,7 +301714,10 @@ var state = {
|
|
|
301596
301714
|
"listBotVersions",
|
|
301597
301715
|
"getBotVersion",
|
|
301598
301716
|
"createBotVersion",
|
|
301599
|
-
"deployBotVersion"
|
|
301717
|
+
"deployBotVersion",
|
|
301718
|
+
"createIntegrationShareableId",
|
|
301719
|
+
"deleteIntegrationShareableId",
|
|
301720
|
+
"getIntegrationShareableId"
|
|
301600
301721
|
],
|
|
301601
301722
|
"schema": "Bot"
|
|
301602
301723
|
},
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -839,6 +839,11 @@ export declare const state: {
|
|
|
839
839
|
};
|
|
840
840
|
description: string;
|
|
841
841
|
};
|
|
842
|
+
payload: {
|
|
843
|
+
type: "object";
|
|
844
|
+
additionalProperties: true;
|
|
845
|
+
description: string;
|
|
846
|
+
};
|
|
842
847
|
};
|
|
843
848
|
required: string[];
|
|
844
849
|
title: string;
|
|
@@ -5653,6 +5658,110 @@ export declare const state: {
|
|
|
5653
5658
|
};
|
|
5654
5659
|
};
|
|
5655
5660
|
};
|
|
5661
|
+
createIntegrationShareableId: {
|
|
5662
|
+
name: string;
|
|
5663
|
+
description: string;
|
|
5664
|
+
method: "post";
|
|
5665
|
+
path: string;
|
|
5666
|
+
section: "bot";
|
|
5667
|
+
parameters: {
|
|
5668
|
+
botId: {
|
|
5669
|
+
type: "string";
|
|
5670
|
+
description: string;
|
|
5671
|
+
in: "path";
|
|
5672
|
+
};
|
|
5673
|
+
integrationId: {
|
|
5674
|
+
type: "string";
|
|
5675
|
+
description: string;
|
|
5676
|
+
in: "path";
|
|
5677
|
+
};
|
|
5678
|
+
};
|
|
5679
|
+
requestBody: {
|
|
5680
|
+
description: string;
|
|
5681
|
+
schema: {
|
|
5682
|
+
type: "object";
|
|
5683
|
+
title: string;
|
|
5684
|
+
additionalProperties: false;
|
|
5685
|
+
};
|
|
5686
|
+
};
|
|
5687
|
+
response: {
|
|
5688
|
+
description: string;
|
|
5689
|
+
schema: {
|
|
5690
|
+
type: "object";
|
|
5691
|
+
properties: {
|
|
5692
|
+
shareableId: {
|
|
5693
|
+
type: "string";
|
|
5694
|
+
};
|
|
5695
|
+
};
|
|
5696
|
+
required: string[];
|
|
5697
|
+
title: string;
|
|
5698
|
+
additionalProperties: false;
|
|
5699
|
+
};
|
|
5700
|
+
};
|
|
5701
|
+
};
|
|
5702
|
+
deleteIntegrationShareableId: {
|
|
5703
|
+
name: string;
|
|
5704
|
+
description: string;
|
|
5705
|
+
method: "delete";
|
|
5706
|
+
path: string;
|
|
5707
|
+
section: "bot";
|
|
5708
|
+
parameters: {
|
|
5709
|
+
botId: {
|
|
5710
|
+
type: "string";
|
|
5711
|
+
description: string;
|
|
5712
|
+
in: "path";
|
|
5713
|
+
};
|
|
5714
|
+
integrationId: {
|
|
5715
|
+
type: "string";
|
|
5716
|
+
description: string;
|
|
5717
|
+
in: "path";
|
|
5718
|
+
};
|
|
5719
|
+
};
|
|
5720
|
+
response: {
|
|
5721
|
+
description: string;
|
|
5722
|
+
schema: {
|
|
5723
|
+
type: "object";
|
|
5724
|
+
title: string;
|
|
5725
|
+
additionalProperties: false;
|
|
5726
|
+
};
|
|
5727
|
+
};
|
|
5728
|
+
};
|
|
5729
|
+
getIntegrationShareableId: {
|
|
5730
|
+
name: string;
|
|
5731
|
+
description: string;
|
|
5732
|
+
method: "get";
|
|
5733
|
+
path: string;
|
|
5734
|
+
section: "bot";
|
|
5735
|
+
parameters: {
|
|
5736
|
+
botId: {
|
|
5737
|
+
type: "string";
|
|
5738
|
+
description: string;
|
|
5739
|
+
in: "path";
|
|
5740
|
+
};
|
|
5741
|
+
integrationId: {
|
|
5742
|
+
type: "string";
|
|
5743
|
+
description: string;
|
|
5744
|
+
in: "path";
|
|
5745
|
+
};
|
|
5746
|
+
};
|
|
5747
|
+
response: {
|
|
5748
|
+
description: string;
|
|
5749
|
+
schema: {
|
|
5750
|
+
type: "object";
|
|
5751
|
+
properties: {
|
|
5752
|
+
shareableId: {
|
|
5753
|
+
type: "string";
|
|
5754
|
+
};
|
|
5755
|
+
isExpired: {
|
|
5756
|
+
type: "boolean";
|
|
5757
|
+
};
|
|
5758
|
+
};
|
|
5759
|
+
required: string[];
|
|
5760
|
+
title: string;
|
|
5761
|
+
additionalProperties: false;
|
|
5762
|
+
};
|
|
5763
|
+
};
|
|
5764
|
+
};
|
|
5656
5765
|
listWorkspaceInvoices: {
|
|
5657
5766
|
name: string;
|
|
5658
5767
|
description: string;
|
|
@@ -14039,6 +14148,7 @@ export declare const state: {
|
|
|
14039
14148
|
transferBotBody: true;
|
|
14040
14149
|
createBotVersionBody: true;
|
|
14041
14150
|
deployBotVersionBody: true;
|
|
14151
|
+
createIntegrationShareableIdBody: true;
|
|
14042
14152
|
chargeWorkspaceUnpaidInvoicesBody: true;
|
|
14043
14153
|
createWorkspaceBody: true;
|
|
14044
14154
|
updateWorkspaceBody: true;
|
|
@@ -14148,6 +14258,9 @@ export declare const state: {
|
|
|
14148
14258
|
getBotVersionResponse: true;
|
|
14149
14259
|
createBotVersionResponse: true;
|
|
14150
14260
|
deployBotVersionResponse: true;
|
|
14261
|
+
createIntegrationShareableIdResponse: true;
|
|
14262
|
+
deleteIntegrationShareableIdResponse: true;
|
|
14263
|
+
getIntegrationShareableIdResponse: true;
|
|
14151
14264
|
listWorkspaceInvoicesResponse: true;
|
|
14152
14265
|
getUpcomingInvoiceResponse: true;
|
|
14153
14266
|
chargeWorkspaceUnpaidInvoicesResponse: true;
|
package/package.json
CHANGED
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","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."}]}
|
|
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","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId"],"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."}]}
|