@parallelworks/client 7.116.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 +1505 -224
  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;
@@ -5187,6 +5209,78 @@ export interface paths {
5187
5209
  patch?: never;
5188
5210
  trace?: never;
5189
5211
  };
5212
+ "/api/oidc/end_session": {
5213
+ parameters: {
5214
+ query?: never;
5215
+ header?: never;
5216
+ path?: never;
5217
+ cookie?: never;
5218
+ };
5219
+ /**
5220
+ * OIDC end session endpoint
5221
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
5222
+ *
5223
+ * Ends the platform session behind an application sign-in (OIDC RP-Initiated Logout). Requires an `id_token_hint` this provider issued. `post_logout_redirect_uri` must match a registered post-logout value; an unregistered one is refused. Omitting it sends the browser to the platform sign-in page.
5224
+ */
5225
+ get: operations["get-oidc-end-session"];
5226
+ put?: never;
5227
+ /**
5228
+ * OIDC end session endpoint (form post)
5229
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
5230
+ *
5231
+ * Accepts the RP-Initiated Logout parameters as an `application/x-www-form-urlencoded` body and answers 303 See Other to the GET endpoint with the same parameters, where the request is validated and the session ended. The browser only sends the platform session cookie on that top-level GET.
5232
+ */
5233
+ post: operations["post-oidc-end-session"];
5234
+ delete?: never;
5235
+ options?: never;
5236
+ head?: never;
5237
+ patch?: never;
5238
+ trace?: never;
5239
+ };
5240
+ "/api/oidc/introspect": {
5241
+ parameters: {
5242
+ query?: never;
5243
+ header?: never;
5244
+ path?: never;
5245
+ cookie?: never;
5246
+ };
5247
+ get?: never;
5248
+ put?: never;
5249
+ /**
5250
+ * OAuth token introspection endpoint
5251
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
5252
+ *
5253
+ * Reports whether a token is live and the authorization it carries (RFC 7662). The body is `application/x-www-form-urlencoded` with `token`. Only a confidential client may call it, with its client secret, and only about tokens issued to it.
5254
+ */
5255
+ post: operations["post-oidc-introspect"];
5256
+ delete?: never;
5257
+ options?: never;
5258
+ head?: never;
5259
+ patch?: never;
5260
+ trace?: never;
5261
+ };
5262
+ "/api/oidc/revoke": {
5263
+ parameters: {
5264
+ query?: never;
5265
+ header?: never;
5266
+ path?: never;
5267
+ cookie?: never;
5268
+ };
5269
+ get?: never;
5270
+ put?: never;
5271
+ /**
5272
+ * OAuth token revocation endpoint
5273
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
5274
+ *
5275
+ * Invalidates an access or refresh token the application holds (RFC 7009). The body is `application/x-www-form-urlencoded` with `token` and the same client authentication as the token endpoint. Revoking a refresh token also revokes every token issued from it.
5276
+ */
5277
+ post: operations["post-oidc-revoke"];
5278
+ delete?: never;
5279
+ options?: never;
5280
+ head?: never;
5281
+ patch?: never;
5282
+ trace?: never;
5283
+ };
5190
5284
  "/api/oidc/sso/{authMethodId}/sector-identifier": {
5191
5285
  parameters: {
5192
5286
  query?: never;
@@ -5222,9 +5316,9 @@ export interface paths {
5222
5316
  * OIDC token endpoint
5223
5317
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
5224
5318
  *
5225
- * Redeems an authorization code for an ID token and an opaque access token (RFC 6749 section 4.1.3).
5319
+ * Redeems an authorization code, or rotates a refresh token, for an ID token and an opaque access token (RFC 6749 sections 4.1.3 and 6).
5226
5320
  *
5227
- * The body is `application/x-www-form-urlencoded` with `grant_type=authorization_code`, `code`, `redirect_uri`, and `code_verifier` for PKCE. A confidential client authenticates with `client_id` and `client_secret`, either in the body or with HTTP Basic; a public client sends `client_id` and relies on PKCE.
5321
+ * The body is `application/x-www-form-urlencoded`. To redeem a code, send `grant_type=authorization_code`, `code`, `redirect_uri`, and `code_verifier` for PKCE. To refresh, send `grant_type=refresh_token`, a `refresh_token` issued for the `offline_access` scope, and an optional `scope` that can narrow but never widen the original grant; the response carries a new refresh token, and presenting a spent one again revokes every token descended from it. A confidential client authenticates with `client_id` and `client_secret`, either in the body or with HTTP Basic; a public client sends `client_id` and relies on PKCE.
5228
5322
  */
5229
5323
  post: operations["post-oidc-token"];
5230
5324
  delete?: never;
@@ -7196,7 +7290,7 @@ export interface paths {
7196
7290
  * Discover a GitLab server's CA certificate
7197
7291
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
7198
7292
  *
7199
- * Dials the GitLab server and returns the CA certificate its TLS chain is issued by, for registrations that verify against a custom CA.
7293
+ * Dials the GitLab server and returns the CA certificate its TLS chain is issued by, its SHA-256 fingerprint, and whether the chain is publicly trusted, for registrations that verify against a custom CA.
7200
7294
  */
7201
7295
  post: operations["discover-organization-gitlab-server-ca-cert"];
7202
7296
  delete?: never;
@@ -7436,7 +7530,7 @@ export interface paths {
7436
7530
  * Discover Kubernetes CA certificate
7437
7531
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
7438
7532
  *
7439
- * Automatically resolves the CA certificate for the provided Kubernetes API endpoint.
7533
+ * Returns the CA certificate the Kubernetes API endpoint presents, its SHA-256 fingerprint, and whether the chain is publicly trusted.
7440
7534
  */
7441
7535
  post: operations["discover-kubernetes-ca-cert"];
7442
7536
  delete?: never;
@@ -9001,6 +9095,28 @@ export interface paths {
9001
9095
  patch?: never;
9002
9096
  trace?: never;
9003
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
+ };
9004
9120
  "/api/organizations/{organization}/policies/allow-public-sessions": {
9005
9121
  parameters: {
9006
9122
  query?: never;
@@ -9265,6 +9381,28 @@ export interface paths {
9265
9381
  patch?: never;
9266
9382
  trace?: never;
9267
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
+ };
9268
9406
  "/api/organizations/{organization}/policies/{policyname}": {
9269
9407
  parameters: {
9270
9408
  query?: never;
@@ -9787,6 +9925,50 @@ export interface paths {
9787
9925
  patch?: never;
9788
9926
  trace?: never;
9789
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
+ };
9790
9972
  "/api/organizations/{organization}/theme": {
9791
9973
  parameters: {
9792
9974
  query?: never;
@@ -11645,7 +11827,7 @@ export interface paths {
11645
11827
  * Apply a configuration update to a running cluster
11646
11828
  * @description > This is a user-centric route, so the response will always be in the context of the currently authenticated user.
11647
11829
  *
11648
- * 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.
11649
11831
  */
11650
11832
  post: operations["update-cluster-while-running"];
11651
11833
  delete?: never;
@@ -12312,6 +12494,34 @@ export interface paths {
12312
12494
  patch?: never;
12313
12495
  trace?: never;
12314
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
+ };
12315
12525
  "/api/organizations/{organization}/users/{user}/instances/{instanceName}/snapshot": {
12316
12526
  parameters: {
12317
12527
  query?: never;
@@ -13158,7 +13368,7 @@ export interface paths {
13158
13368
  * Delete session
13159
13369
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13160
13370
  *
13161
- * 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.
13162
13372
  */
13163
13373
  delete: operations["delete-user-session"];
13164
13374
  options?: never;
@@ -13185,7 +13395,7 @@ export interface paths {
13185
13395
  * Update session access
13186
13396
  * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
13187
13397
  *
13188
- * 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.
13189
13399
  */
13190
13400
  post: operations["update-user-session-access"];
13191
13401
  delete?: never;
@@ -13394,6 +13604,50 @@ export interface paths {
13394
13604
  patch: operations["update-snapshot-permissions"];
13395
13605
  trace?: never;
13396
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
+ };
13397
13651
  "/api/organizations/{organization}/users/{user}/ssh-private-keys": {
13398
13652
  parameters: {
13399
13653
  query?: never;
@@ -14406,6 +14660,28 @@ export interface paths {
14406
14660
  patch?: never;
14407
14661
  trace?: never;
14408
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
+ };
14409
14685
  "/api/platform/policies/allow-public-sessions": {
14410
14686
  parameters: {
14411
14687
  query?: never;
@@ -14692,6 +14968,28 @@ export interface paths {
14692
14968
  patch?: never;
14693
14969
  trace?: never;
14694
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
+ };
14695
14993
  "/api/platform/policies/{policyname}": {
14696
14994
  parameters: {
14697
14995
  query?: never;
@@ -15507,6 +15805,50 @@ export interface paths {
15507
15805
  patch?: never;
15508
15806
  trace?: never;
15509
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
+ };
15510
15852
  "/api/ssh-private-keys": {
15511
15853
  parameters: {
15512
15854
  query?: never;
@@ -17740,13 +18082,18 @@ export interface components {
17740
18082
  };
17741
18083
  AgentMachine: {
17742
18084
  agentVersion?: string;
18085
+ /** @description Machine id the pw code daemon reported, when it answered. A local computer with the same id as a resource is the same host and is listed only as the resource. */
18086
+ daemonId?: string;
17743
18087
  error?: string;
17744
18088
  /** @description Hostname the daemon reported, when it answered. */
17745
18089
  hostname?: string;
17746
- /** @description Hex ObjectID of the cluster, pool, or instance document. */
18090
+ /** @description Hex ObjectID of the cluster, pool, or instance document; for a local computer, the id its pw code daemon registered. */
17747
18091
  id: string;
17748
- /** @enum {string} */
17749
- kind: "cloud" | "existing" | "instance";
18092
+ /**
18093
+ * @description local is a computer whose pw code daemon connected itself; the others are resources reached through their pw agent.
18094
+ * @enum {string}
18095
+ */
18096
+ kind: "cloud" | "existing" | "instance" | "local";
17750
18097
  name: string;
17751
18098
  /** @description Platform username of the resource owner. */
17752
18099
  owner: string;
@@ -17978,6 +18325,8 @@ export interface components {
17978
18325
  region?: string;
17979
18326
  /** @description Resource group the provider bills against */
17980
18327
  resourceGroup?: string;
18328
+ /** @description Username of the owner of the resource group the provider bills against */
18329
+ readonly resourceGroupOwner?: string;
17981
18330
  /** @description Current status of the AI provider */
17982
18331
  status: string;
17983
18332
  /** @description Whether the provider endpoint supports the OpenAI Responses API */
@@ -18019,6 +18368,8 @@ export interface components {
18019
18368
  region: string | null;
18020
18369
  /** @description Resource group the provider bills against */
18021
18370
  resourceGroup?: string;
18371
+ /** @description Username of the owner of the resource group the provider bills against */
18372
+ readonly resourceGroupOwner?: string;
18022
18373
  /** @description Current status of the AI provider */
18023
18374
  status: string;
18024
18375
  /** @description The provider is blocked by platform catalog policy until a platform administrator maps or re-enables its integration */
@@ -18206,13 +18557,15 @@ export interface components {
18206
18557
  * @enum {string}
18207
18558
  */
18208
18559
  level?: "organization" | "platform";
18209
- /** @description The display name of the application. */
18560
+ /** @description The display name of the application. Required when registering; omit it on an update to keep the stored name. */
18210
18561
  name: string;
18562
+ /** @description Permitted destinations after an RP-initiated logout. */
18563
+ postLogoutRedirectUris?: string[] | null;
18211
18564
  /** @description Permitted redirect URIs for the authorization code flow. */
18212
18565
  redirectUris?: string[] | null;
18213
18566
  /** @description Whether the user's session must have completed two-step verification. Turning it on revokes the credentials issued to sessions that had not. */
18214
18567
  requireMfa?: boolean;
18215
- /** @description Scopes the application may request. Omit it when registering and the application may request openid only; list every scope it needs, including openid. */
18568
+ /** @description Scopes the application may request. Omitted at registration, it defaults to openid, profile, and email; groups and offline_access must be listed. */
18216
18569
  scopes?: string[] | null;
18217
18570
  /**
18218
18571
  * @description What the sub claim contains. Defaults to userId.
@@ -18251,17 +18604,23 @@ export interface components {
18251
18604
  * @description The application kind.
18252
18605
  * @enum {string}
18253
18606
  */
18254
- kind: "web" | "spa" | "native" | "service";
18607
+ kind: "web" | "spa" | "native" | "service" | "kubernetes";
18255
18608
  /**
18256
18609
  * @description Whether the application is scoped to one organization or the whole platform.
18257
18610
  * @enum {string}
18258
18611
  */
18259
18612
  level: "organization" | "platform";
18613
+ /** @description Whether the caller may edit the application, manage its secrets, or delete it. */
18614
+ manageable: boolean;
18615
+ /** @description Whether this entry is a Kubernetes cluster derived from the cluster itself. Managed entries are read-only. */
18616
+ managed: boolean;
18260
18617
  /** @description The display name of the application. */
18261
18618
  name: string;
18619
+ /** @description Permitted destinations after an RP-initiated logout. */
18620
+ postLogoutRedirectUris: string[] | null;
18262
18621
  /** @description Permitted redirect URIs for the authorization code flow. */
18263
18622
  redirectUris: string[] | null;
18264
- /** @description Whether the user's session must have completed two-step verification. */
18623
+ /** @description Whether a sign-in to this application requires two-step verification. */
18265
18624
  requireMfa: boolean;
18266
18625
  /** @description Scopes the application may request. */
18267
18626
  scopes: string[] | null;
@@ -18273,8 +18632,47 @@ export interface components {
18273
18632
  */
18274
18633
  subjectType: "userId" | "username";
18275
18634
  };
18635
+ AppUpdateBody: {
18636
+ /** @description Groups whose members may use the application. Empty means everyone in the organization. */
18637
+ allowedGroups?: string[] | null;
18638
+ /**
18639
+ * @description Whether the user sees a consent screen. Defaults to none.
18640
+ * @enum {string}
18641
+ */
18642
+ consent?: "none" | "required";
18643
+ /** @description What the application is for. */
18644
+ description?: string;
18645
+ /** @description Whether the application is disabled. */
18646
+ disabled?: boolean;
18647
+ /**
18648
+ * @description The application kind. Defaults to web.
18649
+ * @enum {string}
18650
+ */
18651
+ kind?: "web" | "spa" | "native" | "service";
18652
+ /**
18653
+ * @description Whether the application is scoped to one organization or the whole platform. Defaults to organization.
18654
+ * @enum {string}
18655
+ */
18656
+ level?: "organization" | "platform";
18657
+ /** @description The display name of the application. Required when registering; omit it on an update to keep the stored name. */
18658
+ name?: string;
18659
+ /** @description Permitted destinations after an RP-initiated logout. */
18660
+ postLogoutRedirectUris?: string[] | null;
18661
+ /** @description Permitted redirect URIs for the authorization code flow. */
18662
+ redirectUris?: string[] | null;
18663
+ /** @description Whether the user's session must have completed two-step verification. Turning it on revokes the credentials issued to sessions that had not. */
18664
+ requireMfa?: boolean;
18665
+ /** @description Scopes the application may request. Omitted at registration, it defaults to openid, profile, and email; groups and offline_access must be listed. */
18666
+ scopes?: string[] | null;
18667
+ /**
18668
+ * @description What the sub claim contains. Defaults to userId.
18669
+ * @enum {string}
18670
+ */
18671
+ subjectType?: "userId" | "username";
18672
+ };
18276
18673
  ApprovalAnswer: {
18277
18674
  allowDir?: boolean;
18675
+ allowRules?: string[] | null;
18278
18676
  allowed?: boolean;
18279
18677
  chat?: boolean;
18280
18678
  clear?: boolean;
@@ -18896,6 +19294,8 @@ export interface components {
18896
19294
  * @example my-resource-group
18897
19295
  */
18898
19296
  resourceGroup?: string;
19297
+ /** @description Username of the owner of the resource group the workspace bills against. */
19298
+ readonly resourceGroupOwner?: string;
18899
19299
  /**
18900
19300
  * @description The tags associated with the Machine Learning Workspace.
18901
19301
  * @example [
@@ -18935,6 +19335,8 @@ export interface components {
18935
19335
  /** @description Desktop session settings. */
18936
19336
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
18937
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;
18938
19340
  healthCheck?: string;
18939
19341
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
18940
19342
  ipAddress?: string;
@@ -19376,6 +19778,8 @@ export interface components {
19376
19778
  * @example my-resource-group
19377
19779
  */
19378
19780
  resourceGroup?: string;
19781
+ /** @description Username of the owner of the resource group the workspace bills against. */
19782
+ readonly resourceGroupOwner?: string;
19379
19783
  /**
19380
19784
  * @description The tags associated with the Machine Learning Workspace.
19381
19785
  * @example [
@@ -19632,6 +20036,8 @@ export interface components {
19632
20036
  /** @description Desktop session settings. */
19633
20037
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
19634
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;
19635
20041
  healthCheck?: string;
19636
20042
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
19637
20043
  ipAddress?: string;
@@ -20071,6 +20477,8 @@ export interface components {
20071
20477
  region: string;
20072
20478
  /** @description Name of the resource group the bucket bills against. */
20073
20479
  resourceGroup?: string;
20480
+ /** @description Username of the owner of the resource group the bucket bills against. */
20481
+ readonly resourceGroupOwner?: string;
20074
20482
  /** @description Indicates if the bucket is sessionless */
20075
20483
  sessionless: boolean;
20076
20484
  /** @description List of groups with whom the bucket is shared */
@@ -21212,6 +21620,8 @@ export interface components {
21212
21620
  controllerInstanceType?: string;
21213
21621
  /** @description Desktop session settings. Applied to sessions started after the update; running sessions keep their current settings. */
21214
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;
21215
21625
  /** @description Slurm partition definitions */
21216
21626
  partitions?: components["schemas"]["ClusterUpdatePartition"][];
21217
21627
  /** @description Record every node's running processes and what preceded a freeze. The agents start or stop collecting on their next heartbeat. */
@@ -21595,7 +22005,7 @@ export interface components {
21595
22005
  CreateAPIKeyInputBody: {
21596
22006
  /** @description Budget allocation name (required for AI keys) */
21597
22007
  allocation?: string;
21598
- /** @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. */
21599
22009
  duration?: string;
21600
22010
  /** @description Display name for the API key */
21601
22011
  title: string;
@@ -21665,6 +22075,8 @@ export interface components {
21665
22075
  displayName?: string;
21666
22076
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
21667
22077
  duplicatedFrom?: string;
22078
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22079
+ explorerPath?: string;
21668
22080
  healthCheck?: string;
21669
22081
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
21670
22082
  ipAddress?: string;
@@ -21718,6 +22130,8 @@ export interface components {
21718
22130
  displayName?: string;
21719
22131
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
21720
22132
  duplicatedFrom?: string;
22133
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22134
+ explorerPath?: string;
21721
22135
  healthCheck?: string;
21722
22136
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
21723
22137
  ipAddress?: string;
@@ -21889,6 +22303,8 @@ export interface components {
21889
22303
  displayName?: string;
21890
22304
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
21891
22305
  duplicatedFrom?: string;
22306
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22307
+ explorerPath?: string;
21892
22308
  /** @description Jump (bastion) host; omit to connect directly. */
21893
22309
  jumpNodeHost?: string;
21894
22310
  /** @description Jump (bastion) user. */
@@ -21938,6 +22354,8 @@ export interface components {
21938
22354
  displayName?: string;
21939
22355
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
21940
22356
  duplicatedFrom?: string;
22357
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22358
+ explorerPath?: string;
21941
22359
  healthCheck?: string;
21942
22360
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
21943
22361
  ipAddress?: string;
@@ -22114,6 +22532,8 @@ export interface components {
22114
22532
  displayName?: string;
22115
22533
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
22116
22534
  duplicatedFrom?: string;
22535
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22536
+ explorerPath?: string;
22117
22537
  floatingIpNetwork?: string;
22118
22538
  healthCheck?: string;
22119
22539
  /**
@@ -22167,6 +22587,8 @@ export interface components {
22167
22587
  displayName?: string;
22168
22588
  /** @description Name of the cluster this one was duplicated from; recorded in the audit trail. */
22169
22589
  duplicatedFrom?: string;
22590
+ /** @description Directory the file explorer opens by default (supports __HOME__ and __USER__). Empty opens the home directory. */
22591
+ explorerPath?: string;
22170
22592
  healthCheck?: string;
22171
22593
  /**
22172
22594
  * @description Cluster name; only lowercase letters and numbers.
@@ -22511,7 +22933,7 @@ export interface components {
22511
22933
  /** @description Remote workflow configuration (required for remote type) */
22512
22934
  remote?: components["schemas"]["RemoteWorkflowSettings"];
22513
22935
  /**
22514
- * @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.
22515
22937
  * @enum {string}
22516
22938
  */
22517
22939
  subtype?: "github" | "gitlab";
@@ -22951,20 +23373,38 @@ export interface components {
22951
23373
  * @example https://k8s.example.com:6443
22952
23374
  */
22953
23375
  endpoint: string;
23376
+ /** @description SHA-256 fingerprint the discovered CA certificate must have, as hex with or without colons. Discovery fails when the endpoint presents a different CA. */
23377
+ expectedFingerprint?: string;
22954
23378
  };
22955
23379
  DiscoverCACertInputBody1: {
22956
23380
  /** @description Whether the server may sit on a private network address. Platform administrators only. */
22957
23381
  allowPrivateAddress?: boolean;
22958
23382
  /** @description Origin of the GitLab instance to dial, for example https://gitlab.example.com. */
22959
23383
  baseUrl: string;
23384
+ /** @description SHA-256 fingerprint the discovered CA certificate must have, as hex with or without colons. Discovery fails when the endpoint presents a different CA. */
23385
+ expectedFingerprint?: string;
22960
23386
  };
22961
- DiscoverCACertOutputBody: {
22962
- /** @description PEM-encoded CA certificate served by the endpoint */
22963
- caCert: string;
22964
- };
22965
- DiscoverCACertOutputBody1: {
23387
+ DiscoveredCA: {
22966
23388
  /** @description PEM-encoded CA certificate served by the endpoint. */
22967
23389
  caCert: string;
23390
+ /** @description SHA-256 fingerprint of the CA certificate as colon-separated uppercase hex. */
23391
+ fingerprint: string;
23392
+ /** @description Issuer of the CA certificate. */
23393
+ issuer: string;
23394
+ /**
23395
+ * Format: date-time
23396
+ * @description End of the CA certificate's validity.
23397
+ */
23398
+ notAfter: string;
23399
+ /**
23400
+ * Format: date-time
23401
+ * @description Start of the CA certificate's validity.
23402
+ */
23403
+ notBefore: string;
23404
+ /** @description Subject of the CA certificate. */
23405
+ subject: string;
23406
+ /** @description Whether the endpoint's certificate chain verifies against the platform's trusted roots. When true, no custom CA certificate is needed. */
23407
+ verified: boolean;
22968
23408
  };
22969
23409
  DiscoveredPythonEnv: {
22970
23410
  /** @description Whether ipykernel is importable, which a kernel needs. */
@@ -23008,6 +23448,8 @@ export interface components {
23008
23448
  region?: string;
23009
23449
  /** @description Name of the resource group the disk bills against. */
23010
23450
  resourceGroup?: string;
23451
+ /** @description Username of the owner of the resource group the disk bills against. */
23452
+ readonly resourceGroupOwner?: string;
23011
23453
  /**
23012
23454
  * Format: int64
23013
23455
  * @description Size of the disk in GiB
@@ -23395,6 +23837,8 @@ export interface components {
23395
23837
  authMethod?: "workspace-key" | "pw-cli" | "proxy-certificates" | "ssh-key";
23396
23838
  /** @description Desktop session settings. */
23397
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;
23398
23842
  /** @description Jump (bastion) host; omit to connect directly. */
23399
23843
  jumpNodeHost?: string;
23400
23844
  /** @description Jump (bastion) user. */
@@ -23625,6 +24069,8 @@ export interface components {
23625
24069
  * @description When the agent last reported.
23626
24070
  */
23627
24071
  lastSeenAt?: string;
24072
+ /** @description Whether the agent authenticated with a legacy cluster credential within the last 30 days. */
24073
+ legacyCredential: boolean;
23628
24074
  /** @description Organization the cluster belongs to. */
23629
24075
  organization?: string;
23630
24076
  /** @description Operating system reported by the agent. */
@@ -23655,6 +24101,13 @@ export interface components {
23655
24101
  * @description Agents reporting right now.
23656
24102
  */
23657
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;
23658
24111
  /** @description Configured minimum agent version. Empty when enforcement is off. */
23659
24112
  minimumAgentVersion?: string;
23660
24113
  /** @description Oldest version any reporting agent runs. This is the version gate the fleet has actually reached. */
@@ -23840,6 +24293,8 @@ export interface components {
23840
24293
  * @example my-resource-group
23841
24294
  */
23842
24295
  resourceGroup?: string;
24296
+ /** @description Username of the owner of the resource group the cluster bills against. */
24297
+ readonly resourceGroupOwner?: string;
23843
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. */
23844
24299
  runningProcesses?: boolean;
23845
24300
  /**
@@ -24477,6 +24932,8 @@ export interface components {
24477
24932
  /** @description Desktop session settings. */
24478
24933
  desktopSession?: components["schemas"]["DesktopSessionSettings"];
24479
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;
24480
24937
  healthCheck?: string;
24481
24938
  /** @description Id of the attached IP address or network interface. Clusters saved before network-interface support hold the raw IP address instead. */
24482
24939
  ipAddress?: string;
@@ -25231,6 +25688,8 @@ export interface components {
25231
25688
  * @example my-resource-group
25232
25689
  */
25233
25690
  resourceGroup?: string;
25691
+ /** @description Username of the owner of the resource group the Instance bills against. */
25692
+ readonly resourceGroupOwner?: string;
25234
25693
  /** @description Runtime alert configuration. */
25235
25694
  runtimeAlert?: components["schemas"]["RuntimeAlertInput"];
25236
25695
  /** @description Session cost limit configuration. */
@@ -25392,6 +25851,36 @@ export interface components {
25392
25851
  */
25393
25852
  value?: number;
25394
25853
  };
25854
+ IntrospectBody: {
25855
+ /** @description Whether the token is live */
25856
+ active?: boolean;
25857
+ /** @description Audience of the token */
25858
+ aud?: string[] | null;
25859
+ /** @description Client the token was issued to */
25860
+ client_id?: string;
25861
+ /** @description OAuth error code */
25862
+ error?: string;
25863
+ /** @description Human-readable error detail */
25864
+ error_description?: string;
25865
+ /**
25866
+ * Format: int64
25867
+ * @description Expiry as Unix time
25868
+ */
25869
+ exp?: number;
25870
+ /**
25871
+ * Format: int64
25872
+ * @description Issued-at as Unix time
25873
+ */
25874
+ iat?: number;
25875
+ /** @description Issuer of the token */
25876
+ iss?: string;
25877
+ /** @description Space-delimited scopes the token carries */
25878
+ scope?: string;
25879
+ /** @description Subject of the token */
25880
+ sub?: string;
25881
+ /** @description Bearer for access tokens; omitted for refresh tokens */
25882
+ token_type?: string;
25883
+ };
25395
25884
  Ip: {
25396
25885
  /**
25397
25886
  * @description The resource to which this IP is attached.
@@ -25453,6 +25942,8 @@ export interface components {
25453
25942
  * @example my-resource-group
25454
25943
  */
25455
25944
  resourceGroup?: string;
25945
+ /** @description Username of the owner of the resource group the IP bills against. */
25946
+ readonly resourceGroupOwner?: string;
25456
25947
  /**
25457
25948
  * @description The tags associated with the IP resource.
25458
25949
  * @example [
@@ -25580,9 +26071,17 @@ export interface components {
25580
26071
  readonly targetType?: "cluster" | "instance" | "controller" | "workspace";
25581
26072
  /** @description Base path the kernel's Jupyter server is served at. */
25582
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;
25583
26076
  /** @description ID of the compute worker running the kernel. */
25584
26077
  readonly workerId?: string;
25585
26078
  };
26079
+ KeyCluster: {
26080
+ /** @description Cluster display name. */
26081
+ displayName?: string;
26082
+ /** @description Cluster name. */
26083
+ name: string;
26084
+ };
25586
26085
  KubernetesChartsBody: {
25587
26086
  /** @description List of Helm charts across all clusters */
25588
26087
  charts: components["schemas"]["HelmChart"][] | null;
@@ -26439,6 +26938,8 @@ export interface components {
26439
26938
  region?: string;
26440
26939
  /** @description Name of the resource group the Lustre bills against. */
26441
26940
  resourceGroup?: string;
26941
+ /** @description Username of the owner of the resource group the Lustre bills against. */
26942
+ readonly resourceGroupOwner?: string;
26442
26943
  /** @description Indicates if the Lustre is sessionless */
26443
26944
  sessionless: boolean;
26444
26945
  /** @description List of groups with whom the Lustre is shared */
@@ -26539,6 +27040,8 @@ export interface components {
26539
27040
  * @example my-resource-group
26540
27041
  */
26541
27042
  resourceGroup?: string;
27043
+ /** @description Username of the owner of the resource group the workspace bills against. */
27044
+ readonly resourceGroupOwner?: string;
26542
27045
  /**
26543
27046
  * @description The tags associated with the Machine Learning Workspace.
26544
27047
  * @example [
@@ -27463,6 +27966,8 @@ export interface components {
27463
27966
  * @example my-resource-group
27464
27967
  */
27465
27968
  resourceGroup?: string;
27969
+ /** @description Username of the owner of the resource group the network interface bills against. */
27970
+ readonly resourceGroupOwner?: string;
27466
27971
  /**
27467
27972
  * @description The tags associated with the network interface resource.
27468
27973
  * @example [
@@ -27527,6 +28032,8 @@ export interface components {
27527
28032
  region?: string;
27528
28033
  /** @description Name of the resource group the NFS bills against. */
27529
28034
  resourceGroup?: string;
28035
+ /** @description Username of the owner of the resource group the NFS bills against. */
28036
+ readonly resourceGroupOwner?: string;
27530
28037
  /** @description Indicates if the NFS is sessionless */
27531
28038
  sessionless: boolean;
27532
28039
  /** @description List of groups with whom the NFS is shared */
@@ -27972,10 +28479,16 @@ export interface components {
27972
28479
  claims_supported: string[] | null;
27973
28480
  /** @description JSON array containing the supported PKCE code challenge methods */
27974
28481
  code_challenge_methods_supported: string[] | null;
28482
+ /** @description URL of the RP-initiated logout endpoint */
28483
+ end_session_endpoint: string;
27975
28484
  /** @description JSON array containing the supported grant types */
27976
28485
  grant_types_supported: string[] | null;
27977
28486
  /** @description JSON array containing signing algorithms supported for ID tokens */
27978
28487
  id_token_signing_alg_values_supported: string[] | null;
28488
+ /** @description URL of the token introspection endpoint */
28489
+ introspection_endpoint: string;
28490
+ /** @description Client authentication methods the introspection endpoint accepts */
28491
+ introspection_endpoint_auth_methods_supported: string[] | null;
27979
28492
  /** @description The authorization server's issuer identifier */
27980
28493
  issuer: string;
27981
28494
  /** @description URL of the JSON Web Key Set */
@@ -27984,6 +28497,10 @@ export interface components {
27984
28497
  response_modes_supported: string[] | null;
27985
28498
  /** @description JSON array containing the supported response types */
27986
28499
  response_types_supported: string[] | null;
28500
+ /** @description URL of the token revocation endpoint */
28501
+ revocation_endpoint: string;
28502
+ /** @description Client authentication methods the revocation endpoint accepts */
28503
+ revocation_endpoint_auth_methods_supported: string[] | null;
27987
28504
  /** @description JSON array containing the supported scopes */
27988
28505
  scopes_supported: string[] | null;
27989
28506
  /** @description JSON array containing a list of subject identifier types */
@@ -28041,6 +28558,8 @@ export interface components {
28041
28558
  debugMode?: boolean;
28042
28559
  /** @description Desktop session settings. */
28043
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;
28044
28563
  floatingIpNetwork?: string;
28045
28564
  healthCheck?: string;
28046
28565
  networkId?: string;
@@ -28300,6 +28819,8 @@ export interface components {
28300
28819
  debugMode?: boolean;
28301
28820
  /** @description Desktop session settings. */
28302
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;
28303
28824
  healthCheck?: string;
28304
28825
  partitions?: components["schemas"]["ClusterOracleSlurmPartition"][] | null;
28305
28826
  region?: string;
@@ -28528,6 +29049,52 @@ export interface components {
28528
29049
  /** @description Where the window comes from: admin (configured), detected (provider-reported), or catalog (built-in); absent when unknown */
28529
29050
  source?: string;
28530
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
+ };
28531
29098
  OrgUsageSummaryResponse: {
28532
29099
  /** Format: int64 */
28533
29100
  activeUsers: number;
@@ -29577,7 +30144,7 @@ export interface components {
29577
30144
  access: boolean;
29578
30145
  /** @description Group ID to grant or revoke access to. Omit when sharing with the entire organization. */
29579
30146
  groupId?: string;
29580
- /** @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. */
29581
30148
  organization?: boolean;
29582
30149
  };
29583
30150
  PostSessionBody: {
@@ -31519,6 +32086,11 @@ export interface components {
31519
32086
  newSessions: boolean;
31520
32087
  start: boolean;
31521
32088
  };
32089
+ RemoteTunnel: {
32090
+ detail?: string;
32091
+ /** @enum {string} */
32092
+ state: "connected" | "connecting" | "off";
32093
+ };
31522
32094
  RemoteWorkflowSettings: {
31523
32095
  /** @description Branch name. */
31524
32096
  branch?: string;
@@ -31925,7 +32497,7 @@ export interface components {
31925
32497
  * @description Why the current allocation refuses new resource usage
31926
32498
  * @enum {string}
31927
32499
  */
31928
- readonly allocationUnusableReason?: "no-budget" | "over-threshold";
32500
+ readonly allocationUnusableReason?: "no-budget" | "over-threshold" | "owner-no-access";
31929
32501
  /** @description False when the current allocation refuses new resource usage */
31930
32502
  readonly allocationUsable?: boolean;
31931
32503
  /**
@@ -31979,7 +32551,7 @@ export interface components {
31979
32551
  * @description Why the current allocation refuses new resource usage
31980
32552
  * @enum {string}
31981
32553
  */
31982
- readonly allocationUnusableReason?: "no-budget" | "over-threshold";
32554
+ readonly allocationUnusableReason?: "no-budget" | "over-threshold" | "owner-no-access";
31983
32555
  /** @description False when the current allocation refuses new resource usage */
31984
32556
  readonly allocationUsable?: boolean;
31985
32557
  /**
@@ -32122,6 +32694,37 @@ export interface components {
32122
32694
  /** @description Subjects with access */
32123
32695
  subjects: components["schemas"]["RbacSubject"][] | null;
32124
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
+ };
32125
32728
  RotateSecretInputBody: {
32126
32729
  /**
32127
32730
  * Format: int64
@@ -32302,6 +32905,23 @@ export interface components {
32302
32905
  "urn:coreweave:params:scim:schemas:extension:coreweave:2.0:CoreWeaveUser"?: components["schemas"]["CoreWeaveUserExt"];
32303
32906
  userName: string;
32304
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
+ };
32305
32925
  SSHPublicKey: {
32306
32926
  /** Format: date-time */
32307
32927
  createdAt: string;
@@ -32431,6 +33051,8 @@ export interface components {
32431
33051
  schedulerType: string;
32432
33052
  };
32433
33053
  SecretInfo: {
33054
+ /** @description Whether the secret still authenticates. An expired one is kept for the record until the next rotation prunes it. */
33055
+ active: boolean;
32434
33056
  /**
32435
33057
  * Format: date-time
32436
33058
  * @description When the secret was created.
@@ -32723,6 +33345,7 @@ export interface components {
32723
33345
  providerUsageAvailable?: boolean;
32724
33346
  remoteControl?: boolean;
32725
33347
  remotePolicy: components["schemas"]["RemotePolicy"];
33348
+ remoteTunnel?: components["schemas"]["RemoteTunnel"];
32726
33349
  remoteUrl?: string;
32727
33350
  /** Format: int64 */
32728
33351
  sessionRetentionDays?: number;
@@ -33093,6 +33716,8 @@ export interface components {
33093
33716
  region?: string;
33094
33717
  /** @description Name of the resource group the storage bills against. */
33095
33718
  resourceGroup?: string;
33719
+ /** @description Username of the owner of the resource group the storage bills against. */
33720
+ readonly resourceGroupOwner?: string;
33096
33721
  /** @description Whether the storage is sessionless. */
33097
33722
  sessionless: boolean;
33098
33723
  /**
@@ -33168,6 +33793,8 @@ export interface components {
33168
33793
  region?: string;
33169
33794
  /** @description Name of the resource group the storage bills against. */
33170
33795
  resourceGroup?: string;
33796
+ /** @description Username of the owner of the resource group the storage bills against. */
33797
+ readonly resourceGroupOwner?: string;
33171
33798
  /** @description Whether the storage is sessionless. */
33172
33799
  sessionless: boolean;
33173
33800
  /**
@@ -33521,6 +34148,8 @@ export interface components {
33521
34148
  expires_in?: number;
33522
34149
  /** @description Signed ID token */
33523
34150
  id_token?: string;
34151
+ /** @description Opaque refresh token, issued when the offline_access scope was granted */
34152
+ refresh_token?: string;
33524
34153
  /** @description Space-delimited scopes actually granted */
33525
34154
  scope?: string;
33526
34155
  /** @description Always Bearer */
@@ -33829,6 +34458,18 @@ export interface components {
33829
34458
  /** @description Receiver endpoint. Leave empty for the Parallel Works default. */
33830
34459
  url?: string;
33831
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
+ };
33832
34473
  UpdateManagedClusterInputBody: {
33833
34474
  /** @description Access management settings */
33834
34475
  accessManagement?: components["schemas"]["UpdateAccessManagementBody"];
@@ -34131,7 +34772,7 @@ export interface components {
34131
34772
  value?: string;
34132
34773
  };
34133
34774
  UpdateWhileRunningBody: {
34134
- /** @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. */
34135
34776
  variables: components["schemas"]["ClusterUpdateVariables"];
34136
34777
  };
34137
34778
  UpdateWhileRunningResult: {
@@ -34912,6 +35553,10 @@ export interface components {
34912
35553
  [key: string]: components["schemas"]["WorkflowRunLink"];
34913
35554
  };
34914
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;
34915
35560
  /** Format: int64 */
34916
35561
  number?: number;
34917
35562
  redirect?: components["schemas"]["WorkflowRunRedirect"];
@@ -34923,6 +35568,8 @@ export interface components {
34923
35568
  statusReason?: string;
34924
35569
  user: string;
34925
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;
34926
35573
  };
34927
35574
  WorkflowRunInfo: {
34928
35575
  /** @description Workflow display name. */
@@ -34964,6 +35611,10 @@ export interface components {
34964
35611
  imageUrl?: string;
34965
35612
  inlineRun: boolean;
34966
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;
34967
35618
  /** Format: int64 */
34968
35619
  number?: number;
34969
35620
  slug?: string;
@@ -34971,6 +35622,8 @@ export interface components {
34971
35622
  statusReason?: string;
34972
35623
  user: string;
34973
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;
34974
35627
  };
34975
35628
  WorkflowRunRunningStepsResponse: {
34976
35629
  runningSteps: components["schemas"]["RunStep"][] | null;
@@ -35117,6 +35770,36 @@ export interface components {
35117
35770
  reason?: string;
35118
35771
  workspacePath: string;
35119
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
+ };
35120
35803
  WorkspaceSettings: {
35121
35804
  /** Format: double */
35122
35805
  cpuLimit?: number;
@@ -35235,6 +35918,8 @@ export interface operations {
35235
35918
  connected?: "true" | "false";
35236
35919
  /** @description Only agents older than the platform version. */
35237
35920
  outdated?: boolean;
35921
+ /** @description Only agents that authenticated with a legacy cluster credential within the last 30 days. */
35922
+ legacyCredential?: boolean;
35238
35923
  /** @description Case-insensitive match on cluster name, display name, hostname, user, organization, or version. */
35239
35924
  search?: string;
35240
35925
  /** @description Page size. */
@@ -38523,6 +39208,40 @@ export interface operations {
38523
39208
  };
38524
39209
  };
38525
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
+ };
38526
39245
  "rename-agent-session": {
38527
39246
  parameters: {
38528
39247
  query?: never;
@@ -43976,6 +44695,146 @@ export interface operations {
43976
44695
  };
43977
44696
  };
43978
44697
  };
44698
+ "get-oidc-end-session": {
44699
+ parameters: {
44700
+ query?: {
44701
+ /** @description The ID token previously issued to the application, identifying the client and user this request speaks for */
44702
+ id_token_hint?: string;
44703
+ /** @description Client ID of the application; must match the hint when both are sent */
44704
+ client_id?: string;
44705
+ /** @description Where to send the browser afterwards; must match a registered post-logout value */
44706
+ post_logout_redirect_uri?: string;
44707
+ /** @description Opaque value returned unchanged to the application */
44708
+ state?: string;
44709
+ };
44710
+ header?: never;
44711
+ path?: never;
44712
+ cookie?: never;
44713
+ };
44714
+ requestBody?: never;
44715
+ responses: {
44716
+ /** @description No Content */
44717
+ 204: {
44718
+ headers: {
44719
+ Location?: string;
44720
+ "Set-Cookie"?: string;
44721
+ [name: string]: unknown;
44722
+ };
44723
+ content?: never;
44724
+ };
44725
+ /** @description Error */
44726
+ default: {
44727
+ headers: {
44728
+ [name: string]: unknown;
44729
+ };
44730
+ content: {
44731
+ "application/json": components["schemas"]["Error"];
44732
+ };
44733
+ };
44734
+ };
44735
+ };
44736
+ "post-oidc-end-session": {
44737
+ parameters: {
44738
+ query?: never;
44739
+ header?: never;
44740
+ path?: never;
44741
+ cookie?: never;
44742
+ };
44743
+ requestBody: {
44744
+ content: {
44745
+ "application/x-www-form-urlencoded": string;
44746
+ };
44747
+ };
44748
+ responses: {
44749
+ /** @description No Content */
44750
+ 204: {
44751
+ headers: {
44752
+ Location?: string;
44753
+ [name: string]: unknown;
44754
+ };
44755
+ content?: never;
44756
+ };
44757
+ /** @description Error */
44758
+ default: {
44759
+ headers: {
44760
+ [name: string]: unknown;
44761
+ };
44762
+ content: {
44763
+ "application/json": components["schemas"]["Error"];
44764
+ };
44765
+ };
44766
+ };
44767
+ };
44768
+ "post-oidc-introspect": {
44769
+ parameters: {
44770
+ query?: never;
44771
+ header?: never;
44772
+ path?: never;
44773
+ cookie?: never;
44774
+ };
44775
+ requestBody?: {
44776
+ content: {
44777
+ "application/x-www-form-urlencoded": string;
44778
+ };
44779
+ };
44780
+ responses: {
44781
+ /** @description OK */
44782
+ 200: {
44783
+ headers: {
44784
+ "Cache-Control"?: string;
44785
+ "WWW-Authenticate"?: string | null;
44786
+ [name: string]: unknown;
44787
+ };
44788
+ content: {
44789
+ "application/json": components["schemas"]["IntrospectBody"];
44790
+ };
44791
+ };
44792
+ /** @description Error */
44793
+ default: {
44794
+ headers: {
44795
+ [name: string]: unknown;
44796
+ };
44797
+ content: {
44798
+ "application/json": components["schemas"]["Error"];
44799
+ };
44800
+ };
44801
+ };
44802
+ };
44803
+ "post-oidc-revoke": {
44804
+ parameters: {
44805
+ query?: never;
44806
+ header?: never;
44807
+ path?: never;
44808
+ cookie?: never;
44809
+ };
44810
+ requestBody?: {
44811
+ content: {
44812
+ "application/x-www-form-urlencoded": string;
44813
+ };
44814
+ };
44815
+ responses: {
44816
+ /** @description OK */
44817
+ 200: {
44818
+ headers: {
44819
+ "Cache-Control"?: string;
44820
+ "WWW-Authenticate"?: string | null;
44821
+ [name: string]: unknown;
44822
+ };
44823
+ content: {
44824
+ "application/json": components["schemas"]["TokenBody"];
44825
+ };
44826
+ };
44827
+ /** @description Error */
44828
+ default: {
44829
+ headers: {
44830
+ [name: string]: unknown;
44831
+ };
44832
+ content: {
44833
+ "application/json": components["schemas"]["Error"];
44834
+ };
44835
+ };
44836
+ };
44837
+ };
43979
44838
  "get-oidc-sector-identifier": {
43980
44839
  parameters: {
43981
44840
  query?: never;
@@ -48327,7 +49186,7 @@ export interface operations {
48327
49186
  [name: string]: unknown;
48328
49187
  };
48329
49188
  content: {
48330
- "application/json": components["schemas"]["DiscoverCACertOutputBody1"];
49189
+ "application/json": components["schemas"]["DiscoveredCA"];
48331
49190
  };
48332
49191
  };
48333
49192
  /** @description Error */
@@ -48903,7 +49762,7 @@ export interface operations {
48903
49762
  [name: string]: unknown;
48904
49763
  };
48905
49764
  content: {
48906
- "application/json": components["schemas"]["DiscoverCACertOutputBody"];
49765
+ "application/json": components["schemas"]["DiscoveredCA"];
48907
49766
  };
48908
49767
  };
48909
49768
  /** @description Error */
@@ -51334,7 +52193,7 @@ export interface operations {
51334
52193
  "get-managed-cluster-metrics": {
51335
52194
  parameters: {
51336
52195
  query?: {
51337
- /** @description Number of hours of history to retrieve (default: 24) */
52196
+ /** @description Number of hours of history to retrieve (1-168) */
51338
52197
  hours?: number;
51339
52198
  };
51340
52199
  header?: never;
@@ -51516,7 +52375,7 @@ export interface operations {
51516
52375
  "get-managed-cluster-node-metrics": {
51517
52376
  parameters: {
51518
52377
  query?: {
51519
- /** @description Number of hours of history to retrieve (default: 24) */
52378
+ /** @description Number of hours of history to retrieve (1-168) */
51520
52379
  hours?: number;
51521
52380
  };
51522
52381
  header?: never;
@@ -51993,7 +52852,7 @@ export interface operations {
51993
52852
  };
51994
52853
  requestBody: {
51995
52854
  content: {
51996
- "application/json": components["schemas"]["AppBody"];
52855
+ "application/json": components["schemas"]["AppUpdateBody"];
51997
52856
  };
51998
52857
  };
51999
52858
  responses: {
@@ -52370,6 +53229,44 @@ export interface operations {
52370
53229
  };
52371
53230
  };
52372
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
+ };
52373
53270
  "set-organization-allow-public-sessions-policy": {
52374
53271
  parameters: {
52375
53272
  query?: never;
@@ -52523,196 +53420,234 @@ export interface operations {
52523
53420
  };
52524
53421
  };
52525
53422
  "set-organization-enforce-mfa-policy": {
52526
- parameters: {
52527
- query?: never;
52528
- header?: never;
52529
- path: {
52530
- /** @description The name of the organization. */
52531
- organization: string;
52532
- };
52533
- cookie?: never;
52534
- };
52535
- requestBody: {
52536
- content: {
52537
- "application/json": boolean;
52538
- };
52539
- };
52540
- responses: {
52541
- /** @description OK */
52542
- 200: {
52543
- headers: {
52544
- [name: string]: unknown;
52545
- };
52546
- content: {
52547
- "application/json": {
52548
- [key: string]: components["schemas"]["Policy"];
52549
- };
52550
- };
52551
- };
52552
- /** @description Error */
52553
- default: {
52554
- headers: {
52555
- [name: string]: unknown;
52556
- };
52557
- content: {
52558
- "application/json": components["schemas"]["Error"];
52559
- };
52560
- };
52561
- };
52562
- };
52563
- "set-organization-enforce-webauthn-mfa-policy": {
52564
- parameters: {
52565
- query?: never;
52566
- header?: never;
52567
- path: {
52568
- /** @description The name of the organization. */
52569
- organization: string;
52570
- };
52571
- cookie?: never;
52572
- };
52573
- requestBody: {
52574
- content: {
52575
- "application/json": "hardware" | "fips";
52576
- };
52577
- };
52578
- responses: {
52579
- /** @description OK */
52580
- 200: {
52581
- headers: {
52582
- [name: string]: unknown;
52583
- };
52584
- content: {
52585
- "application/json": {
52586
- [key: string]: components["schemas"]["WebAuthnMfaPolicyOutput"];
52587
- };
52588
- };
52589
- };
52590
- /** @description Error */
52591
- default: {
52592
- headers: {
52593
- [name: string]: unknown;
52594
- };
52595
- content: {
52596
- "application/json": components["schemas"]["Error"];
52597
- };
52598
- };
52599
- };
52600
- };
52601
- "set-organization-event-retention-days-policy": {
52602
- parameters: {
52603
- query?: never;
52604
- header?: never;
52605
- path: {
52606
- /** @description The name of the organization. */
52607
- organization: string;
52608
- };
52609
- cookie?: never;
52610
- };
52611
- requestBody: {
52612
- content: {
52613
- "application/json": number;
52614
- };
52615
- };
52616
- responses: {
52617
- /** @description OK */
52618
- 200: {
52619
- headers: {
52620
- [name: string]: unknown;
52621
- };
52622
- content: {
52623
- "application/json": {
52624
- [key: string]: components["schemas"]["IntPolicyOutput"];
52625
- };
52626
- };
52627
- };
52628
- /** @description Error */
52629
- default: {
52630
- headers: {
52631
- [name: string]: unknown;
52632
- };
52633
- content: {
52634
- "application/json": components["schemas"]["Error"];
52635
- };
52636
- };
52637
- };
52638
- };
52639
- "set-organization-flexible-allocation-system-policy": {
52640
- parameters: {
52641
- query?: never;
52642
- header?: never;
52643
- path: {
52644
- /** @description The name of the organization. */
52645
- organization: string;
52646
- };
52647
- cookie?: never;
52648
- };
52649
- requestBody: {
52650
- content: {
52651
- "application/json": boolean;
52652
- };
52653
- };
52654
- responses: {
52655
- /** @description OK */
52656
- 200: {
52657
- headers: {
52658
- [name: string]: unknown;
52659
- };
52660
- content: {
52661
- "application/json": {
52662
- [key: string]: components["schemas"]["BooleanPolicyOutput"];
52663
- };
52664
- };
52665
- };
52666
- /** @description Error */
52667
- default: {
52668
- headers: {
52669
- [name: string]: unknown;
52670
- };
52671
- content: {
52672
- "application/json": components["schemas"]["Error"];
52673
- };
52674
- };
52675
- };
52676
- };
52677
- "set-organization-max-api-key-ttl-policy": {
52678
- parameters: {
52679
- query?: never;
52680
- header?: never;
52681
- path: {
52682
- /** @description The name of the organization. */
52683
- organization: string;
52684
- };
52685
- cookie?: never;
52686
- };
52687
- requestBody: {
52688
- content: {
52689
- "application/json": number;
52690
- };
52691
- };
52692
- responses: {
52693
- /** @description OK */
52694
- 200: {
52695
- headers: {
52696
- [name: string]: unknown;
52697
- };
52698
- content: {
52699
- "application/json": {
52700
- [key: string]: components["schemas"]["IntPolicyOutput"];
52701
- };
52702
- };
52703
- };
52704
- /** @description Error */
52705
- default: {
52706
- headers: {
52707
- [name: string]: unknown;
52708
- };
52709
- content: {
52710
- "application/json": components["schemas"]["Error"];
52711
- };
52712
- };
52713
- };
52714
- };
52715
- "set-organization-nitro-instances-only-policy": {
53423
+ parameters: {
53424
+ query?: never;
53425
+ header?: never;
53426
+ path: {
53427
+ /** @description The name of the organization. */
53428
+ organization: string;
53429
+ };
53430
+ cookie?: never;
53431
+ };
53432
+ requestBody: {
53433
+ content: {
53434
+ "application/json": boolean;
53435
+ };
53436
+ };
53437
+ responses: {
53438
+ /** @description OK */
53439
+ 200: {
53440
+ headers: {
53441
+ [name: string]: unknown;
53442
+ };
53443
+ content: {
53444
+ "application/json": {
53445
+ [key: string]: components["schemas"]["Policy"];
53446
+ };
53447
+ };
53448
+ };
53449
+ /** @description Error */
53450
+ default: {
53451
+ headers: {
53452
+ [name: string]: unknown;
53453
+ };
53454
+ content: {
53455
+ "application/json": components["schemas"]["Error"];
53456
+ };
53457
+ };
53458
+ };
53459
+ };
53460
+ "set-organization-enforce-webauthn-mfa-policy": {
53461
+ parameters: {
53462
+ query?: never;
53463
+ header?: never;
53464
+ path: {
53465
+ /** @description The name of the organization. */
53466
+ organization: string;
53467
+ };
53468
+ cookie?: never;
53469
+ };
53470
+ requestBody: {
53471
+ content: {
53472
+ "application/json": "hardware" | "fips";
53473
+ };
53474
+ };
53475
+ responses: {
53476
+ /** @description OK */
53477
+ 200: {
53478
+ headers: {
53479
+ [name: string]: unknown;
53480
+ };
53481
+ content: {
53482
+ "application/json": {
53483
+ [key: string]: components["schemas"]["WebAuthnMfaPolicyOutput"];
53484
+ };
53485
+ };
53486
+ };
53487
+ /** @description Error */
53488
+ default: {
53489
+ headers: {
53490
+ [name: string]: unknown;
53491
+ };
53492
+ content: {
53493
+ "application/json": components["schemas"]["Error"];
53494
+ };
53495
+ };
53496
+ };
53497
+ };
53498
+ "set-organization-event-retention-days-policy": {
53499
+ parameters: {
53500
+ query?: never;
53501
+ header?: never;
53502
+ path: {
53503
+ /** @description The name of the organization. */
53504
+ organization: string;
53505
+ };
53506
+ cookie?: never;
53507
+ };
53508
+ requestBody: {
53509
+ content: {
53510
+ "application/json": number;
53511
+ };
53512
+ };
53513
+ responses: {
53514
+ /** @description OK */
53515
+ 200: {
53516
+ headers: {
53517
+ [name: string]: unknown;
53518
+ };
53519
+ content: {
53520
+ "application/json": {
53521
+ [key: string]: components["schemas"]["IntPolicyOutput"];
53522
+ };
53523
+ };
53524
+ };
53525
+ /** @description Error */
53526
+ default: {
53527
+ headers: {
53528
+ [name: string]: unknown;
53529
+ };
53530
+ content: {
53531
+ "application/json": components["schemas"]["Error"];
53532
+ };
53533
+ };
53534
+ };
53535
+ };
53536
+ "set-organization-flexible-allocation-system-policy": {
53537
+ parameters: {
53538
+ query?: never;
53539
+ header?: never;
53540
+ path: {
53541
+ /** @description The name of the organization. */
53542
+ organization: string;
53543
+ };
53544
+ cookie?: never;
53545
+ };
53546
+ requestBody: {
53547
+ content: {
53548
+ "application/json": boolean;
53549
+ };
53550
+ };
53551
+ responses: {
53552
+ /** @description OK */
53553
+ 200: {
53554
+ headers: {
53555
+ [name: string]: unknown;
53556
+ };
53557
+ content: {
53558
+ "application/json": {
53559
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53560
+ };
53561
+ };
53562
+ };
53563
+ /** @description Error */
53564
+ default: {
53565
+ headers: {
53566
+ [name: string]: unknown;
53567
+ };
53568
+ content: {
53569
+ "application/json": components["schemas"]["Error"];
53570
+ };
53571
+ };
53572
+ };
53573
+ };
53574
+ "set-organization-max-api-key-ttl-policy": {
53575
+ parameters: {
53576
+ query?: never;
53577
+ header?: never;
53578
+ path: {
53579
+ /** @description The name of the organization. */
53580
+ organization: string;
53581
+ };
53582
+ cookie?: never;
53583
+ };
53584
+ requestBody: {
53585
+ content: {
53586
+ "application/json": number;
53587
+ };
53588
+ };
53589
+ responses: {
53590
+ /** @description OK */
53591
+ 200: {
53592
+ headers: {
53593
+ [name: string]: unknown;
53594
+ };
53595
+ content: {
53596
+ "application/json": {
53597
+ [key: string]: components["schemas"]["IntPolicyOutput"];
53598
+ };
53599
+ };
53600
+ };
53601
+ /** @description Error */
53602
+ default: {
53603
+ headers: {
53604
+ [name: string]: unknown;
53605
+ };
53606
+ content: {
53607
+ "application/json": components["schemas"]["Error"];
53608
+ };
53609
+ };
53610
+ };
53611
+ };
53612
+ "set-organization-nitro-instances-only-policy": {
53613
+ parameters: {
53614
+ query?: never;
53615
+ header?: never;
53616
+ path: {
53617
+ /** @description The name of the organization. */
53618
+ organization: string;
53619
+ };
53620
+ cookie?: never;
53621
+ };
53622
+ requestBody: {
53623
+ content: {
53624
+ "application/json": boolean;
53625
+ };
53626
+ };
53627
+ responses: {
53628
+ /** @description OK */
53629
+ 200: {
53630
+ headers: {
53631
+ [name: string]: unknown;
53632
+ };
53633
+ content: {
53634
+ "application/json": {
53635
+ [key: string]: components["schemas"]["BooleanPolicyOutput"];
53636
+ };
53637
+ };
53638
+ };
53639
+ /** @description Error */
53640
+ default: {
53641
+ headers: {
53642
+ [name: string]: unknown;
53643
+ };
53644
+ content: {
53645
+ "application/json": components["schemas"]["Error"];
53646
+ };
53647
+ };
53648
+ };
53649
+ };
53650
+ "set-organization-no-public-ip-policy": {
52716
53651
  parameters: {
52717
53652
  query?: never;
52718
53653
  header?: never;
@@ -52750,7 +53685,7 @@ export interface operations {
52750
53685
  };
52751
53686
  };
52752
53687
  };
52753
- "set-organization-no-public-ip-policy": {
53688
+ "set-organization-no-root-access-policy": {
52754
53689
  parameters: {
52755
53690
  query?: never;
52756
53691
  header?: never;
@@ -52788,7 +53723,7 @@ export interface operations {
52788
53723
  };
52789
53724
  };
52790
53725
  };
52791
- "set-organization-no-root-access-policy": {
53726
+ "set-organization-workspace-ssh-key-type-policy": {
52792
53727
  parameters: {
52793
53728
  query?: never;
52794
53729
  header?: never;
@@ -52800,7 +53735,7 @@ export interface operations {
52800
53735
  };
52801
53736
  requestBody: {
52802
53737
  content: {
52803
- "application/json": boolean;
53738
+ "application/json": string;
52804
53739
  };
52805
53740
  };
52806
53741
  responses: {
@@ -52811,7 +53746,7 @@ export interface operations {
52811
53746
  };
52812
53747
  content: {
52813
53748
  "application/json": {
52814
- [key: string]: components["schemas"]["BooleanPolicyOutput"];
53749
+ [key: string]: components["schemas"]["StringPolicyOutput"];
52815
53750
  };
52816
53751
  };
52817
53752
  };
@@ -54059,6 +54994,74 @@ export interface operations {
54059
54994
  };
54060
54995
  };
54061
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
+ };
54062
55065
  "get-organization-theme": {
54063
55066
  parameters: {
54064
55067
  query?: never;
@@ -59199,6 +60202,80 @@ export interface operations {
59199
60202
  };
59200
60203
  };
59201
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
+ };
59202
60279
  "create-instance-snapshot": {
59203
60280
  parameters: {
59204
60281
  query?: never;
@@ -61483,6 +62560,78 @@ export interface operations {
61483
62560
  };
61484
62561
  };
61485
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
+ };
61486
62635
  "create-ssh-private-key": {
61487
62636
  parameters: {
61488
62637
  query?: never;
@@ -63676,6 +64825,41 @@ export interface operations {
63676
64825
  };
63677
64826
  };
63678
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
+ };
63679
64863
  "set-platform-allow-public-sessions-policy": {
63680
64864
  parameters: {
63681
64865
  query?: never;
@@ -64131,6 +65315,41 @@ export interface operations {
64131
65315
  };
64132
65316
  };
64133
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
+ };
64134
65353
  "delete-platform-policy": {
64135
65354
  parameters: {
64136
65355
  query?: never;
@@ -65578,6 +66797,68 @@ export interface operations {
65578
66797
  };
65579
66798
  };
65580
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
+ };
65581
66862
  "get-ssh-private-keys": {
65582
66863
  parameters: {
65583
66864
  query?: never;