List Messages For Group
Retrieve message history for an agent.
Path parameters
group_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
before
Message ID cursor for pagination. Returns messages that come before this message ID in the specified sort order
after
Message ID cursor for pagination. Returns messages that come after this message ID in the specified sort order
limit
Maximum number of messages to retrieve
order
Sort order for messages by creation time. 'asc' for oldest first, 'desc' for newest first
Allowed values:
order_by
Field to sort by
use_assistant_message
Whether to use assistant messages
assistant_message_tool_name
The name of the designated message tool.
assistant_message_tool_kwarg
The name of the message argument.
Response
Successful Response
SystemMessage
OR
UserMessage
OR
ReasoningMessage
OR
HiddenReasoningMessage
OR
ToolCallMessage
OR
ToolReturnMessage
OR
AssistantMessage
OR
ApprovalRequestMessage
OR
ApprovalResponseMessage