Chat

Send a chat message

Send a visitor message through the full multi-agent pipeline: triage classifies intent, query agents retrieve grounded context from the product / post indexes (plus any custom domain agents), and response agents synthesise a grounded answer with product cards or cited content. The response is streamed as NDJSON when stream: true (each line is one of { type: "token", ... }, { type: "product", ... }, { type: "done" }), or returned as a single JSON object when stream: false. Pass threadId to continue a conversation (memories and prior turns are loaded); omit it for a fresh one. Respects the workspace's active persona / system-prompt configuration.

post/chat

Request

  • Base URL: https://api.savanto.ai
  • URL: https://api.savanto.ai/chat
  • Auth: HTTP bearer

Request body

messagestring required
threadIdstring required
streamboolean
userJwtstring
productFilterobject
postFilterobject
promptIdstring
offerResponseunknown
visitorIdstring
sourcestring

Response

Chat response (JSON or NDJSON stream)

object'event' required
requestIdstring required
dataunknown

Changes

No recorded changes to this operation across all 1 revision of this API.