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

Open in Claude
Open in ChatGPT

Delete Passage From Archive

client.archives.passages.delete(stringpassageID, PassageDeleteParams { archive_id } params, RequestOptionsoptions?): void
delete/v1/archives/{archive_id}/passages/{passage_id}

Delete a passage from an archive.

This permanently removes the passage from both the database and vector storage (if applicable).

ParametersExpand Collapse
passageID: string

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

minLength44
maxLength44
params: PassageDeleteParams { archive_id }
archive_id: string

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

minLength44
maxLength44
Delete Passage From Archive
import Letta from '@letta-ai/letta-client';

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

await client.archives.passages.delete('passage-123e4567-e89b-42d3-8456-426614174000', {
  archive_id: 'archive-123e4567-e89b-42d3-8456-426614174000',
});
Returns Examples