@botpress/api 1.28.2 → 1.29.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/api@1.28.2 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.29.0 openapi /home/runner/work/skynet/skynet/packages/public-api
3
3
  > es-node openapi/generator.ts && pnpm run build
4
4
 
5
5
  Generating openapi content
@@ -34,18 +34,18 @@ Saving openapi.json file
34
34
 
35
35
  info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
36
36
 
37
- > @botpress/api@1.28.2 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.29.0 build /home/runner/work/skynet/skynet/packages/public-api
38
38
  > pnpm run build:type && pnpm run build:impl
39
39
 
40
40
 
41
- > @botpress/api@1.28.2 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.29.0 build:type /home/runner/work/skynet/skynet/packages/public-api
42
42
  > tsc -p tsconfig.package.json --emitDeclarationOnly
43
43
 
44
44
 
45
- > @botpress/api@1.28.2 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.29.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
46
46
  > esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
47
47
 
48
48
 
49
49
  dist/index.js 14.1mb ⚠️
50
50
 
51
- ⚡ Done in 1023ms
51
+ ⚡ Done in 904ms
package/dist/index.js CHANGED
@@ -285326,7 +285326,7 @@ var state = {
285326
285326
  "title": "Botpress API",
285327
285327
  "description": "API for Botpress Cloud",
285328
285328
  "server": "https://api.botpress.cloud",
285329
- "version": "1.28.2",
285329
+ "version": "1.29.0",
285330
285330
  "prefix": "v1"
285331
285331
  },
285332
285332
  "errors": [
@@ -297379,6 +297379,72 @@ var state2 = {
297379
297379
  }
297380
297380
  }
297381
297381
  },
