Headers
Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'
Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.
Body
Request to execute clustering on one or more collections.
IDs of the collections to cluster together
1
Clustering configuration including algorithm and parameters
Number of documents to sample for clustering
Whether to store clustering results
Whether to include cluster membership in results
Whether to compute clustering quality metrics
Whether to save clustering artifacts (e.g., parquet) to S3
Response
Successful Response
Response from cluster execution.
Whether clustering was successful
Algorithm used for clustering
kmeans
, dbscan
, hdbscan
, agglomerative
, spectral
, gaussian_mixture
, mean_shift
, optics
Number of clusters found
Number of documents clustered
Cluster centroids with features
Total execution time in milliseconds
Unique identifier for this clustering run
Clustering quality metrics
S3 key path to parquet file with full results
S3 key to members.parquet (if saved)
Timestamp of clustering