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

Open in Claude
Open in ChatGPT

Delete Passage

Deprecated
client.agents.passages.delete(stringmemoryID, PassageDeleteParams { agent_id } params, RequestOptionsoptions?): PassageDeleteResponse
delete/v1/agents/{agent_id}/archival-memory/{memory_id}

Delete a memory from an agent's archival memory store.

ParametersExpand Collapse
memoryID: string
params: PassageDeleteParams { agent_id }
agent_id: string

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

minLength42
maxLength42
ReturnsExpand Collapse
PassageDeleteResponse = unknown
Delete Passage
import Letta from '@letta-ai/letta-client';

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

const passage = await client.agents.passages.delete('memory_id', {
  agent_id: 'agent-123e4567-e89b-42d3-8456-426614174000',
});

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