delete

View as MarkdownOpen in Claude

Remove the conversation and its data. Nothing is post-processed and no webhook fires, which is the difference from end(). Deleting an id that no longer exists is not an error.

Parameters

conversationId
stringRequired

The conversation to delete.

Returns

Promise<boolean>true when the service reported the conversation deleted.

Example

import { AIChatClient } from '@signalwire/sdk';
const client = new AIChatClient({ space: 'your-space' });
await client.delete('chat-8f21');