@botpress/api 1.23.0 → 1.24.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 CHANGED
@@ -284652,7 +284652,7 @@ var state = {
284652
284652
  "title": "Botpress API",
284653
284653
  "description": "API for Botpress Cloud",
284654
284654
  "server": "https://api.botpress.cloud",
284655
- "version": "1.23.0",
284655
+ "version": "1.24.0",
284656
284656
  "prefix": "v1"
284657
284657
  },
284658
284658
  "errors": [
@@ -294280,6 +294280,67 @@ var state2 = {
294280
294280
  }
294281
294281
  }
294282
294282
  },
294283
+ "getBotJson": {
294284
+ "name": "getBotJson",
294285
+ "description": "Download the raw bot JSON for a bot. Optionally specify versionId to download a specific version.",
294286
+ "method": "get",
294287
+ "path": "/v1/admin/bots/{id}/bot-json",
294288
+ "section": "bot",
294289
+ "parameters": {
294290
+ "id": {
294291
+ "type": "string",
294292
+ "description": "Bot ID",
294293
+ "in": "path"
294294
+ }
294295
+ },
294296
+ "response": {
294297
+ "description": "Success",
294298
+ "schema": {
294299
+ "type": "object",
294300
+ "additionalProperties": true,
294301
+ "title": "getBotJsonResponse"
294302
+ }
294303
+ }
294304
+ },
294305
+ "publishFromBotJson": {
294306
+ "name": "publishFromBotJson",
294307
+ "description": "Deploy a bot using the provided raw bot JSON payload.",
294308
+ "method": "post",
294309
+ "path": "/v1/admin/bots/{id}/publish-from-bot-json",
294310
+ "section": "bot",
294311
+ "parameters": {
294312
+ "id": {
294313
+ "type": "string",
294314
+ "description": "Bot ID",
294315
+ "in": "path"
294316
+ }
294317
+ },
294318
+ "requestBody": {
294319
+ "description": "Raw bot JSON payload",
294320
+ "schema": {
294321
+ "type": "object",
294322
+ "properties": {
294323
+ "botJson": {
294324
+ "type": "object",
294325
+ "additionalProperties": true
294326
+ }
294327
+ },
294328
+ "required": [
294329
+ "botJson"
294330
+ ],
294331
+ "title": "publishFromBotJsonBody",
294332
+ "additionalProperties": false
294333
+ }
294334
+ },
294335
+ "response": {
294336
+ "description": "Success",
294337
+ "schema": {
294338
+ "type": "object",
294339
+ "additionalProperties": true,
294340
+ "title": "publishFromBotJsonResponse"
294341
+ }
294342
+ }
294343
+ },
294283
294344
  "createBotVersion": {
294284
294345
  "name": "createBotVersion",
294285
294346
  "description": "Create a new version for a bot",
@@ -301675,7 +301736,7 @@ var state2 = {
301675
301736
  "title": "Botpress API",
301676
301737
  "description": "API for Botpress Cloud",
301677
301738
  "server": "https://api.botpress.cloud",
301678
- "version": "1.23.0",
301739
+ "version": "1.24.0",
301679
301740
  "prefix": "v1"
301680
301741
  },
301681
301742
  "errors": [
@@ -301811,6 +301872,7 @@ var state2 = {
301811
301872
  "createBotBody": true,
301812
301873
  "updateBotBody": true,
301813
301874
  "transferBotBody": true,
301875
+ "publishFromBotJsonBody": true,
301814
301876
  "createBotVersionBody": true,
301815
301877
  "deployBotVersionBody": true,
301816
301878
  "createIntegrationShareableIdBody": true,
@@ -301870,6 +301932,8 @@ var state2 = {
301870
301932
  "listBotIssueEventsResponse": true,
301871
301933
  "listBotVersionsResponse": true,
301872
301934
  "getBotVersionResponse": true,
301935
+ "getBotJsonResponse": true,
301936
+ "publishFromBotJsonResponse": true,
301873
301937
  "createBotVersionResponse": true,
301874
301938
  "deployBotVersionResponse": true,
301875
301939
  "createIntegrationShareableIdResponse": true,
@@ -305531,6 +305595,8 @@ var state2 = {
305531
305595
  "listBotIssueEvents",
305532
305596
  "listBotVersions",
305533
305597
  "getBotVersion",
305598
+ "getBotJson",
305599
+ "publishFromBotJson",
305534
305600
  "createBotVersion",
305535
305601
  "deployBotVersion",
305536
305602
  "createIntegrationShareableId",
@@ -307483,7 +307549,7 @@ var state3 = {
307483
307549
  "title": "Botpress API",
307484
307550
  "description": "API for Botpress Cloud",
307485
307551
  "server": "https://api.botpress.cloud",
307486
- "version": "1.23.0",
307552
+ "version": "1.24.0",
307487
307553
  "prefix": "v1"
307488
307554
  },
307489
307555
  "errors": [
@@ -312529,7 +312595,7 @@ var state4 = {
312529
312595
  "title": "Botpress API",
312530
312596
  "description": "API for Botpress Cloud",
312531
312597
  "server": "https://api.botpress.cloud",
312532
- "version": "1.23.0",
312598
+ "version": "1.24.0",
312533
312599
  "prefix": "v1"
312534
312600
  },
312535
312601
  "errors": [
@@ -324673,6 +324739,67 @@ var state5 = {
324673
324739
  }
324674
324740
  }
324675
324741
  },
324742
+ "getBotJson": {
324743
+ "name": "getBotJson",
324744
+ "description": "Download the raw bot JSON for a bot. Optionally specify versionId to download a specific version.",
324745
+ "method": "get",
324746
+ "path": "/v1/admin/bots/{id}/bot-json",
324747
+ "section": "bot",
324748
+ "parameters": {
324749
+ "id": {
324750
+ "type": "string",
324751
+ "description": "Bot ID",
324752
+ "in": "path"
324753
+ }
324754
+ },
324755
+ "response": {
324756
+ "description": "Success",
324757
+ "schema": {
324758
+ "type": "object",
324759
+ "additionalProperties": true,
324760
+ "title": "getBotJsonResponse"
324761
+ }
324762
+ }
324763
+ },
324764
+ "publishFromBotJson": {
324765
+ "name": "publishFromBotJson",
324766
+ "description": "Deploy a bot using the provided raw bot JSON payload.",
324767
+ "method": "post",
324768
+ "path": "/v1/admin/bots/{id}/publish-from-bot-json",
324769
+ "section": "bot",
324770
+ "parameters": {
324771
+ "id": {
324772
+ "type": "string",
324773
+ "description": "Bot ID",
324774
+ "in": "path"
324775
+ }
324776
+ },
324777
+ "requestBody": {
324778
+ "description": "Raw bot JSON payload",
324779
+ "schema": {
324780
+ "type": "object",
324781
+ "properties": {
324782
+ "botJson": {
324783
+ "type": "object",
324784
+ "additionalProperties": true
324785
+ }
324786
+ },
324787
+ "required": [
324788
+ "botJson"
324789
+ ],
324790
+ "title": "publishFromBotJsonBody",
324791
+ "additionalProperties": false
324792
+ }
324793
+ },
324794
+ "response": {
324795
+ "description": "Success",
324796
+ "schema": {
324797
+ "type": "object",
324798
+ "additionalProperties": true,
324799
+ "title": "publishFromBotJsonResponse"
324800
+ }
324801
+ }
324802
+ },
324676
324803
  "createBotVersion": {
324677
324804
  "name": "createBotVersion",
324678
324805
  "description": "Create a new version for a bot",
@@ -335043,7 +335170,7 @@ var state5 = {
335043
335170
  "title": "Botpress API",
335044
335171
  "description": "API for Botpress Cloud",
335045
335172
  "server": "https://api.botpress.cloud",
335046
- "version": "1.23.0",
335173
+ "version": "1.24.0",
335047
335174
  "prefix": "v1"
335048
335175
  },
335049
335176
  "errors": [
@@ -335202,6 +335329,7 @@ var state5 = {
335202
335329
  "createBotBody": true,
335203
335330
  "updateBotBody": true,
335204
335331
  "transferBotBody": true,
335332
+ "publishFromBotJsonBody": true,
335205
335333
  "createBotVersionBody": true,
335206
335334
  "deployBotVersionBody": true,
335207
335335
  "createIntegrationShareableIdBody": true,
@@ -335323,6 +335451,8 @@ var state5 = {
335323
335451
  "listBotIssueEventsResponse": true,
335324
335452
  "listBotVersionsResponse": true,
335325
335453
  "getBotVersionResponse": true,
335454
+ "getBotJsonResponse": true,
335455
+ "publishFromBotJsonResponse": true,
335326
335456
  "createBotVersionResponse": true,
335327
335457
  "deployBotVersionResponse": true,
335328
335458
  "createIntegrationShareableIdResponse": true,
@@ -339070,6 +339200,8 @@ var state5 = {
339070
339200
  "listBotIssueEvents",
339071
339201
  "listBotVersions",
339072
339202
  "getBotVersion",
339203
+ "getBotJson",
339204
+ "publishFromBotJson",
339073
339205
  "createBotVersion",
339074
339206
  "deployBotVersion",
339075
339207
  "createIntegrationShareableId",
@@ -5010,6 +5010,65 @@ export declare const state: {
5010
5010
  };
5011
5011
  };
5012
5012
  };
5013
+ getBotJson: {
5014
+ name: string;
5015
+ description: string;
5016
+ method: "get";
5017
+ path: string;
5018
+ section: "bot";
5019
+ parameters: {
5020
+ id: {
5021
+ type: "string";
5022
+ description: string;
5023
+ in: "path";
5024
+ };
5025
+ };
5026
+ response: {
5027
+ description: string;
5028
+ schema: {
5029
+ type: "object";
5030
+ additionalProperties: true;
5031
+ title: string;
5032
+ };
5033
+ };
5034
+ };
5035
+ publishFromBotJson: {
5036
+ name: string;
5037
+ description: string;
5038
+ method: "post";
5039
+ path: string;
5040
+ section: "bot";
5041
+ parameters: {
5042
+ id: {
5043
+ type: "string";
5044
+ description: string;
5045
+ in: "path";
5046
+ };
5047
+ };
5048
+ requestBody: {
5049
+ description: string;
5050
+ schema: {
5051
+ type: "object";
5052
+ properties: {
5053
+ botJson: {
5054
+ type: "object";
5055
+ additionalProperties: true;
5056
+ };
5057
+ };
5058
+ required: string[];
5059
+ title: string;
5060
+ additionalProperties: false;
5061
+ };
5062
+ };
5063
+ response: {
5064
+ description: string;
5065
+ schema: {
5066
+ type: "object";
5067
+ additionalProperties: true;
5068
+ title: string;
5069
+ };
5070
+ };
5071
+ };
5013
5072
  createBotVersion: {
5014
5073
  name: string;
5015
5074
  description: string;
@@ -11617,6 +11676,7 @@ export declare const state: {
11617
11676
  createBotBody: true;
11618
11677
  updateBotBody: true;
11619
11678
  transferBotBody: true;
11679
+ publishFromBotJsonBody: true;
11620
11680
  createBotVersionBody: true;
11621
11681
  deployBotVersionBody: true;
11622
11682
  createIntegrationShareableIdBody: true;
@@ -11676,6 +11736,8 @@ export declare const state: {
11676
11736
  listBotIssueEventsResponse: true;
11677
11737
  listBotVersionsResponse: true;
11678
11738
  getBotVersionResponse: true;
11739
+ getBotJsonResponse: true;
11740
+ publishFromBotJsonResponse: true;
11679
11741
  createBotVersionResponse: true;
11680
11742
  deployBotVersionResponse: true;
11681
11743
  createIntegrationShareableIdResponse: true;
@@ -7357,6 +7357,65 @@ export declare const state: {
7357
7357
  };
7358
7358
  };
7359
7359
  };
7360
+ getBotJson: {
7361
+ name: string;
7362
+ description: string;
7363
+ method: "get";
7364
+ path: string;
7365
+ section: "bot";
7366
+ parameters: {
7367
+ id: {
7368
+ type: "string";
7369
+ description: string;
7370
+ in: "path";
7371
+ };
7372
+ };
7373
+ response: {
7374
+ description: string;
7375
+ schema: {
7376
+ type: "object";
7377
+ additionalProperties: true;
7378
+ title: string;
7379
+ };
7380
+ };
7381
+ };
7382
+ publishFromBotJson: {
7383
+ name: string;
7384
+ description: string;
7385
+ method: "post";
7386
+ path: string;
7387
+ section: "bot";
7388
+ parameters: {
7389
+ id: {
7390
+ type: "string";
7391
+ description: string;
7392
+ in: "path";
7393
+ };
7394
+ };
7395
+ requestBody: {
7396
+ description: string;
7397
+ schema: {
7398
+ type: "object";
7399
+ properties: {
7400
+ botJson: {
7401
+ type: "object";
7402
+ additionalProperties: true;
7403
+ };
7404
+ };
7405
+ required: string[];
7406
+ title: string;
7407
+ additionalProperties: false;
7408
+ };
7409
+ };
7410
+ response: {
7411
+ description: string;
7412
+ schema: {
7413
+ type: "object";
7414
+ additionalProperties: true;
7415
+ title: string;
7416
+ };
7417
+ };
7418
+ };
7360
7419
  createBotVersion: {
7361
7420
  name: string;
7362
7421
  description: string;
@@ -16545,6 +16604,7 @@ export declare const state: {
16545
16604
  createBotBody: true;
16546
16605
  updateBotBody: true;
16547
16606
  transferBotBody: true;
16607
+ publishFromBotJsonBody: true;
16548
16608
  createBotVersionBody: true;
16549
16609
  deployBotVersionBody: true;
16550
16610
  createIntegrationShareableIdBody: true;
@@ -16666,6 +16726,8 @@ export declare const state: {
16666
16726
  listBotIssueEventsResponse: true;
16667
16727
  listBotVersionsResponse: true;
16668
16728
  getBotVersionResponse: true;
16729
+ getBotJsonResponse: true;
16730
+ publishFromBotJsonResponse: true;
16669
16731
  createBotVersionResponse: true;
16670
16732
  deployBotVersionResponse: true;
16671
16733
  createIntegrationShareableIdResponse: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.23.0",
3
+ "version": "1.24.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","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."}]}
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","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","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."}]}