OptionalaclAccess control list for private messages. Only returned to resource owners (and privileged/org-admin viewers); null otherwise.
OptionaladminAdmin-only diagnostic metadata for the message, including execution trajectory details. Only present in developer portal responses.
OptionalagentAgent ID (agt_...) associated with the message. null if not agent-scoped.
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.
OptionalappApp ID (app_...) that the message belongs to.
OptionalattachmentsFiles or media attached to the message. Empty array if no attachments are present.
OptionalcontentText content of the message. null if the message contains only attachments.
Optionalcreated_When the message was posted to the thread (ISO 8601).
Message ID (msg_...).
OptionalmetadataKey-value metadata attached to the message. Always present; defaults to an empty object. The metadata query parameter filters on this same object, so a caller can read back the field it selects on.
OptionalorgOrganization ID (org_...) this message is scoped to. null if not org-scoped.
Optionalroot_ID of the root message in this reply chain (msg_...). null for a top-level message. The value is persisted when the reply is created, so callers can correlate a multi-turn session without walking parent messages.
OptionalsandboxSandbox ID (dsb_...) this message is scoped to. null if not sandbox-scoped.
OptionalsenderPublic ID of the sender (e.g. usr_... or agt_...). null for system-generated messages.
Optionalsender_Display name of the message sender. null if unavailable.
Optionalsender_Category of entity that sent the message. One of "user", "agent", or "system".
OptionalteamTeam ID (tea_...) associated with the message. null if not team-scoped.
OptionaltypeOptional client-defined classification for the message (for example note or status). Free-form string up to 64 characters. The value system is reserved for platform-authored messages and cannot be set by clients. null when unset.
OptionaluserUser ID (usr_...) associated with the message. null if not user-scoped.
OptionalvisibilityMessage-level visibility. default follows thread membership; private is limited to the sender and ACL read grantees.
A single message posted to a thread, as seen from the developer portal. Includes sender information, optional attachments, and scoping identifiers.