Skip to main content

Delete a Chat

This method is used to delete a specific chat of an assistant.

import taskingai

taskingai.assistant.delete_chat(
assistant_id="YOUR_ASSISTANT_ID",
chat_id="YOUR_CHAT_ID",
)

The method confirms the deletion of the specified chat session if no errors occur, without returning an object.