Skip to main content
Appends a new message to a conversation. Each message contains one or more content blocks (text, file, or both) and is attributed to an actor. MemoryLake automatically processes new messages to extract structured facts.
Permission required: project:conv_append

Path Parameters

conversationId
string
required
Conversation identifier

Request Body

content
array
required
Array of content blocks that make up the message body. Each block must include a block_type field.Accepted block_type values: TEXT, FILE, IMAGE, THINKING, TOOL_USE, TOOL_RESULT.Text block: { "block_type": "TEXT", "text": "message content" }Image block: { "block_type": "IMAGE", "uri": "drive://...", "mime_type": "image/png" }
actor_id
string
required
ID of the actor sending this message. Should reference an actor participating in the conversation.
timestamp
string
ISO 8601 timestamp for when the message originally occurred. Use this when ingesting historical conversations so MemoryLake preserves the original timeline.
metadata
object
Arbitrary key-value metadata to attach to the message
custom_id
string
required
Caller-defined unique identifier for the message within the conversation
parent_message_id
string
ID of the parent message, for threaded conversations. When set, this message is treated as a reply to the specified parent.

Response

data
object