Skip to main content
POST
/
insight
/
{rec_id}
/
chat
Chat Message
curl --request POST \
  --url https://api.example.com/insight/{rec_id}/chat/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "search_settings": {
    "search_scope": "all",
    "use_web": true
  },
  "message": "<string>",
  "thread_id": 1
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

rec_id
string<uuid>
required

Body

application/json
search_settings
SearchSettings · object
required
message
string
Maximum string length: 1000
thread_id
integer
default:1

Response

Successful Response