ChatMessage
Properties
| Property | Type | Description | |
|---|---|---|---|
ai_chat_messages_id
| string (snowflake) | Required | |
ai_chat_messages_role
| one of: 1, 2, 3 | Required | |
ai_chat_messages_content
| string | Required | The first message; without one the chat starts empty. |
ai_chat_messages_reasoning
| string | Required | The model's thinking before its reply; empty when it shows none. |
writing
| boolean | Required | Whether the reply is still being written. |
ai_chat_messages_error
| string, or null | Required | Why a reply ended early: it failed, or was stopped. |
ai_chat_messages_created_at
| integer (int64) | Required | Unix seconds. |
Used inside