List Cluster Execution History
List execution history for a cluster with pagination, filtering, sorting, and search.
Returns all historical executions for the specified cluster, including:
- Execution status (pending, processing, completed, failed)
- Clustering metrics (silhouette score, Davies-Bouldin index, etc.)
- Number of clusters found and documents processed
- Execution timestamps and duration
- Centroid information
Supports:
- **Filtering**: Filter by status, date range, metrics, etc.
- **Sorting**: Sort by created_at, execution time, metrics
- **Search**: Full-text search across execution metadata
- **Pagination**: Limit and offset for large result sets
Use cases:
- View all past executions for a cluster
- Compare metrics across runs
- Track execution history over time
- Debug failed executions
- Analyze clustering performance trends
Path parameters
Cluster ID
Cluster ID
Query parameters
Request body
Example request
{
"description": "Get all executions (default behavior)"
}Response
Successful Response
Example response
{
"description": "Typical paginated response with executions",
"pagination": {
"next_page": "/clusters/clust_xyz/executions/list?page=2",
"page": 1,
"page_size": 10,
"total": 127,
"total_pages": 13
},
"results": [
{
"centroids": [
{
"cluster_id": "cl_0",
"label": "Product Reviews",
"num_members": 45
}
],
"cluster_id": "clust_ae3e28a429",
"completed_at": "2025-11-13T13:25:40.122000Z",
"created_at": "2025-11-13T13:20:40.122000Z",
"metrics": {
"silhouette_score": 0.85
},
"num_clusters": 3,
"num_points": 100,
"run_id": "run_a8e270953254754b",
"status": "completed"
}
],
"stats": {
"avg_execution_time_ms": 8234.5,
"avg_num_clusters": 5.2,
"executions_by_status": {
"completed": 8,
"failed": 2
},
"total_documents_clustered": 1000,
"total_executions": 10
},
"total_count": 127
}Changes
Changed in 4 of the 30 revisions of this API.29
- ○
added the optional property
results/items/metrics/anyOf[subschema #1: ClusterExecutionMetrics]/avg_cluster_sizeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/metrics/anyOf[subschema #1: ClusterExecutionMetrics]/cluster_size_entropyto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/metrics/anyOf[subschema #1: ClusterExecutionMetrics]/degenerateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/metrics/anyOf[subschema #1: ClusterExecutionMetrics]/degenerate_detailto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/metrics/anyOf[subschema #1: ClusterExecutionMetrics]/mean_cosine_to_centroidto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/metrics/anyOf[subschema #1: ClusterExecutionMetrics]/min_cosine_to_centroidto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/metrics/anyOf[subschema #1: ClusterExecutionMetrics]/noise_ratioto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/metrics/anyOf[subschema #1: ClusterExecutionMetrics]/should_reclusterto the response with the200statusresponse-optional-property-added
- ○
- ○
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional
queryrequest parameterafternew-optional-request-parameter
- ○
added the new optional
queryrequest parameternext_cursornew-optional-request-parameter
- ○
- ○
added the new
geo_bounding_boxenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/AND/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/NOT/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/OR/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/AND/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/NOT/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/OR/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/AND/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/NOT/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request propertyfilters/anyOf[subschema #1: LogicalOperator]/OR/anyOf[subschema #1]/items/anyOf[subschema #2: FilterCondition]/operatorrequest-property-enum-value-added
- ○
added the optional property
results/items/centroids/anyOf[subschema #1]/items/representative_idsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/index_gapto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/input_reconciliation_okto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/input_reconciliation_reasonsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/pipeline_dropto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/pipeline_drop_expected_as_noiseto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/source_documentsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/vectors_clusteredto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/vectors_retrievedto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○