Skip to main content
POST
Forward the latest user message to Snowflake Cortex Agent and stream

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chat_id
string<uuid>
required

Body

application/json
messages
ChatMessageInput · object[]
required

Response

Successful Response

SSE frame describing the data: payload as a discriminated event union.

Speakeasy's SSE schema model expects each frame's top-level properties to be SSE protocol fields (id, event, data, retry). The data field here describes the JSON object inside each data: line — a discriminated union of every event the aether wire emits. The wire format is unchanged from Vercel AI SDK v6 (data: {"type": "...", ...}).

data
StartEvent · object
required