v1

latestOpenAPI 3.0.22026-07-174617345.8 KB
Conversations

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.

delete/api/v1/projects/{projectId}/conversations/{sessionId}

Path parameters

projectIdinteger required

The unique identifier of the agent (formerly known as project).

sessionIdstring required

The unique session identifier.

Response

Agent deleted successfully

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "deleted": true
  }
}