mixpeek 0.81.63 → 0.81.65

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 (37) 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/api/custom-models-api.d.ts +6 -6
  4. package/dist/api/custom-models-api.d.ts.map +1 -1
  5. package/dist/api/manifest-api.d.ts +24 -24
  6. package/dist/api/manifest-api.d.ts.map +1 -1
  7. package/dist/index.js +63 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +63 -0
  10. package/dist/index.mjs.map +1 -1
  11. package/dist/models/algorithm-params.d.ts +21 -3
  12. package/dist/models/algorithm-params.d.ts.map +1 -1
  13. package/dist/models/cluster-execution-result.d.ts +18 -0
  14. package/dist/models/cluster-execution-result.d.ts.map +1 -1
  15. package/dist/models/cluster-metadata.d.ts +12 -0
  16. package/dist/models/cluster-metadata.d.ts.map +1 -1
  17. package/dist/models/clustering-algorithm.d.ts +2 -1
  18. package/dist/models/clustering-algorithm.d.ts.map +1 -1
  19. package/dist/models/evo-cparams.d.ts +55 -0
  20. package/dist/models/evo-cparams.d.ts.map +1 -0
  21. package/dist/models/execute-cluster-by-id-request.d.ts +12 -0
  22. package/dist/models/execute-cluster-by-id-request.d.ts.map +1 -1
  23. package/dist/models/index.d.ts +1 -0
  24. package/dist/models/index.d.ts.map +1 -1
  25. package/dist/models/llmlabeling-input.d.ts +6 -0
  26. package/dist/models/llmlabeling-input.d.ts.map +1 -1
  27. package/dist/models/llmlabeling-output.d.ts +6 -0
  28. package/dist/models/llmlabeling-output.d.ts.map +1 -1
  29. package/dist/models/patch-cluster-request.d.ts +12 -0
  30. package/dist/models/patch-cluster-request.d.ts.map +1 -1
  31. package/dist/models/validation-error.d.ts +12 -0
  32. package/dist/models/validation-error.d.ts.map +1 -1
  33. package/dist/models/vector-based-config-input.d.ts +12 -0
  34. package/dist/models/vector-based-config-input.d.ts.map +1 -1
  35. package/dist/models/vector-based-config-output.d.ts +12 -0
  36. package/dist/models/vector-based-config-output.d.ts.map +1 -1
  37. 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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,iBAAiB,EAAE,uDAAuD,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI/I;;;;;;;OAOG;IACI,2BAA2B,CAAC,iBAAiB,EAAE,sDAAsD,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI7I;;;;;;;OAOG;IACI,mBAAmB,CAAC,iBAAiB,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"}
