Delete Passage
Deprecated
client.agents.passages.delete(stringmemoryID, PassageDeleteParams { agent_id } params, RequestOptionsoptions?): PassageDeleteResponse
/v1/agents/{agent_id}/archival-memory/{memory_id}
Delete a memory from an agent's archival memory store.
Parameters
memoryID: string
Returns
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
{}