Get Messages
Messages
Get Messages
Retrieve the messages from the current agent session.
POST
Get Messages
Documentation Index
Fetch the complete documentation index at: https://docs.agentbase.sh/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
The session ID to retrieve messages from. This identifies the specific agent
session.
Response
Returns the entire message history for the specified agent session as an array of message objects.Message Types
Messages sent by the user to the agent
Internal agent reasoning and thought processes
Agent responses visible to the user
Records of tools used by the agent, including input parameters