mixpeek 0.81.63 → 0.81.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/api/cluster-executions-api.d.ts +70 -0
  2. package/dist/api/cluster-executions-api.d.ts.map +1 -1
  3. package/dist/index.js +63 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +63 -0
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/models/algorithm-params.d.ts +21 -3
  8. package/dist/models/algorithm-params.d.ts.map +1 -1
  9. package/dist/models/cluster-execution-result.d.ts +18 -0
  10. package/dist/models/cluster-execution-result.d.ts.map +1 -1
  11. package/dist/models/cluster-metadata.d.ts +12 -0
  12. package/dist/models/cluster-metadata.d.ts.map +1 -1
  13. package/dist/models/clustering-algorithm.d.ts +2 -1
  14. package/dist/models/clustering-algorithm.d.ts.map +1 -1
  15. package/dist/models/evo-cparams.d.ts +55 -0
  16. package/dist/models/evo-cparams.d.ts.map +1 -0
  17. package/dist/models/execute-cluster-by-id-request.d.ts +12 -0
  18. package/dist/models/execute-cluster-by-id-request.d.ts.map +1 -1
  19. package/dist/models/index.d.ts +1 -0
  20. package/dist/models/index.d.ts.map +1 -1
  21. package/dist/models/llmlabeling-input.d.ts +6 -0
  22. package/dist/models/llmlabeling-input.d.ts.map +1 -1
  23. package/dist/models/llmlabeling-output.d.ts +6 -0
  24. package/dist/models/llmlabeling-output.d.ts.map +1 -1
  25. package/dist/models/patch-cluster-request.d.ts +12 -0
  26. package/dist/models/patch-cluster-request.d.ts.map +1 -1
  27. package/dist/models/vector-based-config-input.d.ts +12 -0
  28. package/dist/models/vector-based-config-input.d.ts.map +1 -1
  29. package/dist/models/vector-based-config-output.d.ts +12 -0
  30. package/dist/models/vector-based-config-output.d.ts.map +1 -1
  31. package/package.json +1 -1
