PATCH
/
v3
/
bots
/
{botId}
/
results
/
{resultId}
Update Result
curl --request PATCH \
  --url http://127.0.0.1:3333/v3/bots/{botId}/results/{resultId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "result": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "botId": "<string>",
    "variables": [
      {
        "id": "<string>",
        "name": "<string>",
        "value": "<string>",
        "isSessionVariable": true
      }
    ],
    "isCompleted": true,
    "hasStarted": true,
    "isArchived": true,
    "lastChatSessionId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

botId
string
required
resultId
string
required

Body

application/json
variables
object[]
isCompleted
boolean
hasStarted
boolean

Response

200 - application/json

Default Response

result
object
required