@botpress/api 0.35.0 → 0.36.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 CHANGED
@@ -274862,7 +274862,7 @@ var state = {
274862
274862
  "contextDepth": {
274863
274863
  "in": "query",
274864
274864
  "type": "integer",
274865
- "description": "The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage. Default: 0, Maximum: 10"
274865
+ "description": "The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage (default: 1, minimum: 0, maximum: 10)."
274866
274866
  },
274867
274867
  "limit": {
274868
274868
  "in": "query",
@@ -274909,14 +274909,18 @@ var state = {
274909
274909
  "table",
274910
274910
  "code"
274911
274911
  ],
274912
- "description": "The subtype of passage, if any."
274912
+ "description": "The subtype of passage, if available."
274913
274913
  },
274914
274914
  "pageNumber": {
274915
274915
  "type": "integer",
274916
274916
  "description": "Page number the passage is located on. Only applicable if the passage was extracted from a PDF file."
274917
+ },
274918
+ "position": {
274919
+ "type": "integer",
274920
+ "description": "Position number of the passage in the file relative to the other passages, if available. Can be used to know the order of passages within a file."
274917
274921
  }
274918
274922
  },
274919
- "description": "The passage metadata"
274923
+ "description": "The passage metadata."
274920
274924
  },
274921
274925
  "file": {
274922
274926
  "type": "object",
@@ -274967,6 +274971,109 @@ var state = {
274967
274971
  }
274968
274972
  }
274969
274973
  },
