Authorizations
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.
Headers
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer sk_live_abc123def456"
"Bearer sk_test_xyz789"
REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'
"ns_abc123def456"
"production"
"my-namespace"
Path Parameters
Cluster ID or name
Body
Response
Successful Response
Cluster metadata stored in MongoDB.
Collections to cluster together
1Optional human-friendly name for the clustering job
Vector or attribute clustering
vector, attribute Required when cluster_type is 'vector' Configuration for vector-based clustering.
Required when cluster_type is 'attribute' Configuration for attribute-based clustering.
Attribute-based clustering groups documents by metadata attributes (e.g., category, brand, status) instead of vector similarity. This is useful for organizing content by business logic rather than semantic similarity.
Examples: - Group products by category and brand - Organize orders by status and priority - Cluster content by author and topic
{
"attributes": ["category"],
"description": "Simple category clustering",
"hierarchical_grouping": false
}{
"attributes": ["category", "brand"],
"description": "Hierarchical category → brand clustering",
"hierarchical_grouping": true
}{
"aggregation_method": "most_frequent",
"attributes": ["status", "priority"],
"description": "Order status and priority (flat)",
"hierarchical_grouping": false
}Configuration for LLM-based cluster labeling
Unique cluster identifier
S3 path to parquet files with cluster data
S3 key to members.parquet (if saved)
Number of clusters found
Clustering quality metrics Basic clustering quality metrics.
Clustering job status
PENDING, IN_PROGRESS, PROCESSING, COMPLETED, FAILED, CANCELED, UNKNOWN, SKIPPED, DRAFT, ACTIVE, ARCHIVED, SUSPENDED Associated task ID for clustering job
When the cluster was created
When the cluster was last updated
Additional user-defined metadata for the cluster

