@botpress/api 1.21.0 → 1.23.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 +724 -14
- package/dist/src/gen/admin/state.d.ts +61 -0
- package/dist/src/gen/files/state.d.ts +14 -0
- package/dist/src/gen/runtime/state.d.ts +15 -0
- package/dist/src/gen/state.d.ts +62 -0
- package/dist/src/gen/tables/state.d.ts +14 -0
- 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 +67 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +17 -1
- 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 +18 -1
- package/src/gen/state.ts +68 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +17 -1
|
@@ -166,6 +166,33 @@ export declare const state: {
|
|
|
166
166
|
};
|
|
167
167
|
parameters: {};
|
|
168
168
|
};
|
|
169
|
+
deleteAccount: {
|
|
170
|
+
name: string;
|
|
171
|
+
description: string;
|
|
172
|
+
method: "post";
|
|
173
|
+
path: string;
|
|
174
|
+
section: "account";
|
|
175
|
+
disableDefaultParameters: {
|
|
176
|
+
"x-workspace-id": boolean;
|
|
177
|
+
};
|
|
178
|
+
requestBody: {
|
|
179
|
+
description: string;
|
|
180
|
+
schema: {
|
|
181
|
+
type: "object";
|
|
182
|
+
title: string;
|
|
183
|
+
additionalProperties: false;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
response: {
|
|
187
|
+
description: string;
|
|
188
|
+
schema: {
|
|
189
|
+
type: "object";
|
|
190
|
+
title: string;
|
|
191
|
+
additionalProperties: false;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
parameters: {};
|
|
195
|
+
};
|
|
169
196
|
listPersonalAccessTokens: {
|
|
170
197
|
name: string;
|
|
171
198
|
description: string;
|
|
@@ -3951,6 +3978,20 @@ export declare const state: {
|
|
|
3951
3978
|
type: "object";
|
|
3952
3979
|
additionalProperties: true;
|
|
3953
3980
|
};
|
|
3981
|
+
interfaces: {
|
|
3982
|
+
type: "object";
|
|
3983
|
+
additionalProperties: {
|
|
3984
|
+
type: "object";
|
|
3985
|
+
properties: {
|
|
3986
|
+
integrationId: {
|
|
3987
|
+
type: "string";
|
|
3988
|
+
};
|
|
3989
|
+
};
|
|
3990
|
+
required: string[];
|
|
3991
|
+
additionalProperties: false;
|
|
3992
|
+
};
|
|
3993
|
+
description: string;
|
|
3994
|
+
};
|
|
3954
3995
|
};
|
|
3955
3996
|
required: string[];
|
|
3956
3997
|
nullable: true;
|
|
@@ -3958,6 +3999,10 @@ export declare const state: {
|
|
|
3958
3999
|
};
|
|
3959
4000
|
description: string;
|
|
3960
4001
|
};
|
|
4002
|
+
shouldMergePlugins: {
|
|
4003
|
+
type: "boolean";
|
|
4004
|
+
description: string;
|
|
4005
|
+
};
|
|
3961
4006
|
subscriptions: {
|
|
3962
4007
|
type: "object";
|
|
3963
4008
|
properties: {
|
|
@@ -11566,6 +11611,7 @@ export declare const state: {
|
|
|
11566
11611
|
requestBodies: {
|
|
11567
11612
|
runVrlBody: true;
|
|
11568
11613
|
updateAccountBody: true;
|
|
11614
|
+
deleteAccountBody: true;
|
|
11569
11615
|
createPersonalAccessTokenBody: true;
|
|
11570
11616
|
setAccountPreferenceBody: true;
|
|
11571
11617
|
createBotBody: true;
|
|
@@ -11598,6 +11644,7 @@ export declare const state: {
|
|
|
11598
11644
|
runVrlResponse: true;
|
|
11599
11645
|
getAccountResponse: true;
|
|
11600
11646
|
updateAccountResponse: true;
|
|
11647
|
+
deleteAccountResponse: true;
|
|
11601
11648
|
listPersonalAccessTokensResponse: true;
|
|
11602
11649
|
createPersonalAccessTokenResponse: true;
|
|
11603
11650
|
deletePersonalAccessTokenResponse: true;
|
|
@@ -11872,6 +11919,20 @@ export declare const state: {
|
|
|
11872
11919
|
type: "object";
|
|
11873
11920
|
additionalProperties: true;
|
|
11874
11921
|
};
|
|
11922
|
+
interfaces: {
|
|
11923
|
+
type: "object";
|
|
11924
|
+
additionalProperties: {
|
|
11925
|
+
type: "object";
|
|
11926
|
+
properties: {
|
|
11927
|
+
integrationId: {
|
|
11928
|
+
type: "string";
|
|
11929
|
+
};
|
|
11930
|
+
};
|
|
11931
|
+
required: string[];
|
|
11932
|
+
additionalProperties: false;
|
|
11933
|
+
};
|
|
11934
|
+
description: string;
|
|
11935
|
+
};
|
|
11875
11936
|
id: {
|
|
11876
11937
|
type: "string";
|
|
11877
11938
|
minLength: number;
|
|
@@ -1735,6 +1735,20 @@ export declare const state: {
|
|
|
1735
1735
|
type: "object";
|
|
1736
1736
|
additionalProperties: true;
|
|
1737
1737
|
};
|
|
1738
|
+
interfaces: {
|
|
1739
|
+
type: "object";
|
|
1740
|
+
additionalProperties: {
|
|
1741
|
+
type: "object";
|
|
1742
|
+
properties: {
|
|
1743
|
+
integrationId: {
|
|
1744
|
+
type: "string";
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
required: string[];
|
|
1748
|
+
additionalProperties: false;
|
|
1749
|
+
};
|
|
1750
|
+
description: string;
|
|
1751
|
+
};
|
|
1738
1752
|
id: {
|
|
1739
1753
|
type: "string";
|
|
1740
1754
|
minLength: number;
|
|
@@ -1180,6 +1180,7 @@ export declare const state: {
|
|
|
1180
1180
|
name: {
|
|
1181
1181
|
type: "string";
|
|
1182
1182
|
maxLength: number;
|
|
1183
|
+
nullable: true;
|
|
1183
1184
|
description: string;
|
|
1184
1185
|
};
|
|
1185
1186
|
pictureUrl: {
|
|
@@ -2652,6 +2653,20 @@ export declare const state: {
|
|
|
2652
2653
|
type: "object";
|
|
2653
2654
|
additionalProperties: true;
|
|
2654
2655
|
};
|
|
2656
|
+
interfaces: {
|
|
2657
|
+
type: "object";
|
|
2658
|
+
additionalProperties: {
|
|
2659
|
+
type: "object";
|
|
2660
|
+
properties: {
|
|
2661
|
+
integrationId: {
|
|
2662
|
+
type: "string";
|
|
2663
|
+
};
|
|
2664
|
+
};
|
|
2665
|
+
required: string[];
|
|
2666
|
+
additionalProperties: false;
|
|
2667
|
+
};
|
|
2668
|
+
description: string;
|
|
2669
|
+
};
|
|
2655
2670
|
id: {
|
|
2656
2671
|
type: "string";
|
|
2657
2672
|
minLength: number;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1180,6 +1180,7 @@ export declare const state: {
|
|
|
1180
1180
|
name: {
|
|
1181
1181
|
type: "string";
|
|
1182
1182
|
maxLength: number;
|
|
1183
|
+
nullable: true;
|
|
1183
1184
|
description: string;
|
|
1184
1185
|
};
|
|
1185
1186
|
pictureUrl: {
|
|
@@ -2512,6 +2513,33 @@ export declare const state: {
|
|
|
2512
2513
|
};
|
|
2513
2514
|
parameters: {};
|
|
2514
2515
|
};
|
|
2516
|
+
deleteAccount: {
|
|
2517
|
+
name: string;
|
|
2518
|
+
description: string;
|
|
2519
|
+
method: "post";
|
|
2520
|
+
path: string;
|
|
2521
|
+
section: "account";
|
|
2522
|
+
disableDefaultParameters: {
|
|
2523
|
+
"x-workspace-id": boolean;
|
|
2524
|
+
};
|
|
2525
|
+
requestBody: {
|
|
2526
|
+
description: string;
|
|
2527
|
+
schema: {
|
|
2528
|
+
type: "object";
|
|
2529
|
+
title: string;
|
|
2530
|
+
additionalProperties: false;
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2533
|
+
response: {
|
|
2534
|
+
description: string;
|
|
2535
|
+
schema: {
|
|
2536
|
+
type: "object";
|
|
2537
|
+
title: string;
|
|
2538
|
+
additionalProperties: false;
|
|
2539
|
+
};
|
|
2540
|
+
};
|
|
2541
|
+
parameters: {};
|
|
2542
|
+
};
|
|
2515
2543
|
listPersonalAccessTokens: {
|
|
2516
2544
|
name: string;
|
|
2517
2545
|
description: string;
|
|
@@ -6297,6 +6325,20 @@ export declare const state: {
|
|
|
6297
6325
|
type: "object";
|
|
6298
6326
|
additionalProperties: true;
|
|
6299
6327
|
};
|
|
6328
|
+
interfaces: {
|
|
6329
|
+
type: "object";
|
|
6330
|
+
additionalProperties: {
|
|
6331
|
+
type: "object";
|
|
6332
|
+
properties: {
|
|
6333
|
+
integrationId: {
|
|
6334
|
+
type: "string";
|
|
6335
|
+
};
|
|
6336
|
+
};
|
|
6337
|
+
required: string[];
|
|
6338
|
+
additionalProperties: false;
|
|
6339
|
+
};
|
|
6340
|
+
description: string;
|
|
6341
|
+
};
|
|
6300
6342
|
};
|
|
6301
6343
|
required: string[];
|
|
6302
6344
|
nullable: true;
|
|
@@ -6304,6 +6346,10 @@ export declare const state: {
|
|
|
6304
6346
|
};
|
|
6305
6347
|
description: string;
|
|
6306
6348
|
};
|
|
6349
|
+
shouldMergePlugins: {
|
|
6350
|
+
type: "boolean";
|
|
6351
|
+
description: string;
|
|
6352
|
+
};
|
|
6307
6353
|
subscriptions: {
|
|
6308
6354
|
type: "object";
|
|
6309
6355
|
properties: {
|
|
@@ -16493,6 +16539,7 @@ export declare const state: {
|
|
|
16493
16539
|
trackAnalyticsBody: true;
|
|
16494
16540
|
runVrlBody: true;
|
|
16495
16541
|
updateAccountBody: true;
|
|
16542
|
+
deleteAccountBody: true;
|
|
16496
16543
|
createPersonalAccessTokenBody: true;
|
|
16497
16544
|
setAccountPreferenceBody: true;
|
|
16498
16545
|
createBotBody: true;
|
|
@@ -16587,6 +16634,7 @@ export declare const state: {
|
|
|
16587
16634
|
runVrlResponse: true;
|
|
16588
16635
|
getAccountResponse: true;
|
|
16589
16636
|
updateAccountResponse: true;
|
|
16637
|
+
deleteAccountResponse: true;
|
|
16590
16638
|
listPersonalAccessTokensResponse: true;
|
|
16591
16639
|
createPersonalAccessTokenResponse: true;
|
|
16592
16640
|
deletePersonalAccessTokenResponse: true;
|
|
@@ -16893,6 +16941,20 @@ export declare const state: {
|
|
|
16893
16941
|
type: "object";
|
|
16894
16942
|
additionalProperties: true;
|
|
16895
16943
|
};
|
|
16944
|
+
interfaces: {
|
|
16945
|
+
type: "object";
|
|
16946
|
+
additionalProperties: {
|
|
16947
|
+
type: "object";
|
|
16948
|
+
properties: {
|
|
16949
|
+
integrationId: {
|
|
16950
|
+
type: "string";
|
|
16951
|
+
};
|
|
16952
|
+
};
|
|
16953
|
+
required: string[];
|
|
16954
|
+
additionalProperties: false;
|
|
16955
|
+
};
|
|
16956
|
+
description: string;
|
|
16957
|
+
};
|
|
16896
16958
|
id: {
|
|
16897
16959
|
type: "string";
|
|
16898
16960
|
minLength: number;
|
|
@@ -1347,6 +1347,20 @@ export declare const state: {
|
|
|
1347
1347
|
type: "object";
|
|
1348
1348
|
additionalProperties: true;
|
|
1349
1349
|
};
|
|
1350
|
+
interfaces: {
|
|
1351
|
+
type: "object";
|
|
1352
|
+
additionalProperties: {
|
|
1353
|
+
type: "object";
|
|
1354
|
+
properties: {
|
|
1355
|
+
integrationId: {
|
|
1356
|
+
type: "string";
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
required: string[];
|
|
1360
|
+
additionalProperties: false;
|
|
1361
|
+
};
|
|
1362
|
+
description: string;
|
|
1363
|
+
};
|
|
1350
1364
|
id: {
|
|
1351
1365
|
type: "string";
|
|
1352
1366
|
minLength: number;
|
package/package.json
CHANGED
|
@@ -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","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","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."}]}
|