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_idstringRequired

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Query parameters

max_message_lengthintegerRequired
Maximum number of messages to retain after summarization.

Response

Successful Response

Errors