v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBCluster Executions
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
post/v1/clusters/{cluster_id}/executions/list
Path parameters
cluster_idstring required
Cluster ID
Cluster ID
Query parameters
limitinteger nullable
page_sizeinteger nullable
offsetinteger nullable
pageinteger nullable
cursorstring nullable
next_cursorstring nullable
afterstring nullable
include_totalboolean
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
}