@botpress/api 0.15.1 → 0.15.4
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/gen/state.d.ts +81 -0
- package/dist/index.js +102 -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 +102 -1
package/dist/gen/state.d.ts
CHANGED
|
@@ -3144,6 +3144,10 @@ export declare const state: {
|
|
|
3144
3144
|
type: "string";
|
|
3145
3145
|
enum: string[];
|
|
3146
3146
|
};
|
|
3147
|
+
billingVersion: {
|
|
3148
|
+
type: "string";
|
|
3149
|
+
enum: string[];
|
|
3150
|
+
};
|
|
3147
3151
|
plan: {
|
|
3148
3152
|
type: "string";
|
|
3149
3153
|
enum: string[];
|
|
@@ -3205,6 +3209,10 @@ export declare const state: {
|
|
|
3205
3209
|
type: "string";
|
|
3206
3210
|
enum: string[];
|
|
3207
3211
|
};
|
|
3212
|
+
billingVersion: {
|
|
3213
|
+
type: "string";
|
|
3214
|
+
enum: string[];
|
|
3215
|
+
};
|
|
3208
3216
|
plan: {
|
|
3209
3217
|
type: "string";
|
|
3210
3218
|
enum: string[];
|
|
@@ -3269,6 +3277,62 @@ export declare const state: {
|
|
|
3269
3277
|
};
|
|
3270
3278
|
};
|
|
3271
3279
|
};
|
|
3280
|
+
breakDownWorkspaceUsageByBot: {
|
|
3281
|
+
name: string;
|
|
3282
|
+
description: string;
|
|
3283
|
+
section: "workspace";
|
|
3284
|
+
method: "get";
|
|
3285
|
+
path: string;
|
|
3286
|
+
disableDefaultParameters: {
|
|
3287
|
+
"x-workspace-id": boolean;
|
|
3288
|
+
};
|
|
3289
|
+
parameters: {
|
|
3290
|
+
id: {
|
|
3291
|
+
type: "string";
|
|
3292
|
+
description: string;
|
|
3293
|
+
in: "path";
|
|
3294
|
+
};
|
|
3295
|
+
type: {
|
|
3296
|
+
in: "query";
|
|
3297
|
+
description: string;
|
|
3298
|
+
type: "string";
|
|
3299
|
+
enum: string[];
|
|
3300
|
+
required: true;
|
|
3301
|
+
};
|
|
3302
|
+
period: {
|
|
3303
|
+
in: "query";
|
|
3304
|
+
description: string;
|
|
3305
|
+
type: "string";
|
|
3306
|
+
required: false;
|
|
3307
|
+
};
|
|
3308
|
+
};
|
|
3309
|
+
response: {
|
|
3310
|
+
description: string;
|
|
3311
|
+
schema: {
|
|
3312
|
+
type: "object";
|
|
3313
|
+
properties: {
|
|
3314
|
+
data: {
|
|
3315
|
+
type: "array";
|
|
3316
|
+
items: {
|
|
3317
|
+
type: "object";
|
|
3318
|
+
properties: {
|
|
3319
|
+
botId: {
|
|
3320
|
+
type: "string";
|
|
3321
|
+
};
|
|
3322
|
+
value: {
|
|
3323
|
+
type: "number";
|
|
3324
|
+
};
|
|
3325
|
+
};
|
|
3326
|
+
required: string[];
|
|
3327
|
+
};
|
|
3328
|
+
};
|
|
3329
|
+
};
|
|
3330
|
+
required: string[];
|
|
3331
|
+
title: string;
|
|
3332
|
+
additionalProperties: false;
|
|
3333
|
+
};
|
|
3334
|
+
};
|
|
3335
|
+
};
|
|
3272
3336
|
getWorkspaceQuota: {
|
|
3273
3337
|
name: string;
|
|
3274
3338
|
description: string;
|
|
@@ -3449,6 +3513,10 @@ export declare const state: {
|
|
|
3449
3513
|
type: "string";
|
|
3450
3514
|
enum: string[];
|
|
3451
3515
|
};
|
|
3516
|
+
billingVersion: {
|
|
3517
|
+
type: "string";
|
|
3518
|
+
enum: string[];
|
|
3519
|
+
};
|
|
3452
3520
|
plan: {
|
|
3453
3521
|
type: "string";
|
|
3454
3522
|
enum: string[];
|
|
@@ -3514,6 +3582,10 @@ export declare const state: {
|
|
|
3514
3582
|
type: "string";
|
|
3515
3583
|
enum: string[];
|
|
3516
3584
|
};
|
|
3585
|
+
billingVersion: {
|
|
3586
|
+
type: "string";
|
|
3587
|
+
enum: string[];
|
|
3588
|
+
};
|
|
3517
3589
|
plan: {
|
|
3518
3590
|
type: "string";
|
|
3519
3591
|
enum: string[];
|
|
@@ -3604,6 +3676,10 @@ export declare const state: {
|
|
|
3604
3676
|
type: "string";
|
|
3605
3677
|
enum: string[];
|
|
3606
3678
|
};
|
|
3679
|
+
billingVersion: {
|
|
3680
|
+
type: "string";
|
|
3681
|
+
enum: string[];
|
|
3682
|
+
};
|
|
3607
3683
|
plan: {
|
|
3608
3684
|
type: "string";
|
|
3609
3685
|
enum: string[];
|
|
@@ -5336,6 +5412,7 @@ export declare const state: {
|
|
|
5336
5412
|
createWorkspaceResponse: true;
|
|
5337
5413
|
getWorkspaceResponse: true;
|
|
5338
5414
|
listWorkspaceUsagesResponse: true;
|
|
5415
|
+
breakDownWorkspaceUsageByBotResponse: true;
|
|
5339
5416
|
getWorkspaceQuotaResponse: true;
|
|
5340
5417
|
listWorkspaceQuotasResponse: true;
|
|
5341
5418
|
updateWorkspaceResponse: true;
|
|
@@ -6097,6 +6174,10 @@ export declare const state: {
|
|
|
6097
6174
|
type: "string";
|
|
6098
6175
|
enum: string[];
|
|
6099
6176
|
};
|
|
6177
|
+
billingVersion: {
|
|
6178
|
+
type: "string";
|
|
6179
|
+
enum: string[];
|
|
6180
|
+
};
|
|
6100
6181
|
plan: {
|
|
6101
6182
|
type: "string";
|
|
6102
6183
|
enum: string[];
|
package/dist/index.js
CHANGED
|
@@ -429912,6 +429912,10 @@ var state = {
|
|
|
429912
429912
|
type: "string",
|
|
429913
429913
|
enum: ["free", "premium"]
|
|
429914
429914
|
},
|
|
429915
|
+
billingVersion: {
|
|
429916
|
+
type: "string",
|
|
429917
|
+
enum: ["v1", "v2"]
|
|
429918
|
+
},
|
|
429915
429919
|
plan: {
|
|
429916
429920
|
type: "string",
|
|
429917
429921
|
enum: ["community", "team", "enterprise"]
|
|
@@ -429931,6 +429935,7 @@ var state = {
|
|
|
429931
429935
|
"updatedAt",
|
|
429932
429936
|
"botCount",
|
|
429933
429937
|
"accountType",
|
|
429938
|
+
"billingVersion",
|
|
429934
429939
|
"plan",
|
|
429935
429940
|
"blocked",
|
|
429936
429941
|
"spendingLimit"
|
|
@@ -429984,6 +429989,10 @@ var state = {
|
|
|
429984
429989
|
type: "string",
|
|
429985
429990
|
enum: ["free", "premium"]
|
|
429986
429991
|
},
|
|
429992
|
+
billingVersion: {
|
|
429993
|
+
type: "string",
|
|
429994
|
+
enum: ["v1", "v2"]
|
|
429995
|
+
},
|
|
429987
429996
|
plan: {
|
|
429988
429997
|
type: "string",
|
|
429989
429998
|
enum: ["community", "team", "enterprise"]
|
|
@@ -430003,6 +430012,7 @@ var state = {
|
|
|
430003
430012
|
"updatedAt",
|
|
430004
430013
|
"botCount",
|
|
430005
430014
|
"accountType",
|
|
430015
|
+
"billingVersion",
|
|
430006
430016
|
"plan",
|
|
430007
430017
|
"blocked",
|
|
430008
430018
|
"spendingLimit"
|
|
@@ -430072,6 +430082,75 @@ var state = {
|
|
|
430072
430082
|
}
|
|
430073
430083
|
}
|
|
430074
430084
|
},
|
|
430085
|
+
breakDownWorkspaceUsageByBot: {
|
|
430086
|
+
name: "breakDownWorkspaceUsageByBot",
|
|
430087
|
+
description: "Break down workspace usage by bot",
|
|
430088
|
+
section: "workspace",
|
|
430089
|
+
method: "get",
|
|
430090
|
+
path: "/v1/admin/workspaces/{id}/usages/by-bot",
|
|
430091
|
+
disableDefaultParameters: {
|
|
430092
|
+
"x-workspace-id": true
|
|
430093
|
+
},
|
|
430094
|
+
parameters: {
|
|
430095
|
+
id: {
|
|
430096
|
+
type: "string",
|
|
430097
|
+
description: "Workspace ID",
|
|
430098
|
+
in: "path"
|
|
430099
|
+
},
|
|
430100
|
+
type: {
|
|
430101
|
+
in: "query",
|
|
430102
|
+
description: "Type of usage",
|
|
430103
|
+
type: "string",
|
|
430104
|
+
enum: [
|
|
430105
|
+
"invocation_timeout",
|
|
430106
|
+
"invocation_calls",
|
|
430107
|
+
"storage_count",
|
|
430108
|
+
"bot_count",
|
|
430109
|
+
"knowledgebase_vector_storage",
|
|
430110
|
+
"workspace_ratelimit",
|
|
430111
|
+
"table_row_count",
|
|
430112
|
+
"workspace_member_count",
|
|
430113
|
+
"integrations_owned_count",
|
|
430114
|
+
"ai_spend",
|
|
430115
|
+
"openai_spend",
|
|
430116
|
+
"bing_search_spend"
|
|
430117
|
+
],
|
|
430118
|
+
required: true
|
|
430119
|
+
},
|
|
430120
|
+
period: {
|
|
430121
|
+
in: "query",
|
|
430122
|
+
description: "Period to get",
|
|
430123
|
+
type: "string",
|
|
430124
|
+
required: false
|
|
430125
|
+
}
|
|
430126
|
+
},
|
|
430127
|
+
response: {
|
|
430128
|
+
description: "Success",
|
|
430129
|
+
schema: {
|
|
430130
|
+
type: "object",
|
|
430131
|
+
properties: {
|
|
430132
|
+
data: {
|
|
430133
|
+
type: "array",
|
|
430134
|
+
items: {
|
|
430135
|
+
type: "object",
|
|
430136
|
+
properties: {
|
|
430137
|
+
botId: {
|
|
430138
|
+
type: "string"
|
|
430139
|
+
},
|
|
430140
|
+
value: {
|
|
430141
|
+
type: "number"
|
|
430142
|
+
}
|
|
430143
|
+
},
|
|
430144
|
+
required: ["botId", "value"]
|
|
430145
|
+
}
|
|
430146
|
+
}
|
|
430147
|
+
},
|
|
430148
|
+
required: ["data"],
|
|
430149
|
+
title: "breakDownWorkspaceUsageByBotResponse",
|
|
430150
|
+
additionalProperties: false
|
|
430151
|
+
}
|
|
430152
|
+
}
|
|
430153
|
+
},
|
|
430075
430154
|
getWorkspaceQuota: {
|
|
430076
430155
|
name: "getWorkspaceQuota",
|
|
430077
430156
|
description: "Get workspace quota",
|
|
@@ -430291,6 +430370,10 @@ var state = {
|
|
|
430291
430370
|
type: "string",
|
|
430292
430371
|
enum: ["free", "premium"]
|
|
430293
430372
|
},
|
|
430373
|
+
billingVersion: {
|
|
430374
|
+
type: "string",
|
|
430375
|
+
enum: ["v1", "v2"]
|
|
430376
|
+
},
|
|
430294
430377
|
plan: {
|
|
430295
430378
|
type: "string",
|
|
430296
430379
|
enum: ["community", "team", "enterprise"]
|
|
@@ -430310,6 +430393,7 @@ var state = {
|
|
|
430310
430393
|
"updatedAt",
|
|
430311
430394
|
"botCount",
|
|
430312
430395
|
"accountType",
|
|
430396
|
+
"billingVersion",
|
|
430313
430397
|
"plan",
|
|
430314
430398
|
"blocked",
|
|
430315
430399
|
"spendingLimit"
|
|
@@ -430367,6 +430451,10 @@ var state = {
|
|
|
430367
430451
|
type: "string",
|
|
430368
430452
|
enum: ["free", "premium"]
|
|
430369
430453
|
},
|
|
430454
|
+
billingVersion: {
|
|
430455
|
+
type: "string",
|
|
430456
|
+
enum: ["v1", "v2"]
|
|
430457
|
+
},
|
|
430370
430458
|
plan: {
|
|
430371
430459
|
type: "string",
|
|
430372
430460
|
enum: ["community", "team", "enterprise"]
|
|
@@ -430386,6 +430474,7 @@ var state = {
|
|
|
430386
430474
|
"updatedAt",
|
|
430387
430475
|
"botCount",
|
|
430388
430476
|
"accountType",
|
|
430477
|
+
"billingVersion",
|
|
430389
430478
|
"plan",
|
|
430390
430479
|
"blocked",
|
|
430391
430480
|
"spendingLimit"
|
|
@@ -430468,6 +430557,10 @@ var state = {
|
|
|
430468
430557
|
type: "string",
|
|
430469
430558
|
enum: ["free", "premium"]
|
|
430470
430559
|
},
|
|
430560
|
+
billingVersion: {
|
|
430561
|
+
type: "string",
|
|
430562
|
+
enum: ["v1", "v2"]
|
|
430563
|
+
},
|
|
430471
430564
|
plan: {
|
|
430472
430565
|
type: "string",
|
|
430473
430566
|
enum: ["community", "team", "enterprise"]
|
|
@@ -430487,6 +430580,7 @@ var state = {
|
|
|
430487
430580
|
"updatedAt",
|
|
430488
430581
|
"botCount",
|
|
430489
430582
|
"accountType",
|
|
430583
|
+
"billingVersion",
|
|
430490
430584
|
"plan",
|
|
430491
430585
|
"blocked",
|
|
430492
430586
|
"spendingLimit"
|
|
@@ -432167,7 +432261,7 @@ var state = {
|
|
|
432167
432261
|
title: "Botpress API",
|
|
432168
432262
|
description: "API for Botpress Cloud",
|
|
432169
432263
|
server: "https://api.botpress.cloud",
|
|
432170
|
-
version: "0.15.
|
|
432264
|
+
version: "0.15.4",
|
|
432171
432265
|
prefix: "v1"
|
|
432172
432266
|
},
|
|
432173
432267
|
errors: [
|
|
@@ -432369,6 +432463,7 @@ var state = {
|
|
|
432369
432463
|
createWorkspaceResponse: true,
|
|
432370
432464
|
getWorkspaceResponse: true,
|
|
432371
432465
|
listWorkspaceUsagesResponse: true,
|
|
432466
|
+
breakDownWorkspaceUsageByBotResponse: true,
|
|
432372
432467
|
getWorkspaceQuotaResponse: true,
|
|
432373
432468
|
listWorkspaceQuotasResponse: true,
|
|
432374
432469
|
updateWorkspaceResponse: true,
|
|
@@ -433186,6 +433281,10 @@ var state = {
|
|
|
433186
433281
|
type: "string",
|
|
433187
433282
|
enum: ["free", "premium"]
|
|
433188
433283
|
},
|
|
433284
|
+
billingVersion: {
|
|
433285
|
+
type: "string",
|
|
433286
|
+
enum: ["v1", "v2"]
|
|
433287
|
+
},
|
|
433189
433288
|
plan: {
|
|
433190
433289
|
type: "string",
|
|
433191
433290
|
enum: ["community", "team", "enterprise"]
|
|
@@ -433205,6 +433304,7 @@ var state = {
|
|
|
433205
433304
|
"updatedAt",
|
|
433206
433305
|
"botCount",
|
|
433207
433306
|
"accountType",
|
|
433307
|
+
"billingVersion",
|
|
433208
433308
|
"plan",
|
|
433209
433309
|
"blocked",
|
|
433210
433310
|
"spendingLimit"
|
|
@@ -433863,6 +433963,7 @@ var state = {
|
|
|
433863
433963
|
"createWorkspace",
|
|
433864
433964
|
"getWorkspace",
|
|
433865
433965
|
"listWorkspaceUsages",
|
|
433966
|
+
"breakDownWorkspaceUsageByBot",
|
|
433866
433967
|
"getWorkspaceQuota",
|
|
433867
433968
|
"listWorkspaceQuotas",
|
|
433868
433969
|
"updateWorkspace",
|
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":["createFile","getFile","downloadFile","deleteFile","listFiles"],"schema":"File"},{"description":"","title":"State","name":"state","operations":["getState","setState","patchState"],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration"]},{"description":"","title":"Action","name":"action","operations":["callAction"]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listBotIssues","deleteBotIssue","listBotIssueEvents"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration"],"schema":"Integration"},{"title":"Workspace","description":"","name":"workspace","operations":["getWorkspaceBillingDetails","setWorkspacePaymentMethod","listWorkspaceInvoices","chargeWorkspaceUnpaidInvoices","createWorkspace","getWorkspace","listWorkspaceUsages","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","listWorkspaces","changeWorkspacePlan","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]}],"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 not related with another resource. This is usually caused when providing two resources that aren't linked together."},{"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."}]}
|
|
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":["createFile","getFile","downloadFile","deleteFile","listFiles"],"schema":"File"},{"description":"","title":"State","name":"state","operations":["getState","setState","patchState"],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration"]},{"description":"","title":"Action","name":"action","operations":["callAction"]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listBotIssues","deleteBotIssue","listBotIssueEvents"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["createIntegration","updateIntegration","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration"],"schema":"Integration"},{"title":"Workspace","description":"","name":"workspace","operations":["getWorkspaceBillingDetails","setWorkspacePaymentMethod","listWorkspaceInvoices","chargeWorkspaceUnpaidInvoices","createWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","listWorkspaces","changeWorkspacePlan","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]}],"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 not related with another resource. This is usually caused when providing two resources that aren't linked together."},{"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."}]}
|