mixpeek 0.81.61 → 0.81.63
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.
- package/dist/api/cluster-executions-api.d.ts +128 -0
- package/dist/api/cluster-executions-api.d.ts.map +1 -1
- package/dist/index.js +116 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +116 -0
- package/dist/index.mjs.map +1 -1
- package/dist/models/cluster-execution-result.d.ts +14 -0
- package/dist/models/cluster-execution-result.d.ts.map +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/patch-execution-labels-request.d.ts +27 -0
- package/dist/models/patch-execution-labels-request.d.ts.map +1 -0
- package/dist/models/patch-execution-labels-response.d.ts +39 -0
- package/dist/models/patch-execution-labels-response.d.ts.map +1 -0
- package/dist/models/patch-execution-run-name-request.d.ts +25 -0
- package/dist/models/patch-execution-run-name-request.d.ts.map +1 -0
- package/dist/models/patch-execution-run-name-response.d.ts +37 -0
- package/dist/models/patch-execution-run-name-response.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -15,6 +15,10 @@ import { type RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import type { ClusterExecutionResult } from '../models';
|
|
16
16
|
import type { ListClusterExecutionsRequest } from '../models';
|
|
17
17
|
import type { ListClusterExecutionsResponse } from '../models';
|
|
18
|
+
import type { PatchExecutionLabelsRequest } from '../models';
|
|
19
|
+
import type { PatchExecutionLabelsResponse } from '../models';
|
|
20
|
+
import type { PatchExecutionRunNameRequest } from '../models';
|
|
21
|
+
import type { PatchExecutionRunNameResponse } from '../models';
|
|
18
22
|
/**
|
|
19
23
|
* ClusterExecutionsApi - axios parameter creator
|
|
20
24
|
* @export
|
|
@@ -63,6 +67,26 @@ export declare const ClusterExecutionsApiAxiosParamCreator: (configuration?: Con
|
|
|
63
67
|
* @throws {RequiredError}
|
|
64
68
|
*/
|
|
65
69
|
listClusterExecutions: (clusterId: string, limit?: number, pageSize?: number, offset?: number, page?: number, cursor?: string, includeTotal?: boolean, listClusterExecutionsRequest?: ListClusterExecutionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
* Rename cluster labels for a single execution — no re-run required. Entries merge into the execution record\'s `label_overrides` map (per-key upsert): a non-empty value sets/replaces the override for that cluster_id, an empty string deletes it (restoring the original LLM/auto label). Overrides are applied server-side wherever labels are read — execution GETs (`centroids[].label`) and the cluster visualization endpoint (`cluster_label` on centroid points) — so all clients agree. Overrides are per-run because cluster ids (`cl_0`, `cl_1`, ...) are assigned per-run: a rename on one execution never leaks onto another. Example body: `{\"labels\": {\"cl_0\": \"Gadget Reviews\", \"cl_2\": \"\"}}` (renames cl_0, deletes any override on cl_2).
|
|
72
|
+
* @summary Rename Cluster Labels (Per-Execution)
|
|
73
|
+
* @param {string} clusterId Cluster ID
|
|
74
|
+
* @param {string} runId Run ID whose labels to rename
|
|
75
|
+
* @param {PatchExecutionLabelsRequest} patchExecutionLabelsRequest
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
patchExecutionLabelsClustersIdRun: (clusterId: string, runId: string, patchExecutionLabelsRequest: PatchExecutionLabelsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
/**
|
|
81
|
+
* Set (or clear) a human-friendly name on a single execution run — no re-run required. A non-empty value sets/replaces the run\'s `run_name`; an empty string clears it, restoring the unnamed (run_id-only) state. Names are trimmed and capped at 120 characters. The name is persisted on the execution record and returned by execution GET/LIST responses (`run_name`, omitted entirely while unnamed), so run selectors and execution-history views can show \'July tuning baseline\' instead of `run_a8e2709532...`. Sibling of PATCH `.../executions/{run_id}/labels`: each display field gets its own strict single-purpose PATCH rather than a general execution PATCH, because execution results themselves are immutable. Example body: `{\"run_name\": \"July tuning baseline\"}` (or `{\"run_name\": \"\"}` to clear).
|
|
82
|
+
* @summary Name an Execution Run
|
|
83
|
+
* @param {string} clusterId Cluster ID
|
|
84
|
+
* @param {string} runId Run ID to name
|
|
85
|
+
* @param {PatchExecutionRunNameRequest} patchExecutionRunNameRequest
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
patchExecutionRunNameClusters: (clusterId: string, runId: string, patchExecutionRunNameRequest: PatchExecutionRunNameRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
90
|
};
|
|
67
91
|
/**
|
|
68
92
|
* ClusterExecutionsApi - functional programming interface
|
|
@@ -112,6 +136,26 @@ export declare const ClusterExecutionsApiFp: (configuration?: Configuration) =>
|
|
|
112
136
|
* @throws {RequiredError}
|
|
113
137
|
*/
|
|
114
138
|
listClusterExecutions(clusterId: string, limit?: number, pageSize?: number, offset?: number, page?: number, cursor?: string, includeTotal?: boolean, listClusterExecutionsRequest?: ListClusterExecutionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClusterExecutionsResponse>>;
|
|
139
|
+
/**
|
|
140
|
+
* Rename cluster labels for a single execution — no re-run required. Entries merge into the execution record\'s `label_overrides` map (per-key upsert): a non-empty value sets/replaces the override for that cluster_id, an empty string deletes it (restoring the original LLM/auto label). Overrides are applied server-side wherever labels are read — execution GETs (`centroids[].label`) and the cluster visualization endpoint (`cluster_label` on centroid points) — so all clients agree. Overrides are per-run because cluster ids (`cl_0`, `cl_1`, ...) are assigned per-run: a rename on one execution never leaks onto another. Example body: `{\"labels\": {\"cl_0\": \"Gadget Reviews\", \"cl_2\": \"\"}}` (renames cl_0, deletes any override on cl_2).
|
|
141
|
+
* @summary Rename Cluster Labels (Per-Execution)
|
|
142
|
+
* @param {string} clusterId Cluster ID
|
|
143
|
+
* @param {string} runId Run ID whose labels to rename
|
|
144
|
+
* @param {PatchExecutionLabelsRequest} patchExecutionLabelsRequest
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
*/
|
|
148
|
+
patchExecutionLabelsClustersIdRun(clusterId: string, runId: string, patchExecutionLabelsRequest: PatchExecutionLabelsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchExecutionLabelsResponse>>;
|
|
149
|
+
/**
|
|
150
|
+
* Set (or clear) a human-friendly name on a single execution run — no re-run required. A non-empty value sets/replaces the run\'s `run_name`; an empty string clears it, restoring the unnamed (run_id-only) state. Names are trimmed and capped at 120 characters. The name is persisted on the execution record and returned by execution GET/LIST responses (`run_name`, omitted entirely while unnamed), so run selectors and execution-history views can show \'July tuning baseline\' instead of `run_a8e2709532...`. Sibling of PATCH `.../executions/{run_id}/labels`: each display field gets its own strict single-purpose PATCH rather than a general execution PATCH, because execution results themselves are immutable. Example body: `{\"run_name\": \"July tuning baseline\"}` (or `{\"run_name\": \"\"}` to clear).
|
|
151
|
+
* @summary Name an Execution Run
|
|
152
|
+
* @param {string} clusterId Cluster ID
|
|
153
|
+
* @param {string} runId Run ID to name
|
|
154
|
+
* @param {PatchExecutionRunNameRequest} patchExecutionRunNameRequest
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
patchExecutionRunNameClusters(clusterId: string, runId: string, patchExecutionRunNameRequest: PatchExecutionRunNameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchExecutionRunNameResponse>>;
|
|
115
159
|
};
|
|
116
160
|
/**
|
|
117
161
|
* ClusterExecutionsApi - factory interface
|
|
@@ -150,6 +194,22 @@ export declare const ClusterExecutionsApiFactory: (configuration?: Configuration
|
|
|
150
194
|
* @throws {RequiredError}
|
|
151
195
|
*/
|
|
152
196
|
listClusterExecutions(requestParameters: ClusterExecutionsApiListClusterExecutionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClusterExecutionsResponse>;
|
|
197
|
+
/**
|
|
198
|
+
* Rename cluster labels for a single execution — no re-run required. Entries merge into the execution record\'s `label_overrides` map (per-key upsert): a non-empty value sets/replaces the override for that cluster_id, an empty string deletes it (restoring the original LLM/auto label). Overrides are applied server-side wherever labels are read — execution GETs (`centroids[].label`) and the cluster visualization endpoint (`cluster_label` on centroid points) — so all clients agree. Overrides are per-run because cluster ids (`cl_0`, `cl_1`, ...) are assigned per-run: a rename on one execution never leaks onto another. Example body: `{\"labels\": {\"cl_0\": \"Gadget Reviews\", \"cl_2\": \"\"}}` (renames cl_0, deletes any override on cl_2).
|
|
199
|
+
* @summary Rename Cluster Labels (Per-Execution)
|
|
200
|
+
* @param {ClusterExecutionsApiPatchExecutionLabelsClustersIdRunRequest} requestParameters Request parameters.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
patchExecutionLabelsClustersIdRun(requestParameters: ClusterExecutionsApiPatchExecutionLabelsClustersIdRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<PatchExecutionLabelsResponse>;
|
|
205
|
+
/**
|
|
206
|
+
* Set (or clear) a human-friendly name on a single execution run — no re-run required. A non-empty value sets/replaces the run\'s `run_name`; an empty string clears it, restoring the unnamed (run_id-only) state. Names are trimmed and capped at 120 characters. The name is persisted on the execution record and returned by execution GET/LIST responses (`run_name`, omitted entirely while unnamed), so run selectors and execution-history views can show \'July tuning baseline\' instead of `run_a8e2709532...`. Sibling of PATCH `.../executions/{run_id}/labels`: each display field gets its own strict single-purpose PATCH rather than a general execution PATCH, because execution results themselves are immutable. Example body: `{\"run_name\": \"July tuning baseline\"}` (or `{\"run_name\": \"\"}` to clear).
|
|
207
|
+
* @summary Name an Execution Run
|
|
208
|
+
* @param {ClusterExecutionsApiPatchExecutionRunNameClustersRequest} requestParameters Request parameters.
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
patchExecutionRunNameClusters(requestParameters: ClusterExecutionsApiPatchExecutionRunNameClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<PatchExecutionRunNameResponse>;
|
|
153
213
|
};
|
|
154
214
|
/**
|
|
155
215
|
* Request parameters for cancelExecutionClustersIdRun operation in ClusterExecutionsApi.
|
|
@@ -269,6 +329,56 @@ export interface ClusterExecutionsApiListClusterExecutionsRequest {
|
|
|
269
329
|
*/
|
|
270
330
|
readonly listClusterExecutionsRequest?: ListClusterExecutionsRequest;
|
|
271
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* Request parameters for patchExecutionLabelsClustersIdRun operation in ClusterExecutionsApi.
|
|
334
|
+
* @export
|
|
335
|
+
* @interface ClusterExecutionsApiPatchExecutionLabelsClustersIdRunRequest
|
|
336
|
+
*/
|
|
337
|
+
export interface ClusterExecutionsApiPatchExecutionLabelsClustersIdRunRequest {
|
|
338
|
+
/**
|
|
339
|
+
* Cluster ID
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof ClusterExecutionsApiPatchExecutionLabelsClustersIdRun
|
|
342
|
+
*/
|
|
343
|
+
readonly clusterId: string;
|
|
344
|
+
/**
|
|
345
|
+
* Run ID whose labels to rename
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof ClusterExecutionsApiPatchExecutionLabelsClustersIdRun
|
|
348
|
+
*/
|
|
349
|
+
readonly runId: string;
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {PatchExecutionLabelsRequest}
|
|
353
|
+
* @memberof ClusterExecutionsApiPatchExecutionLabelsClustersIdRun
|
|
354
|
+
*/
|
|
355
|
+
readonly patchExecutionLabelsRequest: PatchExecutionLabelsRequest;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Request parameters for patchExecutionRunNameClusters operation in ClusterExecutionsApi.
|
|
359
|
+
* @export
|
|
360
|
+
* @interface ClusterExecutionsApiPatchExecutionRunNameClustersRequest
|
|
361
|
+
*/
|
|
362
|
+
export interface ClusterExecutionsApiPatchExecutionRunNameClustersRequest {
|
|
363
|
+
/**
|
|
364
|
+
* Cluster ID
|
|
365
|
+
* @type {string}
|
|
366
|
+
* @memberof ClusterExecutionsApiPatchExecutionRunNameClusters
|
|
367
|
+
*/
|
|
368
|
+
readonly clusterId: string;
|
|
369
|
+
/**
|
|
370
|
+
* Run ID to name
|
|
371
|
+
* @type {string}
|
|
372
|
+
* @memberof ClusterExecutionsApiPatchExecutionRunNameClusters
|
|
373
|
+
*/
|
|
374
|
+
readonly runId: string;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @type {PatchExecutionRunNameRequest}
|
|
378
|
+
* @memberof ClusterExecutionsApiPatchExecutionRunNameClusters
|
|
379
|
+
*/
|
|
380
|
+
readonly patchExecutionRunNameRequest: PatchExecutionRunNameRequest;
|
|
381
|
+
}
|
|
272
382
|
/**
|
|
273
383
|
* ClusterExecutionsApi - object-oriented interface
|
|
274
384
|
* @export
|
|
@@ -312,5 +422,23 @@ export declare class ClusterExecutionsApi extends BaseAPI {
|
|
|
312
422
|
* @memberof ClusterExecutionsApi
|
|
313
423
|
*/
|
|
314
424
|
listClusterExecutions(requestParameters: ClusterExecutionsApiListClusterExecutionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListClusterExecutionsResponse, any, {}>>;
|
|
425
|
+
/**
|
|
426
|
+
* Rename cluster labels for a single execution — no re-run required. Entries merge into the execution record\'s `label_overrides` map (per-key upsert): a non-empty value sets/replaces the override for that cluster_id, an empty string deletes it (restoring the original LLM/auto label). Overrides are applied server-side wherever labels are read — execution GETs (`centroids[].label`) and the cluster visualization endpoint (`cluster_label` on centroid points) — so all clients agree. Overrides are per-run because cluster ids (`cl_0`, `cl_1`, ...) are assigned per-run: a rename on one execution never leaks onto another. Example body: `{\"labels\": {\"cl_0\": \"Gadget Reviews\", \"cl_2\": \"\"}}` (renames cl_0, deletes any override on cl_2).
|
|
427
|
+
* @summary Rename Cluster Labels (Per-Execution)
|
|
428
|
+
* @param {ClusterExecutionsApiPatchExecutionLabelsClustersIdRunRequest} requestParameters Request parameters.
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
* @memberof ClusterExecutionsApi
|
|
432
|
+
*/
|
|
433
|
+
patchExecutionLabelsClustersIdRun(requestParameters: ClusterExecutionsApiPatchExecutionLabelsClustersIdRunRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchExecutionLabelsResponse, any, {}>>;
|
|
434
|
+
/**
|
|
435
|
+
* Set (or clear) a human-friendly name on a single execution run — no re-run required. A non-empty value sets/replaces the run\'s `run_name`; an empty string clears it, restoring the unnamed (run_id-only) state. Names are trimmed and capped at 120 characters. The name is persisted on the execution record and returned by execution GET/LIST responses (`run_name`, omitted entirely while unnamed), so run selectors and execution-history views can show \'July tuning baseline\' instead of `run_a8e2709532...`. Sibling of PATCH `.../executions/{run_id}/labels`: each display field gets its own strict single-purpose PATCH rather than a general execution PATCH, because execution results themselves are immutable. Example body: `{\"run_name\": \"July tuning baseline\"}` (or `{\"run_name\": \"\"}` to clear).
|
|
436
|
+
* @summary Name an Execution Run
|
|
437
|
+
* @param {ClusterExecutionsApiPatchExecutionRunNameClustersRequest} requestParameters Request parameters.
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
* @memberof ClusterExecutionsApi
|
|
441
|
+
*/
|
|
442
|
+
patchExecutionRunNameClusters(requestParameters: ClusterExecutionsApiPatchExecutionRunNameClustersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchExecutionRunNameResponse, any, {}>>;
|
|
315
443
|
}
|
|
316
444
|
//# sourceMappingURL=cluster-executions-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-executions-api.d.ts","sourceRoot":"","sources":["../../api/cluster-executions-api.ts"],"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;;;;;;;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
|
@@ -10290,6 +10290,70 @@ var ClusterExecutionsApiAxiosParamCreator = function(configuration) {
|
|
|
10290
10290
|
url: toPathString(localVarUrlObj),
|
|
10291
10291
|
options: localVarRequestOptions
|
|
10292
10292
|
};
|
|
10293
|
+
},
|
|
10294
|
+
/**
|
|
10295
|
+
* Rename cluster labels for a single execution — no re-run required. Entries merge into the execution record\'s `label_overrides` map (per-key upsert): a non-empty value sets/replaces the override for that cluster_id, an empty string deletes it (restoring the original LLM/auto label). Overrides are applied server-side wherever labels are read — execution GETs (`centroids[].label`) and the cluster visualization endpoint (`cluster_label` on centroid points) — so all clients agree. Overrides are per-run because cluster ids (`cl_0`, `cl_1`, ...) are assigned per-run: a rename on one execution never leaks onto another. Example body: `{\"labels\": {\"cl_0\": \"Gadget Reviews\", \"cl_2\": \"\"}}` (renames cl_0, deletes any override on cl_2).
|
|
10296
|
+
* @summary Rename Cluster Labels (Per-Execution)
|
|
10297
|
+
* @param {string} clusterId Cluster ID
|
|
10298
|
+
* @param {string} runId Run ID whose labels to rename
|
|
10299
|
+
* @param {PatchExecutionLabelsRequest} patchExecutionLabelsRequest
|
|
10300
|
+
* @param {*} [options] Override http request option.
|
|
10301
|
+
* @throws {RequiredError}
|
|
10302
|
+
*/
|
|
10303
|
+
patchExecutionLabelsClustersIdRun: async (clusterId, runId, patchExecutionLabelsRequest, options = {}) => {
|
|
10304
|
+
assertParamExists("patchExecutionLabelsClustersIdRun", "clusterId", clusterId);
|
|
10305
|
+
assertParamExists("patchExecutionLabelsClustersIdRun", "runId", runId);
|
|
10306
|
+
assertParamExists("patchExecutionLabelsClustersIdRun", "patchExecutionLabelsRequest", patchExecutionLabelsRequest);
|
|
10307
|
+
const localVarPath = `/v1/clusters/{cluster_id}/executions/{run_id}/labels`.replace(`{${"cluster_id"}}`, encodeURIComponent(String(clusterId))).replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
|
|
10308
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10309
|
+
let baseOptions;
|
|
10310
|
+
if (configuration) {
|
|
10311
|
+
baseOptions = configuration.baseOptions;
|
|
10312
|
+
}
|
|
10313
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
10314
|
+
const localVarHeaderParameter = {};
|
|
10315
|
+
const localVarQueryParameter = {};
|
|
10316
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
10317
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10318
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10319
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10320
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchExecutionLabelsRequest, localVarRequestOptions, configuration);
|
|
10321
|
+
return {
|
|
10322
|
+
url: toPathString(localVarUrlObj),
|
|
10323
|
+
options: localVarRequestOptions
|
|
10324
|
+
};
|
|
10325
|
+
},
|
|
10326
|
+
/**
|
|
10327
|
+
* Set (or clear) a human-friendly name on a single execution run — no re-run required. A non-empty value sets/replaces the run\'s `run_name`; an empty string clears it, restoring the unnamed (run_id-only) state. Names are trimmed and capped at 120 characters. The name is persisted on the execution record and returned by execution GET/LIST responses (`run_name`, omitted entirely while unnamed), so run selectors and execution-history views can show \'July tuning baseline\' instead of `run_a8e2709532...`. Sibling of PATCH `.../executions/{run_id}/labels`: each display field gets its own strict single-purpose PATCH rather than a general execution PATCH, because execution results themselves are immutable. Example body: `{\"run_name\": \"July tuning baseline\"}` (or `{\"run_name\": \"\"}` to clear).
|
|
10328
|
+
* @summary Name an Execution Run
|
|
10329
|
+
* @param {string} clusterId Cluster ID
|
|
10330
|
+
* @param {string} runId Run ID to name
|
|
10331
|
+
* @param {PatchExecutionRunNameRequest} patchExecutionRunNameRequest
|
|
10332
|
+
* @param {*} [options] Override http request option.
|
|
10333
|
+
* @throws {RequiredError}
|
|
10334
|
+
*/
|
|
10335
|
+
patchExecutionRunNameClusters: async (clusterId, runId, patchExecutionRunNameRequest, options = {}) => {
|
|
10336
|
+
assertParamExists("patchExecutionRunNameClusters", "clusterId", clusterId);
|
|
10337
|
+
assertParamExists("patchExecutionRunNameClusters", "runId", runId);
|
|
10338
|
+
assertParamExists("patchExecutionRunNameClusters", "patchExecutionRunNameRequest", patchExecutionRunNameRequest);
|
|
10339
|
+
const localVarPath = `/v1/clusters/{cluster_id}/executions/{run_id}/name`.replace(`{${"cluster_id"}}`, encodeURIComponent(String(clusterId))).replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
|
|
10340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10341
|
+
let baseOptions;
|
|
10342
|
+
if (configuration) {
|
|
10343
|
+
baseOptions = configuration.baseOptions;
|
|
10344
|
+
}
|
|
10345
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
10346
|
+
const localVarHeaderParameter = {};
|
|
10347
|
+
const localVarQueryParameter = {};
|
|
10348
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
10349
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10350
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10351
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10352
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchExecutionRunNameRequest, localVarRequestOptions, configuration);
|
|
10353
|
+
return {
|
|
10354
|
+
url: toPathString(localVarUrlObj),
|
|
10355
|
+
options: localVarRequestOptions
|
|
10356
|
+
};
|
|
10293
10357
|
}
|
|
10294
10358
|
};
|
|
10295
10359
|
};
|
|
@@ -10358,6 +10422,36 @@ var ClusterExecutionsApiFp = function(configuration) {
|
|
|
10358
10422
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10359
10423
|
const localVarOperationServerBasePath = operationServerMap["ClusterExecutionsApi.listClusterExecutions"]?.[localVarOperationServerIndex]?.url;
|
|
10360
10424
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
10425
|
+
},
|
|
10426
|
+
/**
|
|
10427
|
+
* Rename cluster labels for a single execution — no re-run required. Entries merge into the execution record\'s `label_overrides` map (per-key upsert): a non-empty value sets/replaces the override for that cluster_id, an empty string deletes it (restoring the original LLM/auto label). Overrides are applied server-side wherever labels are read — execution GETs (`centroids[].label`) and the cluster visualization endpoint (`cluster_label` on centroid points) — so all clients agree. Overrides are per-run because cluster ids (`cl_0`, `cl_1`, ...) are assigned per-run: a rename on one execution never leaks onto another. Example body: `{\"labels\": {\"cl_0\": \"Gadget Reviews\", \"cl_2\": \"\"}}` (renames cl_0, deletes any override on cl_2).
|
|
10428
|
+
* @summary Rename Cluster Labels (Per-Execution)
|
|
10429
|
+
* @param {string} clusterId Cluster ID
|
|
10430
|
+
* @param {string} runId Run ID whose labels to rename
|
|
10431
|
+
* @param {PatchExecutionLabelsRequest} patchExecutionLabelsRequest
|
|
10432
|
+
* @param {*} [options] Override http request option.
|
|
10433
|
+
* @throws {RequiredError}
|
|
10434
|
+
*/
|
|
10435
|
+
async patchExecutionLabelsClustersIdRun(clusterId, runId, patchExecutionLabelsRequest, options) {
|
|
10436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchExecutionLabelsClustersIdRun(clusterId, runId, patchExecutionLabelsRequest, options);
|
|
10437
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10438
|
+
const localVarOperationServerBasePath = operationServerMap["ClusterExecutionsApi.patchExecutionLabelsClustersIdRun"]?.[localVarOperationServerIndex]?.url;
|
|
10439
|
+
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
10440
|
+
},
|
|
10441
|
+
/**
|
|
10442
|
+
* Set (or clear) a human-friendly name on a single execution run — no re-run required. A non-empty value sets/replaces the run\'s `run_name`; an empty string clears it, restoring the unnamed (run_id-only) state. Names are trimmed and capped at 120 characters. The name is persisted on the execution record and returned by execution GET/LIST responses (`run_name`, omitted entirely while unnamed), so run selectors and execution-history views can show \'July tuning baseline\' instead of `run_a8e2709532...`. Sibling of PATCH `.../executions/{run_id}/labels`: each display field gets its own strict single-purpose PATCH rather than a general execution PATCH, because execution results themselves are immutable. Example body: `{\"run_name\": \"July tuning baseline\"}` (or `{\"run_name\": \"\"}` to clear).
|
|
10443
|
+
* @summary Name an Execution Run
|
|
10444
|
+
* @param {string} clusterId Cluster ID
|
|
10445
|
+
* @param {string} runId Run ID to name
|
|
10446
|
+
* @param {PatchExecutionRunNameRequest} patchExecutionRunNameRequest
|
|
10447
|
+
* @param {*} [options] Override http request option.
|
|
10448
|
+
* @throws {RequiredError}
|
|
10449
|
+
*/
|
|
10450
|
+
async patchExecutionRunNameClusters(clusterId, runId, patchExecutionRunNameRequest, options) {
|
|
10451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchExecutionRunNameClusters(clusterId, runId, patchExecutionRunNameRequest, options);
|
|
10452
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10453
|
+
const localVarOperationServerBasePath = operationServerMap["ClusterExecutionsApi.patchExecutionRunNameClusters"]?.[localVarOperationServerIndex]?.url;
|
|
10454
|
+
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
10361
10455
|
}
|
|
10362
10456
|
};
|
|
10363
10457
|
};
|
|
@@ -10406,6 +10500,28 @@ var ClusterExecutionsApi = class extends BaseAPI {
|
|
|
10406
10500
|
listClusterExecutions(requestParameters, options) {
|
|
10407
10501
|
return ClusterExecutionsApiFp(this.configuration).listClusterExecutions(requestParameters.clusterId, requestParameters.limit, requestParameters.pageSize, requestParameters.offset, requestParameters.page, requestParameters.cursor, requestParameters.includeTotal, requestParameters.listClusterExecutionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10408
10502
|
}
|
|
10503
|
+
/**
|
|
10504
|
+
* Rename cluster labels for a single execution — no re-run required. Entries merge into the execution record\'s `label_overrides` map (per-key upsert): a non-empty value sets/replaces the override for that cluster_id, an empty string deletes it (restoring the original LLM/auto label). Overrides are applied server-side wherever labels are read — execution GETs (`centroids[].label`) and the cluster visualization endpoint (`cluster_label` on centroid points) — so all clients agree. Overrides are per-run because cluster ids (`cl_0`, `cl_1`, ...) are assigned per-run: a rename on one execution never leaks onto another. Example body: `{\"labels\": {\"cl_0\": \"Gadget Reviews\", \"cl_2\": \"\"}}` (renames cl_0, deletes any override on cl_2).
|
|
10505
|
+
* @summary Rename Cluster Labels (Per-Execution)
|
|
10506
|
+
* @param {ClusterExecutionsApiPatchExecutionLabelsClustersIdRunRequest} requestParameters Request parameters.
|
|
10507
|
+
* @param {*} [options] Override http request option.
|
|
10508
|
+
* @throws {RequiredError}
|
|
10509
|
+
* @memberof ClusterExecutionsApi
|
|
10510
|
+
*/
|
|
10511
|
+
patchExecutionLabelsClustersIdRun(requestParameters, options) {
|
|
10512
|
+
return ClusterExecutionsApiFp(this.configuration).patchExecutionLabelsClustersIdRun(requestParameters.clusterId, requestParameters.runId, requestParameters.patchExecutionLabelsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10513
|
+
}
|
|
10514
|
+
/**
|
|
10515
|
+
* Set (or clear) a human-friendly name on a single execution run — no re-run required. A non-empty value sets/replaces the run\'s `run_name`; an empty string clears it, restoring the unnamed (run_id-only) state. Names are trimmed and capped at 120 characters. The name is persisted on the execution record and returned by execution GET/LIST responses (`run_name`, omitted entirely while unnamed), so run selectors and execution-history views can show \'July tuning baseline\' instead of `run_a8e2709532...`. Sibling of PATCH `.../executions/{run_id}/labels`: each display field gets its own strict single-purpose PATCH rather than a general execution PATCH, because execution results themselves are immutable. Example body: `{\"run_name\": \"July tuning baseline\"}` (or `{\"run_name\": \"\"}` to clear).
|
|
10516
|
+
* @summary Name an Execution Run
|
|
10517
|
+
* @param {ClusterExecutionsApiPatchExecutionRunNameClustersRequest} requestParameters Request parameters.
|
|
10518
|
+
* @param {*} [options] Override http request option.
|
|
10519
|
+
* @throws {RequiredError}
|
|
10520
|
+
* @memberof ClusterExecutionsApi
|
|
10521
|
+
*/
|
|
10522
|
+
patchExecutionRunNameClusters(requestParameters, options) {
|
|
10523
|
+
return ClusterExecutionsApiFp(this.configuration).patchExecutionRunNameClusters(requestParameters.clusterId, requestParameters.runId, requestParameters.patchExecutionRunNameRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10524
|
+
}
|
|
10409
10525
|
};
|
|
10410
10526
|
var ClustersApiAxiosParamCreator = function(configuration) {
|
|
10411
10527
|
return {
|