Load messages for a chat, newest-first window returned oldest-first
assistant
Load messages for a chat, newest-first window returned oldest-first
Pass before=<created_at> of the earliest message currently rendered to
fetch an older page. The caller stitches pages together in the UI.
GET
Load messages for a chat, newest-first window returned oldest-first
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
Available options:
user, assistant, system parts
(TextPart · object | ReasoningPart · object | ToolInvocationPart · object | FilePart · object | SourceUrlPart · object | CortexDataTablePart · object | CortexDataChartPart · object | CortexDataSuggestionsPart · object)[]
required
- TextPart
- ReasoningPart
- ToolInvocationPart
- FilePart
- SourceUrlPart
- CortexDataTablePart
- CortexDataChartPart
- CortexDataSuggestionsPart
Available options:
positive, negative Pre-canned starter prompts for the empty-chat stateForward the latest user message to Snowflake Cortex Agent and stream
