v5

latestOpenAPI 3.1.02026-08-025631,1012.8 MB
Templates
Cluster Templates

Instantiate Cluster Template

Instantiate cluster template.

post/v1/templates/clusters/{template_id}/instantiate

Path parameters

template_idstring required

Template ID

Template ID

Request body

cluster_namestring required

Name for the new cluster

collection_idsstring[] required

Collection IDs to use for the cluster

descriptionstring nullable

Optional description override for the cluster

Example request

{
  "cluster_name": "my_product_clusters",
  "collection_ids": [
    "col_products"
  ],
  "description": "Cluster products by visual similarity"
}

Response

Successful Response

cluster_idstring required

ID of the created cluster

cluster_namestring required

Name of the created cluster

template_idstring required

ID of the template used

statusstring

Status of the instantiation

created_atstring date-time

Timestamp when cluster was created

Example response

{
  "cluster_id": "clust_abc123",
  "cluster_name": "my_product_clusters",
  "created_at": "2025-01-15T12:00:00Z",
  "status": "created",
  "template_id": "tmpl_visual_clustering"
}