v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
Clusters

Compute new clusters

Starts a background task to compute how the data in an embedded storage bucket is clustered. This helps identify common themes and patterns in the data.

post/ai/clusters

Request body

bucketstring required

The embedded storage bucket to compute the clusters from. The bucket must already be embedded.

filesstring[]

Array of files to filter which are included.

min_cluster_sizeinteger

Smallest number of related text chunks to qualify as a cluster. Top-level clusters should be thought of as identifying broad themes in your data.

min_subcluster_sizeinteger

Smallest number of related text chunks to qualify as a sub-cluster. Sub-clusters should be thought of as identifying more specific topics within a broader theme.

prefixstring

Prefix to filter whcih files in the buckets are included.

Response

Successful Response