Conversations

Delete conversation.

Changed on

Permanently deletes a conversation and all its messages. Use this to remove sensitive conversations or clean up test data.

Warning: This action cannot be undone. All messages in the conversation will be permanently deleted.

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

Request

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
  }
}

Changes

    • warning

      added the new 422.00 enum value to the / response property for the response status

    • warning

      added the new 422.00 enum value to the / response property for the response status

    • warning

      added the new 422.00 enum value to the / response property for the response status

    • warning

      added the new 422.00 enum value to the / response property for the response status

    • info

      added the non-success response with the status

    • warning

      added the new Agent id is required enum value to the / response property for the response status

    • warning

      added the new Agent with id {projectId} not found enum value to the / response property for the response status

    • info

      removed the Project id is required enum value from the / response property for the response status

    • info

      removed the Project with id {projectId} not found enum value from the / response property for the response status