@athenaintel/sdk 4.3.2238 → 4.3.2240

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@athenaintel/sdk",
46
- "X-Fern-SDK-Version": "4.3.2238",
47
- "User-Agent": "@athenaintel/sdk/4.3.2238",
46
+ "X-Fern-SDK-Version": "4.3.2240",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2240",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "X-Athena-Session-Credential": options === null || options === void 0 ? void 0 : options.sessionCredential,
@@ -48,7 +48,7 @@ export declare class AssetsClient {
48
48
  convertExcelToSheet(request: AthenaIntelligence.ConvertExcelToSheetRequestIn, requestOptions?: AssetsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.ConvertExcelToSheetResponseOut>;
49
49
  private __convertExcelToSheet;
50
50
  /**
51
- * Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
51
+ * Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
52
52
  *
53
53
  * @param {AthenaIntelligence.CreateAssetRequestIn} request
54
54
  * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -248,7 +248,7 @@ class AssetsClient {
248
248
  });
249
249
  }
250
250
  /**
251
- * Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
251
+ * Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
252
252
  *
253
253
  * @param {AthenaIntelligence.CreateAssetRequestIn} request
254
254
  * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -8,7 +8,7 @@ import type * as AthenaIntelligence from "../../../../index.js";
8
8
  * }
9
9
  */
10
10
  export interface CreateAssetRequestIn {
11
- /** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer' */
11
+ /** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer', 'generic_doc', 'user_interface' (or 'ui') */
12
12
  asset_type: AthenaIntelligence.CreatableAssetType;
13
13
  /** Computer only. vCPU count. Defaults to the template's default. Must be a size the environment's computer resource policy offers; sizes other than the template default require an admin. */
14
14
  cpu?: number | null;
@@ -16,6 +16,8 @@ export interface CreateAssetRequestIn {
16
16
  disk?: number | null;
17
17
  /** Computer only. Environment variables to set on the computer. Must include every key the template or environment requires. Also accepted as 'envVars'. */
18
18
  env_vars?: Record<string, string | null> | null;
19
+ /** user_interface only. HTML used as the interface's initial index.html; styles.css and script.js start empty. */
20
+ html_content?: string | null;
19
21
  /** Computer only. Memory in GiB. Defaults to the template's default. Same policy and admin rules as cpu. */
20
22
  memory?: number | null;
21
23
  /** ID of the parent folder to create the asset in */
@@ -35,9 +35,11 @@ export declare class SemanticModelClient {
35
35
  * @param {AthenaIntelligence.GetMetaSemanticModelRequest} request
36
36
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
+ * @throws {@link AthenaIntelligence.BadRequestError}
38
39
  * @throws {@link AthenaIntelligence.UnauthorizedError}
39
40
  * @throws {@link AthenaIntelligence.ForbiddenError}
40
41
  * @throws {@link AthenaIntelligence.NotFoundError}
42
+ * @throws {@link AthenaIntelligence.ConflictError}
41
43
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
42
44
  * @throws {@link AthenaIntelligence.BadGatewayError}
43
45
  *
@@ -54,9 +56,11 @@ export declare class SemanticModelClient {
54
56
  * @param {AthenaIntelligence.SemanticModelQueryRequestIn} request
55
57
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
56
58
  *
59
+ * @throws {@link AthenaIntelligence.BadRequestError}
57
60
  * @throws {@link AthenaIntelligence.UnauthorizedError}
58
61
  * @throws {@link AthenaIntelligence.ForbiddenError}
59
62
  * @throws {@link AthenaIntelligence.NotFoundError}
63
+ * @throws {@link AthenaIntelligence.ConflictError}
60
64
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
61
65
  * @throws {@link AthenaIntelligence.BadGatewayError}
62
66
  *
@@ -155,9 +155,11 @@ class SemanticModelClient {
155
155
  * @param {AthenaIntelligence.GetMetaSemanticModelRequest} request
156
156
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
157
157
  *
158
+ * @throws {@link AthenaIntelligence.BadRequestError}
158
159
  * @throws {@link AthenaIntelligence.UnauthorizedError}
159
160
  * @throws {@link AthenaIntelligence.ForbiddenError}
160
161
  * @throws {@link AthenaIntelligence.NotFoundError}
162
+ * @throws {@link AthenaIntelligence.ConflictError}
161
163
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
162
164
  * @throws {@link AthenaIntelligence.BadGatewayError}
163
165
  *
@@ -196,12 +198,16 @@ class SemanticModelClient {
196
198
  }
197
199
  if (_response.error.reason === "status-code") {
198
200
  switch (_response.error.statusCode) {
201
+ case 400:
202
+ throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
199
203
  case 401:
200
204
  throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
201
205
  case 403:
202
206
  throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
203
207
  case 404:
204
208
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
209
+ case 409:
210
+ throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
205
211
  case 422:
206
212
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
207
213
  case 502:
@@ -242,9 +248,11 @@ class SemanticModelClient {
242
248
  * @param {AthenaIntelligence.SemanticModelQueryRequestIn} request
243
249
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
244
250
  *
251
+ * @throws {@link AthenaIntelligence.BadRequestError}
245
252
  * @throws {@link AthenaIntelligence.UnauthorizedError}
246
253
  * @throws {@link AthenaIntelligence.ForbiddenError}
247
254
  * @throws {@link AthenaIntelligence.NotFoundError}
255
+ * @throws {@link AthenaIntelligence.ConflictError}
248
256
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
249
257
  * @throws {@link AthenaIntelligence.BadGatewayError}
250
258
  *
@@ -287,12 +295,16 @@ class SemanticModelClient {
287
295
  }
288
296
  if (_response.error.reason === "status-code") {
289
297
  switch (_response.error.statusCode) {
298
+ case 400:
299
+ throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
290
300
  case 401:
291
301
  throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
292
302
  case 403:
293
303
  throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
294
304
  case 404:
295
305
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
306
+ case 409:
307
+ throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
296
308
  case 422:
297
309
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
298
310
  case 502:
@@ -6,5 +6,6 @@ export declare const CreatableAssetType: {
6
6
  readonly Database: "database";
7
7
  readonly Computer: "computer";
8
8
  readonly GenericDoc: "generic_doc";
9
+ readonly UserInterface: "user_interface";
9
10
  };
10
11
  export type CreatableAssetType = (typeof CreatableAssetType)[keyof typeof CreatableAssetType];
@@ -10,4 +10,5 @@ exports.CreatableAssetType = {
10
10
  Database: "database",
11
11
  Computer: "computer",
12
12
  GenericDoc: "generic_doc",
13
+ UserInterface: "user_interface",
13
14
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2238";
1
+ export declare const SDK_VERSION = "4.3.2240";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "4.3.2238";
4
+ exports.SDK_VERSION = "4.3.2240";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@athenaintel/sdk",
9
- "X-Fern-SDK-Version": "4.3.2238",
10
- "User-Agent": "@athenaintel/sdk/4.3.2238",
9
+ "X-Fern-SDK-Version": "4.3.2240",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2240",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "X-Athena-Session-Credential": options === null || options === void 0 ? void 0 : options.sessionCredential,
@@ -48,7 +48,7 @@ export declare class AssetsClient {
48
48
  convertExcelToSheet(request: AthenaIntelligence.ConvertExcelToSheetRequestIn, requestOptions?: AssetsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.ConvertExcelToSheetResponseOut>;
49
49
  private __convertExcelToSheet;
50
50
  /**
51
- * Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
51
+ * Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
52
52
  *
53
53
  * @param {AthenaIntelligence.CreateAssetRequestIn} request
54
54
  * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -212,7 +212,7 @@ export class AssetsClient {
212
212
  });
213
213
  }
214
214
  /**
215
- * Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
215
+ * Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
216
216
  *
217
217
  * @param {AthenaIntelligence.CreateAssetRequestIn} request
218
218
  * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -8,7 +8,7 @@ import type * as AthenaIntelligence from "../../../../index.mjs";
8
8
  * }
9
9
  */
10
10
  export interface CreateAssetRequestIn {
11
- /** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer' */
11
+ /** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer', 'generic_doc', 'user_interface' (or 'ui') */
12
12
  asset_type: AthenaIntelligence.CreatableAssetType;
13
13
  /** Computer only. vCPU count. Defaults to the template's default. Must be a size the environment's computer resource policy offers; sizes other than the template default require an admin. */
14
14
  cpu?: number | null;
@@ -16,6 +16,8 @@ export interface CreateAssetRequestIn {
16
16
  disk?: number | null;
17
17
  /** Computer only. Environment variables to set on the computer. Must include every key the template or environment requires. Also accepted as 'envVars'. */
18
18
  env_vars?: Record<string, string | null> | null;
19
+ /** user_interface only. HTML used as the interface's initial index.html; styles.css and script.js start empty. */
20
+ html_content?: string | null;
19
21
  /** Computer only. Memory in GiB. Defaults to the template's default. Same policy and admin rules as cpu. */
20
22
  memory?: number | null;
21
23
  /** ID of the parent folder to create the asset in */
@@ -35,9 +35,11 @@ export declare class SemanticModelClient {
35
35
  * @param {AthenaIntelligence.GetMetaSemanticModelRequest} request
36
36
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
+ * @throws {@link AthenaIntelligence.BadRequestError}
38
39
  * @throws {@link AthenaIntelligence.UnauthorizedError}
39
40
  * @throws {@link AthenaIntelligence.ForbiddenError}
40
41
  * @throws {@link AthenaIntelligence.NotFoundError}
42
+ * @throws {@link AthenaIntelligence.ConflictError}
41
43
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
42
44
  * @throws {@link AthenaIntelligence.BadGatewayError}
43
45
  *
@@ -54,9 +56,11 @@ export declare class SemanticModelClient {
54
56
  * @param {AthenaIntelligence.SemanticModelQueryRequestIn} request
55
57
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
56
58
  *
59
+ * @throws {@link AthenaIntelligence.BadRequestError}
57
60
  * @throws {@link AthenaIntelligence.UnauthorizedError}
58
61
  * @throws {@link AthenaIntelligence.ForbiddenError}
59
62
  * @throws {@link AthenaIntelligence.NotFoundError}
63
+ * @throws {@link AthenaIntelligence.ConflictError}
60
64
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
61
65
  * @throws {@link AthenaIntelligence.BadGatewayError}
62
66
  *
@@ -119,9 +119,11 @@ export class SemanticModelClient {
119
119
  * @param {AthenaIntelligence.GetMetaSemanticModelRequest} request
120
120
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
121
121
  *
122
+ * @throws {@link AthenaIntelligence.BadRequestError}
122
123
  * @throws {@link AthenaIntelligence.UnauthorizedError}
123
124
  * @throws {@link AthenaIntelligence.ForbiddenError}
124
125
  * @throws {@link AthenaIntelligence.NotFoundError}
126
+ * @throws {@link AthenaIntelligence.ConflictError}
125
127
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
126
128
  * @throws {@link AthenaIntelligence.BadGatewayError}
127
129
  *
@@ -160,12 +162,16 @@ export class SemanticModelClient {
160
162
  }
161
163
  if (_response.error.reason === "status-code") {
162
164
  switch (_response.error.statusCode) {
165
+ case 400:
166
+ throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
163
167
  case 401:
164
168
  throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
165
169
  case 403:
166
170
  throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
167
171
  case 404:
168
172
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
173
+ case 409:
174
+ throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
169
175
  case 422:
170
176
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
171
177
  case 502:
@@ -206,9 +212,11 @@ export class SemanticModelClient {
206
212
  * @param {AthenaIntelligence.SemanticModelQueryRequestIn} request
207
213
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
208
214
  *
215
+ * @throws {@link AthenaIntelligence.BadRequestError}
209
216
  * @throws {@link AthenaIntelligence.UnauthorizedError}
210
217
  * @throws {@link AthenaIntelligence.ForbiddenError}
211
218
  * @throws {@link AthenaIntelligence.NotFoundError}
219
+ * @throws {@link AthenaIntelligence.ConflictError}
212
220
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
213
221
  * @throws {@link AthenaIntelligence.BadGatewayError}
214
222
  *
@@ -251,12 +259,16 @@ export class SemanticModelClient {
251
259
  }
252
260
  if (_response.error.reason === "status-code") {
253
261
  switch (_response.error.statusCode) {
262
+ case 400:
263
+ throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
254
264
  case 401:
255
265
  throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
256
266
  case 403:
257
267
  throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
258
268
  case 404:
259
269
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
270
+ case 409:
271
+ throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
260
272
  case 422:
261
273
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
262
274
  case 502:
@@ -6,5 +6,6 @@ export declare const CreatableAssetType: {
6
6
  readonly Database: "database";
7
7
  readonly Computer: "computer";
8
8
  readonly GenericDoc: "generic_doc";
9
+ readonly UserInterface: "user_interface";
9
10
  };
10
11
  export type CreatableAssetType = (typeof CreatableAssetType)[keyof typeof CreatableAssetType];
@@ -7,4 +7,5 @@ export const CreatableAssetType = {
7
7
  Database: "database",
8
8
  Computer: "computer",
9
9
  GenericDoc: "generic_doc",
10
+ UserInterface: "user_interface",
10
11
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2238";
1
+ export declare const SDK_VERSION = "4.3.2240";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2238";
1
+ export const SDK_VERSION = "4.3.2240";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2238",
3
+ "version": "4.3.2240",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -647,7 +647,7 @@ await client.assets.convertExcelToSheet({
647
647
  <dl>
648
648
  <dd>
649
649
 
650
- Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
650
+ Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
651
651
  </dd>
652
652
  </dl>
653
653
  </dd>