297382
+ "setWorkspacePreference": {
297383
+ "name": "setWorkspacePreference",
297384
+ "description": "Set a preference for the workspace",
297385
+ "method": "post",
297386
+ "path": "/v1/admin/workspaces/preferences/{key}",
297387
+ "section": "workspace",
297388
+ "disableDefaultParameters": {
297389
+ "x-workspace-id": true
297390
+ },
297391
+ "parameters": {
297392
+ "key": {
297393
+ "type": "string",
297394
+ "description": "Preference key",
297395
+ "in": "path"
297396
+ }
297397
+ },
297398
+ "requestBody": {
297399
+ "description": "Preference value",
297400
+ "schema": {
297401
+ "type": "object",
297402
+ "properties": {
297403
+ "value": {}
297404
+ },
297405
+ "title": "setWorkspacePreferenceBody",
297406
+ "additionalProperties": false
297407
+ }
297408
+ },
297409
+ "response": {
297410
+ "description": "Success",
297411
+ "schema": {
297412
+ "type": "object",
297413
+ "title": "setWorkspacePreferenceResponse",
297414
+ "additionalProperties": false
297415
+ }
297416
+ }
297417
+ },
297418
+ "getWorkspacePreference": {
297419
+ "name": "getWorkspacePreference",
297420
+ "description": "Get a preference of the workspace",
297421
+ "method": "get",
297422
+ "path": "/v1/admin/workspaces/preferences/{key}",
297423
+ "section": "workspace",
297424
+ "disableDefaultParameters": {
297425
+ "x-workspace-id": true
297426
+ },
297427
+ "parameters": {
297428
+ "key": {
297429
+ "type": "string",
297430
+ "description": "Preference key",
297431
+ "in": "path"
297432
+ }
297433
+ },
297434
+ "response": {
297435
+ "description": "Success",
297436
+ "schema": {
297437
+ "type": "object",
297438
+ "properties": {
297439
+ "value": {
297440
+ "nullable": true
297441
+ }
297442
+ },
297443
+ "title": "getWorkspacePreferenceResponse",
297444
+ "additionalProperties": false
297445
+ }
297446
+ }
297447
+ },
297382
297448
  "listWorkspaceMembers": {
297383
297449
  "name": "listWorkspaceMembers",
297384
297450
  "description": "Lists all the members in a workspace",
@@ -302963,7 +303029,7 @@ var state2 = {
302963
303029
  "title": "Botpress API",
302964
303030
  "description": "API for Botpress Cloud",
302965
303031
  "server": "https://api.botpress.cloud",
302966
- "version": "1.28.2",
303032
+ "version": "1.29.0",
302967
303033
  "prefix": "v1"
302968
303034
  },
302969
303035
  "errors": [
@@ -303108,6 +303174,7 @@ var state2 = {
303108
303174
  "createWorkspaceBody": true,
303109
303175
  "updateWorkspaceBody": true,
303110
303176
  "checkHandleAvailabilityBody": true,
303177
+ "setWorkspacePreferenceBody": true,
303111
303178
  "createWorkspaceMemberBody": true,
303112
303179
  "updateWorkspaceMemberBody": true,
303113
303180
  "createIntegrationApiKeyBody": true,
@@ -303188,6 +303255,8 @@ var state2 = {
303188
303255
  "listPublicWorkspacesResponse": true,
303189
303256
  "deleteWorkspaceResponse": true,
303190
303257
  "getAuditRecordsResponse": true,
303258
+ "setWorkspacePreferenceResponse": true,
303259
+ "getWorkspacePreferenceResponse": true,
303191
303260
  "listWorkspaceMembersResponse": true,
303192
303261
  "getWorkspaceMemberResponse": true,
303193
303262
  "deleteWorkspaceMemberResponse": true,
@@ -306919,7 +306988,9 @@ var state2 = {
306919
306988
  "listWorkspaces",
306920
306989
  "listPublicWorkspaces",
306921
306990
  "deleteWorkspace",
306922
- "getAuditRecords"
306991
+ "getAuditRecords",
306992
+ "setWorkspacePreference",
306993
+ "getWorkspacePreference"
306923
306994
  ],
306924
306995
  "schema": "Workspace"
306925
306996
  },
@@ -308788,7 +308859,7 @@ var state3 = {
308788
308859
  "title": "Botpress API",
308789
308860
  "description": "API for Botpress Cloud",
308790
308861
  "server": "https://api.botpress.cloud",
308791
- "version": "1.28.2",
308862
+ "version": "1.29.0",
308792
308863
  "prefix": "v1"
308793
308864
  },
308794
308865
  "errors": [
@@ -313842,7 +313913,7 @@ var state4 = {
313842
313913
  "title": "Botpress API",
313843
313914
  "description": "API for Botpress Cloud",
313844
313915
  "server": "https://api.botpress.cloud",
313845
- "version": "1.28.2",
313916
+ "version": "1.29.0",
313846
313917
  "prefix": "v1"
313847
313918
  },
313848
313919
  "errors": [
@@ -328411,6 +328482,72 @@ var state5 = {
328411
328482
  }
328412
328483
  }
328413
328484
  },
328485
+ "setWorkspacePreference": {
328486
+ "name": "setWorkspacePreference",
328487
+ "description": "Set a preference for the workspace",
328488
+ "method": "post",
328489
+ "path": "/v1/admin/workspaces/preferences/{key}",
328490
+ "section": "workspace",
328491
+ "disableDefaultParameters": {
328492
+ "x-workspace-id": true
328493
+ },
328494
+ "parameters": {
328495
+ "key": {
328496
+ "type": "string",
328497
+ "description": "Preference key",
328498
+ "in": "path"
328499
+ }
328500
+ },
328501
+ "requestBody": {
328502
+ "description": "Preference value",
328503
+ "schema": {
328504
+ "type": "object",
328505
+ "properties": {
328506
+ "value": {}
328507
+ },
328508
+ "title": "setWorkspacePreferenceBody",
328509
+ "additionalProperties": false
328510
+ }
328511
+ },
328512
+ "response": {
328513
+ "description": "Success",
328514
+ "schema": {
328515
+ "type": "object",
328516
+ "title": "setWorkspacePreferenceResponse",
328517
+ "additionalProperties": false
328518
+ }
328519
+ }
328520
+ },
328521
+ "getWorkspacePreference": {
328522
+ "name": "getWorkspacePreference",
328523
+ "description": "Get a preference of the workspace",
328524
+ "method": "get",
328525
+ "path": "/v1/admin/workspaces/preferences/{key}",
328526
+ "section": "workspace",
328527
+ "disableDefaultParameters": {
328528
+ "x-workspace-id": true
328529
+ },
328530
+ "parameters": {
328531
+ "key": {
328532
+ "type": "string",
328533
+ "description": "Preference key",
328534
+ "in": "path"
328535
+ }
328536
+ },
328537
+ "response": {
328538
+ "description": "Success",
328539
+ "schema": {
328540
+ "type": "object",
328541
+ "properties": {
328542
+ "value": {
328543
+ "nullable": true
328544
+ }
328545
+ },
328546
+ "title": "getWorkspacePreferenceResponse",
328547
+ "additionalProperties": false
328548
+ }
328549
+ }
328550
+ },
328414
328551
  "listWorkspaceMembers": {
328415
328552
  "name": "listWorkspaceMembers",
328416
328553
  "description": "Lists all the members in a workspace",
@@ -336970,7 +337107,7 @@ var state5 = {
336970
337107
  "title": "Botpress API",
336971
337108
  "description": "API for Botpress Cloud",
336972
337109
  "server": "https://api.botpress.cloud",
336973
- "version": "1.28.2",
337110
+ "version": "1.29.0",
336974
337111
  "prefix": "v1"
336975
337112
  },
336976
337113
  "errors": [
@@ -337138,6 +337275,7 @@ var state5 = {
337138
337275
  "createWorkspaceBody": true,
337139
337276
  "updateWorkspaceBody": true,
337140
337277
  "checkHandleAvailabilityBody": true,
337278
+ "setWorkspacePreferenceBody": true,
337141
337279
  "createWorkspaceMemberBody": true,
337142
337280
  "updateWorkspaceMemberBody": true,
337143
337281
  "createIntegrationApiKeyBody": true,
@@ -337280,6 +337418,8 @@ var state5 = {
337280
337418
  "listPublicWorkspacesResponse": true,
337281
337419
  "deleteWorkspaceResponse": true,
337282
337420
  "getAuditRecordsResponse": true,
337421
+ "setWorkspacePreferenceResponse": true,
337422
+ "getWorkspacePreferenceResponse": true,
337283
337423
  "listWorkspaceMembersResponse": true,
337284
337424
  "getWorkspaceMemberResponse": true,
337285
337425
  "deleteWorkspaceMemberResponse": true,
@@ -341097,7 +341237,9 @@ var state5 = {
341097
341237
  "listWorkspaces",
341098
341238
  "listPublicWorkspaces",
341099
341239
  "deleteWorkspace",
341100
- "getAuditRecords"
341240
+ "getAuditRecords",
341241
+ "setWorkspacePreference",
341242
+ "getWorkspacePreference"
341101
341243
  ],
341102
341244
  "schema": "Workspace"
341103
341245
  },
@@ -7058,6 +7058,72 @@ export declare const state: {
7058
7058
  };
7059
7059
  };
7060
7060
  };
7061
+ setWorkspacePreference: {
7062
+ name: string;
7063
+ description: string;
7064
+ method: "post";
7065
+ path: string;
7066
+ section: "workspace";
7067
+ disableDefaultParameters: {
7068
+ "x-workspace-id": boolean;
7069
+ };
7070
+ parameters: {
7071
+ key: {
7072
+ type: "string";
7073
+ description: string;
7074
+ in: "path";
7075
+ };
7076
+ };
7077
+ requestBody: {
7078
+ description: string;
7079
+ schema: {
7080
+ type: "object";
7081
+ properties: {
7082
+ value: {};
7083
+ };
7084
+ title: string;
7085
+ additionalProperties: false;
7086
+ };
7087
+ };
7088
+ response: {
7089
+ description: string;
7090
+ schema: {
7091
+ type: "object";
7092
+ title: string;
7093
+ additionalProperties: false;
7094
+ };
7095
+ };
7096
+ };
7097
+ getWorkspacePreference: {
7098
+ name: string;
7099
+ description: string;
7100
+ method: "get";
7101
+ path: string;
7102
+ section: "workspace";
7103
+ disableDefaultParameters: {
7104
+ "x-workspace-id": boolean;
7105
+ };
7106
+ parameters: {
7107
+ key: {
7108
+ type: "string";
7109
+ description: string;
7110
+ in: "path";
7111
+ };
7112
+ };
7113
+ response: {
7114
+ description: string;
7115
+ schema: {
7116
+ type: "object";
7117
+ properties: {
7118
+ value: {
7119
+ nullable: true;
7120
+ };
7121
+ };
7122
+ title: string;
7123
+ additionalProperties: false;
7124
+ };
7125
+ };
7126
+ };
7061
7127
  listWorkspaceMembers: {
7062
7128
  name: string;
7063
7129
  description: string;
@@ -12166,6 +12232,7 @@ export declare const state: {
12166
12232
  createWorkspaceBody: true;
12167
12233
  updateWorkspaceBody: true;
12168
12234
  checkHandleAvailabilityBody: true;
12235
+ setWorkspacePreferenceBody: true;
12169
12236
  createWorkspaceMemberBody: true;
12170
12237
  updateWorkspaceMemberBody: true;
12171
12238
  createIntegrationApiKeyBody: true;
@@ -12246,6 +12313,8 @@ export declare const state: {
12246
12313
  listPublicWorkspacesResponse: true;
12247
12314
  deleteWorkspaceResponse: true;
12248
12315
  getAuditRecordsResponse: true;
12316
+ setWorkspacePreferenceResponse: true;
12317
+ getWorkspacePreferenceResponse: true;
12249
12318
  listWorkspaceMembersResponse: true;
12250
12319
  getWorkspaceMemberResponse: true;
12251
12320
  deleteWorkspaceMemberResponse: true;
@@ -9405,6 +9405,72 @@ export declare const state: {
9405
9405
  };
9406
9406
  };
9407
9407
  };
9408
+ setWorkspacePreference: {
9409
+ name: string;
9410
+ description: string;
9411
+ method: "post";
9412
+ path: string;
9413
+ section: "workspace";
9414
+ disableDefaultParameters: {
9415
+ "x-workspace-id": boolean;
9416
+ };
9417
+ parameters: {
9418
+ key: {
9419
+ type: "string";
9420
+ description: string;
9421
+ in: "path";
9422
+ };
9423
+ };
9424
+ requestBody: {
9425
+ description: string;
9426
+ schema: {
9427
+ type: "object";
9428
+ properties: {
9429
+ value: {};
9430
+ };
9431
+ title: string;
9432
+ additionalProperties: false;
9433
+ };
9434
+ };
9435
+ response: {
9436
+ description: string;
9437
+ schema: {
9438
+ type: "object";
9439
+ title: string;
9440
+ additionalProperties: false;
9441
+ };
9442
+ };
9443
+ };
9444
+ getWorkspacePreference: {
9445
+ name: string;
9446
+ description: string;
9447
+ method: "get";
9448
+ path: string;
9449
+ section: "workspace";
9450
+ disableDefaultParameters: {
9451
+ "x-workspace-id": boolean;
9452
+ };
9453
+ parameters: {
9454
+ key: {
9455
+ type: "string";
9456
+ description: string;
9457
+ in: "path";
9458
+ };
9459
+ };
9460
+ response: {
9461
+ description: string;
9462
+ schema: {
9463
+ type: "object";
9464
+ properties: {
9465
+ value: {
9466
+ nullable: true;
9467
+ };
9468
+ };
9469
+ title: string;
9470
+ additionalProperties: false;
9471
+ };
9472
+ };
9473
+ };
9408
9474
  listWorkspaceMembers: {
9409
9475
  name: string;
9410
9476
  description: string;
@@ -17094,6 +17160,7 @@ export declare const state: {
17094
17160
  createWorkspaceBody: true;
17095
17161
  updateWorkspaceBody: true;
17096
17162
  checkHandleAvailabilityBody: true;
17163
+ setWorkspacePreferenceBody: true;
17097
17164
  createWorkspaceMemberBody: true;
17098
17165
  updateWorkspaceMemberBody: true;
17099
17166
  createIntegrationApiKeyBody: true;
@@ -17236,6 +17303,8 @@ export declare const state: {
17236
17303
  listPublicWorkspacesResponse: true;
17237
17304
  deleteWorkspaceResponse: true;
17238
17305
  getAuditRecordsResponse: true;
17306
+ setWorkspacePreferenceResponse: true;
17307
+ getWorkspacePreferenceResponse: true;
17239
17308
  listWorkspaceMembersResponse: true;
17240
17309
  getWorkspaceMemberResponse: true;
17241
17310
  deleteWorkspaceMemberResponse: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.28.2",
3
+ "version": "1.29.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -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","getDereferencedPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"description":"","title":"Action","name":"action","operations":[]},{"description":"","title":"Task","name":"task","operations":[],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":[],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":[]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listActionRuns","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","getBotJson","publishFromBotJson","createBotVersion","deployBotVersion","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getDereferencedPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","getWorkspaceMember","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","deleteAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage","getMultipleUsages","listUsageActivityDaily"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":[],"schema":"Table"},{"title":"Files","description":"The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.","name":"files","operations":[],"schema":"File"}],"errors":[{"status":500,"type":"Unknown","description":"An unknown error occurred"},{"status":500,"type":"Internal","description":"An internal error occurred"},{"status":401,"type":"Unauthorized","description":"The request requires to be authenticated."},{"status":403,"type":"Forbidden","description":"The requested action can't be peform by this resource."},{"status":413,"type":"PayloadTooLarge","description":"The request payload is too large."},{"status":400,"type":"InvalidPayload","description":"The request payload is invalid."},{"status":415,"type":"UnsupportedMediaType","description":"The request is invalid because the content-type is not supported."},{"status":405,"type":"MethodNotFound","description":"The requested method does not exist."},{"status":404,"type":"ResourceNotFound","description":"The requested resource does not exist."},{"status":400,"type":"InvalidJsonSchema","description":"The provided JSON schema is invalid."},{"status":400,"type":"InvalidDataFormat","description":"The provided data doesn't respect the provided JSON schema."},{"status":400,"type":"InvalidIdentifier","description":"The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters."},{"status":409,"type":"RelationConflict","description":"The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together."},{"status":409,"type":"ReferenceConstraint","description":"The resource cannot be deleted because it's referenced by another resource"},{"status":409,"type":"ResourceLockedConflict","description":"The resource is current locked and cannot be operated on until the lock is released."},{"status":400,"type":"ReferenceNotFound","description":"The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request."},{"status":400,"type":"InvalidQuery","description":"The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource."},{"status":400,"type":"Runtime","description":"An error happened during the execution of a runtime (bot or integration)."},{"status":409,"type":"AlreadyExists","description":"The record attempted to be created already exists."},{"status":429,"type":"RateLimited","description":"The request has been rate limited."},{"status":402,"type":"PaymentRequired","description":"A payment is required to perform this request."},{"status":403,"type":"QuotaExceeded","description":"The request exceeds the allowed quota. Quotas are a soft limit that can be increased."},{"status":413,"type":"LimitExceeded","description":"The request exceeds the allowed limit. Limits are a hard limit that cannot be increased."},{"status":400,"type":"BreakingChanges","description":"Request payload contains breaking changes which is not allowed for this resource without a version increment."}]}
1
+ {"sections":[{"description":"","title":"User","name":"user","operations":[],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":[],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":[],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":[],"schema":"Message"},{"description":"","title":"State","name":"state","operations":[],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration","listPublicPlugins","getPublicPluginById","getDereferencedPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"description":"","title":"Action","name":"action","operations":[]},{"description":"","title":"Task","name":"task","operations":[],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":[],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":[]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listActionRuns","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","getBotJson","publishFromBotJson","createBotVersion","deployBotVersion","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getDereferencedPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords","setWorkspacePreference","getWorkspacePreference"],"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."}]}