v6

latestOpenAPI 3.0.0raw.githubusercontent.com2025-11-063111.9 KB

Get Messages

Retrieve the entire message history for a given agent session.
Messages include user messages, the agent’s internal thoughts, agent responses, and tool usage records.

post/get-messages

Query parameters

sessionstring required

The session ID to retrieve messages from.

Response

An array of message objects from the session.

typestring required

Type of the message (e.g., user_message, agent_thinking, agent_response, agent_tool_use).

contentstring required

The textual content of the message.