Delete a conversation.

Delete a conversation within an agent (formerly known as project) identified by its unique projectId and sessionId. This endpoint allows you to remove a specific conversation from the agent, permanently deleting all associated messages. By providing the projectId and sessionId, you can target the conversation to be deleted, ensuring the removal of all conversation-related data. Here is an example to delete a conversation: API SDK.

OpenAPI.json
View
Download

Purpose

Delete a conversation within an agent (formerly known as project) identified by its unique projectId and sessionId.

This endpoint allows you to remove a specific conversation from the agent, permanently deleting all associated messages.

By providing the projectId and sessionId, you can target the conversation to be deleted, ensuring the removal of all conversation-related data.

Here is an example to delete a conversation: API SDK.

At a high level, this is the canonical way to work with conversations and messages between users and the agent via the CustomGPT API.

When to use

  • When you need to delete a conversation as part of your backend or automation workflows.
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!