@botpress/api 1.18.1 → 1.19.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 +650 -34
- package/dist/src/gen/admin/state.d.ts +121 -0
- package/dist/src/gen/files/state.d.ts +113 -0
- package/dist/src/gen/runtime/state.d.ts +19 -3
- package/dist/src/gen/state.d.ts +215 -3
- package/dist/src/gen/tables/state.d.ts +19 -0
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +149 -6
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +162 -7
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +28 -5
- package/src/gen/state.ts +283 -14
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +28 -2
package/src/gen/files/state.ts
CHANGED
|
@@ -34,7 +34,7 @@ export const state = {
|
|
|
34
34
|
"index": {
|
|
35
35
|
"default": false,
|
|
36
36
|
"type": "boolean",
|
|
37
|
-
"description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
|
|
37
|
+
"description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Files larger than 95 MB cannot be indexed. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
|
|
38
38
|
},
|
|
39
39
|
"indexing": {
|
|
40
40
|
"type": "object",
|
|
@@ -275,6 +275,31 @@ export const state = {
|
|
|
275
275
|
"type": "string",
|
|
276
276
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
277
277
|
},
|
|
278
|
+
"owner": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"type": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"enum": [
|
|
284
|
+
"bot",
|
|
285
|
+
"integration",
|
|
286
|
+
"user"
|
|
287
|
+
]
|
|
288
|
+
},
|
|
289
|
+
"id": {
|
|
290
|
+
"type": "string",
|
|
291
|
+
"description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
|
|
292
|
+
},
|
|
293
|
+
"name": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"required": [
|
|
299
|
+
"type"
|
|
300
|
+
],
|
|
301
|
+
"additionalProperties": false
|
|
302
|
+
},
|
|
278
303
|
"uploadUrl": {
|
|
279
304
|
"type": "string",
|
|
280
305
|
"description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
|
|
@@ -294,6 +319,7 @@ export const state = {
|
|
|
294
319
|
"accessPolicies",
|
|
295
320
|
"index",
|
|
296
321
|
"status",
|
|
322
|
+
"owner",
|
|
297
323
|
"uploadUrl"
|
|
298
324
|
],
|
|
299
325
|
"additionalProperties": false
|
|
@@ -474,6 +500,30 @@ export const state = {
|
|
|
474
500
|
"expiresAt": {
|
|
475
501
|
"type": "string",
|
|
476
502
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
503
|
+
},
|
|
504
|
+
"owner": {
|
|
505
|
+
"type": "object",
|
|
506
|
+
"properties": {
|
|
507
|
+
"type": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"enum": [
|
|
510
|
+
"bot",
|
|
511
|
+
"integration",
|
|
512
|
+
"user"
|
|
513
|
+
]
|
|
514
|
+
},
|
|
515
|
+
"id": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
|
|
518
|
+
},
|
|
519
|
+
"name": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"required": [
|
|
525
|
+
"type"
|
|
526
|
+
]
|
|
477
527
|
}
|
|
478
528
|
},
|
|
479
529
|
"required": [
|
|
@@ -489,7 +539,8 @@ export const state = {
|
|
|
489
539
|
"updatedAt",
|
|
490
540
|
"accessPolicies",
|
|
491
541
|
"index",
|
|
492
|
-
"status"
|
|
542
|
+
"status",
|
|
543
|
+
"owner"
|
|
493
544
|
]
|
|
494
545
|
}
|
|
495
546
|
},
|
|
@@ -616,6 +667,31 @@ export const state = {
|
|
|
616
667
|
"expiresAt": {
|
|
617
668
|
"type": "string",
|
|
618
669
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
670
|
+
},
|
|
671
|
+
"owner": {
|
|
672
|
+
"type": "object",
|
|
673
|
+
"properties": {
|
|
674
|
+
"type": {
|
|
675
|
+
"type": "string",
|
|
676
|
+
"enum": [
|
|
677
|
+
"bot",
|
|
678
|
+
"integration",
|
|
679
|
+
"user"
|
|
680
|
+
]
|
|
681
|
+
},
|
|
682
|
+
"id": {
|
|
683
|
+
"type": "string",
|
|
684
|
+
"description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
|
|
685
|
+
},
|
|
686
|
+
"name": {
|
|
687
|
+
"type": "string",
|
|
688
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"required": [
|
|
692
|
+
"type"
|
|
693
|
+
],
|
|
694
|
+
"additionalProperties": false
|
|
619
695
|
}
|
|
620
696
|
},
|
|
621
697
|
"required": [
|
|
@@ -631,7 +707,8 @@ export const state = {
|
|
|
631
707
|
"updatedAt",
|
|
632
708
|
"accessPolicies",
|
|
633
709
|
"index",
|
|
634
|
-
"status"
|
|
710
|
+
"status",
|
|
711
|
+
"owner"
|
|
635
712
|
],
|
|
636
713
|
"additionalProperties": false
|
|
637
714
|
}
|
|
@@ -786,6 +863,31 @@ export const state = {
|
|
|
786
863
|
"expiresAt": {
|
|
787
864
|
"type": "string",
|
|
788
865
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
866
|
+
},
|
|
867
|
+
"owner": {
|
|
868
|
+
"type": "object",
|
|
869
|
+
"properties": {
|
|
870
|
+
"type": {
|
|
871
|
+
"type": "string",
|
|
872
|
+
"enum": [
|
|
873
|
+
"bot",
|
|
874
|
+
"integration",
|
|
875
|
+
"user"
|
|
876
|
+
]
|
|
877
|
+
},
|
|
878
|
+
"id": {
|
|
879
|
+
"type": "string",
|
|
880
|
+
"description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
|
|
881
|
+
},
|
|
882
|
+
"name": {
|
|
883
|
+
"type": "string",
|
|
884
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"required": [
|
|
888
|
+
"type"
|
|
889
|
+
],
|
|
890
|
+
"additionalProperties": false
|
|
789
891
|
}
|
|
790
892
|
},
|
|
791
893
|
"required": [
|
|
@@ -801,7 +903,8 @@ export const state = {
|
|
|
801
903
|
"updatedAt",
|
|
802
904
|
"accessPolicies",
|
|
803
905
|
"index",
|
|
804
|
-
"status"
|
|
906
|
+
"status",
|
|
907
|
+
"owner"
|
|
805
908
|
],
|
|
806
909
|
"additionalProperties": false
|
|
807
910
|
}
|
|
@@ -941,6 +1044,31 @@ export const state = {
|
|
|
941
1044
|
"expiresAt": {
|
|
942
1045
|
"type": "string",
|
|
943
1046
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
1047
|
+
},
|
|
1048
|
+
"owner": {
|
|
1049
|
+
"type": "object",
|
|
1050
|
+
"properties": {
|
|
1051
|
+
"type": {
|
|
1052
|
+
"type": "string",
|
|
1053
|
+
"enum": [
|
|
1054
|
+
"bot",
|
|
1055
|
+
"integration",
|
|
1056
|
+
"user"
|
|
1057
|
+
]
|
|
1058
|
+
},
|
|
1059
|
+
"id": {
|
|
1060
|
+
"type": "string",
|
|
1061
|
+
"description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
|
|
1062
|
+
},
|
|
1063
|
+
"name": {
|
|
1064
|
+
"type": "string",
|
|
1065
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"required": [
|
|
1069
|
+
"type"
|
|
1070
|
+
],
|
|
1071
|
+
"additionalProperties": false
|
|
944
1072
|
}
|
|
945
1073
|
},
|
|
946
1074
|
"required": [
|
|
@@ -956,7 +1084,8 @@ export const state = {
|
|
|
956
1084
|
"updatedAt",
|
|
957
1085
|
"accessPolicies",
|
|
958
1086
|
"index",
|
|
959
|
-
"status"
|
|
1087
|
+
"status",
|
|
1088
|
+
"owner"
|
|
960
1089
|
],
|
|
961
1090
|
"additionalProperties": false
|
|
962
1091
|
}
|
|
@@ -1649,7 +1778,7 @@ export const state = {
|
|
|
1649
1778
|
"title": "Botpress API",
|
|
1650
1779
|
"description": "API for Botpress Cloud",
|
|
1651
1780
|
"server": "https://api.botpress.cloud",
|
|
1652
|
-
"version": "1.
|
|
1781
|
+
"version": "1.19.0",
|
|
1653
1782
|
"prefix": "v1"
|
|
1654
1783
|
},
|
|
1655
1784
|
"errors": [
|
|
@@ -5235,6 +5364,31 @@ export const state = {
|
|
|
5235
5364
|
"expiresAt": {
|
|
5236
5365
|
"type": "string",
|
|
5237
5366
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
5367
|
+
},
|
|
5368
|
+
"owner": {
|
|
5369
|
+
"type": "object",
|
|
5370
|
+
"properties": {
|
|
5371
|
+
"type": {
|
|
5372
|
+
"type": "string",
|
|
5373
|
+
"enum": [
|
|
5374
|
+
"bot",
|
|
5375
|
+
"integration",
|
|
5376
|
+
"user"
|
|
5377
|
+
]
|
|
5378
|
+
},
|
|
5379
|
+
"id": {
|
|
5380
|
+
"type": "string",
|
|
5381
|
+
"description": "This field is present if `type` is \"user\" or \"bot\". If `type` is \"user\", this is the user ID. If `type` is \"bot\", this is the bot ID."
|
|
5382
|
+
},
|
|
5383
|
+
"name": {
|
|
5384
|
+
"type": "string",
|
|
5385
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
5386
|
+
}
|
|
5387
|
+
},
|
|
5388
|
+
"required": [
|
|
5389
|
+
"type"
|
|
5390
|
+
],
|
|
5391
|
+
"additionalProperties": false
|
|
5238
5392
|
}
|
|
5239
5393
|
},
|
|
5240
5394
|
"required": [
|
|
@@ -5250,7 +5404,8 @@ export const state = {
|
|
|
5250
5404
|
"updatedAt",
|
|
5251
5405
|
"accessPolicies",
|
|
5252
5406
|
"index",
|
|
5253
|
-
"status"
|
|
5407
|
+
"status",
|
|
5408
|
+
"owner"
|
|
5254
5409
|
],
|
|
5255
5410
|
"additionalProperties": false
|
|
5256
5411
|
}
|
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","listPublicPlugins","getPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"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","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","getWorkspaceMember","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage","getMultipleUsages","listUsageActivityDaily"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":["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","setFilePassages","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","listPublicPlugins","getPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"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","listActionRuns","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","createBotVersion","deployBotVersion","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","getWorkspaceMember","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage","getMultipleUsages","listUsageActivityDaily"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":["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","setFilePassages","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."}]}
|