ChatMessage

Properties

PropertyTypeDescription
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

All documentation

0 database statements · 11 reads from the cache · 0.0 ms waiting for the database · 24.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache