Skip to main content
POST
/
flow
/
scoped-chat
Error
A valid request URL is required to generate request examples
"<string>"

Authorizations

Authorization
string
header
required

Azure AD access token obtained via MSAL

Body

application/json
systemPrompt
string
required

Topic-restricted system prompt from the content node

message
string
required

User's question

scopedHistory
array
required

Isolated conversation history (only scoped chat messages)

chatConfig
object
required

Chat configuration including id — validated server-side via chatSecurityGuard. Data sources and search endpoint are re-derived from the trusted chat record; client-supplied dataSources are accepted only as runtime overrides and must pass entitlement.

useRag
boolean

If true, use RAG with data sources; otherwise pure LLM

dataSources
array

Optional runtime data-source overrides (must pass catalog ACL via buildSecuredDataSources)

modelId
string

Optional model endpoint override (server-registered endpoints only)

Response

SSE stream of scoped chat response

The response is of type string.