OptionalAlgorithmClustering algorithm: 'kmeans' or 'dbscan'.
OptionalColorLegend mode: color points by 'cluster' (default) or 'entity'.
OptionalDimensionsNumber of dimensions for the projected layout (2 or 3). Defaults to 2.
OptionalDistanceDistance metric: 'cosine', 'euclidean' or 'dotproduct'.
OptionalEntitySpecific Entity Document ID supplying the vectors. Blank => the server chooses.
OptionalEntityMulti-entity clustering: one or more Entity Document IDs whose vectors are
merged into one analysis. Takes precedence over EntityDocumentID when
non-empty. The server hard-blocks documents that use different embedding models.
OptionalEntityEntity ID — persisted to the top-level EntityID column when available.
OptionalEntityEntity name whose records are being clustered.
OptionalEpsilonEpsilon neighbourhood radius for DBSCAN.
OptionalFilterOptional SQL-style filter applied by the vector source.
OptionalKNumber of clusters for K-Means.
OptionalMaxMaximum number of records to fetch for clustering.
OptionalMinMinimum points to form a dense region in DBSCAN.
OptionalNameWhen true, runs the optional LLM cluster-naming step server-side.
OptionalPersistWhen supplied, the result is persisted as an MJ: Cluster Analysis row
with this Name and the returned AnalysisID is populated.
Input for the
RunClusterAnalysisGraphQL mutation.Mirrors the server-side
RunClusterAnalysisInput(MJServerRunClusterAnalysisResolver). All fields are optional; the server applies defaults for any that are omitted.