Summarize Agent Conversation
Summarize an agent’s conversation history to a target message length.
This endpoint summarizes the current message history for a given agent,
truncating and compressing it down to the specified max_message_length
.
Path parameters
agent_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
max_message_length
Maximum number of messages to retain after summarization.
Response
Successful Response