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

Open in Claude
Open in ChatGPT

Reset Group Messages

client.groups.messages.reset(stringgroupID, RequestOptionsoptions?): MessageResetResponse
patch/v1/groups/{group_id}/reset-messages

Delete the group messages for all agents that are part of the multi-agent group.

ParametersExpand Collapse
groupID: string

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

minLength42
maxLength42
ReturnsExpand Collapse
MessageResetResponse = unknown
Reset Group Messages
import Letta from '@letta-ai/letta-client';

const client = new Letta({
  apiKey: 'My API Key',
});

const response = await client.groups.messages.reset('group-123e4567-e89b-42d3-8456-426614174000');

console.log(response);
{}
Returns Examples
{}