Skip to main content

Messages

Messages are the core content unit. Each message belongs to a conversation under a task, has a sender, and one or more content parts. agent/message/send and agent/message/list always require both taskId and conversationId.

Message schema

Content parts

Messages contain 1-10 typed parts:

Listing recent messages

agent/message/list returns the newest visible messages in a conversation, bounded by limit. The bounded window is returned oldest-first for direct processing; the method does not expose a cursor or a hasMore flag.

Replies

Set replyToId to create a threaded reply: