@botpress/api 0.38.0 → 0.38.2
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 +68 -2
- package/dist/src/gen/state.d.ts +63 -0
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +68 -2
package/dist/index.js
CHANGED
|
@@ -291201,6 +291201,38 @@ var state = {
|
|
|
291201
291201
|
}
|
|
291202
291202
|
}
|
|
291203
291203
|
},
|
|
291204
|
+
"requestIntegrationVerification": {
|
|
291205
|
+
"name": "requestIntegrationVerification",
|
|
291206
|
+
"description": "Request Integration Verification",
|
|
291207
|
+
"method": "post",
|
|
291208
|
+
"section": "integration",
|
|
291209
|
+
"path": "/v1/admin/integrations/request-verification",
|
|
291210
|
+
"requestBody": {
|
|
291211
|
+
"description": "Integration",
|
|
291212
|
+
"schema": {
|
|
291213
|
+
"type": "object",
|
|
291214
|
+
"properties": {
|
|
291215
|
+
"integrationId": {
|
|
291216
|
+
"type": "string"
|
|
291217
|
+
}
|
|
291218
|
+
},
|
|
291219
|
+
"required": [
|
|
291220
|
+
"integrationId"
|
|
291221
|
+
],
|
|
291222
|
+
"title": "requestIntegrationVerificationBody",
|
|
291223
|
+
"additionalProperties": false
|
|
291224
|
+
}
|
|
291225
|
+
},
|
|
291226
|
+
"response": {
|
|
291227
|
+
"description": "Success",
|
|
291228
|
+
"schema": {
|
|
291229
|
+
"type": "object",
|
|
291230
|
+
"title": "requestIntegrationVerificationResponse",
|
|
291231
|
+
"additionalProperties": false
|
|
291232
|
+
}
|
|
291233
|
+
},
|
|
291234
|
+
"parameters": {}
|
|
291235
|
+
},
|
|
291204
291236
|
"createInterface": {
|
|
291205
291237
|
"name": "createInterface",
|
|
291206
291238
|
"description": "Create Interface",
|
|
@@ -292014,6 +292046,11 @@ var state = {
|
|
|
292014
292046
|
"contentType": {
|
|
292015
292047
|
"type": "string",
|
|
292016
292048
|
"description": 'File content type. If omitted, the content type will be inferred from the file extension (if any) specified in `key`. If a content type cannot be inferred, the default is "application/octet-stream".'
|
|
292049
|
+
},
|
|
292050
|
+
"expiresAt": {
|
|
292051
|
+
"type": "string",
|
|
292052
|
+
"format": "date-time",
|
|
292053
|
+
"description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored."
|
|
292017
292054
|
}
|
|
292018
292055
|
},
|
|
292019
292056
|
"required": [
|
|
@@ -292106,6 +292143,10 @@ var state = {
|
|
|
292106
292143
|
"type": "string",
|
|
292107
292144
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
292108
292145
|
},
|
|
292146
|
+
"expiresAt": {
|
|
292147
|
+
"type": "string",
|
|
292148
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
292149
|
+
},
|
|
292109
292150
|
"uploadUrl": {
|
|
292110
292151
|
"type": "string",
|
|
292111
292152
|
"description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
|
|
@@ -292265,6 +292306,10 @@ var state = {
|
|
|
292265
292306
|
"failedStatusReason": {
|
|
292266
292307
|
"type": "string",
|
|
292267
292308
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
292309
|
+
},
|
|
292310
|
+
"expiresAt": {
|
|
292311
|
+
"type": "string",
|
|
292312
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
292268
292313
|
}
|
|
292269
292314
|
},
|
|
292270
292315
|
"required": [
|
|
@@ -292395,6 +292440,10 @@ var state = {
|
|
|
292395
292440
|
"failedStatusReason": {
|
|
292396
292441
|
"type": "string",
|
|
292397
292442
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
292443
|
+
},
|
|
292444
|
+
"expiresAt": {
|
|
292445
|
+
"type": "string",
|
|
292446
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
292398
292447
|
}
|
|
292399
292448
|
},
|
|
292400
292449
|
"required": [
|
|
@@ -292459,6 +292508,12 @@ var state = {
|
|
|
292459
292508
|
]
|
|
292460
292509
|
},
|
|
292461
292510
|
"description": "New access policies to set for the file. Omit to keep existing policies intact."
|
|
292511
|
+
},
|
|
292512
|
+
"expiresAt": {
|
|
292513
|
+
"type": "string",
|
|
292514
|
+
"format": "date-time",
|
|
292515
|
+
"description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored. Omit to keep the existing expiry intact. Set to `null` to remove the expiry.",
|
|
292516
|
+
"nullable": true
|
|
292462
292517
|
}
|
|
292463
292518
|
},
|
|
292464
292519
|
"title": "updateFileMetadataBody",
|
|
@@ -292544,6 +292599,10 @@ var state = {
|
|
|
292544
292599
|
"failedStatusReason": {
|
|
292545
292600
|
"type": "string",
|
|
292546
292601
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
292602
|
+
},
|
|
292603
|
+
"expiresAt": {
|
|
292604
|
+
"type": "string",
|
|
292605
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
292547
292606
|
}
|
|
292548
292607
|
},
|
|
292549
292608
|
"required": [
|
|
@@ -293721,7 +293780,7 @@ var state = {
|
|
|
293721
293780
|
"title": "Botpress API",
|
|
293722
293781
|
"description": "API for Botpress Cloud",
|
|
293723
293782
|
"server": "https://api.botpress.cloud",
|
|
293724
|
-
"version": "0.38.
|
|
293783
|
+
"version": "0.38.2",
|
|
293725
293784
|
"prefix": "v1"
|
|
293726
293785
|
},
|
|
293727
293786
|
"errors": [
|
|
@@ -293887,6 +293946,7 @@ var state = {
|
|
|
293887
293946
|
"createIntegrationApiKeyBody": true,
|
|
293888
293947
|
"createIntegrationBody": true,
|
|
293889
293948
|
"updateIntegrationBody": true,
|
|
293949
|
+
"requestIntegrationVerificationBody": true,
|
|
293890
293950
|
"createInterfaceBody": true,
|
|
293891
293951
|
"updateInterfaceBody": true,
|
|
293892
293952
|
"changeAISpendQuotaBody": true,
|
|
@@ -294003,6 +294063,7 @@ var state = {
|
|
|
294003
294063
|
"getIntegrationLogsResponse": true,
|
|
294004
294064
|
"getIntegrationByNameResponse": true,
|
|
294005
294065
|
"deleteIntegrationResponse": true,
|
|
294066
|
+
"requestIntegrationVerificationResponse": true,
|
|
294006
294067
|
"createInterfaceResponse": true,
|
|
294007
294068
|
"getInterfaceResponse": true,
|
|
294008
294069
|
"getInterfaceByNameResponse": true,
|
|
@@ -296523,6 +296584,10 @@ var state = {
|
|
|
296523
296584
|
"failedStatusReason": {
|
|
296524
296585
|
"type": "string",
|
|
296525
296586
|
"description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
|
|
296587
|
+
},
|
|
296588
|
+
"expiresAt": {
|
|
296589
|
+
"type": "string",
|
|
296590
|
+
"description": "File expiry timestamp in ISO 8601 format"
|
|
296526
296591
|
}
|
|
296527
296592
|
},
|
|
296528
296593
|
"required": [
|
|
@@ -296683,7 +296748,8 @@ var state = {
|
|
|
296683
296748
|
"getIntegration",
|
|
296684
296749
|
"getIntegrationLogs",
|
|
296685
296750
|
"getIntegrationByName",
|
|
296686
|
-
"deleteIntegration"
|
|
296751
|
+
"deleteIntegration",
|
|
296752
|
+
"requestIntegrationVerification"
|
|
296687
296753
|
],
|
|
296688
296754
|
"schema": "Integration"
|
|
296689
296755
|
},
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -7566,6 +7566,36 @@ export declare const state: {
|
|
|
7566
7566
|
};
|
|
7567
7567
|
};
|
|
7568
7568
|
};
|
|
7569
|
+
requestIntegrationVerification: {
|
|
7570
|
+
name: string;
|
|
7571
|
+
description: string;
|
|
7572
|
+
method: "post";
|
|
7573
|
+
section: "integration";
|
|
7574
|
+
path: string;
|
|
7575
|
+
requestBody: {
|
|
7576
|
+
description: string;
|
|
7577
|
+
schema: {
|
|
7578
|
+
type: "object";
|
|
7579
|
+
properties: {
|
|
7580
|
+
integrationId: {
|
|
7581
|
+
type: "string";
|
|
7582
|
+
};
|
|
7583
|
+
};
|
|
7584
|
+
required: string[];
|
|
7585
|
+
title: string;
|
|
7586
|
+
additionalProperties: false;
|
|
7587
|
+
};
|
|
7588
|
+
};
|
|
7589
|
+
response: {
|
|
7590
|
+
description: string;
|
|
7591
|
+
schema: {
|
|
7592
|
+
type: "object";
|
|
7593
|
+
title: string;
|
|
7594
|
+
additionalProperties: false;
|
|
7595
|
+
};
|
|
7596
|
+
};
|
|
7597
|
+
parameters: {};
|
|
7598
|
+
};
|
|
7569
7599
|
createInterface: {
|
|
7570
7600
|
name: string;
|
|
7571
7601
|
description: string;
|
|
@@ -8287,6 +8317,11 @@ export declare const state: {
|
|
|
8287
8317
|
type: "string";
|
|
8288
8318
|
description: string;
|
|
8289
8319
|
};
|
|
8320
|
+
expiresAt: {
|
|
8321
|
+
type: "string";
|
|
8322
|
+
format: string;
|
|
8323
|
+
description: string;
|
|
8324
|
+
};
|
|
8290
8325
|
};
|
|
8291
8326
|
required: string[];
|
|
8292
8327
|
title: string;
|
|
@@ -8365,6 +8400,10 @@ export declare const state: {
|
|
|
8365
8400
|
type: "string";
|
|
8366
8401
|
description: string;
|
|
8367
8402
|
};
|
|
8403
|
+
expiresAt: {
|
|
8404
|
+
type: "string";
|
|
8405
|
+
description: string;
|
|
8406
|
+
};
|
|
8368
8407
|
uploadUrl: {
|
|
8369
8408
|
type: "string";
|
|
8370
8409
|
description: string;
|
|
@@ -8499,6 +8538,10 @@ export declare const state: {
|
|
|
8499
8538
|
type: "string";
|
|
8500
8539
|
description: string;
|
|
8501
8540
|
};
|
|
8541
|
+
expiresAt: {
|
|
8542
|
+
type: "string";
|
|
8543
|
+
description: string;
|
|
8544
|
+
};
|
|
8502
8545
|
};
|
|
8503
8546
|
required: string[];
|
|
8504
8547
|
};
|
|
@@ -8603,6 +8646,10 @@ export declare const state: {
|
|
|
8603
8646
|
type: "string";
|
|
8604
8647
|
description: string;
|
|
8605
8648
|
};
|
|
8649
|
+
expiresAt: {
|
|
8650
|
+
type: "string";
|
|
8651
|
+
description: string;
|
|
8652
|
+
};
|
|
8606
8653
|
};
|
|
8607
8654
|
required: string[];
|
|
8608
8655
|
additionalProperties: false;
|
|
@@ -8649,6 +8696,12 @@ export declare const state: {
|
|
|
8649
8696
|
};
|
|
8650
8697
|
description: string;
|
|
8651
8698
|
};
|
|
8699
|
+
expiresAt: {
|
|
8700
|
+
type: "string";
|
|
8701
|
+
format: string;
|
|
8702
|
+
description: string;
|
|
8703
|
+
nullable: true;
|
|
8704
|
+
};
|
|
8652
8705
|
};
|
|
8653
8706
|
title: string;
|
|
8654
8707
|
additionalProperties: false;
|
|
@@ -8724,6 +8777,10 @@ export declare const state: {
|
|
|
8724
8777
|
type: "string";
|
|
8725
8778
|
description: string;
|
|
8726
8779
|
};
|
|
8780
|
+
expiresAt: {
|
|
8781
|
+
type: "string";
|
|
8782
|
+
description: string;
|
|
8783
|
+
};
|
|
8727
8784
|
};
|
|
8728
8785
|
required: string[];
|
|
8729
8786
|
additionalProperties: false;
|
|
@@ -9876,6 +9933,7 @@ export declare const state: {
|
|
|
9876
9933
|
createIntegrationApiKeyBody: true;
|
|
9877
9934
|
createIntegrationBody: true;
|
|
9878
9935
|
updateIntegrationBody: true;
|
|
9936
|
+
requestIntegrationVerificationBody: true;
|
|
9879
9937
|
createInterfaceBody: true;
|
|
9880
9938
|
updateInterfaceBody: true;
|
|
9881
9939
|
changeAISpendQuotaBody: true;
|
|
@@ -9992,6 +10050,7 @@ export declare const state: {
|
|
|
9992
10050
|
getIntegrationLogsResponse: true;
|
|
9993
10051
|
getIntegrationByNameResponse: true;
|
|
9994
10052
|
deleteIntegrationResponse: true;
|
|
10053
|
+
requestIntegrationVerificationResponse: true;
|
|
9995
10054
|
createInterfaceResponse: true;
|
|
9996
10055
|
getInterfaceResponse: true;
|
|
9997
10056
|
getInterfaceByNameResponse: true;
|
|
@@ -12090,6 +12149,10 @@ export declare const state: {
|
|
|
12090
12149
|
type: "string";
|
|
12091
12150
|
description: string;
|
|
12092
12151
|
};
|
|
12152
|
+
expiresAt: {
|
|
12153
|
+
type: "string";
|
|
12154
|
+
description: string;
|
|
12155
|
+
};
|
|
12093
12156
|
};
|
|
12094
12157
|
required: string[];
|
|
12095
12158
|
additionalProperties: false;
|
package/package.json
CHANGED
package/src/gen/metadata.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sections":[{"description":"","title":"User","name":"user","operations":["createUser","getUser","listUsers","getOrCreateUser","updateUser","deleteUser"],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":["createConversation","getConversation","listConversations","getOrCreateConversation","updateConversation","deleteConversation","listParticipants","addParticipant","getParticipant","removeParticipant"],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":["createEvent","getEvent","listEvents"],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":["createMessage","getOrCreateMessage","getMessage","updateMessage","listMessages","deleteMessage"],"schema":"Message"},{"description":"","title":"State","name":"state","operations":["getState","setState","getOrSetState","patchState"],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration"]},{"description":"","title":"Action","name":"action","operations":["callAction"]},{"description":"","title":"Task","name":"task","operations":["getTask","createTask","updateTask","deleteTask","listTasks"],"schema":"Task"},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","createBotVersion","deployBotVersion"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Workspace","description":"","name":"workspace","operations":["setWorkspacePaymentMethod","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"],"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","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","searchFiles","listFilePassages"],"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":["getState","setState","getOrSetState","patchState"],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration"]},{"description":"","title":"Action","name":"action","operations":["callAction"]},{"description":"","title":"Task","name":"task","operations":["getTask","createTask","updateTask","deleteTask","listTasks"],"schema":"Task"},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","createBotVersion","deployBotVersion"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Workspace","description":"","name":"workspace","operations":["setWorkspacePaymentMethod","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"],"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","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","searchFiles","listFilePassages"],"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."}]}
|