query ActiveThreadCluster($threadId: ID!) {
activeThreadCluster(threadId: $threadId) {
id
title
description
category
sentiment
confidence
}
}{
"threadId": "id"
}{
"data": {
"activeThreadCluster": {
"id": "id",
"title": "string",
"description": "string",
"category": "string",
"sentiment": "string",
"confidence": 1.5
}
}
}activeThreadCluster
Returns the cluster that the given thread currently belongs to, or null if the thread has not been assigned to any cluster. Use this to show a customer-support agent which broader topic group a specific thread falls into. This API is in beta and may change without notice.
activeThreadCluster(threadId: ID!): ThreadClusterArguments
Returns
A longer AI-generated summary of the common theme shared by threads in this cluster.
A broader AI-generated category label for the cluster (e.g. 'bug', 'feedback', 'other').
The overall AI-assessed sentiment of threads in this cluster: one of 'positive', 'neutral', or 'negative'.
A score between 0 and 1 indicating how coherent and well-defined the cluster is; null when confidence has not been computed.
A single emoji chosen by the AI to visually represent the cluster's theme.
The threads that belong to this cluster, each annotated with their semantic distance from the cluster centroid.
query ActiveThreadCluster($threadId: ID!) {
activeThreadCluster(threadId: $threadId) {
id
title
description
category
sentiment
confidence
}
}{
"threadId": "id"
}{
"data": {
"activeThreadCluster": {
"id": "id",
"title": "string",
"description": "string",
"category": "string",
"sentiment": "string",
"confidence": 1.5
}
}
}Was this page helpful?

