Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1001 Bytes

File metadata and controls

32 lines (28 loc) · 1001 Bytes
copyright Copyright IBM Corp. 2018
link get-a-list-of-moments-in-conversation
is published

Get a list of moments in conversation

This is a sample GraphQL query to get moments in a conversation. Be sure to switch "conversation-id" to the id of the conversation you're curious about.

query getMomentsInConversation {
  conversation(id: "conversation-id") {
    moments {
      items {
        id
        live
        startTime
        endTime
        summaryPhrases(first: 3) {
          label
        }
      }
    }
  }
}

Get a list of moments in a conversation, see it in action with our GraphQL tool.