Delete Conversation
client.conversations.delete(stringconversationID, RequestOptionsoptions?): ConversationDeleteResponse
/v1/conversations/{conversation_id}
Delete a conversation (soft delete).
This marks the conversation as deleted but does not permanently remove it from the database. The conversation will no longer appear in list operations. Any isolated blocks associated with the conversation will be permanently deleted.
Parameters
Returns
ConversationDeleteResponse = unknown
Delete Conversation
import Letta from '@letta-ai/letta-client';
const client = new Letta({
apiKey: process.env['LETTA_API_KEY'], // This is the default and can be omitted
});
const conversation = await client.conversations.delete('default');
console.log(conversation);
{}
Returns Examples
{}