@@ -33,6 +33,17 @@ export declare const ClusterExecutionsApiAxiosParamCreator: (configuration?: Con
33
33
  * @throws {RequiredError}
34
34
  */
35
35
  cancelExecutionClustersIdRun: (clusterId: string, runId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * One-click export of a clustering run\'s data — the exact rows behind the visualization (one row per member plus one per centroid: document id, cluster id and current label, x/y[/z] layout coordinates, per-cluster stats, and any custom LLM fields). Formats: - **`format=parquet`** (default): returns JSON with a short-lived presigned download URL for the run\'s `cluster_documents.parquet` artifact — the full-fidelity file (includes centroid vectors), any size. Download it promptly; the URL expires. - **`format=csv`**: streams a spreadsheet-friendly CSV conversion — stable column order, current (renamed) cluster labels, no raw vectors. Capped at 100,000 rows; bigger runs get a clear 413 pointing to parquet. Scope to one cluster with `cluster_label` (accepts the run\'s cluster id like `cl_3` OR its current label). Exports are strictly per-run: the run you pass is the run you get. Runs that completed before artifacts existed, failed before the export step, or whose artifacts have aged out of object storage return 404 with a message saying exactly what\'s missing.
38
+ * @summary Export Cluster Run Data (CSV / Parquet)
39
+ * @param {string} clusterId Cluster ID
40
+ * @param {string} runId Run ID whose data to export
41
+ * @param {string} [format] Export format: \&#39;parquet\&#39; returns a presigned download URL (JSON), \&#39;csv\&#39; streams the converted file
42
+ * @param {string} [clusterLabel] CSV only: restrict rows to one cluster — accepts the run\&#39;s cluster id (e.g. \&#39;cl_3\&#39;) or its current label
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ exportClusterExecutionIdRun: (clusterId: string, runId: string, format?: string, clusterLabel?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
47
  /**
37
48
  * Get the most recent execution results for a cluster. Returns execution metadata including: - Execution status (pending, processing, completed, failed) - Clustering metrics (silhouette score, Davies-Bouldin index, etc.) - Number of clusters found and documents processed - Centroid information with labels and summaries - Execution timestamps Useful for: - Displaying cluster statistics in dashboards - Showing cluster quality metrics to users - Rendering cluster labels and summaries in the UI - Tracking execution status and errors
38
49
  * @summary Get Latest Cluster Execution
@@ -102,6 +113,17 @@ export declare const ClusterExecutionsApiFp: (configuration?: Configuration) =>
102
113
  * @throws {RequiredError}
103
114
  */
104
115
  cancelExecutionClustersIdRun(clusterId: string, runId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
116
+ /**
117
+ * One-click export of a clustering run\'s data — the exact rows behind the visualization (one row per member plus one per centroid: document id, cluster id and current label, x/y[/z] layout coordinates, per-cluster stats, and any custom LLM fields). Formats: - **`format=parquet`** (default): returns JSON with a short-lived presigned download URL for the run\'s `cluster_documents.parquet` artifact — the full-fidelity file (includes centroid vectors), any size. Download it promptly; the URL expires. - **`format=csv`**: streams a spreadsheet-friendly CSV conversion — stable column order, current (renamed) cluster labels, no raw vectors. Capped at 100,000 rows; bigger runs get a clear 413 pointing to parquet. Scope to one cluster with `cluster_label` (accepts the run\'s cluster id like `cl_3` OR its current label). Exports are strictly per-run: the run you pass is the run you get. Runs that completed before artifacts existed, failed before the export step, or whose artifacts have aged out of object storage return 404 with a message saying exactly what\'s missing.
118
+ * @summary Export Cluster Run Data (CSV / Parquet)
119
+ * @param {string} clusterId Cluster ID
120
+ * @param {string} runId Run ID whose data to export
121
+ * @param {string} [format] Export format: \&#39;parquet\&#39; returns a presigned download URL (JSON), \&#39;csv\&#39; streams the converted file
122
+ * @param {string} [clusterLabel] CSV only: restrict rows to one cluster — accepts the run\&#39;s cluster id (e.g. \&#39;cl_3\&#39;) or its current label
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ exportClusterExecutionIdRun(clusterId: string, runId: string, format?: string, clusterLabel?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
105
127
  /**
106
128
  * Get the most recent execution results for a cluster. Returns execution metadata including: - Execution status (pending, processing, completed, failed) - Clustering metrics (silhouette score, Davies-Bouldin index, etc.) - Number of clusters found and documents processed - Centroid information with labels and summaries - Execution timestamps Useful for: - Displaying cluster statistics in dashboards - Showing cluster quality metrics to users - Rendering cluster labels and summaries in the UI - Tracking execution status and errors
107
129
  * @summary Get Latest Cluster Execution
@@ -170,6 +192,14 @@ export declare const ClusterExecutionsApiFactory: (configuration?: Configuration
170
192
  * @throws {RequiredError}
171
193
  */
172
194
  cancelExecutionClustersIdRun(requestParameters: ClusterExecutionsApiCancelExecutionClustersIdRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<any>;
195
+ /**
196
+ * One-click export of a clustering run\'s data — the exact rows behind the visualization (one row per member plus one per centroid: document id, cluster id and current label, x/y[/z] layout coordinates, per-cluster stats, and any custom LLM fields). Formats: - **`format=parquet`** (default): returns JSON with a short-lived presigned download URL for the run\'s `cluster_documents.parquet` artifact — the full-fidelity file (includes centroid vectors), any size. Download it promptly; the URL expires. - **`format=csv`**: streams a spreadsheet-friendly CSV conversion — stable column order, current (renamed) cluster labels, no raw vectors. Capped at 100,000 rows; bigger runs get a clear 413 pointing to parquet. Scope to one cluster with `cluster_label` (accepts the run\'s cluster id like `cl_3` OR its current label). Exports are strictly per-run: the run you pass is the run you get. Runs that completed before artifacts existed, failed before the export step, or whose artifacts have aged out of object storage return 404 with a message saying exactly what\'s missing.
197
+ * @summary Export Cluster Run Data (CSV / Parquet)
198
+ * @param {ClusterExecutionsApiExportClusterExecutionIdRunRequest} requestParameters Request parameters.
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ exportClusterExecutionIdRun(requestParameters: ClusterExecutionsApiExportClusterExecutionIdRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<any>;
173
203
  /**
174
204
  * Get the most recent execution results for a cluster. Returns execution metadata including: - Execution status (pending, processing, completed, failed) - Clustering metrics (silhouette score, Davies-Bouldin index, etc.) - Number of clusters found and documents processed - Centroid information with labels and summaries - Execution timestamps Useful for: - Displaying cluster statistics in dashboards - Showing cluster quality metrics to users - Rendering cluster labels and summaries in the UI - Tracking execution status and errors
175
205
  * @summary Get Latest Cluster Execution
@@ -230,6 +260,37 @@ export interface ClusterExecutionsApiCancelExecutionClustersIdRunRequest {
230
260
  */
231
261
  readonly runId: string;
232
262
  }
263
+ /**
264
+ * Request parameters for exportClusterExecutionIdRun operation in ClusterExecutionsApi.
265
+ * @export
266
+ * @interface ClusterExecutionsApiExportClusterExecutionIdRunRequest
267
+ */
268
+ export interface ClusterExecutionsApiExportClusterExecutionIdRunRequest {
269
+ /**
270
+ * Cluster ID
271
+ * @type {string}
272
+ * @memberof ClusterExecutionsApiExportClusterExecutionIdRun
273
+ */
274
+ readonly clusterId: string;
275
+ /**
276
+ * Run ID whose data to export
277
+ * @type {string}
278
+ * @memberof ClusterExecutionsApiExportClusterExecutionIdRun
279
+ */
280
+ readonly runId: string;
281
+ /**
282
+ * Export format: \&#39;parquet\&#39; returns a presigned download URL (JSON), \&#39;csv\&#39; streams the converted file
283
+ * @type {string}
284
+ * @memberof ClusterExecutionsApiExportClusterExecutionIdRun
285
+ */
286
+ readonly format?: string;
287
+ /**
288
+ * CSV only: restrict rows to one cluster — accepts the run\&#39;s cluster id (e.g. \&#39;cl_3\&#39;) or its current label
289
+ * @type {string}
290
+ * @memberof ClusterExecutionsApiExportClusterExecutionIdRun
291
+ */
292
+ readonly clusterLabel?: string;
293
+ }
233
294
  /**
234
295
  * Request parameters for getClusterExecution operation in ClusterExecutionsApi.
235
296
  * @export
@@ -395,6 +456,15 @@ export declare class ClusterExecutionsApi extends BaseAPI {
395
456
  * @memberof ClusterExecutionsApi
396
457
  */
397
458
  cancelExecutionClustersIdRun(requestParameters: ClusterExecutionsApiCancelExecutionClustersIdRunRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
459
+ /**
460
+ * One-click export of a clustering run\'s data — the exact rows behind the visualization (one row per member plus one per centroid: document id, cluster id and current label, x/y[/z] layout coordinates, per-cluster stats, and any custom LLM fields). Formats: - **`format=parquet`** (default): returns JSON with a short-lived presigned download URL for the run\'s `cluster_documents.parquet` artifact — the full-fidelity file (includes centroid vectors), any size. Download it promptly; the URL expires. - **`format=csv`**: streams a spreadsheet-friendly CSV conversion — stable column order, current (renamed) cluster labels, no raw vectors. Capped at 100,000 rows; bigger runs get a clear 413 pointing to parquet. Scope to one cluster with `cluster_label` (accepts the run\'s cluster id like `cl_3` OR its current label). Exports are strictly per-run: the run you pass is the run you get. Runs that completed before artifacts existed, failed before the export step, or whose artifacts have aged out of object storage return 404 with a message saying exactly what\'s missing.
461
+ * @summary Export Cluster Run Data (CSV / Parquet)
462
+ * @param {ClusterExecutionsApiExportClusterExecutionIdRunRequest} requestParameters Request parameters.
463
+ * @param {*} [options] Override http request option.
464
+ * @throws {RequiredError}
465
+ * @memberof ClusterExecutionsApi
466
+ */
467
+ exportClusterExecutionIdRun(requestParameters: ClusterExecutionsApiExportClusterExecutionIdRunRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
398
468
  /**
399
469
  * Get the most recent execution results for a cluster. Returns execution metadata including: - Execution status (pending, processing, completed, failed) - Clustering metrics (silhouette score, Davies-Bouldin index, etc.) - Number of clusters found and documents processed - Centroid information with labels and summaries - Execution timestamps Useful for: - Displaying cluster statistics in dashboards - Showing cluster quality metrics to users - Rendering cluster labels and summaries in the UI - Tracking execution status and errors
400
470
  * @summary Get Latest Cluster Execution
@@ -1 +1 @@
1
- {"version":3,"file":"cluster-executions-api.d.ts","sourceRoot":"","sources":["../../api/cluster-executions-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAEtH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAMxD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AA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AiB,EAAE,8CAA8C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI7H;;;;;;;OAOG;IACI,wBAAwB,CAAC,iBAAiB,EAAE,mDAAmD,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIvI;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiB,EAAE,gDAAgD,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIjI;;;;;;;OAOG;IACI,iCAAiC,CAAC,iBAAiB,EAAE,4DAA4D,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIzJ;;;;;;;OAOG;IACI,6BAA6B,CAAC,iBAAiB,EAAE,wDAAwD,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGpJ"}
package/dist/index.js CHANGED
@@ -10176,6 +10176,42 @@ var ClusterExecutionsApiAxiosParamCreator = function(configuration) {
10176
10176
  options: localVarRequestOptions
10177
10177
  };
10178
10178
  },
10179
+ /**
10180
+ * One-click export of a clustering run\'s data — the exact rows behind the visualization (one row per member plus one per centroid: document id, cluster id and current label, x/y[/z] layout coordinates, per-cluster stats, and any custom LLM fields). Formats: - **`format=parquet`** (default): returns JSON with a short-lived presigned download URL for the run\'s `cluster_documents.parquet` artifact — the full-fidelity file (includes centroid vectors), any size. Download it promptly; the URL expires. - **`format=csv`**: streams a spreadsheet-friendly CSV conversion — stable column order, current (renamed) cluster labels, no raw vectors. Capped at 100,000 rows; bigger runs get a clear 413 pointing to parquet. Scope to one cluster with `cluster_label` (accepts the run\'s cluster id like `cl_3` OR its current label). Exports are strictly per-run: the run you pass is the run you get. Runs that completed before artifacts existed, failed before the export step, or whose artifacts have aged out of object storage return 404 with a message saying exactly what\'s missing.
10181
+ * @summary Export Cluster Run Data (CSV / Parquet)
10182
+ * @param {string} clusterId Cluster ID
10183
+ * @param {string} runId Run ID whose data to export
10184
+ * @param {string} [format] Export format: \&#39;parquet\&#39; returns a presigned download URL (JSON), \&#39;csv\&#39; streams the converted file
10185
+ * @param {string} [clusterLabel] CSV only: restrict rows to one cluster — accepts the run\&#39;s cluster id (e.g. \&#39;cl_3\&#39;) or its current label
10186
+ * @param {*} [options] Override http request option.
10187
+ * @throws {RequiredError}
10188
+ */
10189
+ exportClusterExecutionIdRun: async (clusterId, runId, format, clusterLabel, options = {}) => {
10190
+ assertParamExists("exportClusterExecutionIdRun", "clusterId", clusterId);
10191
+ assertParamExists("exportClusterExecutionIdRun", "runId", runId);
10192
+ const localVarPath = `/v1/clusters/{cluster_id}/executions/{run_id}/export`.replace(`{${"cluster_id"}}`, encodeURIComponent(String(clusterId))).replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
10193
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10194
+ let baseOptions;
10195
+ if (configuration) {
10196
+ baseOptions = configuration.baseOptions;
10197
+ }
10198
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
10199
+ const localVarHeaderParameter = {};
10200
+ const localVarQueryParameter = {};
10201
+ if (format !== void 0) {
10202
+ localVarQueryParameter["format"] = format;
10203
+ }
10204
+ if (clusterLabel !== void 0) {
10205
+ localVarQueryParameter["cluster_label"] = clusterLabel;
10206
+ }
10207
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10208
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10209
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10210
+ return {
10211
+ url: toPathString(localVarUrlObj),
10212
+ options: localVarRequestOptions
10213
+ };
10214
+ },
10179
10215
  /**
10180
10216
  * Get the most recent execution results for a cluster. Returns execution metadata including: - Execution status (pending, processing, completed, failed) - Clustering metrics (silhouette score, Davies-Bouldin index, etc.) - Number of clusters found and documents processed - Centroid information with labels and summaries - Execution timestamps Useful for: - Displaying cluster statistics in dashboards - Showing cluster quality metrics to users - Rendering cluster labels and summaries in the UI - Tracking execution status and errors
10181
10217
  * @summary Get Latest Cluster Execution
@@ -10374,6 +10410,22 @@ var ClusterExecutionsApiFp = function(configuration) {
10374
10410
  const localVarOperationServerBasePath = operationServerMap["ClusterExecutionsApi.cancelExecutionClustersIdRun"]?.[localVarOperationServerIndex]?.url;
10375
10411
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
10376
10412
  },
10413
+ /**
10414
+ * One-click export of a clustering run\'s data — the exact rows behind the visualization (one row per member plus one per centroid: document id, cluster id and current label, x/y[/z] layout coordinates, per-cluster stats, and any custom LLM fields). Formats: - **`format=parquet`** (default): returns JSON with a short-lived presigned download URL for the run\'s `cluster_documents.parquet` artifact — the full-fidelity file (includes centroid vectors), any size. Download it promptly; the URL expires. - **`format=csv`**: streams a spreadsheet-friendly CSV conversion — stable column order, current (renamed) cluster labels, no raw vectors. Capped at 100,000 rows; bigger runs get a clear 413 pointing to parquet. Scope to one cluster with `cluster_label` (accepts the run\'s cluster id like `cl_3` OR its current label). Exports are strictly per-run: the run you pass is the run you get. Runs that completed before artifacts existed, failed before the export step, or whose artifacts have aged out of object storage return 404 with a message saying exactly what\'s missing.
10415
+ * @summary Export Cluster Run Data (CSV / Parquet)
10416
+ * @param {string} clusterId Cluster ID
10417
+ * @param {string} runId Run ID whose data to export
10418
+ * @param {string} [format] Export format: \&#39;parquet\&#39; returns a presigned download URL (JSON), \&#39;csv\&#39; streams the converted file
10419
+ * @param {string} [clusterLabel] CSV only: restrict rows to one cluster — accepts the run\&#39;s cluster id (e.g. \&#39;cl_3\&#39;) or its current label
10420
+ * @param {*} [options] Override http request option.
10421
+ * @throws {RequiredError}
10422
+ */
10423
+ async exportClusterExecutionIdRun(clusterId, runId, format, clusterLabel, options) {
10424
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportClusterExecutionIdRun(clusterId, runId, format, clusterLabel, options);
10425
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10426
+ const localVarOperationServerBasePath = operationServerMap["ClusterExecutionsApi.exportClusterExecutionIdRun"]?.[localVarOperationServerIndex]?.url;
10427
+ return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
10428
+ },
10377
10429
  /**
10378
10430
  * Get the most recent execution results for a cluster. Returns execution metadata including: - Execution status (pending, processing, completed, failed) - Clustering metrics (silhouette score, Davies-Bouldin index, etc.) - Number of clusters found and documents processed - Centroid information with labels and summaries - Execution timestamps Useful for: - Displaying cluster statistics in dashboards - Showing cluster quality metrics to users - Rendering cluster labels and summaries in the UI - Tracking execution status and errors
10379
10431
  * @summary Get Latest Cluster Execution
@@ -10467,6 +10519,17 @@ var ClusterExecutionsApi = class extends BaseAPI {
10467
10519
  cancelExecutionClustersIdRun(requestParameters, options) {
10468
10520
  return ClusterExecutionsApiFp(this.configuration).cancelExecutionClustersIdRun(requestParameters.clusterId, requestParameters.runId, options).then((request) => request(this.axios, this.basePath));
10469
10521
  }
10522
+ /**
10523
+ * One-click export of a clustering run\'s data — the exact rows behind the visualization (one row per member plus one per centroid: document id, cluster id and current label, x/y[/z] layout coordinates, per-cluster stats, and any custom LLM fields). Formats: - **`format=parquet`** (default): returns JSON with a short-lived presigned download URL for the run\'s `cluster_documents.parquet` artifact — the full-fidelity file (includes centroid vectors), any size. Download it promptly; the URL expires. - **`format=csv`**: streams a spreadsheet-friendly CSV conversion — stable column order, current (renamed) cluster labels, no raw vectors. Capped at 100,000 rows; bigger runs get a clear 413 pointing to parquet. Scope to one cluster with `cluster_label` (accepts the run\'s cluster id like `cl_3` OR its current label). Exports are strictly per-run: the run you pass is the run you get. Runs that completed before artifacts existed, failed before the export step, or whose artifacts have aged out of object storage return 404 with a message saying exactly what\'s missing.
10524
+ * @summary Export Cluster Run Data (CSV / Parquet)
10525
+ * @param {ClusterExecutionsApiExportClusterExecutionIdRunRequest} requestParameters Request parameters.
10526
+ * @param {*} [options] Override http request option.
10527
+ * @throws {RequiredError}
10528
+ * @memberof ClusterExecutionsApi
10529
+ */
10530
+ exportClusterExecutionIdRun(requestParameters, options) {
10531
+ return ClusterExecutionsApiFp(this.configuration).exportClusterExecutionIdRun(requestParameters.clusterId, requestParameters.runId, requestParameters.format, requestParameters.clusterLabel, options).then((request) => request(this.axios, this.basePath));
10532
+ }
10470
10533
  /**
10471
10534
  * Get the most recent execution results for a cluster. Returns execution metadata including: - Execution status (pending, processing, completed, failed) - Clustering metrics (silhouette score, Davies-Bouldin index, etc.) - Number of clusters found and documents processed - Centroid information with labels and summaries - Execution timestamps Useful for: - Displaying cluster statistics in dashboards - Showing cluster quality metrics to users - Rendering cluster labels and summaries in the UI - Tracking execution status and errors
10472
10535
  * @summary Get Latest Cluster Execution