@botpress/api 0.85.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 +124 -8
- package/dist/src/gen/state.d.ts +108 -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 +124 -8
package/dist/index.js
CHANGED
|
@@ -285184,7 +285184,7 @@ var state = {
|
|
|
285184
285184
|
"parameters": {
|
|
285185
285185
|
"id": {
|
|
285186
285186
|
"type": "string",
|
|
285187
|
-
"description": "Integration ID",
|
|
285187
|
+
"description": "Integration Version ID",
|
|
285188
285188
|
"in": "path"
|
|
285189
285189
|
}
|
|
285190
285190
|
},
|
|
@@ -288395,6 +288395,115 @@ var state = {
|
|
|
288395
288395
|
}
|
|
288396
288396
|
}
|
|
288397
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
|
+
},
|
|
288398
288507
|
"listWorkspaceInvoices": {
|
|
288399
288508
|
"name": "listWorkspaceInvoices",
|
|
288400
288509
|
"description": "List invoices billed to workspace",
|
|
@@ -291546,7 +291655,7 @@ var state = {
|
|
|
291546
291655
|
"parameters": {
|
|
291547
291656
|
"id": {
|
|
291548
291657
|
"type": "string",
|
|
291549
|
-
"description": "Integration ID",
|
|
291658
|
+
"description": "Integration Version ID",
|
|
291550
291659
|
"in": "path"
|
|
291551
291660
|
}
|
|
291552
291661
|
},
|
|
@@ -292129,7 +292238,7 @@ var state = {
|
|
|
292129
292238
|
"parameters": {
|
|
292130
292239
|
"id": {
|
|
292131
292240
|
"type": "string",
|
|
292132
|
-
"description": "Integration ID",
|
|
292241
|
+
"description": "Integration Version ID",
|
|
292133
292242
|
"in": "path"
|
|
292134
292243
|
}
|
|
292135
292244
|
},
|
|
@@ -292953,7 +293062,7 @@ var state = {
|
|
|
292953
293062
|
"parameters": {
|
|
292954
293063
|
"id": {
|
|
292955
293064
|
"type": "string",
|
|
292956
|
-
"description": "Integration ID",
|
|
293065
|
+
"description": "Integration Version ID",
|
|
292957
293066
|
"in": "path"
|
|
292958
293067
|
}
|
|
292959
293068
|
},
|
|
@@ -292983,7 +293092,7 @@ var state = {
|
|
|
292983
293092
|
"parameters": {
|
|
292984
293093
|
"id": {
|
|
292985
293094
|
"type": "string",
|
|
292986
|
-
"description": "Integration ID",
|
|
293095
|
+
"description": "Integration Version ID",
|
|
292987
293096
|
"in": "path"
|
|
292988
293097
|
},
|
|
292989
293098
|
"timeStart": {
|
|
@@ -293115,7 +293224,7 @@ var state = {
|
|
|
293115
293224
|
"parameters": {
|
|
293116
293225
|
"id": {
|
|
293117
293226
|
"type": "string",
|
|
293118
|
-
"description": "Integration ID",
|
|
293227
|
+
"description": "Integration Version ID",
|
|
293119
293228
|
"in": "path"
|
|
293120
293229
|
}
|
|
293121
293230
|
},
|
|
@@ -297862,7 +297971,7 @@ var state = {
|
|
|
297862
297971
|
"title": "Botpress API",
|
|
297863
297972
|
"description": "API for Botpress Cloud",
|
|
297864
297973
|
"server": "https://api.botpress.cloud",
|
|
297865
|
-
"version": "0.
|
|
297974
|
+
"version": "0.86.0",
|
|
297866
297975
|
"prefix": "v1"
|
|
297867
297976
|
},
|
|
297868
297977
|
"errors": [
|
|
@@ -298022,6 +298131,7 @@ var state = {
|
|
|
298022
298131
|
"transferBotBody": true,
|
|
298023
298132
|
"createBotVersionBody": true,
|
|
298024
298133
|
"deployBotVersionBody": true,
|
|
298134
|
+
"createIntegrationShareableIdBody": true,
|
|
298025
298135
|
"chargeWorkspaceUnpaidInvoicesBody": true,
|
|
298026
298136
|
"createWorkspaceBody": true,
|
|
298027
298137
|
"updateWorkspaceBody": true,
|
|
@@ -298131,6 +298241,9 @@ var state = {
|
|
|
298131
298241
|
"getBotVersionResponse": true,
|
|
298132
298242
|
"createBotVersionResponse": true,
|
|
298133
298243
|
"deployBotVersionResponse": true,
|
|
298244
|
+
"createIntegrationShareableIdResponse": true,
|
|
298245
|
+
"deleteIntegrationShareableIdResponse": true,
|
|
298246
|
+
"getIntegrationShareableIdResponse": true,
|
|
298134
298247
|
"listWorkspaceInvoicesResponse": true,
|
|
298135
298248
|
"getUpcomingInvoiceResponse": true,
|
|
298136
298249
|
"chargeWorkspaceUnpaidInvoicesResponse": true,
|
|
@@ -301601,7 +301714,10 @@ var state = {
|
|
|
301601
301714
|
"listBotVersions",
|
|
301602
301715
|
"getBotVersion",
|
|
301603
301716
|
"createBotVersion",
|
|
301604
|
-
"deployBotVersion"
|
|
301717
|
+
"deployBotVersion",
|
|
301718
|
+
"createIntegrationShareableId",
|
|
301719
|
+
"deleteIntegrationShareableId",
|
|
301720
|
+
"getIntegrationShareableId"
|
|
301605
301721
|
],
|
|
301606
301722
|
"schema": "Bot"
|
|
301607
301723
|
},
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -5658,6 +5658,110 @@ export declare const state: {
|
|
|
5658
5658
|
};
|
|
5659
5659
|
};
|
|
5660
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
|
+
};
|
|
5661
5765
|
listWorkspaceInvoices: {
|
|
5662
5766
|
name: string;
|
|
5663
5767
|
description: string;
|
|
@@ -14044,6 +14148,7 @@ export declare const state: {
|
|
|
14044
14148
|
transferBotBody: true;
|
|
14045
14149
|
createBotVersionBody: true;
|
|
14046
14150
|
deployBotVersionBody: true;
|
|
14151
|
+
createIntegrationShareableIdBody: true;
|
|
14047
14152
|
chargeWorkspaceUnpaidInvoicesBody: true;
|
|
14048
14153
|
createWorkspaceBody: true;
|
|
14049
14154
|
updateWorkspaceBody: true;
|
|
@@ -14153,6 +14258,9 @@ export declare const state: {
|
|
|
14153
14258
|
getBotVersionResponse: true;
|
|
14154
14259
|
createBotVersionResponse: true;
|
|
14155
14260
|
deployBotVersionResponse: true;
|
|
14261
|
+
createIntegrationShareableIdResponse: true;
|
|
14262
|
+
deleteIntegrationShareableIdResponse: true;
|
|
14263
|
+
getIntegrationShareableIdResponse: true;
|
|
14156
14264
|
listWorkspaceInvoicesResponse: true;
|
|
14157
14265
|
getUpcomingInvoiceResponse: true;
|
|
14158
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."}]}
|