@botpress/api 0.29.6 → 0.30.1
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 +167 -7
- package/dist/src/gen/state.d.ts +148 -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 +167 -7
package/dist/index.js
CHANGED
|
@@ -270575,7 +270575,7 @@ var state = {
|
|
|
270575
270575
|
},
|
|
270576
270576
|
"type": {
|
|
270577
270577
|
"in": "query",
|
|
270578
|
-
"description": "
|
|
270578
|
+
"description": "Usage type",
|
|
270579
270579
|
"type": "string",
|
|
270580
270580
|
"enum": [
|
|
270581
270581
|
"invocation_timeout",
|
|
@@ -270638,7 +270638,7 @@ var state = {
|
|
|
270638
270638
|
},
|
|
270639
270639
|
"type": {
|
|
270640
270640
|
"in": "query",
|
|
270641
|
-
"description": "
|
|
270641
|
+
"description": "Usage type",
|
|
270642
270642
|
"type": "string",
|
|
270643
270643
|
"enum": [
|
|
270644
270644
|
"invocation_timeout",
|
|
@@ -270762,7 +270762,7 @@ var state = {
|
|
|
270762
270762
|
},
|
|
270763
270763
|
"type": {
|
|
270764
270764
|
"in": "query",
|
|
270765
|
-
"description": "
|
|
270765
|
+
"description": "Usage type",
|
|
270766
270766
|
"type": "string",
|
|
270767
270767
|
"enum": [
|
|
270768
270768
|
"invocation_timeout",
|
|
@@ -271259,6 +271259,113 @@ var state = {
|
|
|
271259
271259
|
}
|
|
271260
271260
|
}
|
|
271261
271261
|
},
|
|
271262
|
+
"listPublicWorkspaces": {
|
|
271263
|
+
"name": "listPublicWorkspaces",
|
|
271264
|
+
"description": "List public workspaces",
|
|
271265
|
+
"section": "workspace",
|
|
271266
|
+
"method": "get",
|
|
271267
|
+
"path": "/v1/admin/workspaces/public",
|
|
271268
|
+
"disableDefaultParameters": {
|
|
271269
|
+
"x-workspace-id": true
|
|
271270
|
+
},
|
|
271271
|
+
"parameters": {
|
|
271272
|
+
"nextToken": {
|
|
271273
|
+
"in": "query",
|
|
271274
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
271275
|
+
"type": "string"
|
|
271276
|
+
},
|
|
271277
|
+
"workspaceIds": {
|
|
271278
|
+
"in": "query",
|
|
271279
|
+
"description": "Ids of the workspaces to list",
|
|
271280
|
+
"type": "string[]",
|
|
271281
|
+
"required": false
|
|
271282
|
+
},
|
|
271283
|
+
"search": {
|
|
271284
|
+
"in": "query",
|
|
271285
|
+
"description": "Search query",
|
|
271286
|
+
"type": "string",
|
|
271287
|
+
"required": false
|
|
271288
|
+
}
|
|
271289
|
+
},
|
|
271290
|
+
"response": {
|
|
271291
|
+
"description": "Success",
|
|
271292
|
+
"schema": {
|
|
271293
|
+
"type": "object",
|
|
271294
|
+
"properties": {
|
|
271295
|
+
"workspaces": {
|
|
271296
|
+
"type": "array",
|
|
271297
|
+
"items": {
|
|
271298
|
+
"type": "object",
|
|
271299
|
+
"properties": {
|
|
271300
|
+
"id": {
|
|
271301
|
+
"type": "string"
|
|
271302
|
+
},
|
|
271303
|
+
"name": {
|
|
271304
|
+
"type": "string"
|
|
271305
|
+
},
|
|
271306
|
+
"createdAt": {
|
|
271307
|
+
"type": "string"
|
|
271308
|
+
},
|
|
271309
|
+
"updatedAt": {
|
|
271310
|
+
"type": "string"
|
|
271311
|
+
},
|
|
271312
|
+
"about": {
|
|
271313
|
+
"default": "",
|
|
271314
|
+
"type": "string"
|
|
271315
|
+
},
|
|
271316
|
+
"profilePicture": {
|
|
271317
|
+
"default": "",
|
|
271318
|
+
"type": "string"
|
|
271319
|
+
},
|
|
271320
|
+
"contactEmail": {
|
|
271321
|
+
"default": "",
|
|
271322
|
+
"type": "string"
|
|
271323
|
+
},
|
|
271324
|
+
"website": {
|
|
271325
|
+
"default": "",
|
|
271326
|
+
"type": "string"
|
|
271327
|
+
},
|
|
271328
|
+
"socialAccounts": {
|
|
271329
|
+
"default": [],
|
|
271330
|
+
"type": "array",
|
|
271331
|
+
"items": {
|
|
271332
|
+
"type": "string"
|
|
271333
|
+
}
|
|
271334
|
+
},
|
|
271335
|
+
"handle": {
|
|
271336
|
+
"default": "",
|
|
271337
|
+
"type": "string"
|
|
271338
|
+
}
|
|
271339
|
+
},
|
|
271340
|
+
"required": [
|
|
271341
|
+
"id",
|
|
271342
|
+
"name",
|
|
271343
|
+
"createdAt",
|
|
271344
|
+
"updatedAt"
|
|
271345
|
+
],
|
|
271346
|
+
"title": "getPublicWorkspaceResponse"
|
|
271347
|
+
}
|
|
271348
|
+
},
|
|
271349
|
+
"meta": {
|
|
271350
|
+
"type": "object",
|
|
271351
|
+
"properties": {
|
|
271352
|
+
"nextToken": {
|
|
271353
|
+
"type": "string",
|
|
271354
|
+
"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."
|
|
271355
|
+
}
|
|
271356
|
+
},
|
|
271357
|
+
"additionalProperties": false
|
|
271358
|
+
}
|
|
271359
|
+
},
|
|
271360
|
+
"required": [
|
|
271361
|
+
"workspaces",
|
|
271362
|
+
"meta"
|
|
271363
|
+
],
|
|
271364
|
+
"title": "listPublicWorkspacesResponse",
|
|
271365
|
+
"additionalProperties": false
|
|
271366
|
+
}
|
|
271367
|
+
}
|
|
271368
|
+
},
|
|
271262
271369
|
"deleteWorkspace": {
|
|
271263
271370
|
"name": "deleteWorkspace",
|
|
271264
271371
|
"description": "Delete workspace",
|
|
@@ -273086,7 +273193,7 @@ var state = {
|
|
|
273086
273193
|
"parameters": {
|
|
273087
273194
|
"type": {
|
|
273088
273195
|
"in": "query",
|
|
273089
|
-
"description": "
|
|
273196
|
+
"description": "Usage type",
|
|
273090
273197
|
"type": "string",
|
|
273091
273198
|
"enum": [
|
|
273092
273199
|
"invocation_timeout",
|
|
@@ -273134,6 +273241,55 @@ var state = {
|
|
|
273134
273241
|
}
|
|
273135
273242
|
}
|
|
273136
273243
|
},
|
|
273244
|
+
"getMultipleUsages": {
|
|
273245
|
+
"name": "getMultipleUsages",
|
|
273246
|
+
"path": "/v1/admin/usages/multiple",
|
|
273247
|
+
"description": "Get multiple usages",
|
|
273248
|
+
"method": "get",
|
|
273249
|
+
"section": "usage",
|
|
273250
|
+
"disableDefaultParameters": {
|
|
273251
|
+
"x-workspace-id": true
|
|
273252
|
+
},
|
|
273253
|
+
"parameters": {
|
|
273254
|
+
"types": {
|
|
273255
|
+
"in": "query",
|
|
273256
|
+
"description": "Usage types to retrieve. All types have to belong to the same type of entity (e.g. workspace or bot).",
|
|
273257
|
+
"type": "string[]",
|
|
273258
|
+
"required": true
|
|
273259
|
+
},
|
|
273260
|
+
"ids": {
|
|
273261
|
+
"in": "query",
|
|
273262
|
+
"type": "string[]",
|
|
273263
|
+
"description": "IDs of either workspaces or bots to retrieve usages for.",
|
|
273264
|
+
"required": true
|
|
273265
|
+
},
|
|
273266
|
+
"period": {
|
|
273267
|
+
"in": "query",
|
|
273268
|
+
"description": "Period to get",
|
|
273269
|
+
"type": "string",
|
|
273270
|
+
"required": false
|
|
273271
|
+
}
|
|
273272
|
+
},
|
|
273273
|
+
"response": {
|
|
273274
|
+
"description": "Success",
|
|
273275
|
+
"schema": {
|
|
273276
|
+
"type": "object",
|
|
273277
|
+
"properties": {
|
|
273278
|
+
"usages": {
|
|
273279
|
+
"type": "array",
|
|
273280
|
+
"items": {
|
|
273281
|
+
"$ref": "#/components/schemas/Usage"
|
|
273282
|
+
}
|
|
273283
|
+
}
|
|
273284
|
+
},
|
|
273285
|
+
"required": [
|
|
273286
|
+
"usages"
|
|
273287
|
+
],
|
|
273288
|
+
"title": "getMultipleUsagesResponse",
|
|
273289
|
+
"additionalProperties": false
|
|
273290
|
+
}
|
|
273291
|
+
}
|
|
273292
|
+
},
|
|
273137
273293
|
"listUsageHistory": {
|
|
273138
273294
|
"name": "listUsageHistory",
|
|
273139
273295
|
"path": "/v1/admin/usages/{id}/history",
|
|
@@ -273142,7 +273298,7 @@ var state = {
|
|
|
273142
273298
|
"parameters": {
|
|
273143
273299
|
"type": {
|
|
273144
273300
|
"in": "query",
|
|
273145
|
-
"description": "
|
|
273301
|
+
"description": "Usage type",
|
|
273146
273302
|
"type": "string",
|
|
273147
273303
|
"enum": [
|
|
273148
273304
|
"invocation_timeout",
|
|
@@ -274939,7 +275095,7 @@ var state = {
|
|
|
274939
275095
|
"title": "Botpress API",
|
|
274940
275096
|
"description": "API for Botpress Cloud",
|
|
274941
275097
|
"server": "https://api.botpress.cloud",
|
|
274942
|
-
"version": "0.
|
|
275098
|
+
"version": "0.30.1",
|
|
274943
275099
|
"prefix": "v1"
|
|
274944
275100
|
},
|
|
274945
275101
|
"errors": [
|
|
@@ -275190,6 +275346,7 @@ var state = {
|
|
|
275190
275346
|
"updateWorkspaceResponse": true,
|
|
275191
275347
|
"checkHandleAvailabilityResponse": true,
|
|
275192
275348
|
"listWorkspacesResponse": true,
|
|
275349
|
+
"listPublicWorkspacesResponse": true,
|
|
275193
275350
|
"deleteWorkspaceResponse": true,
|
|
275194
275351
|
"getAuditRecordsResponse": true,
|
|
275195
275352
|
"listWorkspaceMembersResponse": true,
|
|
@@ -275208,6 +275365,7 @@ var state = {
|
|
|
275208
275365
|
"getIntegrationByNameResponse": true,
|
|
275209
275366
|
"deleteIntegrationResponse": true,
|
|
275210
275367
|
"getUsageResponse": true,
|
|
275368
|
+
"getMultipleUsagesResponse": true,
|
|
275211
275369
|
"listUsageHistoryResponse": true,
|
|
275212
275370
|
"changeAISpendQuotaResponse": true,
|
|
275213
275371
|
"listActivitiesResponse": true,
|
|
@@ -277723,6 +277881,7 @@ var state = {
|
|
|
277723
277881
|
"updateWorkspace",
|
|
277724
277882
|
"checkHandleAvailability",
|
|
277725
277883
|
"listWorkspaces",
|
|
277884
|
+
"listPublicWorkspaces",
|
|
277726
277885
|
"deleteWorkspace",
|
|
277727
277886
|
"getAuditRecords"
|
|
277728
277887
|
],
|
|
@@ -277761,7 +277920,8 @@ var state = {
|
|
|
277761
277920
|
"description": "",
|
|
277762
277921
|
"name": "usage",
|
|
277763
277922
|
"operations": [
|
|
277764
|
-
"getUsage"
|
|
277923
|
+
"getUsage",
|
|
277924
|
+
"getMultipleUsages"
|
|
277765
277925
|
],
|
|
277766
277926
|
"schema": "Usage"
|
|
277767
277927
|
},
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -5586,6 +5586,105 @@ export declare const state: {
|
|
|
5586
5586
|
};
|
|
5587
5587
|
};
|
|
5588
5588
|
};
|
|
5589
|
+
listPublicWorkspaces: {
|
|
5590
|
+
name: string;
|
|
5591
|
+
description: string;
|
|
5592
|
+
section: "workspace";
|
|
5593
|
+
method: "get";
|
|
5594
|
+
path: string;
|
|
5595
|
+
disableDefaultParameters: {
|
|
5596
|
+
"x-workspace-id": boolean;
|
|
5597
|
+
};
|
|
5598
|
+
parameters: {
|
|
5599
|
+
nextToken: {
|
|
5600
|
+
in: "query";
|
|
5601
|
+
description: string;
|
|
5602
|
+
type: "string";
|
|
5603
|
+
};
|
|
5604
|
+
workspaceIds: {
|
|
5605
|
+
in: "query";
|
|
5606
|
+
description: string;
|
|
5607
|
+
type: "string[]";
|
|
5608
|
+
required: false;
|
|
5609
|
+
};
|
|
5610
|
+
search: {
|
|
5611
|
+
in: "query";
|
|
5612
|
+
description: string;
|
|
5613
|
+
type: "string";
|
|
5614
|
+
required: false;
|
|
5615
|
+
};
|
|
5616
|
+
};
|
|
5617
|
+
response: {
|
|
5618
|
+
description: string;
|
|
5619
|
+
schema: {
|
|
5620
|
+
type: "object";
|
|
5621
|
+
properties: {
|
|
5622
|
+
workspaces: {
|
|
5623
|
+
type: "array";
|
|
5624
|
+
items: {
|
|
5625
|
+
type: "object";
|
|
5626
|
+
properties: {
|
|
5627
|
+
id: {
|
|
5628
|
+
type: "string";
|
|
5629
|
+
};
|
|
5630
|
+
name: {
|
|
5631
|
+
type: "string";
|
|
5632
|
+
};
|
|
5633
|
+
createdAt: {
|
|
5634
|
+
type: "string";
|
|
5635
|
+
};
|
|
5636
|
+
updatedAt: {
|
|
5637
|
+
type: "string";
|
|
5638
|
+
};
|
|
5639
|
+
about: {
|
|
5640
|
+
default: string;
|
|
5641
|
+
type: "string";
|
|
5642
|
+
};
|
|
5643
|
+
profilePicture: {
|
|
5644
|
+
default: string;
|
|
5645
|
+
type: "string";
|
|
5646
|
+
};
|
|
5647
|
+
contactEmail: {
|
|
5648
|
+
default: string;
|
|
5649
|
+
type: "string";
|
|
5650
|
+
};
|
|
5651
|
+
website: {
|
|
5652
|
+
default: string;
|
|
5653
|
+
type: "string";
|
|
5654
|
+
};
|
|
5655
|
+
socialAccounts: {
|
|
5656
|
+
default: never[];
|
|
5657
|
+
type: "array";
|
|
5658
|
+
items: {
|
|
5659
|
+
type: "string";
|
|
5660
|
+
};
|
|
5661
|
+
};
|
|
5662
|
+
handle: {
|
|
5663
|
+
default: string;
|
|
5664
|
+
type: "string";
|
|
5665
|
+
};
|
|
5666
|
+
};
|
|
5667
|
+
required: string[];
|
|
5668
|
+
title: string;
|
|
5669
|
+
};
|
|
5670
|
+
};
|
|
5671
|
+
meta: {
|
|
5672
|
+
type: "object";
|
|
5673
|
+
properties: {
|
|
5674
|
+
nextToken: {
|
|
5675
|
+
type: "string";
|
|
5676
|
+
description: string;
|
|
5677
|
+
};
|
|
5678
|
+
};
|
|
5679
|
+
additionalProperties: false;
|
|
5680
|
+
};
|
|
5681
|
+
};
|
|
5682
|
+
required: string[];
|
|
5683
|
+
title: string;
|
|
5684
|
+
additionalProperties: false;
|
|
5685
|
+
};
|
|
5686
|
+
};
|
|
5687
|
+
};
|
|
5589
5688
|
deleteWorkspace: {
|
|
5590
5689
|
name: string;
|
|
5591
5690
|
description: string;
|
|
@@ -7230,6 +7329,53 @@ export declare const state: {
|
|
|
7230
7329
|
};
|
|
7231
7330
|
};
|
|
7232
7331
|
};
|
|
7332
|
+
getMultipleUsages: {
|
|
7333
|
+
name: string;
|
|
7334
|
+
path: string;
|
|
7335
|
+
description: string;
|
|
7336
|
+
method: "get";
|
|
7337
|
+
section: "usage";
|
|
7338
|
+
disableDefaultParameters: {
|
|
7339
|
+
"x-workspace-id": boolean;
|
|
7340
|
+
};
|
|
7341
|
+
parameters: {
|
|
7342
|
+
types: {
|
|
7343
|
+
in: "query";
|
|
7344
|
+
description: string;
|
|
7345
|
+
type: "string[]";
|
|
7346
|
+
required: true;
|
|
7347
|
+
};
|
|
7348
|
+
ids: {
|
|
7349
|
+
in: "query";
|
|
7350
|
+
type: "string[]";
|
|
7351
|
+
description: string;
|
|
7352
|
+
required: true;
|
|
7353
|
+
};
|
|
7354
|
+
period: {
|
|
7355
|
+
in: "query";
|
|
7356
|
+
description: string;
|
|
7357
|
+
type: "string";
|
|
7358
|
+
required: false;
|
|
7359
|
+
};
|
|
7360
|
+
};
|
|
7361
|
+
response: {
|
|
7362
|
+
description: string;
|
|
7363
|
+
schema: {
|
|
7364
|
+
type: "object";
|
|
7365
|
+
properties: {
|
|
7366
|
+
usages: {
|
|
7367
|
+
type: "array";
|
|
7368
|
+
items: {
|
|
7369
|
+
$ref: string;
|
|
7370
|
+
};
|
|
7371
|
+
};
|
|
7372
|
+
};
|
|
7373
|
+
required: string[];
|
|
7374
|
+
title: string;
|
|
7375
|
+
additionalProperties: false;
|
|
7376
|
+
};
|
|
7377
|
+
};
|
|
7378
|
+
};
|
|
7233
7379
|
listUsageHistory: {
|
|
7234
7380
|
name: string;
|
|
7235
7381
|
path: string;
|
|
@@ -9009,6 +9155,7 @@ export declare const state: {
|
|
|
9009
9155
|
updateWorkspaceResponse: true;
|
|
9010
9156
|
checkHandleAvailabilityResponse: true;
|
|
9011
9157
|
listWorkspacesResponse: true;
|
|
9158
|
+
listPublicWorkspacesResponse: true;
|
|
9012
9159
|
deleteWorkspaceResponse: true;
|
|
9013
9160
|
getAuditRecordsResponse: true;
|
|
9014
9161
|
listWorkspaceMembersResponse: true;
|
|
@@ -9027,6 +9174,7 @@ export declare const state: {
|
|
|
9027
9174
|
getIntegrationByNameResponse: true;
|
|
9028
9175
|
deleteIntegrationResponse: true;
|
|
9029
9176
|
getUsageResponse: true;
|
|
9177
|
+
getMultipleUsagesResponse: true;
|
|
9030
9178
|
listUsageHistoryResponse: true;
|
|
9031
9179
|
changeAISpendQuotaResponse: true;
|
|
9032
9180
|
listActivitiesResponse: true;
|
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":"File","name":"file","operations":[]},{"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"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration"],"schema":"Integration"},{"title":"Workspace","description":"","name":"workspace","operations":["setWorkspacePaymentMethod","listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","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"],"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 Office, HTML, CSV, 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":["createFile","deleteFile","listFiles","getFile","updateFile","searchFiles"],"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":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":"File","name":"file","operations":[]},{"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"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration"],"schema":"Integration"},{"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 Office, HTML, CSV, 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":["createFile","deleteFile","listFiles","getFile","updateFile","searchFiles"],"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":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."}]}
|