@parallelworks/client 7.117.0 → 7.118.0

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 (2) hide show
  1. package/dist/types/api.d.ts +960 -11
  2. package/package.json +1 -1
@@ -2041,6 +2041,28 @@ export interface paths {
2041
2041
  patch?: never;
2042
2042
  trace?: never;
2043
2043
  };
2044
+ "/api/agents/machines/{machine}/sessions/{id}/queued/{turnId}": {
2045
+ parameters: {
2046
+ query?: never;
2047
+ header?: never;
2048
+ path?: never;
2049
+ cookie?: never;
2050
+ };
2051
+ get?: never;
2052
+ put?: never;
2053
+ post?: never;
2054
+ /**
2055
+ * Take back a queued message
2056
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
2057
+ *
2058
+ * Removes a message waiting behind the running turn before its own turn starts. Refused with 409 once that turn has started.
2059
+ */
2060
+ delete: operations["withdraw-agent-session-message"];
2061
+ options?: never;
2062
+ head?: never;
2063
+ patch?: never;
2064
+ trace?: never;
2065
+ };
2044
2066
  "/api/agents/machines/{machine}/sessions/{id}/rename": {
2045
2067
  parameters: {
2046
2068
  query?: never;
@@ -9073,6 +9095,28 @@ export interface paths {
9073
9095
  patch?: never;
9074
9096
  trace?: never;
9075
9097
  };
9098
+ "/api/organizations/{organization}/policies/allow-organization-session-sharing": {
9099
+ parameters: {
9100
+ query?: never;
9101
+ header?: never;
9102
+ path?: never;
9103
+ cookie?: never;
9104
+ };
9105
+ get?: never;
9106
+ put?: never;
9107
+ /**
9108
+ * Set organization policy: allow-organization-session-sharing
9109
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
9110
+ *
9111
+ * Sets whether members can share sessions with the entire organization. Allowed when unset; false revokes sessions currently shared with the organization.
9112
+ */
9113
+ post: operations["set-organization-allow-organization-session-sharing-policy"];
9114
+ delete?: never;
9115
+ options?: never;
9116
+ head?: never;
9117
+ patch?: never;
9118
+ trace?: never;
9119
+ };
9076
9120
  "/api/organizations/{organization}/policies/allow-public-sessions": {
9077
9121
  parameters: {
9078
9122
  query?: never;
@@ -9337,6 +9381,28 @@ export interface paths {
9337
9381
  patch?: never;
9338
9382
  trace?: never;
9339
9383
  };
9384
+ "/api/organizations/{organization}/policies/workspace-ssh-key-type": {
9385
+ parameters: {
9386
+ query?: never;
9387
+ header?: never;
9388
+ path?: never;
9389
+ cookie?: never;
9390
+ };
9391
+ get?: never;
9392
+ put?: never;
9393
+ /**
9394
+ * Set organization policy: workspace-ssh-key-type
9395
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
9396
+ *
9397
+ * Sets the type of newly generated workspace SSH keys for the organization: ecdsa-p256 (the default), rsa-4096, rsa-3072 or ed25519. Existing keys change type at their next rotation.
9398
+ */
9399
+ post: operations["set-organization-workspace-ssh-key-type-policy"];
9400
+ delete?: never;
9401
+ options?: never;
9402
+ head?: never;
9403
+ patch?: never;
9404
+ trace?: never;
9405
+ };
9340
9406
  "/api/organizations/{organization}/policies/{policyname}": {
9341
9407
  parameters: {
9342
9408
  query?: never;
@@ -9859,6 +9925,50 @@ export interface paths {
9859
9925
  patch?: never;
9860
9926
  trace?: never;
9861
9927
  };
9928
+ "/api/organizations/{organization}/ssh-keys/rotate": {
9929
+ parameters: {
9930
+ query?: never;
9931
+ header?: never;
9932
+ path?: never;
9933
+ cookie?: never;
9934
+ };
9935
+ get?: never;
9936
+ put?: never;
9937
+ /**
9938
+ * Rotate every member's workspace SSH key
9939
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
9940
+ *
9941
+ * Starts replacing the workspace SSH key of every member the caller may manage, skipping workspaces whose image is too old. confirm must be the organization's name. Requires the org:admin role.
9942
+ */
9943
+ post: operations["rotate-organization-workspace-ssh-keys"];
9944
+ delete?: never;
9945
+ options?: never;
9946
+ head?: never;
9947
+ patch?: never;
9948
+ trace?: never;
9949
+ };
9950
+ "/api/organizations/{organization}/ssh-keys/rotation": {
9951
+ parameters: {
9952
+ query?: never;
9953
+ header?: never;
9954
+ path?: never;
9955
+ cookie?: never;
9956
+ };
9957
+ /**
9958
+ * Get the organization's SSH key rotation
9959
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
9960
+ *
9961
+ * Returns the progress of the last rotation of every member's workspace SSH key. Requires the org:admin role.
9962
+ */
9963
+ get: operations["get-organization-workspace-ssh-key-rotation"];
9964
+ put?: never;
9965
+ post?: never;
9966
+ delete?: never;
9967
+ options?: never;
9968
+ head?: never;
9969
+ patch?: never;
9970
+ trace?: never;
9971
+ };
9862
9972
  "/api/organizations/{organization}/theme": {
9863
9973
  parameters: {
9864
9974
  query?: never;
@@ -11717,7 +11827,7 @@ export interface paths {
11717
11827
  * Apply a configuration update to a running cluster
11718
11828
  * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
11719
11829
  *
11720
- * Applies partition, user bootstrap and desktop session variable changes to a running cluster through the agent tunnel.
11830
+ * Applies partition, user bootstrap, desktop session and explorer directory variable changes to a running cluster through the agent tunnel.
11721
11831
  */
11722
11832
  post: operations["update-cluster-while-running"];
11723
11833
  delete?: never;
@@ -12384,6 +12494,34 @@ export interface paths {
12384
12494
  patch?: never;
12385
12495
  trace?: never;
12386
12496
  };
12497
+ "/api/organizations/{organization}/users/{user}/instances/{instanceName}/permissions": {
12498
+ parameters: {
12499
+ query?: never;
12500
+ header?: never;
12501
+ path?: never;
12502
+ cookie?: never;
12503
+ };
12504
+ /**
12505
+ * Get Instance Permissions
12506
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12507
+ *
12508
+ * Returns the groups an instance is shared with and at what access level
12509
+ */
12510
+ get: operations["get-instance-permissions"];
12511
+ put?: never;
12512
+ post?: never;
12513
+ delete?: never;
12514
+ options?: never;
12515
+ head?: never;
12516
+ /**
12517
+ * Update Instance Permissions
12518
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
12519
+ *
12520
+ * Replaces the groups an instance is shared with and their access levels
12521
+ */
12522
+ patch: operations["update-instance-permissions"];
12523
+ trace?: never;
12524
+ };
12387
12525
  "/api/organizations/{organization}/users/{user}/instances/{instanceName}/snapshot": {
12388
12526
  parameters: {
12389
12527
  query?: never;
@@ -13230,7 +13368,7 @@ export interface paths {
13230
13368
  * Delete session
13231
13369
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13232
13370
  *
13233
- * Delete the session with the provided name for the specified user.
13371
+ * Delete the session with the provided name for the specified user. Platform admins can delete any user's session, which is recorded in the audit log.
13234
13372
  */
13235
13373
  delete: operations["delete-user-session"];
13236
13374
  options?: never;
@@ -13257,7 +13395,7 @@ export interface paths {
13257
13395
  * Update session access
13258
13396
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13259
13397
  *
13260
- * Update session access by name and user, allowing access to specific groups.
13398
+ * Update session access by name and user, allowing access to specific groups or the entire organization. Sharing with the entire organization is refused when the allow-organization-session-sharing policy disallows it.
13261
13399
  */
13262
13400
  post: operations["update-user-session-access"];
13263
13401
  delete?: never;
@@ -13466,6 +13604,50 @@ export interface paths {
13466
13604
  patch: operations["update-snapshot-permissions"];
13467
13605
  trace?: never;
13468
13606
  };
13607
+ "/api/organizations/{organization}/users/{user}/ssh-key": {
13608
+ parameters: {
13609
+ query?: never;
13610
+ header?: never;
13611
+ path?: never;
13612
+ cookie?: never;
13613
+ };
13614
+ /**
13615
+ * Get a user's workspace SSH key
13616
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13617
+ *
13618
+ * Returns the public half of a user's platform-managed workspace SSH key. Requires the org:users role.
13619
+ */
13620
+ get: operations["get-user-workspace-ssh-key"];
13621
+ put?: never;
13622
+ post?: never;
13623
+ delete?: never;
13624
+ options?: never;
13625
+ head?: never;
13626
+ patch?: never;
13627
+ trace?: never;
13628
+ };
13629
+ "/api/organizations/{organization}/users/{user}/ssh-key/rotate": {
13630
+ parameters: {
13631
+ query?: never;
13632
+ header?: never;
13633
+ path?: never;
13634
+ cookie?: never;
13635
+ };
13636
+ get?: never;
13637
+ put?: never;
13638
+ /**
13639
+ * Rotate a user's workspace SSH key
13640
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13641
+ *
13642
+ * Replaces a user's workspace SSH key. Requires the org:users role.
13643
+ */
13644
+ post: operations["rotate-user-workspace-ssh-key"];
13645
+ delete?: never;
13646
+ options?: never;
13647
+ head?: never;
13648
+ patch?: never;
13649
+ trace?: never;
13650
+ };
13469
13651
  "/api/organizations/{organization}/users/{user}/ssh-private-keys": {
13470
13652
  parameters: {
13471
13653
  query?: never;
@@ -14478,6 +14660,28 @@ export interface paths {
14478
14660
  patch?: never;
14479
14661
  trace?: never;
14480
14662
  };
14663
+ "/api/platform/policies/allow-organization-session-sharing": {
14664
+ parameters: {
14665
+ query?: never;
14666
+ header?: never;
14667
+ path?: never;
14668
+ cookie?: never;
14669
+ };
14670
+ get?: never;
14671
+ put?: never;
14672
+ /**
14673
+ * Set platform policy: allow-organization-session-sharing
14674
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
14675
+ *
14676
+ * Sets whether users in every organization can share sessions with their entire organization. Allowed when unset; false revokes sessions currently shared with an organization.
14677
+ */
14678
+ post: operations["set-platform-allow-organization-session-sharing-policy"];
14679
+ delete?: never;
14680
+ options?: never;
14681
+ head?: never;
14682
+ patch?: never;
14683
+ trace?: never;
14684
+ };
14481
14685
  "/api/platform/policies/allow-public-sessions": {
14482
14686
  parameters: {
14483
14687
  query?: never;
@@ -14764,6 +14968,28 @@ export interface paths {
14764
14968
  patch?: never;
14765
14969
  trace?: never;
14766
14970
  };
14971
+ "/api/platform/policies/workspace-ssh-key-type": {
14972
+ parameters: {
14973
+ query?: never;
14974
+ header?: never;
14975
+ path?: never;
14976
+ cookie?: never;
14977
+ };
14978
+ get?: never;
14979
+ put?: never;
14980
+ /**
14981
+ * Set platform policy: workspace-ssh-key-type
14982
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
14983
+ *
14984
+ * Sets the type of newly generated workspace SSH keys for the platform: ecdsa-p256 (the default), rsa-4096, rsa-3072 or ed25519. Existing keys change type at their next rotation.
14985
+ */
14986
+ post: operations["set-platform-workspace-ssh-key-type-policy"];
14987
+ delete?: never;
14988
+ options?: never;
14989
+ head?: never;
14990
+ patch?: never;
14991
+ trace?: never;
14992
+ };
14767
14993
  "/api/platform/policies/{policyname}": {
14768
14994
  parameters: {
14769
14995
  query?: never;
@@ -15579,6 +15805,50 @@ export interface paths {
15579
15805
  patch?: never;
15580
15806
  trace?: never;
15581
15807
  };
15808
+ "/api/ssh-key": {
15809
+ parameters: {
15810
+ query?: never;
15811
+ header?: never;
15812
+ path?: never;
15813
+ cookie?: never;
15814
+ };
15815
+ /**
15816
+ * Get your workspace SSH key
15817
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
15818
+ *
15819
+ * Returns the public half of the platform-managed SSH key your workspace uses. The private key is never returned.
15820
+ */
15821
+ get: operations["get-workspace-ssh-key"];
15822
+ put?: never;
15823
+ post?: never;
15824
+ delete?: never;
15825
+ options?: never;
15826
+ head?: never;
15827
+ patch?: never;
15828
+ trace?: never;
15829
+ };
15830
+ "/api/ssh-key/rotate": {
15831
+ parameters: {
15832
+ query?: never;
15833
+ header?: never;
15834
+ path?: never;
15835
+ cookie?: never;
15836
+ };
15837
+ get?: never;
15838
+ put?: never;
15839
+ /**
15840
+ * Rotate your workspace SSH key
15841
+ * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
15842
+ *
15843
+ * Replaces your workspace SSH key. A running workspace receives the new key within seconds; a stopped one at its next start. The old key stops working at once unless gracePeriodHours keeps it for up to 24 hours.
15844
+ */
15845
+ post: operations["rotate-workspace-ssh-key"];
15846
+ delete?: never;
15847
+ options?: never;
15848
+ head?: never;
15849
+ patch?: never;
15850
+ trace?: never;
15851
+ };
15582
15852
  "/api/ssh-private-keys": {
15583
15853
  parameters: {
15584
15854
  query?: never;
@@ -18055,6 +18325,8 @@ export interface components {
18055
18325
  region?: string;
18056
18326
  /** @description Resource group the provider bills against */
18057
18327
  resourceGroup?: string;
18328
+ /** @description Username of the owner of the resource group the provider bills against */
18329
+ readonly resourceGroupOwner?: string;
18058
18330
  /** @description Current status of the AI provider */
18059
18331
  status: string;
18060
18332
  /** @description Whether the provider endpoint supports the OpenAI Responses API */
@@ -18096,6 +18368,8 @@ export interface components {
18096
18368
  region: string | null;
18097
18369
  /** @description Resource group the provider bills against */
18098
18370
  resourceGroup?: string;
18371
+ /** @description Username of the owner of the resource group the provider bills against */
18372
+ readonly resourceGroupOwner?: string;
18099
18373
  /** @description Current status of the AI provider */
18100
18374
  status: string;
18101
18375
  /** @description The provider is blocked by platform catalog policy until a platform administrator maps or re-enables its integration */
@@ -19020,6 +19294,8 @@ export interface components {
19020
19294
  * @example my-resource-group
19021
19295
  */
19022
19296
  resourceGroup?: string;
19297
+ /** @description Username of the owner of the resource group the workspace bills against. */
19298
+ readonly resourceGroupOwner?: string;
19023
19299
  /**
19024
19300
  * @description The tags associated with the Machine Learning Workspace.
19025
19301
  * @example [
@@ -19059,6 +19335,8 @@ export interface components {
19059
19335
  /** @description Desktop session settings. */
19060
19336
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
19061
19337
  disks?: components["schemas"]["ClusterControllerDisk"][] | null;
19338
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
19339
+ explorerPath?: string;
19062
19340
  healthCheck?: string;
19063
19341
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
19064
19342
  ipAddress?: string;
@@ -19500,6 +19778,8 @@ export interface components {
19500
19778
  * @example my-resource-group
19501
19779
  */
19502
19780
  resourceGroup?: string;
19781
+ /** @description Username of the owner of the resource group the workspace bills against. */
19782
+ readonly resourceGroupOwner?: string;
19503
19783
  /**
19504
19784
  * @description The tags associated with the Machine Learning Workspace.
19505
19785
  * @example [
@@ -19756,6 +20036,8 @@ export interface components {
19756
20036
  /** @description Desktop session settings. */
19757
20037
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
19758
20038
  disks?: components["schemas"]["ClusterControllerDisk"][] | null;
20039
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
20040
+ explorerPath?: string;
19759
20041
  healthCheck?: string;
19760
20042
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
19761
20043
  ipAddress?: string;
@@ -20195,6 +20477,8 @@ export interface components {
20195
20477
  region: string;
20196
20478
  /** @description Name of the resource group the bucket bills against. */
20197
20479
  resourceGroup?: string;
20480
+ /** @description Username of the owner of the resource group the bucket bills against. */
20481
+ readonly resourceGroupOwner?: string;
20198
20482
  /** @description Indicates if the bucket is sessionless */
20199
20483
  sessionless: boolean;
20200
20484
  /** @description List of groups with whom the bucket is shared */
@@ -21336,6 +21620,8 @@ export interface components {
21336
21620
  controllerInstanceType?: string;
21337
21621
  /** @description Desktop session settings. Applied to sessions started after the update; running sessions keep their current settings. */
21338
21622
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
21623
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. Applies to the next listing. */
21624
+ explorerPath?: string;
21339
21625
  /** @description Slurm partition definitions */
21340
21626
  partitions?: components["schemas"]["ClusterUpdatePartition"][];
21341
21627
  /** @description Record every node's running processes and what preceded a freeze. The agents start or stop collecting on their next heartbeat. */
@@ -21719,7 +22005,7 @@ export interface components {
21719
22005
  CreateAPIKeyInputBody: {
21720
22006
  /** @description Budget allocation name (required for AI keys) */
21721
22007
  allocation?: string;
21722
- /** @description Duration in days before the key expires (platform keys) */
22008
+ /** @description Days before the key expires (platform keys). Empty or 0 creates a key that does not expire, unless the organization's maximum API key lifetime requires one. */
21723
22009
  duration?: string;
21724
22010
  /** @description Display name for the API key */
21725
22011
  title: string;
@@ -21789,6 +22075,8 @@ export interface components {
21789
22075
  displayName?: string;
21790
22076
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
21791
22077
  duplicatedFrom?: string;
22078
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22079
+ explorerPath?: string;
21792
22080
  healthCheck?: string;
21793
22081
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
21794
22082
  ipAddress?: string;
@@ -21842,6 +22130,8 @@ export interface components {
21842
22130
  displayName?: string;
21843
22131
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
21844
22132
  duplicatedFrom?: string;
22133
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22134
+ explorerPath?: string;
21845
22135
  healthCheck?: string;
21846
22136
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
21847
22137
  ipAddress?: string;
@@ -22013,6 +22303,8 @@ export interface components {
22013
22303
  displayName?: string;
22014
22304
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
22015
22305
  duplicatedFrom?: string;
22306
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22307
+ explorerPath?: string;
22016
22308
  /** @description Jump (bastion) host; omit to connect directly. */
22017
22309
  jumpNodeHost?: string;
22018
22310
  /** @description Jump (bastion) user. */
@@ -22062,6 +22354,8 @@ export interface components {
22062
22354
  displayName?: string;
22063
22355
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
22064
22356
  duplicatedFrom?: string;
22357
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22358
+ explorerPath?: string;
22065
22359
  healthCheck?: string;
22066
22360
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
22067
22361
  ipAddress?: string;
@@ -22238,6 +22532,8 @@ export interface components {
22238
22532
  displayName?: string;
22239
22533
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
22240
22534
  duplicatedFrom?: string;
22535
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22536
+ explorerPath?: string;
22241
22537
  floatingIpNetwork?: string;
22242
22538
  healthCheck?: string;
22243
22539
  /**
@@ -22291,6 +22587,8 @@ export interface components {
22291
22587
  displayName?: string;
22292
22588
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
22293
22589
  duplicatedFrom?: string;
22590
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22591
+ explorerPath?: string;
22294
22592
  healthCheck?: string;
22295
22593
  /**
22296
22594
  * @description Cluster name; only lowercase letters and numbers.
@@ -22635,7 +22933,7 @@ export interface components {
22635
22933
  /** @description Remote workflow configuration (required for remote type) */
22636
22934
  remote?: components["schemas"]["RemoteWorkflowSettings"];
22637
22935
  /**
22638
- * @description Where a remote workflow lives (required for remote type); must match the host of remote.repo.
22936
+ * @description Where a remote workflow lives; read from the host of remote.repo when omitted, and must match it when given.
22639
22937
  * @enum {string}
22640
22938
  */
22641
22939
  subtype?: "github" | "gitlab";
@@ -23150,6 +23448,8 @@ export interface components {
23150
23448
  region?: string;
23151
23449
  /** @description Name of the resource group the disk bills against. */
23152
23450
  resourceGroup?: string;
23451
+ /** @description Username of the owner of the resource group the disk bills against. */
23452
+ readonly resourceGroupOwner?: string;
23153
23453
  /**
23154
23454
  * Format: int64
23155
23455
  * @description Size of the disk in GiB
@@ -23537,6 +23837,8 @@ export interface components {
23537
23837
  authMethod?: "workspace-key" | "pw-cli" | "proxy-certificates" | "ssh-key";
23538
23838
  /** @description Desktop session settings. */
23539
23839
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
23840
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
23841
+ explorerPath?: string;
23540
23842
  /** @description Jump (bastion) host; omit to connect directly. */
23541
23843
  jumpNodeHost?: string;
23542
23844
  /** @description Jump (bastion) user. */
@@ -23767,6 +24069,8 @@ export interface components {
23767
24069
  * @description When the agent last reported.
23768
24070
  */
23769
24071
  lastSeenAt?: string;
24072
+ /** @description Whether the agent authenticated with a legacy cluster credential within the last 30 days. */
24073
+ legacyCredential: boolean;
23770
24074
  /** @description Organization the cluster belongs to. */
23771
24075
  organization?: string;
23772
24076
  /** @description Operating system reported by the agent. */
@@ -23797,6 +24101,13 @@ export interface components {
23797
24101
  * @description Agents reporting right now.
23798
24102
  */
23799
24103
  connected: number;
24104
+ /**
24105
+ * Format: int64
24106
+ * @description Agents that authenticated with a legacy cluster credential within the last 30 days.
24107
+ */
24108
+ legacyCredential: number;
24109
+ /** @description Whether the platform still issues legacy cluster credentials. While true, every cloud cluster agent holds one. */
24110
+ legacyCredentialsIssued: boolean;
23800
24111
  /** @description Configured minimum agent version. Empty when enforcement is off. */
23801
24112
  minimumAgentVersion?: string;
23802
24113
  /** @description Oldest version any reporting agent runs. This is the version gate the fleet has actually reached. */
@@ -23982,6 +24293,8 @@ export interface components {
23982
24293
  * @example my-resource-group
23983
24294
  */
23984
24295
  resourceGroup?: string;
24296
+ /** @description Username of the owner of the resource group the cluster bills against. */
24297
+ readonly resourceGroupOwner?: string;
23985
24298
  /** @description Cloud-cluster only: whether running-processes collection is turned on, which lets anyone with access to the cluster view processes and freeze events on each node's detail page. */
23986
24299
  runningProcesses?: boolean;
23987
24300
  /**
@@ -24619,6 +24932,8 @@ export interface components {
24619
24932
  /** @description Desktop session settings. */
24620
24933
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
24621
24934
  disks?: components["schemas"]["ClusterControllerDisk"][] | null;
24935
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
24936
+ explorerPath?: string;
24622
24937
  healthCheck?: string;
24623
24938
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
24624
24939
  ipAddress?: string;
@@ -25373,6 +25688,8 @@ export interface components {
25373
25688
  * @example my-resource-group
25374
25689
  */
25375
25690
  resourceGroup?: string;
25691
+ /** @description Username of the owner of the resource group the Instance bills against. */
25692
+ readonly resourceGroupOwner?: string;
25376
25693
  /** @description Runtime alert configuration. */
25377
25694
  runtimeAlert?: components["schemas"]["RuntimeAlertInput"];
25378
25695
  /** @description Session cost limit configuration. */
@@ -25625,6 +25942,8 @@ export interface components {
25625
25942
  * @example my-resource-group
25626
25943
  */
25627
25944
  resourceGroup?: string;
25945
+ /** @description Username of the owner of the resource group the IP bills against. */
25946
+ readonly resourceGroupOwner?: string;
25628
25947
  /**
25629
25948
  * @description The tags associated with the IP resource.
25630
25949
  * @example [
@@ -25752,9 +26071,17 @@ export interface components {
25752
26071
  readonly targetType?: "cluster" | "instance" | "controller" | "workspace";
25753
26072
  /** @description Base path the kernel's Jupyter server is served at. */
25754
26073
  readonly url: string;
26074
+ /** @description Path the kernel's ipywidget libraries are served at without a session cookie, for the notebook's sandboxed widget frames. Set only on the owner's own requests. */
26075
+ readonly widgetsUrl?: string;
25755
26076
  /** @description ID of the compute worker running the kernel. */
25756
26077
  readonly workerId?: string;
25757
26078
  };
26079
+ KeyCluster: {
26080
+ /** @description Cluster display name. */
26081
+ displayName?: string;
26082
+ /** @description Cluster name. */
26083
+ name: string;
26084
+ };
25758
26085
  KubernetesChartsBody: {
25759
26086
  /** @description List of Helm charts across all clusters */
25760
26087
  charts: components["schemas"]["HelmChart"][] | null;
@@ -26611,6 +26938,8 @@ export interface components {
26611
26938
  region?: string;
26612
26939
  /** @description Name of the resource group the Lustre bills against. */
26613
26940
  resourceGroup?: string;
26941
+ /** @description Username of the owner of the resource group the Lustre bills against. */
26942
+ readonly resourceGroupOwner?: string;
26614
26943
  /** @description Indicates if the Lustre is sessionless */
26615
26944
  sessionless: boolean;
26616
26945
  /** @description List of groups with whom the Lustre is shared */
@@ -26711,6 +27040,8 @@ export interface components {
26711
27040
  * @example my-resource-group
26712
27041
  */
26713
27042
  resourceGroup?: string;
27043
+ /** @description Username of the owner of the resource group the workspace bills against. */
27044
+ readonly resourceGroupOwner?: string;
26714
27045
  /**
26715
27046
  * @description The tags associated with the Machine Learning Workspace.
26716
27047
  * @example [
@@ -27635,6 +27966,8 @@ export interface components {
27635
27966
  * @example my-resource-group
27636
27967
  */
27637
27968
  resourceGroup?: string;
27969
+ /** @description Username of the owner of the resource group the network interface bills against. */
27970
+ readonly resourceGroupOwner?: string;
27638
27971
  /**
27639
27972
  * @description The tags associated with the network interface resource.
27640
27973
  * @example [
@@ -27699,6 +28032,8 @@ export interface components {
27699
28032
  region?: string;
27700
28033
  /** @description Name of the resource group the NFS bills against. */
27701
28034
  resourceGroup?: string;
28035
+ /** @description Username of the owner of the resource group the NFS bills against. */
28036
+ readonly resourceGroupOwner?: string;
27702
28037
  /** @description Indicates if the NFS is sessionless */
27703
28038
  sessionless: boolean;
27704
28039
  /** @description List of groups with whom the NFS is shared */
@@ -28223,6 +28558,8 @@ export interface components {
28223
28558
  debugMode?: boolean;
28224
28559
  /** @description Desktop session settings. */
28225
28560
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
28561
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
28562
+ explorerPath?: string;
28226
28563
  floatingIpNetwork?: string;
28227
28564
  healthCheck?: string;
28228
28565
  networkId?: string;
@@ -28482,6 +28819,8 @@ export interface components {
28482
28819
  debugMode?: boolean;
28483
28820
  /** @description Desktop session settings. */
28484
28821
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
28822
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
28823
+ explorerPath?: string;
28485
28824
  healthCheck?: string;
28486
28825
  partitions?: components["schemas"]["ClusterOracleSlurmPartition"][] | null;
28487
28826
  region?: string;
@@ -28710,6 +29049,52 @@ export interface components {
28710
29049
  /** @description Where the window comes from: admin (configured), detected (provider-reported), or catalog (built-in); absent when unknown */
28711
29050
  source?: string;
28712
29051
  };
29052
+ OrgRotation: {
29053
+ /**
29054
+ * Format: int64
29055
+ * @description Members whose running workspace received the new key.
29056
+ */
29057
+ delivered: number;
29058
+ /**
29059
+ * Format: int64
29060
+ * @description Members whose key could not be rotated.
29061
+ */
29062
+ failed: number;
29063
+ /** Format: date-time */
29064
+ finishedAt?: string;
29065
+ /**
29066
+ * Format: int64
29067
+ * @description Hours each replaced key kept working.
29068
+ */
29069
+ gracePeriodHours: number;
29070
+ /**
29071
+ * Format: int64
29072
+ * @description Members whose workspace gets the new key at its next start.
29073
+ */
29074
+ pendingRestart: number;
29075
+ /**
29076
+ * Format: date-time
29077
+ * @description When the last rotation was requested; absent if none ever was.
29078
+ */
29079
+ requestedAt?: string;
29080
+ /** @description Whether the rotation is still going through members. */
29081
+ running: boolean;
29082
+ /**
29083
+ * Format: int64
29084
+ * @description Members left alone because their workspace image is too old for managed keys.
29085
+ */
29086
+ skippedImage: number;
29087
+ /**
29088
+ * Format: int64
29089
+ * @description Members the requester may not manage, such as platform admins.
29090
+ */
29091
+ skippedNotManageable: number;
29092
+ /**
29093
+ * Format: int64
29094
+ * @description Members in the organization when the rotation started.
29095
+ */
29096
+ total: number;
29097
+ };
28713
29098
  OrgUsageSummaryResponse: {
28714
29099
  /** Format: int64 */
28715
29100
  activeUsers: number;
@@ -29759,7 +30144,7 @@ export interface components {
29759
30144
  access: boolean;
29760
30145
  /** @description Group ID to grant or revoke access to. Omit when sharing with the entire organization. */
29761
30146
  groupId?: string;
29762
- /** @description Set to true to share with (or unshare from) the entire organization instead of a single group. */
30147
+ /** @description Set to true to share with (or unshare from) the entire organization instead of a single group. Sharing requires the allow-organization-session-sharing policy to allow it. */
29763
30148
  organization?: boolean;
29764
30149
  };
29765
30150
  PostSessionBody: {
@@ -32112,7 +32497,7 @@ export interface components {
32112
32497
  * @description Why the current allocation refuses new resource usage
32113
32498
  * @enum {string}
32114
32499
  */
32115
- readonly allocationUnusableReason?: "no-budget" | "over-threshold";
32500
+ readonly allocationUnusableReason?: "no-budget" | "over-threshold" | "owner-no-access";
32116
32501
  /** @description False when the current allocation refuses new resource usage */
32117
32502
  readonly allocationUsable?: boolean;
32118
32503
  /**
@@ -32166,7 +32551,7 @@ export interface components {
32166
32551
  * @description Why the current allocation refuses new resource usage
32167
32552
  * @enum {string}
32168
32553
  */
32169
- readonly allocationUnusableReason?: "no-budget" | "over-threshold";
32554
+ readonly allocationUnusableReason?: "no-budget" | "over-threshold" | "owner-no-access";
32170
32555
  /** @description False when the current allocation refuses new resource usage */
32171
32556
  readonly allocationUsable?: boolean;
32172
32557
  /**
@@ -32309,6 +32694,37 @@ export interface components {
32309
32694
  /** @description Subjects with access */
32310
32695
  subjects: components["schemas"]["RbacSubject"][] | null;
32311
32696
  };
32697
+ RotateBody: {
32698
+ /**
32699
+ * Format: int64
32700
+ * @description Hours the old key keeps working. 0, the default, stops it at once.
32701
+ * @default 0
32702
+ */
32703
+ gracePeriodHours: number;
32704
+ };
32705
+ RotateOrgInputBody: {
32706
+ /**
32707
+ * @description The organization's name, typed exactly to confirm.
32708
+ * @example parallelworks
32709
+ */
32710
+ confirm: string;
32711
+ /**
32712
+ * Format: int64
32713
+ * @description Hours each old key keeps working. 0, the default, stops them at once.
32714
+ * @default 0
32715
+ */
32716
+ gracePeriodHours: number;
32717
+ };
32718
+ RotateResult: {
32719
+ /**
32720
+ * @description delivered when the running workspace received the key; pending_restart when it gets the key at its next start.
32721
+ * @enum {string}
32722
+ */
32723
+ delivery: "delivered" | "pending_restart";
32724
+ /** @description The workspace image has no version, so whether it installs the key could not be checked. */
32725
+ imageVersionUnknown?: boolean;
32726
+ key: components["schemas"]["WorkspaceSSHKey"];
32727
+ };
32312
32728
  RotateSecretInputBody: {
32313
32729
  /**
32314
32730
  * Format: int64
@@ -32489,6 +32905,23 @@ export interface components {
32489
32905
  "urn:coreweave:params:scim:schemas:extension:coreweave:2.0:CoreWeaveUser"?: components["schemas"]["CoreWeaveUserExt"];
32490
32906
  userName: string;
32491
32907
  };
32908
+ SSHKeyInfo: {
32909
+ /**
32910
+ * @description The public key algorithm.
32911
+ * @example ecdsa-sha2-nistp256
32912
+ */
32913
+ algorithm: string;
32914
+ /**
32915
+ * @description SHA256 fingerprint of the public key.
32916
+ * @example SHA256:Hk3l7Ry5wq0n2gWz8x3cS2bS5nO1Cq9t1n0h3L2xQ4E
32917
+ */
32918
+ fingerprint: string;
32919
+ /**
32920
+ * @description The public key in authorized_keys format.
32921
+ * @example ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTY... pw_alice
32922
+ */
32923
+ publicKey: string;
32924
+ };
32492
32925
  SSHPublicKey: {
32493
32926
  /** Format: date-time */
32494
32927
  createdAt: string;
@@ -33283,6 +33716,8 @@ export interface components {
33283
33716
  region?: string;
33284
33717
  /** @description Name of the resource group the storage bills against. */
33285
33718
  resourceGroup?: string;
33719
+ /** @description Username of the owner of the resource group the storage bills against. */
33720
+ readonly resourceGroupOwner?: string;
33286
33721
  /** @description Whether the storage is sessionless. */
33287
33722
  sessionless: boolean;
33288
33723
  /**
@@ -33358,6 +33793,8 @@ export interface components {
33358
33793
  region?: string;
33359
33794
  /** @description Name of the resource group the storage bills against. */
33360
33795
  resourceGroup?: string;
33796
+ /** @description Username of the owner of the resource group the storage bills against. */
33797
+ readonly resourceGroupOwner?: string;
33361
33798
  /** @description Whether the storage is sessionless. */
33362
33799
  sessionless: boolean;
33363
33800
  /**
@@ -34021,6 +34458,18 @@ export interface components {
34021
34458
  /** @description Receiver endpoint. Leave empty for the Parallel Works default. */
34022
34459
  url?: string;
34023
34460
  };
34461
+ UpdateInstancePermissionsInputBody: {
34462
+ /** @description Map of group names to permissions */
34463
+ groups: {
34464
+ [key: string]: {
34465
+ [key: string]: boolean;
34466
+ };
34467
+ };
34468
+ /** @description Map of permission names to whether to share with entire organization */
34469
+ organization: {
34470
+ [key: string]: boolean;
34471
+ };
34472
+ };
34024
34473
  UpdateManagedClusterInputBody: {
34025
34474
  /** @description Access management settings */
34026
34475
  accessManagement?: components["schemas"]["UpdateAccessManagementBody"];
@@ -34323,7 +34772,7 @@ export interface components {
34323
34772
  value?: string;
34324
34773
  };
34325
34774
  UpdateWhileRunningBody: {
34326
- /** @description Cluster variables to apply to the running cluster. Only partition, user bootstrap, desktop session and running-processes variables may change; the controller instance type may change only while the controller is stopped. */
34775
+ /** @description Cluster variables to apply to the running cluster. Only partition, user bootstrap, desktop session, running-processes and explorer directory variables may change; the controller instance type may change only while the controller is stopped. */
34327
34776
  variables: components["schemas"]["ClusterUpdateVariables"];
34328
34777
  };
34329
34778
  UpdateWhileRunningResult: {
@@ -35104,6 +35553,10 @@ export interface components {
35104
35553
  [key: string]: components["schemas"]["WorkflowRunLink"];
35105
35554
  };
35106
35555
  marketplace: boolean;
35556
+ /** @description ID of the marketplace item the run came from. */
35557
+ marketplaceItem?: string;
35558
+ /** @description Current slug of the marketplace item the run came from, set when the run has no workflow of its own to link to. */
35559
+ marketplaceSlug?: string;
35107
35560
  /** Format: int64 */
35108
35561
  number?: number;
35109
35562
  redirect?: components["schemas"]["WorkflowRunRedirect"];
@@ -35115,6 +35568,8 @@ export interface components {
35115
35568
  statusReason?: string;
35116
35569
  user: string;
35117
35570
  workflowName?: string;
35571
+ /** @description Current name of the run's workflow, for linking to it. workflowName is the name it ran as, which its files live under. */
35572
+ workflowSlug?: string;
35118
35573
  };
35119
35574
  WorkflowRunInfo: {
35120
35575
  /** @description Workflow display name. */
@@ -35156,6 +35611,10 @@ export interface components {
35156
35611
  imageUrl?: string;
35157
35612
  inlineRun: boolean;
35158
35613
  marketplace: boolean;
35614
+ /** @description ID of the marketplace item the run came from. */
35615
+ marketplaceItem?: string;
35616
+ /** @description Current slug of the marketplace item the run came from, set when the run has no workflow of its own to link to. */
35617
+ marketplaceSlug?: string;
35159
35618
  /** Format: int64 */
35160
35619
  number?: number;
35161
35620
  slug?: string;
@@ -35163,6 +35622,8 @@ export interface components {
35163
35622
  statusReason?: string;
35164
35623
  user: string;
35165
35624
  workflowName?: string;
35625
+ /** @description Current name of the run's workflow, for linking to it. workflowName is the name it ran as, which its files live under. */
35626
+ workflowSlug?: string;
35166
35627
  };
35167
35628
  WorkflowRunRunningStepsResponse: {
35168
35629
  runningSteps: components["schemas"]["RunStep"][] | null;
@@ -35309,6 +35770,36 @@ export interface components {
35309
35770
  reason?: string;
35310
35771
  workspacePath: string;
35311
35772
  };
35773
+ WorkspaceSSHKey: {
35774
+ /** @description Existing clusters that sign in with the workspace key. Where the public key was added by hand, add the new one after a rotation. */
35775
+ clusters: components["schemas"]["KeyCluster"][] | null;
35776
+ /**
35777
+ * Format: date-time
35778
+ * @description When the current key was generated.
35779
+ */
35780
+ createdAt?: string;
35781
+ /** @description The key the workspace uses. */
35782
+ current?: components["schemas"]["SSHKeyInfo"];
35783
+ /**
35784
+ * @description Type of the next generated key, from the workspace-ssh-key-type policy.
35785
+ * @enum {string}
35786
+ */
35787
+ keyType: "ecdsa-p256" | "rsa-4096" | "rsa-3072" | "ed25519";
35788
+ /**
35789
+ * Format: date-time
35790
+ * @description When the workspace's self-generated pw_id_rsa key stopped, or stops, being trusted.
35791
+ */
35792
+ legacyRetiredAt?: string;
35793
+ /** @description False until the platform generates the user's key, which happens at their next workspace start. */
35794
+ managed: boolean;
35795
+ /** @description The key replaced by the last rotation, still trusted until previousExpiresAt. */
35796
+ previous?: components["schemas"]["SSHKeyInfo"];
35797
+ /**
35798
+ * Format: date-time
35799
+ * @description When the previous key stops being trusted.
35800
+ */
35801
+ previousExpiresAt?: string;
35802
+ };
35312
35803
  WorkspaceSettings: {
35313
35804
  /** Format: double */
35314
35805
  cpuLimit?: number;
@@ -35427,6 +35918,8 @@ export interface operations {
35427
35918
  connected?: "true" | "false";
35428
35919
  /** @description Only agents older than the platform version. */
35429
35920
  outdated?: boolean;
35921
+ /** @description Only agents that authenticated with a legacy cluster credential within the last 30 days. */
35922
+ legacyCredential?: boolean;
35430
35923
  /** @description Case-insensitive match on cluster name, display name, hostname, user, organization, or version. */
35431
35924
  search?: string;
35432
35925
  /** @description Page size. */
@@ -38715,6 +39208,40 @@ export interface operations {
38715
39208
  };
38716
39209
  };
38717
39210
  };
39211
+ "withdraw-agent-session-message": {
39212
+ parameters: {
39213
+ query?: never;
39214
+ header?: never;
39215
+ path: {
39216
+ /** @description Machine id from the machines list. */
39217
+ machine: string;
39218
+ /** @description Session id as the daemon reports it. */
39219
+ id: string;
39220
+ /** @description The turn id the message was accepted as. */
39221
+ turnId: string;
39222
+ };
39223
+ cookie?: never;
39224
+ };
39225
+ requestBody?: never;
39226
+ responses: {
39227
+ /** @description No Content */
39228
+ 204: {
39229
+ headers: {
39230
+ [name: string]: unknown;
39231
+ };
39232
+ content?: never;
39233
+ };
39234
+ /** @description Error */
39235
+ default: {
39236
+ headers: {
39237
+ [name: string]: unknown;
39238
+ };
39239
+ content: {
39240
+ "application/json": components["schemas"]["Error"];
39241
+ };
39242
+ };
39243
+ };
39244
+ };
38718
39245
  "rename-agent-session": {
38719
39246
  parameters: {
38720
39247
  query?: never;
@@ -51666,7 +52193,7 @@ export interface operations {
51666
52193
  "get-managed-cluster-metrics": {
51667
52194
  parameters: {
51668
52195
  query?: {
51669
- /** @description Number of hours of history to retrieve (default: 24) */
52196
+ /** @description Number of hours of history to retrieve (1-168) */
51670
52197
  hours?: number;
51671
52198
  };
51672
52199
  header?: never;
@@ -51848,7 +52375,7 @@ export interface operations {
51848
52375
  "get-managed-cluster-node-metrics": {
51849
52376
  parameters: {
51850
52377
  query?: {
51851
- /** @description Number of hours of history to retrieve (default: 24) */
52378
+ /** @description Number of hours of history to retrieve (1-168) */
51852
52379
  hours?: number;
51853
52380
  };
51854
52381
  header?: never;
@@ -52702,6 +53229,44 @@ export interface operations {
52702
53229
  };
52703
53230
  };
52704
53231
  };
53232
+ "set-organization-allow-organization-session-sharing-policy": {
53233
+ parameters: {
53234
+ query?: never;
53235
+ header?: never;
53236
+ path: {
53237
+ /** @description The name of the organization. */
53238
+ organization: string;
53239
+ };
53240
+ cookie?: never;
53241
+ };
53242
+ requestBody: {
53243
+ content: {
53244
+ "application/json": boolean;
53245
+ };
53246
+ };
53247
+ responses: {
53248
+ /** @description OK */
53249
+ 200: {
53250
+ headers: {
53251
+ [name: string]: unknown;
53252
+ };
53253
+ content: {
53254
+ "application/json": {
53255
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53256
+ };
53257
+ };
53258
+ };
53259
+ /** @description Error */
53260
+ default: {
53261
+ headers: {
53262
+ [name: string]: unknown;
53263
+ };
53264
+ content: {
53265
+ "application/json": components["schemas"]["Error"];
53266
+ };
53267
+ };
53268
+ };
53269
+ };
52705
53270
  "set-organization-allow-public-sessions-policy": {
52706
53271
  parameters: {
52707
53272
  query?: never;
@@ -53158,6 +53723,44 @@ export interface operations {
53158
53723
  };
53159
53724
  };
53160
53725
  };
53726
+ "set-organization-workspace-ssh-key-type-policy": {
53727
+ parameters: {
53728
+ query?: never;
53729
+ header?: never;
53730
+ path: {
53731
+ /** @description The name of the organization. */
53732
+ organization: string;
53733
+ };
53734
+ cookie?: never;
53735
+ };
53736
+ requestBody: {
53737
+ content: {
53738
+ "application/json": string;
53739
+ };
53740
+ };
53741
+ responses: {
53742
+ /** @description OK */
53743
+ 200: {
53744
+ headers: {
53745
+ [name: string]: unknown;
53746
+ };
53747
+ content: {
53748
+ "application/json": {
53749
+ [key: string]: components["schemas"]["StringPolicyOutput"];
53750
+ };
53751
+ };
53752
+ };
53753
+ /** @description Error */
53754
+ default: {
53755
+ headers: {
53756
+ [name: string]: unknown;
53757
+ };
53758
+ content: {
53759
+ "application/json": components["schemas"]["Error"];
53760
+ };
53761
+ };
53762
+ };
53763
+ };
53161
53764
  "delete-organization-policy": {
53162
53765
  parameters: {
53163
53766
  query?: never;
@@ -54391,6 +54994,74 @@ export interface operations {
54391
54994
  };
54392
54995
  };
54393
54996
  };
54997
+ "rotate-organization-workspace-ssh-keys": {
54998
+ parameters: {
54999
+ query?: never;
55000
+ header?: never;
55001
+ path: {
55002
+ /** @description The name of the organization. */
55003
+ organization: string;
55004
+ };
55005
+ cookie?: never;
55006
+ };
55007
+ requestBody: {
55008
+ content: {
55009
+ "application/json": components["schemas"]["RotateOrgInputBody"];
55010
+ };
55011
+ };
55012
+ responses: {
55013
+ /** @description Accepted */
55014
+ 202: {
55015
+ headers: {
55016
+ [name: string]: unknown;
55017
+ };
55018
+ content: {
55019
+ "application/json": components["schemas"]["OrgRotation"];
55020
+ };
55021
+ };
55022
+ /** @description Error */
55023
+ default: {
55024
+ headers: {
55025
+ [name: string]: unknown;
55026
+ };
55027
+ content: {
55028
+ "application/json": components["schemas"]["Error"];
55029
+ };
55030
+ };
55031
+ };
55032
+ };
55033
+ "get-organization-workspace-ssh-key-rotation": {
55034
+ parameters: {
55035
+ query?: never;
55036
+ header?: never;
55037
+ path: {
55038
+ /** @description The name of the organization. */
55039
+ organization: string;
55040
+ };
55041
+ cookie?: never;
55042
+ };
55043
+ requestBody?: never;
55044
+ responses: {
55045
+ /** @description OK */
55046
+ 200: {
55047
+ headers: {
55048
+ [name: string]: unknown;
55049
+ };
55050
+ content: {
55051
+ "application/json": components["schemas"]["OrgRotation"];
55052
+ };
55053
+ };
55054
+ /** @description Error */
55055
+ default: {
55056
+ headers: {
55057
+ [name: string]: unknown;
55058
+ };
55059
+ content: {
55060
+ "application/json": components["schemas"]["Error"];
55061
+ };
55062
+ };
55063
+ };
55064
+ };
54394
55065
  "get-organization-theme": {
54395
55066
  parameters: {
54396
55067
  query?: never;
@@ -59531,6 +60202,80 @@ export interface operations {
59531
60202
  };
59532
60203
  };
59533
60204
  };
60205
+ "get-instance-permissions": {
60206
+ parameters: {
60207
+ query?: never;
60208
+ header?: never;
60209
+ path: {
60210
+ /** @description The name of the organization. */
60211
+ organization: string;
60212
+ /** @description Username of the target user. */
60213
+ user: string;
60214
+ /** @description The name of the instance. */
60215
+ instanceName: string;
60216
+ };
60217
+ cookie?: never;
60218
+ };
60219
+ requestBody?: never;
60220
+ responses: {
60221
+ /** @description OK */
60222
+ 200: {
60223
+ headers: {
60224
+ [name: string]: unknown;
60225
+ };
60226
+ content: {
60227
+ "application/json": components["schemas"]["SubjectPermissions"];
60228
+ };
60229
+ };
60230
+ /** @description Error */
60231
+ default: {
60232
+ headers: {
60233
+ [name: string]: unknown;
60234
+ };
60235
+ content: {
60236
+ "application/json": components["schemas"]["Error"];
60237
+ };
60238
+ };
60239
+ };
60240
+ };
60241
+ "update-instance-permissions": {
60242
+ parameters: {
60243
+ query?: never;
60244
+ header?: never;
60245
+ path: {
60246
+ /** @description The name of the organization. */
60247
+ organization: string;
60248
+ /** @description Username of the target user. */
60249
+ user: string;
60250
+ /** @description The name of the instance. */
60251
+ instanceName: string;
60252
+ };
60253
+ cookie?: never;
60254
+ };
60255
+ requestBody: {
60256
+ content: {
60257
+ "application/json": components["schemas"]["UpdateInstancePermissionsInputBody"];
60258
+ };
60259
+ };
60260
+ responses: {
60261
+ /** @description No Content */
60262
+ 204: {
60263
+ headers: {
60264
+ [name: string]: unknown;
60265
+ };
60266
+ content?: never;
60267
+ };
60268
+ /** @description Error */
60269
+ default: {
60270
+ headers: {
60271
+ [name: string]: unknown;
60272
+ };
60273
+ content: {
60274
+ "application/json": components["schemas"]["Error"];
60275
+ };
60276
+ };
60277
+ };
60278
+ };
59534
60279
  "create-instance-snapshot": {
59535
60280
  parameters: {
59536
60281
  query?: never;
@@ -61815,6 +62560,78 @@ export interface operations {
61815
62560
  };
61816
62561
  };
61817
62562
  };
62563
+ "get-user-workspace-ssh-key": {
62564
+ parameters: {
62565
+ query?: never;
62566
+ header?: never;
62567
+ path: {
62568
+ /** @description The name of the organization. */
62569
+ organization: string;
62570
+ /** @description Username of the target user. */
62571
+ user: string;
62572
+ };
62573
+ cookie?: never;
62574
+ };
62575
+ requestBody?: never;
62576
+ responses: {
62577
+ /** @description OK */
62578
+ 200: {
62579
+ headers: {
62580
+ [name: string]: unknown;
62581
+ };
62582
+ content: {
62583
+ "application/json": components["schemas"]["WorkspaceSSHKey"];
62584
+ };
62585
+ };
62586
+ /** @description Error */
62587
+ default: {
62588
+ headers: {
62589
+ [name: string]: unknown;
62590
+ };
62591
+ content: {
62592
+ "application/json": components["schemas"]["Error"];
62593
+ };
62594
+ };
62595
+ };
62596
+ };
62597
+ "rotate-user-workspace-ssh-key": {
62598
+ parameters: {
62599
+ query?: never;
62600
+ header?: never;
62601
+ path: {
62602
+ /** @description The name of the organization. */
62603
+ organization: string;
62604
+ /** @description Username of the target user. */
62605
+ user: string;
62606
+ };
62607
+ cookie?: never;
62608
+ };
62609
+ requestBody: {
62610
+ content: {
62611
+ "application/json": components["schemas"]["RotateBody"];
62612
+ };
62613
+ };
62614
+ responses: {
62615
+ /** @description OK */
62616
+ 200: {
62617
+ headers: {
62618
+ [name: string]: unknown;
62619
+ };
62620
+ content: {
62621
+ "application/json": components["schemas"]["RotateResult"];
62622
+ };
62623
+ };
62624
+ /** @description Error */
62625
+ default: {
62626
+ headers: {
62627
+ [name: string]: unknown;
62628
+ };
62629
+ content: {
62630
+ "application/json": components["schemas"]["Error"];
62631
+ };
62632
+ };
62633
+ };
62634
+ };
61818
62635
  "create-ssh-private-key": {
61819
62636
  parameters: {
61820
62637
  query?: never;
@@ -64008,6 +64825,41 @@ export interface operations {
64008
64825
  };
64009
64826
  };
64010
64827
  };
64828
+ "set-platform-allow-organization-session-sharing-policy": {
64829
+ parameters: {
64830
+ query?: never;
64831
+ header?: never;
64832
+ path?: never;
64833
+ cookie?: never;
64834
+ };
64835
+ requestBody: {
64836
+ content: {
64837
+ "application/json": boolean;
64838
+ };
64839
+ };
64840
+ responses: {
64841
+ /** @description OK */
64842
+ 200: {
64843
+ headers: {
64844
+ [name: string]: unknown;
64845
+ };
64846
+ content: {
64847
+ "application/json": {
64848
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
64849
+ };
64850
+ };
64851
+ };
64852
+ /** @description Error */
64853
+ default: {
64854
+ headers: {
64855
+ [name: string]: unknown;
64856
+ };
64857
+ content: {
64858
+ "application/json": components["schemas"]["Error"];
64859
+ };
64860
+ };
64861
+ };
64862
+ };
64011
64863
  "set-platform-allow-public-sessions-policy": {
64012
64864
  parameters: {
64013
64865
  query?: never;
@@ -64463,6 +65315,41 @@ export interface operations {
64463
65315
  };
64464
65316
  };
64465
65317
  };
65318
+ "set-platform-workspace-ssh-key-type-policy": {
65319
+ parameters: {
65320
+ query?: never;
65321
+ header?: never;
65322
+ path?: never;
65323
+ cookie?: never;
65324
+ };
65325
+ requestBody: {
65326
+ content: {
65327
+ "application/json": string;
65328
+ };
65329
+ };
65330
+ responses: {
65331
+ /** @description OK */
65332
+ 200: {
65333
+ headers: {
65334
+ [name: string]: unknown;
65335
+ };
65336
+ content: {
65337
+ "application/json": {
65338
+ [key: string]: components["schemas"]["StringPolicyOutput"];
65339
+ };
65340
+ };
65341
+ };
65342
+ /** @description Error */
65343
+ default: {
65344
+ headers: {
65345
+ [name: string]: unknown;
65346
+ };
65347
+ content: {
65348
+ "application/json": components["schemas"]["Error"];
65349
+ };
65350
+ };
65351
+ };
65352
+ };
64466
65353
  "delete-platform-policy": {
64467
65354
  parameters: {
64468
65355
  query?: never;
@@ -65910,6 +66797,68 @@ export interface operations {
65910
66797
  };
65911
66798
  };
65912
66799
  };
66800
+ "get-workspace-ssh-key": {
66801
+ parameters: {
66802
+ query?: never;
66803
+ header?: never;
66804
+ path?: never;
66805
+ cookie?: never;
66806
+ };
66807
+ requestBody?: never;
66808
+ responses: {
66809
+ /** @description OK */
66810
+ 200: {
66811
+ headers: {
66812
+ [name: string]: unknown;
66813
+ };
66814
+ content: {
66815
+ "application/json": components["schemas"]["WorkspaceSSHKey"];
66816
+ };
66817
+ };
66818
+ /** @description Error */
66819
+ default: {
66820
+ headers: {
66821
+ [name: string]: unknown;
66822
+ };
66823
+ content: {
66824
+ "application/json": components["schemas"]["Error"];
66825
+ };
66826
+ };
66827
+ };
66828
+ };
66829
+ "rotate-workspace-ssh-key": {
66830
+ parameters: {
66831
+ query?: never;
66832
+ header?: never;
66833
+ path?: never;
66834
+ cookie?: never;
66835
+ };
66836
+ requestBody: {
66837
+ content: {
66838
+ "application/json": components["schemas"]["RotateBody"];
66839
+ };
66840
+ };
66841
+ responses: {
66842
+ /** @description OK */
66843
+ 200: {
66844
+ headers: {
66845
+ [name: string]: unknown;
66846
+ };
66847
+ content: {
66848
+ "application/json": components["schemas"]["RotateResult"];
66849
+ };
66850
+ };
66851
+ /** @description Error */
66852
+ default: {
66853
+ headers: {
66854
+ [name: string]: unknown;
66855
+ };
66856
+ content: {
66857
+ "application/json": components["schemas"]["Error"];
66858
+ };
66859
+ };
66860
+ };
66861
+ };
65913
66862
  "get-ssh-private-keys": {
65914
66863
  parameters: {
65915
66864
  query?: never;