Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

Summarize Messages

agents.messages.summarize(stragent_id)
post/v1/agents/{agent_id}/summarize

Summarize an agent's conversation history.

ParametersExpand Collapse
agent_id: str

The ID of the agent in the format 'agent-'

minLength42
maxLength42
Summarize Messages
from letta_client import Letta

client = Letta(
    api_key="My API Key",
)
client.agents.messages.summarize(
    "agent-123e4567-e89b-42d3-8456-426614174000",
)
Returns Examples