@@ -92,7 +92,7 @@ export declare const CustomModelsApiAxiosParamCreator: (configuration?: Configur
92
92
  * Upload custom model weights to the namespace. **Requirements:** - Organization must be on Enterprise tier **Supported Model Formats:** - `safetensors`: SafeTensors format (recommended for transformers) - `onnx`: ONNX Runtime format - `pytorch`: PyTorch state_dict or TorchScript - `huggingface`: HuggingFace model directory **Base Images (auto-selected based on format):** - `mixpeek/serve-gpu:latest`: For safetensors, pytorch, huggingface (includes torch, transformers) - `mixpeek/serve-minimal:latest`: For ONNX (includes onnxruntime only) **Important:** Models run in fixed base images. You cannot install additional pip packages. All required frameworks (torch, transformers, onnxruntime) are pre-installed.
93
93
  * @summary Upload a custom model
94
94
  * @param {string} namespaceId
95
- * @param {File} file Model archive (.tar.gz)
95
+ * @param {string} file Model archive (.tar.gz)
96
96
  * @param {string} name Model name
97
97
  * @param {string} version Model version
98
98
  * @param {UploadModelNamespacesModelFormatEnum} modelFormat Model format
@@ -104,7 +104,7 @@ export declare const CustomModelsApiAxiosParamCreator: (configuration?: Configur
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
106
106
  */
107
- uploadModelNamespaces: (namespaceId: string, file: File, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
107
+ uploadModelNamespaces: (namespaceId: string, file: string, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
108
108
  };
109
109
  /**
110
110
  * CustomModelsApi - functional programming interface
@@ -177,7 +177,7 @@ export declare const CustomModelsApiFp: (configuration?: Configuration) => {
177
177
  * Upload custom model weights to the namespace. **Requirements:** - Organization must be on Enterprise tier **Supported Model Formats:** - `safetensors`: SafeTensors format (recommended for transformers) - `onnx`: ONNX Runtime format - `pytorch`: PyTorch state_dict or TorchScript - `huggingface`: HuggingFace model directory **Base Images (auto-selected based on format):** - `mixpeek/serve-gpu:latest`: For safetensors, pytorch, huggingface (includes torch, transformers) - `mixpeek/serve-minimal:latest`: For ONNX (includes onnxruntime only) **Important:** Models run in fixed base images. You cannot install additional pip packages. All required frameworks (torch, transformers, onnxruntime) are pre-installed.
178
178
  * @summary Upload a custom model
179
179
  * @param {string} namespaceId
180
- * @param {File} file Model archive (.tar.gz)
180
+ * @param {string} file Model archive (.tar.gz)
181
181
  * @param {string} name Model name
182
182
  * @param {string} version Model version
183
183
  * @param {UploadModelNamespacesModelFormatEnum} modelFormat Model format
@@ -189,7 +189,7 @@ export declare const CustomModelsApiFp: (configuration?: Configuration) => {
189
189
  * @param {*} [options] Override http request option.
190
190
  * @throws {RequiredError}
191
191
  */
192
- uploadModelNamespaces(namespaceId: string, file: File, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelUploadResponse>>;
192
+ uploadModelNamespaces(namespaceId: string, file: string, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelUploadResponse>>;
193
193
  };
194
194
  /**
195
195
  * CustomModelsApi - factory interface
@@ -402,10 +402,10 @@ export interface CustomModelsApiUploadModelNamespacesRequest {
402
402
  readonly namespaceId: string;
403
403
  /**
404
404
  * Model archive (.tar.gz)
405
- * @type {File}
405
+ * @type {string}
406
406
  * @memberof CustomModelsApiUploadModelNamespaces
407
407
  */
408
- readonly file: File;
408
+ readonly file: string;
409
409
  /**
410
410
  * Model name
411
411
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"custom-models-api.d.ts","sourceRoot":"","sources":["../../api/custom-models-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,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAE5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAMxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;A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IACI,yBAAyB,CAAC,iBAAiB,EAAE,+CAA+C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIpI;;;;;;;OAOG;IACI,wBAAwB,CAAC,iBAAiB,EAAE,8CAA8C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIlI;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAAiB,EAAE,wCAAwC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItH;;;;;;;OAOG;IACI,gCAAgC,CAAC,iBAAiB,EAAE,sDAAsD,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIlJ;;;;;;;OAOG;IACI,oBAAoB,CAAC,iBAAiB,EAAE,0CAA0C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI1H;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAG/H;AAED;;GAEG;AACH,eAAO,MAAM,oCAAoC;;;;;CAKvC,CAAC;AACX,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAC,MAAM,OAAO,oCAAoC,CAAC,CAAC"}
@@ -24,20 +24,20 @@ export declare const ManifestApiAxiosParamCreator: (configuration?: Configuratio
24
24
  /**
25
25
  * Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. Fails if any resource already exists (create-only mode). Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
26
26
  * @summary Apply Manifest
27
- * @param {File} manifestFile YAML manifest file
27
+ * @param {string} manifestFile YAML manifest file
28
28
  * @param {boolean} [dryRun] Validate only, don\&#39;t create resources
29
29
  * @param {*} [options] Override http request option.
30
30
  * @throws {RequiredError}
31
31
  */
32
- applyManifest: (manifestFile: File, dryRun?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ applyManifest: (manifestFile: string, dryRun?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
33
  /**
34
34
  * Compare a manifest file with current state. Shows resources that would be: - **Created**: In manifest but not in system - **In system only**: In system but not in manifest - **Different**: In both but with configuration differences This is useful for understanding what changes would occur before applying a manifest. **Example:** ```bash curl -X POST /v1/manifest/diff \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
35
35
  * @summary Diff Manifest
36
- * @param {File} manifestFile YAML manifest file
36
+ * @param {string} manifestFile YAML manifest file
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
39
39
  */
40
- diffManifest: (manifestFile: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ diffManifest: (manifestFile: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
41
  /**
42
42
  * Export current resources to a YAML manifest. Exports all resources (or a specific namespace) to a YAML file that can be version-controlled and re-applied to another environment. **Features:** - Resource IDs are converted to human-readable names - Secret values are replaced with placeholder references (`${{ secrets.NAME }}`) - Output is formatted for readability and git-friendliness **Note:** You must configure actual secrets before applying the exported manifest to a new environment. **Example:** ```bash # Export all resources curl /v1/manifest/export \\ -H \"Authorization: Bearer $API_KEY\" \\ -o mixpeek.yaml # Export specific namespace curl \"/v1/manifest/export?namespace_id=ns_abc123\" \\ -H \"Authorization: Bearer $API_KEY\" \\ -o namespace.yaml ```
43
43
  * @summary Export Manifest Get
@@ -69,20 +69,20 @@ export declare const ManifestApiAxiosParamCreator: (configuration?: Configuratio
69
69
  /**
70
70
  * Lint a YAML manifest for best practices and potential issues. Goes beyond basic validation to provide actionable suggestions for improving your manifest configuration. This endpoint is designed for AI agents and developers who want to optimize their Mixpeek setup. **Lint Rules:** - `UNUSED_EXTRACTOR`: Feature extractor defined but not used by any collection - `UNUSED_COLLECTION`: Collection not referenced by any retriever - `MISSING_INPUT_SCHEMA`: Retriever uses templates but has no input_schema - `MISSING_CACHE_CONFIG`: Retriever without caching (especially with LLM stages) - `SUBOPTIMAL_STAGE_ORDER`: Filter stages after expensive operations - `DUPLICATE_FEATURE_URI`: Same feature searched multiple times - `MISSING_DESCRIPTION`: Resources without descriptions - `NO_SEARCH_STAGE`: Retriever with no search stages - `EXTRACTOR_NOT_IN_NAMESPACE`: Collection uses extractor not in namespace - `MISSING_SECRET`: Secret reference not configured **Severity Levels:** - `error`: Must be fixed before applying - `warning`: Best practice violation, should be fixed - `info`: Suggestion for improvement **Example:** ```bash curl -X POST /v1/manifest/lint \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Response includes actionable suggestions:** ```json { \"valid\": true, \"results\": [ { \"code\": \"MISSING_CACHE_CONFIG\", \"severity\": \"warning\", \"message\": \"Retriever \'product_search\' has no cache configuration\", \"location\": \"retrievers[0]\", \"suggestion\": \"Add cache_config to improve performance\", \"fix_example\": \"cache_config:\\n enabled: true\\n ttl_seconds: 3600\" } ], \"summary\": {\"error\": 0, \"warning\": 1, \"info\": 0} } ```
71
71
  * @summary Lint Manifest
72
- * @param {File} manifestFile YAML manifest file
72
+ * @param {string} manifestFile YAML manifest file
73
73
  * @param {Array<string>} [skipRules] Rule codes to skip (e.g., MISSING_DESCRIPTION)
74
74
  * @param {*} [options] Override http request option.
75
75
  * @throws {RequiredError}
76
76
  */
77
- lintManifest: (manifestFile: File, skipRules?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
77
+ lintManifest: (manifestFile: string, skipRules?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
78
  /**
79
79
  * Validate a YAML manifest without applying. Checks: - YAML syntax validity - Schema validation against manifest models - Cross-resource reference validation - Dependency resolution (no circular dependencies) - Secret reference existence Returns detailed validation results including: - Resource counts by type - Missing secrets that need to be configured - Validation errors and warnings **Example:** ```bash curl -X POST /v1/manifest/validate \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
80
80
  * @summary Validate Manifest
81
- * @param {File} manifestFile YAML manifest file
81
+ * @param {string} manifestFile YAML manifest file
82
82
  * @param {*} [options] Override http request option.
83
83
  * @throws {RequiredError}
84
84
  */
85
- validateManifest: (manifestFile: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
85
+ validateManifest: (manifestFile: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
86
  };
87
87
  /**
88
88
  * ManifestApi - functional programming interface
@@ -92,20 +92,20 @@ export declare const ManifestApiFp: (configuration?: Configuration) => {
92
92
  /**
93
93
  * Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. Fails if any resource already exists (create-only mode). Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
94
94
  * @summary Apply Manifest
95
- * @param {File} manifestFile YAML manifest file
95
+ * @param {string} manifestFile YAML manifest file
96
96
  * @param {boolean} [dryRun] Validate only, don\&#39;t create resources
97
97
  * @param {*} [options] Override http request option.
98
98
  * @throws {RequiredError}
99
99
  */
100
- applyManifest(manifestFile: File, dryRun?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplyResult>>;
100
+ applyManifest(manifestFile: string, dryRun?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplyResult>>;
101
101
  /**
102
102
  * Compare a manifest file with current state. Shows resources that would be: - **Created**: In manifest but not in system - **In system only**: In system but not in manifest - **Different**: In both but with configuration differences This is useful for understanding what changes would occur before applying a manifest. **Example:** ```bash curl -X POST /v1/manifest/diff \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
103
103
  * @summary Diff Manifest
104
- * @param {File} manifestFile YAML manifest file
104
+ * @param {string} manifestFile YAML manifest file
105
105
  * @param {*} [options] Override http request option.
106
106
  * @throws {RequiredError}
107
107
  */
108
- diffManifest(manifestFile: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiffResult>>;
108
+ diffManifest(manifestFile: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiffResult>>;
109
109
  /**
110
110
  * Export current resources to a YAML manifest. Exports all resources (or a specific namespace) to a YAML file that can be version-controlled and re-applied to another environment. **Features:** - Resource IDs are converted to human-readable names - Secret values are replaced with placeholder references (`${{ secrets.NAME }}`) - Output is formatted for readability and git-friendliness **Note:** You must configure actual secrets before applying the exported manifest to a new environment. **Example:** ```bash # Export all resources curl /v1/manifest/export \\ -H \"Authorization: Bearer $API_KEY\" \\ -o mixpeek.yaml # Export specific namespace curl \"/v1/manifest/export?namespace_id=ns_abc123\" \\ -H \"Authorization: Bearer $API_KEY\" \\ -o namespace.yaml ```
111
111
  * @summary Export Manifest Get
@@ -137,20 +137,20 @@ export declare const ManifestApiFp: (configuration?: Configuration) => {
137
137
  /**
138
138
  * Lint a YAML manifest for best practices and potential issues. Goes beyond basic validation to provide actionable suggestions for improving your manifest configuration. This endpoint is designed for AI agents and developers who want to optimize their Mixpeek setup. **Lint Rules:** - `UNUSED_EXTRACTOR`: Feature extractor defined but not used by any collection - `UNUSED_COLLECTION`: Collection not referenced by any retriever - `MISSING_INPUT_SCHEMA`: Retriever uses templates but has no input_schema - `MISSING_CACHE_CONFIG`: Retriever without caching (especially with LLM stages) - `SUBOPTIMAL_STAGE_ORDER`: Filter stages after expensive operations - `DUPLICATE_FEATURE_URI`: Same feature searched multiple times - `MISSING_DESCRIPTION`: Resources without descriptions - `NO_SEARCH_STAGE`: Retriever with no search stages - `EXTRACTOR_NOT_IN_NAMESPACE`: Collection uses extractor not in namespace - `MISSING_SECRET`: Secret reference not configured **Severity Levels:** - `error`: Must be fixed before applying - `warning`: Best practice violation, should be fixed - `info`: Suggestion for improvement **Example:** ```bash curl -X POST /v1/manifest/lint \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Response includes actionable suggestions:** ```json { \"valid\": true, \"results\": [ { \"code\": \"MISSING_CACHE_CONFIG\", \"severity\": \"warning\", \"message\": \"Retriever \'product_search\' has no cache configuration\", \"location\": \"retrievers[0]\", \"suggestion\": \"Add cache_config to improve performance\", \"fix_example\": \"cache_config:\\n enabled: true\\n ttl_seconds: 3600\" } ], \"summary\": {\"error\": 0, \"warning\": 1, \"info\": 0} } ```
139
139
  * @summary Lint Manifest
140
- * @param {File} manifestFile YAML manifest file
140
+ * @param {string} manifestFile YAML manifest file
141
141
  * @param {Array<string>} [skipRules] Rule codes to skip (e.g., MISSING_DESCRIPTION)
142
142
  * @param {*} [options] Override http request option.
143
143
  * @throws {RequiredError}
144
144
  */
145
- lintManifest(manifestFile: File, skipRules?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LintResponse>>;
145
+ lintManifest(manifestFile: string, skipRules?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LintResponse>>;
146
146
  /**
147
147
  * Validate a YAML manifest without applying. Checks: - YAML syntax validity - Schema validation against manifest models - Cross-resource reference validation - Dependency resolution (no circular dependencies) - Secret reference existence Returns detailed validation results including: - Resource counts by type - Missing secrets that need to be configured - Validation errors and warnings **Example:** ```bash curl -X POST /v1/manifest/validate \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
148
148
  * @summary Validate Manifest
149
- * @param {File} manifestFile YAML manifest file
149
+ * @param {string} manifestFile YAML manifest file
150
150
  * @param {*} [options] Override http request option.
151
151
  * @throws {RequiredError}
152
152
  */
153
- validateManifest(manifestFile: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateResult>>;
153
+ validateManifest(manifestFile: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateResult>>;
154
154
  };
155
155
  /**
156
156
  * ManifestApi - factory interface
@@ -222,10 +222,10 @@ export declare const ManifestApiFactory: (configuration?: Configuration, basePat
222
222
  export interface ManifestApiApplyManifestRequest {
223
223
  /**
224
224
  * YAML manifest file
225
- * @type {File}
225
+ * @type {string}
226
226
  * @memberof ManifestApiApplyManifest
227
227
  */
228
- readonly manifestFile: File;
228
+ readonly manifestFile: string;
229
229
  /**
230
230
  * Validate only, don\&#39;t create resources
231
231
  * @type {boolean}
@@ -241,10 +241,10 @@ export interface ManifestApiApplyManifestRequest {
241
241
  export interface ManifestApiDiffManifestRequest {
242
242
  /**
243
243
  * YAML manifest file
244
- * @type {File}
244
+ * @type {string}
245
245
  * @memberof ManifestApiDiffManifest
246
246
  */
247
- readonly manifestFile: File;
247
+ readonly manifestFile: string;
248
248
  }
249
249
  /**
250
250
  * Request parameters for exportManifestGet operation in ManifestApi.
@@ -317,10 +317,10 @@ export interface ManifestApiGenerateManifestRequest {
317
317
  export interface ManifestApiLintManifestRequest {
318
318
  /**
319
319
  * YAML manifest file
320
- * @type {File}
320
+ * @type {string}
321
321
  * @memberof ManifestApiLintManifest
322
322
  */
323
- readonly manifestFile: File;
323
+ readonly manifestFile: string;
324
324
  /**
325
325
  * Rule codes to skip (e.g., MISSING_DESCRIPTION)
326
326
  * @type {Array<string>}
@@ -336,10 +336,10 @@ export interface ManifestApiLintManifestRequest {
336
336
  export interface ManifestApiValidateManifestRequest {
337
337
  /**
338
338
  * YAML manifest file
339
- * @type {File}
339
+ * @type {string}
340
340
  * @memberof ManifestApiValidateManifest
341
341
  */
342
- readonly manifestFile: File;
342
+ readonly manifestFile: string;
343
343
  }
344
344
  /**
345
345
  * ManifestApi - object-oriented interface
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-api.d.ts","sourceRoot":"","sources":["../../api/manifest-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,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAM5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChD;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAa,gBAAgB,aAAa;IAE3E;;;;;;;OAOG;kCACiC,IAAI,WAAW,OAAO,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAsCtH;;;;;;OAMG;iCACgC,IAAI,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAkCnG;;;;;;;;OAQG;sCACqC,MAAM,WAAW,MAAM,iBAAiB,MAAM,YAAW,q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AAQ,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CACrC;AAED;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,WAAY,SAAQ,OAAO;IACpC;;;;;;;OAOG;IACI,aAAa,CAAC,iBAAiB,EAAE,+BAA+B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIxG;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItG;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,GAAE,mCAAwC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIrH;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAAiB,GAAE,oCAAyC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIvH;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI9G;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItG;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGjH"}
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