Skip to main content
POST
/
api
/
analytics
/
ai-attribution
/
chat-stream
Server-Sent Events stream for AI attribution chat.
curl --request POST \
  --url https://api.production.hyperoru.com/api/analytics/ai-attribution/chat-stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "account_id": 123,
  "conversation_id": 123
}
'
{
  "code": "<string>",
  "details": {},
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.

Body

application/json
message
string
required
account_id
integer<int32> | null
conversation_id
integer<int32> | null

Response

SSE stream of assistant tokens