Update conversation

updateConversation(conversationId: ID!, input: UpdateConversationInput!): Conversation!

Arguments

ArgumentTypeRequired
conversationIdID!Yes
inputUpdateConversationInput!Yes

Input fields

input

UpdateConversationInput

FieldTypeRequired
titleStringNo
statusStringNo
summaryStringNo
projectReferenceStringNo

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 UpdateConversation($conversationId: ID!, $input: UpdateConversationInput!) {
  updateConversation(conversationId: $conversationId, input: $input) {
    id
    projectId
    status
    createdAt
    updatedAt
  }
}
json
{
  "conversationId": "00000000-0000-4000-8000-000000000001",
  "input": {
    "projectReference": "example-project"
  }
}