Delete conversation

deleteConversation(id: ID!): Conversation

Arguments

ArgumentTypeRequiredDescription
idID!YesConversation to soft-delete; the record is kept and returned.

Response

Returns Conversation. Open the type for its fields and nested types.

FieldTypeDescription
idID!
projectIdID
respondingAgentIdStringAgent currently responding in the conversation, or null when no agent has responded.
typeString!
titleString
summaryString
statusString!
currentNodeID

All fields of Conversation.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
mutation DeleteConversation($id: ID!) {
  deleteConversation(id: $id) {
    id
    projectId
    status
    createdAt
    updatedAt
  }
}
json
{
  "id": "00000000-0000-4000-8000-000000000001"
}