Skip to main content
POST
/
api
/
chat
/
stream
Chat Stream Endpoint
curl --request POST \
  --url https://api.example.com/api/chat/stream \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "conversation_id": "<string>",
  "namespace": "All",
  "use_query_expansion": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Body

application/json

Request to send a chat message.

message
string
required
Required string length: 1 - 5000
conversation_id
string | null
Maximum string length: 100
namespace
string
default:All
Maximum string length: 100
use_query_expansion
boolean
default:true

Response

Successful Response