OptionalactorsResolved actor descriptors for the message sender, combining identity and display metadata. Always contains exactly one entry.
OptionalagentID of the agent user that sent this message (agi_...). null for messages sent by human users.
Optionalagent_Local agent execution mode for this message. One of cli, embedded, or null when the message was not created by a local agent execution path.
OptionalattachmentsFiles, links, tasks, media, artifacts, and actions attached to this message. Empty array if there are no attachments.
Optionalbranched_ID of the thread that was branched from this message (thr_...). null if this message has not spawned a branch thread.
OptionalcontentText content of the message. null for messages that contain only attachments.
Optionalcreated_When the message was posted (ISO 8601).
Optionalhas_Whether this message has at least one reply. Only present when explicitly requested or computed by the server.
Message ID (msg_...).
Optionalidempotency_Client-supplied idempotency key used to deduplicate message sends. null if the sender did not provide one.
Optionallegacy_Identifier of the legacy chat agent that sent this message, if applicable. null for messages sent by users or modern agent users.
OptionalmetadataArbitrary key-value metadata attached to the message. Always present; defaults to an empty object when no metadata has been set.
OptionalorgID of the organization that owns this message (org_...).
OptionalreactionsEmoji and other reactions added to this message by users. Empty array if no reactions have been added or the association is not preloaded.
Optionalrendering_Display hint for how the message should be rendered. One of "reply", "direct", or "inline". null for user-authored messages, which are always rendered as standard replies.
OptionalrepliesInline array of reply messages, each serialized as a full message object. Only present when the server has preloaded replies for this message.
Optionalreplies_Opaque pagination cursor to fetch replies posted after the current page. Only present when inline replies are included in the response.
Optionalreplies_Opaque pagination cursor to fetch replies posted before the current page. Only present when inline replies are included in the response.
Optionalreply_Total number of direct replies to this message. Only present when explicitly requested or computed by the server.
Optionalreply_The parent message this message is a reply to, expanded as a full message object when loaded. null if this is a top-level message or the association is not preloaded.
OptionalsandboxID of the developer sandbox this message belongs to (dsb_...). null for non-sandbox messages.
OptionalteamID of the team this message is scoped to (tem_...). null if the message is not team-scoped.
OptionalthreadID of the thread this message belongs to (thr_...). null for messages not yet associated with a thread.
OptionaluserThe human user who sent this message. Returns a public ID string (usr_...) when the association is not preloaded, or an expanded user object when it is. null for messages sent by agents.
A chat message posted in a thread, including its content, author, attachments, reactions, and optional reply metadata.