@botpress/api 0.60.0 → 0.62.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 +92 -4
- package/dist/src/gen/state.d.ts +72 -2
- package/dist/src/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +93 -5
package/dist/index.js
CHANGED
|
@@ -283204,11 +283204,22 @@ var state = {
|
|
|
283204
283204
|
"type": "string",
|
|
283205
283205
|
"maxLength": 200,
|
|
283206
283206
|
"description": "Unique identifier of the integration that was installed on the bot"
|
|
283207
|
+
},
|
|
283208
|
+
"scheduleRegisterCall": {
|
|
283209
|
+
"type": "string",
|
|
283210
|
+
"enum": [
|
|
283211
|
+
"hourly",
|
|
283212
|
+
"daily",
|
|
283213
|
+
"weekly",
|
|
283214
|
+
"bi-weekly",
|
|
283215
|
+
"monthly",
|
|
283216
|
+
"bi-monthly",
|
|
283217
|
+
"quarterly",
|
|
283218
|
+
"yearly"
|
|
283219
|
+
],
|
|
283220
|
+
"description": "Recurring schedule on which `register()` will be called on the integration"
|
|
283207
283221
|
}
|
|
283208
283222
|
},
|
|
283209
|
-
"required": [
|
|
283210
|
-
"identifier"
|
|
283211
|
-
],
|
|
283212
283223
|
"title": "configureIntegrationBody",
|
|
283213
283224
|
"additionalProperties": false
|
|
283214
283225
|
}
|
|
@@ -283921,6 +283932,74 @@ var state = {
|
|
|
283921
283932
|
},
|
|
283922
283933
|
"parameters": {}
|
|
283923
283934
|
},
|
|
283935
|
+
"listTagValues": {
|
|
283936
|
+
"name": "listTagValues",
|
|
283937
|
+
"description": "Get a bot tag values",
|
|
283938
|
+
"method": "get",
|
|
283939
|
+
"path": "/v1/chat/tags/{key}/values",
|
|
283940
|
+
"section": "tag",
|
|
283941
|
+
"parameters": {
|
|
283942
|
+
"nextToken": {
|
|
283943
|
+
"in": "query",
|
|
283944
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
283945
|
+
"type": "string"
|
|
283946
|
+
},
|
|
283947
|
+
"key": {
|
|
283948
|
+
"in": "path",
|
|
283949
|
+
"type": "string",
|
|
283950
|
+
"description": "Tag key"
|
|
283951
|
+
},
|
|
283952
|
+
"type": {
|
|
283953
|
+
"in": "query",
|
|
283954
|
+
"type": "string",
|
|
283955
|
+
"description": "Tag type",
|
|
283956
|
+
"required": true,
|
|
283957
|
+
"enum": [
|
|
283958
|
+
"user",
|
|
283959
|
+
"conversation",
|
|
283960
|
+
"message"
|
|
283961
|
+
]
|
|
283962
|
+
}
|
|
283963
|
+
},
|
|
283964
|
+
"response": {
|
|
283965
|
+
"description": "Empty response",
|
|
283966
|
+
"schema": {
|
|
283967
|
+
"type": "object",
|
|
283968
|
+
"properties": {
|
|
283969
|
+
"tags": {
|
|
283970
|
+
"type": "array",
|
|
283971
|
+
"items": {
|
|
283972
|
+
"type": "object",
|
|
283973
|
+
"properties": {
|
|
283974
|
+
"value": {
|
|
283975
|
+
"type": "string"
|
|
283976
|
+
}
|
|
283977
|
+
},
|
|
283978
|
+
"required": [
|
|
283979
|
+
"value"
|
|
283980
|
+
]
|
|
283981
|
+
}
|
|
283982
|
+
},
|
|
283983
|
+
"meta": {
|
|
283984
|
+
"type": "object",
|
|
283985
|
+
"properties": {
|
|
283986
|
+
"nextToken": {
|
|
283987
|
+
"type": "string",
|
|
283988
|
+
"description": "The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint."
|
|
283989
|
+
}
|
|
283990
|
+
},
|
|
283991
|
+
"additionalProperties": false
|
|
283992
|
+
}
|
|
283993
|
+
},
|
|
283994
|
+
"required": [
|
|
283995
|
+
"tags",
|
|
283996
|
+
"meta"
|
|
283997
|
+
],
|
|
283998
|
+
"title": "listTagValuesResponse",
|
|
283999
|
+
"additionalProperties": false
|
|
284000
|
+
}
|
|
284001
|
+
}
|
|
284002
|
+
},
|
|
283924
284003
|
"trackAnalytics": {
|
|
283925
284004
|
"name": "trackAnalytics",
|
|
283926
284005
|
"description": "Add an event to the analytics",
|
|
@@ -295034,7 +295113,7 @@ var state = {
|
|
|
295034
295113
|
"title": "Botpress API",
|
|
295035
295114
|
"description": "API for Botpress Cloud",
|
|
295036
295115
|
"server": "https://api.botpress.cloud",
|
|
295037
|
-
"version": "0.
|
|
295116
|
+
"version": "0.62.0",
|
|
295038
295117
|
"prefix": "v1"
|
|
295039
295118
|
},
|
|
295040
295119
|
"errors": [
|
|
@@ -295268,6 +295347,7 @@ var state = {
|
|
|
295268
295347
|
"deleteWorkflowResponse": true,
|
|
295269
295348
|
"listWorkflowsResponse": true,
|
|
295270
295349
|
"getOrCreateWorkflowResponse": true,
|
|
295350
|
+
"listTagValuesResponse": true,
|
|
295271
295351
|
"trackAnalyticsResponse": true,
|
|
295272
295352
|
"runVrlResponse": true,
|
|
295273
295353
|
"getAccountResponse": true,
|
|
@@ -298662,6 +298742,14 @@ var state = {
|
|
|
298662
298742
|
],
|
|
298663
298743
|
"schema": "Workflow"
|
|
298664
298744
|
},
|
|
298745
|
+
{
|
|
298746
|
+
"description": "",
|
|
298747
|
+
"title": "Tag",
|
|
298748
|
+
"name": "tag",
|
|
298749
|
+
"operations": [
|
|
298750
|
+
"listTagValues"
|
|
298751
|
+
]
|
|
298752
|
+
},
|
|
298665
298753
|
{
|
|
298666
298754
|
"title": "Bot",
|
|
298667
298755
|
"description": "",
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as opapi from '@bpinternal/opapi';
|
|
2
|
-
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
|
|
2
|
+
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
|
|
3
3
|
export declare const state: {
|
|
4
4
|
operations: {
|
|
5
5
|
createConversation: {
|
|
@@ -1568,8 +1568,12 @@ export declare const state: {
|
|
|
1568
1568
|
maxLength: number;
|
|
1569
1569
|
description: string;
|
|
1570
1570
|
};
|
|
1571
|
+
scheduleRegisterCall: {
|
|
1572
|
+
type: "string";
|
|
1573
|
+
enum: string[];
|
|
1574
|
+
description: string;
|
|
1575
|
+
};
|
|
1571
1576
|
};
|
|
1572
|
-
required: string[];
|
|
1573
1577
|
title: string;
|
|
1574
1578
|
additionalProperties: false;
|
|
1575
1579
|
};
|
|
@@ -2213,6 +2217,65 @@ export declare const state: {
|
|
|
2213
2217
|
};
|
|
2214
2218
|
parameters: {};
|
|
2215
2219
|
};
|
|
2220
|
+
listTagValues: {
|
|
2221
|
+
name: string;
|
|
2222
|
+
description: string;
|
|
2223
|
+
method: "get";
|
|
2224
|
+
path: string;
|
|
2225
|
+
section: "tag";
|
|
2226
|
+
parameters: {
|
|
2227
|
+
nextToken: {
|
|
2228
|
+
in: "query";
|
|
2229
|
+
description: string;
|
|
2230
|
+
type: "string";
|
|
2231
|
+
};
|
|
2232
|
+
key: {
|
|
2233
|
+
in: "path";
|
|
2234
|
+
type: "string";
|
|
2235
|
+
description: string;
|
|
2236
|
+
};
|
|
2237
|
+
type: {
|
|
2238
|
+
in: "query";
|
|
2239
|
+
type: "string";
|
|
2240
|
+
description: string;
|
|
2241
|
+
required: true;
|
|
2242
|
+
enum: string[];
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
response: {
|
|
2246
|
+
description: string;
|
|
2247
|
+
schema: {
|
|
2248
|
+
type: "object";
|
|
2249
|
+
properties: {
|
|
2250
|
+
tags: {
|
|
2251
|
+
type: "array";
|
|
2252
|
+
items: {
|
|
2253
|
+
type: "object";
|
|
2254
|
+
properties: {
|
|
2255
|
+
value: {
|
|
2256
|
+
type: "string";
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2259
|
+
required: string[];
|
|
2260
|
+
};
|
|
2261
|
+
};
|
|
2262
|
+
meta: {
|
|
2263
|
+
type: "object";
|
|
2264
|
+
properties: {
|
|
2265
|
+
nextToken: {
|
|
2266
|
+
type: "string";
|
|
2267
|
+
description: string;
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
additionalProperties: false;
|
|
2271
|
+
};
|
|
2272
|
+
};
|
|
2273
|
+
required: string[];
|
|
2274
|
+
title: string;
|
|
2275
|
+
additionalProperties: false;
|
|
2276
|
+
};
|
|
2277
|
+
};
|
|
2278
|
+
};
|
|
2216
2279
|
trackAnalytics: {
|
|
2217
2280
|
name: string;
|
|
2218
2281
|
description: string;
|
|
@@ -12059,6 +12122,7 @@ export declare const state: {
|
|
|
12059
12122
|
deleteWorkflowResponse: true;
|
|
12060
12123
|
listWorkflowsResponse: true;
|
|
12061
12124
|
getOrCreateWorkflowResponse: true;
|
|
12125
|
+
listTagValuesResponse: true;
|
|
12062
12126
|
trackAnalyticsResponse: true;
|
|
12063
12127
|
runVrlResponse: true;
|
|
12064
12128
|
getAccountResponse: true;
|
|
@@ -14844,6 +14908,12 @@ export declare const state: {
|
|
|
14844
14908
|
name: "workflow";
|
|
14845
14909
|
operations: string[];
|
|
14846
14910
|
schema: string;
|
|
14911
|
+
} | {
|
|
14912
|
+
description: string;
|
|
14913
|
+
title: string;
|
|
14914
|
+
name: "tag";
|
|
14915
|
+
operations: string[];
|
|
14916
|
+
schema?: undefined;
|
|
14847
14917
|
} | {
|
|
14848
14918
|
title: string;
|
|
14849
14919
|
description: string;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './gen/state';
|
|
2
2
|
export declare const api: {
|
|
3
3
|
getModelRef: (name: "Bot" | "Integration" | "Interface" | "Plugin" | "Workspace" | "WorkspaceMember" | "Account" | "Usage" | "Issue" | "IssueEvent" | "Activity" | "Version" | "User" | "Conversation" | "Event" | "Message" | "State" | "Task" | "Workflow" | "Table" | "Column" | "Row" | "File") => import("@bpinternal/opapi").OpenApiZodAny;
|
|
4
|
-
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<"x-integration-id" | "x-workspace-id", "user" | "conversation" | "event" | "message" | "state" | "hub" | "action" | "task" | "workflow" | "bot" | "integration" | "interface" | "plugin" | "workspace" | "workspaceMember" | "account" | "usage" | "quotas" | "helper" | "activity" | "tables" | "files", Path, "zod-schema">) => void;
|
|
4
|
+
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<"x-integration-id" | "x-workspace-id", "user" | "conversation" | "event" | "message" | "state" | "hub" | "action" | "task" | "workflow" | "tag" | "bot" | "integration" | "interface" | "plugin" | "workspace" | "workspaceMember" | "account" | "usage" | "quotas" | "helper" | "activity" | "tables" | "files", Path, "zod-schema">) => void;
|
|
5
5
|
exportClient: {
|
|
6
6
|
(dir: string, openapiGeneratorEndpoint: string, postProcessors?: import("@bpinternal/opapi").OpenApiPostProcessors | undefined): Promise<void>;
|
|
7
7
|
(dir: string, props: import("@bpinternal/opapi").GenerateClientProps): Promise<void>;
|
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":["setStateExpiry","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"},{"description":"","title":"Workflow","name":"workflow","operations":["createWorkflow","getWorkflow","updateWorkflow","deleteWorkflow","listWorkflows","getOrCreateWorkflow"],"schema":"Workflow"},{"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":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins"],"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"],"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","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":["setStateExpiry","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"},{"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"],"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":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins"],"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"],"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","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."}]}
|