Skip to main content
Switch Branch mutation.

Operation details

FieldValue
NameswitchBranch
GroupConversations
TypeMutation
SignatureswitchBranch(conversationId: ID!, messageId: ID!): Message!

Playground

Query

Query
mutation SwitchBranch($conversationId: ID!, $messageId: ID!) {
  switchBranch(conversationId: $conversationId, messageId: $messageId) {
    id
    status
    createdAt
    conversationId
    costCredits
    createdBy
  }
}

Variables

Variables
{
  "conversationId": "",
  "messageId": ""
}