Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.28 KB

V1_get_moments_in_conversation.md

File metadata and controls

39 lines (31 loc) · 1.28 KB
copyright link is
Copyright IBM Corp. 2018
get-a-list-of-moments-in-conversation
beta

Get a list of moments in conversation

NOTE: This graphql object is currently in BETA release and is only available with the following http request header:

  x-graphql-view: BETA

or with apiType=beta on the graphical GraphQL tool URL.

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 conversation, see it in action with our GraphQL tool.