Skip to main content
POST
/
api
/
chat
/
stream
Stream assistant response
curl --request POST \
  --url https://api.ai2fin.com/api/chat/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "conversationId": "<string>",
  "message": "<string>",
  "assetUrls": [
    "<string>"
  ]
}'
"<string>"

Authorizations

Authorization
string
header
required

JWT token obtained from /api/auth/login endpoint

Body

application/json
message
string
required
conversationId
string
assetUrls
string[]

Response

200 - text/event-stream

SSE stream started

The response is of type string.