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

Open in Claude
Open in ChatGPT

Delete Passage From Archive

archives.passages.delete(strpassage_id, PassageDeleteParams**kwargs)
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
archive_id: str

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

minLength44
maxLength44
passage_id: str

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

minLength44
maxLength44
Delete Passage From Archive
from letta_client import Letta

client = Letta(
    api_key="My API Key",
)
client.archives.passages.delete(
    passage_id="passage-123e4567-e89b-42d3-8456-426614174000",
    archive_id="archive-123e4567-e89b-42d3-8456-426614174000",
)
Returns Examples