Skip to content

Commit

Permalink
docs: Add new error message
Browse files Browse the repository at this point in the history
  • Loading branch information
box-apimgmt committed Jun 26, 2024
1 parent 9255cb7 commit b2df40c
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
"version": "2.0.0",
"x-box-commit-hash": "7558f33e2a"
"x-box-commit-hash": "b9f1a9f298"
},
"servers": [
{
Expand Down Expand Up @@ -15452,6 +15452,16 @@
}
}
},
"404": {
"description": "Returns `not_found` when user was not found.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ClientError"
}
}
}
},
"default": {
"description": "An unexpected client error.",
"content": {
Expand Down Expand Up @@ -24012,21 +24022,10 @@
"type": "object",
"x-box-tag": "ai",
"required": [
"mode",
"prompt",
"items"
],
"properties": {
"mode": {
"type": "string",
"description": "The mode specifies if this request is for a single or multiple items. If you select `single_item_qa` the `items` array can have one element only. Selecting `multiple_item_qa` allows you to provide up to 25 items.",
"enum": [
"multiple_item_qa",
"single_item_qa"
],
"example": "multiple_item_qa",
"nullable": false
},
"prompt": {
"type": "string",
"description": "The prompt provided by the client to be answered by the LLM. The prompt's length is limited to 10000 characters.",
Expand Down Expand Up @@ -38031,13 +38030,13 @@
},
"login_required": {
"type": "boolean",
"description": "If set to true, signer will need to login to a Box account\nbefore signing the request. If the signer does not have\nan existing account, they will have an option to create\na free Box account.",
"description": "If set to true, the signer will need to log in to a Box account\nbefore signing the request. If the signer does not have\nan existing account, they will have the option to create\na free Box account. Cannot be selected in combination with\n`verification_phone_number`.",
"example": true,
"nullable": true
},
"verification_phone_number": {
"type": "string",
"description": "If set, this phone number is be used to verify the signer\nvia two factor authentication before they are able to sign the document.",
"description": "If set, this phone number will be used to verify the signer\nvia two-factor authentication before they are able to sign the document.\nCannot be selected in combination with `login_required`.",
"example": "6314578901",
"nullable": true
},
Expand Down

0 comments on commit b2df40c

Please sign in to comment.