274974
+ "listFilePassages": {
274975
+ "name": "listFilePassages",
274976
+ "path": "/v1/files/{fileId}/passages",
274977
+ "description": "List passages for a file",
274978
+ "method": "get",
274979
+ "section": "files",
274980
+ "parameters": {
274981
+ "nextToken": {
274982
+ "in": "query",
274983
+ "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
274984
+ "type": "string"
274985
+ },
274986
+ "limit": {
274987
+ "type": "number",
274988
+ "description": "The maximum number of passages to return per request (optional, default: 20, max: 200).",
274989
+ "in": "query"
274990
+ },
274991
+ "fileId": {
274992
+ "type": "string",
274993
+ "description": "File ID",
274994
+ "in": "path"
274995
+ }
274996
+ },
274997
+ "response": {
274998
+ "description": "Returns the list of passages extracted from a file.",
274999
+ "schema": {
275000
+ "type": "object",
275001
+ "properties": {
275002
+ "passages": {
275003
+ "type": "array",
275004
+ "items": {
275005
+ "type": "object",
275006
+ "properties": {
275007
+ "id": {
275008
+ "type": "string",
275009
+ "description": "Passage ID"
275010
+ },
275011
+ "content": {
275012
+ "type": "string",
275013
+ "description": "The content of the passage."
275014
+ },
275015
+ "meta": {
275016
+ "type": "object",
275017
+ "properties": {
275018
+ "type": {
275019
+ "type": "string",
275020
+ "enum": [
275021
+ "chunk"
275022
+ ],
275023
+ "description": "The type of passage"
275024
+ },
275025
+ "subtype": {
275026
+ "type": "string",
275027
+ "enum": [
275028
+ "title",
275029
+ "subtitle",
275030
+ "paragraph",
275031
+ "list",
275032
+ "blockquote",
275033
+ "table",
275034
+ "code"
275035
+ ],
275036
+ "description": "The subtype of passage, if available."
275037
+ },
275038
+ "pageNumber": {
275039
+ "type": "integer",
275040
+ "description": "Page number the passage is located on. Only applicable if the passage was extracted from a PDF file."
275041
+ },
275042
+ "position": {
275043
+ "type": "integer",
275044
+ "description": "Position number of the passage in the file relative to the other passages, if available. Can be used to know the order of passages within a file."
275045
+ }
275046
+ },
275047
+ "description": "The passage metadata."
275048
+ }
275049
+ },
275050
+ "required": [
275051
+ "id",
275052
+ "content",
275053
+ "meta"
275054
+ ]
275055
+ }
275056
+ },
275057
+ "meta": {
275058
+ "type": "object",
275059
+ "properties": {
275060
+ "nextToken": {
275061
+ "type": "string",
275062
+ "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."
275063
+ }
275064
+ },
275065
+ "additionalProperties": false
275066
+ }
275067
+ },
275068
+ "required": [
275069
+ "passages",
275070
+ "meta"
275071
+ ],
275072
+ "title": "listFilePassagesResponse",
275073
+ "additionalProperties": false
275074
+ }
275075
+ }
275076
+ },
274970
275077
  "listTables": {
274971
275078
  "name": "listTables",
274972
275079
  "path": "/v1/tables",
@@ -275868,7 +275975,7 @@ var state = {
275868
275975
  "title": "Botpress API",
275869
275976
  "description": "API for Botpress Cloud",
275870
275977
  "server": "https://api.botpress.cloud",
275871
- "version": "0.35.0",
275978
+ "version": "0.36.0",
275872
275979
  "prefix": "v1"
275873
275980
  },
275874
275981
  "errors": [
@@ -276168,6 +276275,7 @@ var state = {
276168
276275
  "getFileResponse": true,
276169
276276
  "updateFileMetadataResponse": true,
276170
276277
  "searchFilesResponse": true,
276278
+ "listFilePassagesResponse": true,
276171
276279
  "listTablesResponse": true,
276172
276280
  "getTableResponse": true,
276173
276281
  "getOrCreateTableResponse": true,
@@ -278323,21 +278431,12 @@ var state = {
278323
278431
  "model": {
278324
278432
  "default": "gpt-4o",
278325
278433
  "type": "string",
278326
- "enum": [
278327
- "gpt-3.5-turbo",
278328
- "gpt-3.5-turbo-0125",
278329
- "gpt-3.5-turbo-1106",
278330
- "gpt-3.5-turbo-16k",
278331
- "gpt-4o",
278332
- "gpt-4",
278333
- "gpt-4-turbo",
278334
- "gpt-4-0125-preview",
278335
- "gpt-4-1106-preview"
278336
- ],
278434
+ "maxLength": 80,
278337
278435
  "description": 'Model to use when action is "ai"'
278338
278436
  },
278339
278437
  "workflowId": {
278340
278438
  "type": "string",
278439
+ "maxLength": 20,
278341
278440
  "description": 'ID of Workflow to execute when action is "workflow"'
278342
278441
  },
278343
278442
  "enabled": {
@@ -278489,21 +278588,12 @@ var state = {
278489
278588
  "model": {
278490
278589
  "default": "gpt-4o",
278491
278590
  "type": "string",
278492
- "enum": [
278493
- "gpt-3.5-turbo",
278494
- "gpt-3.5-turbo-0125",
278495
- "gpt-3.5-turbo-1106",
278496
- "gpt-3.5-turbo-16k",
278497
- "gpt-4o",
278498
- "gpt-4",
278499
- "gpt-4-turbo",
278500
- "gpt-4-0125-preview",
278501
- "gpt-4-1106-preview"
278502
- ],
278591
+ "maxLength": 80,
278503
278592
  "description": 'Model to use when action is "ai"'
278504
278593
  },
278505
278594
  "workflowId": {
278506
278595
  "type": "string",
278596
+ "maxLength": 20,
278507
278597
  "description": 'ID of Workflow to execute when action is "workflow"'
278508
278598
  },
278509
278599
  "enabled": {
@@ -278970,7 +279060,8 @@ var state = {
278970
279060
  "listFiles",
278971
279061
  "getFile",
278972
279062
  "updateFileMetadata",
278973
- "searchFiles"
279063
+ "searchFiles",
279064
+ "listFilePassages"
278974
279065
  ],
278975
279066
  "schema": "File"
278976
279067
  }
@@ -8773,6 +8773,10 @@ export declare const state: {
8773
8773
  type: "integer";
8774
8774
  description: string;
8775
8775
  };
8776
+ position: {
8777
+ type: "integer";
8778
+ description: string;
8779
+ };
8776
8780
  };
8777
8781
  description: string;
8778
8782
  };
@@ -8813,6 +8817,92 @@ export declare const state: {
8813
8817
  };
8814
8818
  };
8815
8819
  };
8820
+ listFilePassages: {
8821
+ name: string;
8822
+ path: string;
8823
+ description: string;
8824
+ method: "get";
8825
+ section: "files";
8826
+ parameters: {
8827
+ nextToken: {
8828
+ in: "query";
8829
+ description: string;
8830
+ type: "string";
8831
+ };
8832
+ limit: {
8833
+ type: "number";
8834
+ description: string;
8835
+ in: "query";
8836
+ };
8837
+ fileId: {
8838
+ type: "string";
8839
+ description: string;
8840
+ in: "path";
8841
+ };
8842
+ };
8843
+ response: {
8844
+ description: string;
8845
+ schema: {
8846
+ type: "object";
8847
+ properties: {
8848
+ passages: {
8849
+ type: "array";
8850
+ items: {
8851
+ type: "object";
8852
+ properties: {
8853
+ id: {
8854
+ type: "string";
8855
+ description: string;
8856
+ };
8857
+ content: {
8858
+ type: "string";
8859
+ description: string;
8860
+ };
8861
+ meta: {
8862
+ type: "object";
8863
+ properties: {
8864
+ type: {
8865
+ type: "string";
8866
+ enum: string[];
8867
+ description: string;
8868
+ };
8869
+ subtype: {
8870
+ type: "string";
8871
+ enum: string[];
8872
+ description: string;
8873
+ };
8874
+ pageNumber: {
8875
+ type: "integer";
8876
+ description: string;
8877
+ };
8878
+ position: {
8879
+ type: "integer";
8880
+ description: string;
8881
+ };
8882
+ };
8883
+ description: string;
8884
+ };
8885
+ };
8886
+ required: string[];
8887
+ };
8888
+ };
8889
+ meta: {
8890
+ type: "object";
8891
+ properties: {
8892
+ nextToken: {
8893
+ type: "string";
8894
+ description: string;
8895
+ };
8896
+ };
8897
+ additionalProperties: false;
8898
+ };
8899
+ };
8900
+ required: string[];
8901
+ title: string;
8902
+ additionalProperties: false;
8903
+ };
8904
+ };
8905
+ };
8816
8906
  listTables: {
8817
8907
  name: string;
8818
8908
  path: string;
@@ -9880,6 +9970,7 @@ export declare const state: {
9880
9970
  getFileResponse: true;
9881
9971
  updateFileMetadataResponse: true;
9882
9972
  searchFilesResponse: true;
9973
+ listFilePassagesResponse: true;
9883
9974
  listTablesResponse: true;
9884
9975
  getTableResponse: true;
9885
9976
  getOrCreateTableResponse: true;
@@ -11673,11 +11764,12 @@ export declare const state: {
11673
11764
  model: {
11674
11765
  default: string;
11675
11766
  type: "string";
11676
- enum: string[];
11767
+ maxLength: number;
11677
11768
  description: string;
11678
11769
  };
11679
11770
  workflowId: {
11680
11771
  type: "string";
11772
+ maxLength: number;
11681
11773
  description: string;
11682
11774
  };
11683
11775
  enabled: {
@@ -11800,11 +11892,12 @@ export declare const state: {
11800
11892
  model: {
11801
11893
  default: string;
11802
11894
  type: "string";
11803
- enum: string[];
11895
+ maxLength: number;
11804
11896
  description: string;
11805
11897
  };
11806
11898
  workflowId: {
11807
11899
  type: "string";
11900
+ maxLength: number;
11808
11901
  description: string;
11809
11902
  };
11810
11903
  enabled: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -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","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"],"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":"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","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."}]}