• Delete an existing chat topic. When a topic is deleted, all associated chat messages are also deleted. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.

    Example:

    const data = await trieve.deleteTopic({
    topicId: "3c90c3cc-1d76-27198-8888-8dd25736052a"
    });

    Parameters

    Returns Promise<void>