List Messages
Retrieve message history for an agent.
Path parameters
agent_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
after
Message after which to retrieve the returned messages.
before
Message before which to retrieve the returned messages.
limit
Maximum number of messages to retrieve.
group_id
Group ID to filter messages 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.
include_err
Whether to include error messages and error statuses. For debugging purposes only.
Response
Successful Response
SystemMessage
OR
UserMessage
OR
ReasoningMessage
OR
HiddenReasoningMessage
OR
ToolCallMessage
OR
ToolReturnMessage
OR
AssistantMessage
OR
ApprovalRequestMessage
OR
ApprovalResponseMessage