@cube-dev/platform-client 0.20.0 → 0.22.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.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  <!-- Curate public-facing entries here before the next release. -->
11
11
 
12
+ ## [0.22.0] - 2026-10-20
13
+ ### Added
14
+
15
+ - `template` on `CreateDeploymentInput` (`POST /build/api/v1/deployments`) sets the deployment type at creation: `single` (Shared, the default), `simpleCluster` (Dedicated) or `multiCluster`, so a Dedicated deployment is created in one call. `simpleCluster` needs a paid plan. New schema: `CreateDeploymentInputTemplate`.
16
+
17
+ ## [0.21.0] - 2026-10-17
18
+ ### Added
19
+
20
+ - `GET /api/v1/deployments/{deploymentId}/agent-defaults` (`AgentsPublicController.getAgentDefaults`) returns the deployment's default agent (`defaultAgentId`, or `null`) and whether users may pick Auto (`autoAgentEnabled`). Chats, MCP sessions and scheduled tasks that name no agent use the default. New schema: `AgentDefaultsResponse`; the deployment schemas carry the same two fields.
21
+ - Two deployment-scoped RBAC actions, `ScheduledTasksRead` and `ScheduledTasksManage`, in the action enums (`Policy.actions`, the resource user/group policy schemas and their inherited variants). With `ScheduledTasksRead` on a deployment, the scheduled-task endpoints and `GET /api/v1/deployments/{deploymentId}/report-deliveries` return every task and delivery there, not only the caller's own and those shared with them. `ScheduledTasksManage` also allows updating, pausing, running, deleting and sharing them, and transferring a delivery to another owner. A policy granting `All` on a deployment includes both. No built-in role grants either, and admins keep seeing everything.
22
+
12
23
  ## [0.20.0] - 2026-10-15
13
24
  ### Added
14
25
 
package/dist/schema.d.ts CHANGED
@@ -256,6 +256,23 @@ export interface paths {
256
256
  patch?: never;
257
257
  trace?: never;
258
258
  };
259
+ "/api/v1/deployments/{deploymentId}/agent-defaults": {
260
+ parameters: {
261
+ query?: never;
262
+ header?: never;
263
+ path?: never;
264
+ cookie?: never;
265
+ };
266
+ /** Get agent defaults */
267
+ get: operations["AgentsPublicController.getAgentDefaults"];
268
+ put?: never;
269
+ post?: never;
270
+ delete?: never;
271
+ options?: never;
272
+ head?: never;
273
+ patch?: never;
274
+ trace?: never;
275
+ };
259
276
  "/api/v1/deployments/{deploymentId}/agent-skills": {
260
277
  parameters: {
261
278
  query?: never;
@@ -423,7 +440,7 @@ export interface paths {
423
440
  * Export a dashboard as PNG or PDF
424
441
  * @description Submit a render of a published dashboard. Identify it with either `dashboardId` (numeric) or `dashboardPublicId` (string) — supply exactly one; it must belong to this deployment, otherwise `404` is returned.
425
442
  *
426
- * Returns as soon as the job is accepted, because a render waits for every widget to finish querying. Poll `GET /dashboard-exports/{jobId}` until `status` is `completed`, then fetch the file from `GET /dashboard-exports/{jobId}/download`. The job and its file are dropped at `expiresAt` (5 minutes) — download before then or submit again.
443
+ * Returns as soon as the job is accepted, because a render waits for every widget to finish querying. Poll `GET /dashboard-exports/{jobId}` until `status` is `completed`, then fetch the file from `GET /dashboard-exports/{jobId}/download`. The job and its file are dropped at `expiresAt` (5 minutes; 15 for `layout: print`, which can take minutes on a long table) — download before then or submit again.
427
444
  *
428
445
  * Pass `filters`, `timeGrains` and `memberSwitchers` to render the board with specific control values, exactly as a scheduled notification does; omit them to render its saved defaults.
429
446
  *
@@ -838,7 +855,11 @@ export interface paths {
838
855
  path?: never;
839
856
  cookie?: never;
840
857
  };
841
- get?: never;
858
+ /**
859
+ * List evaluation runs
860
+ * @description Returns the eval runs of the deployment, newest first. Use a run id with GET /evaluations/{evaluationId} and /results. This capability is currently in preview — reach out to the Cube support team to activate it for your account.
861
+ */
862
+ get: operations["EvaluationsPublicController.listEvaluations"];
842
863
  put?: never;
843
864
  /**
844
865
  * Start an evaluation run
@@ -1204,7 +1225,7 @@ export interface paths {
1204
1225
  };
1205
1226
  /**
1206
1227
  * List report deliveries
1207
- * @description In preview: ask Cube support to enable it. Newest first. Filter by `reportId`, `ownerUserId`, `spreadsheet` or `status`. Admins see every delivery; others only their own.
1228
+ * @description In preview: ask Cube support to enable it. Newest first. Filter by `reportId`, `ownerUserId`, `spreadsheet` or `status`. Admins and roles granting `ScheduledTasksRead` or `ScheduledTasksManage` on the deployment see every delivery; others only their own.
1208
1229
  */
1209
1230
  get: operations["ReportDeliveriesPublicController.getReportDeliveries"];
1210
1231
  put?: never;
@@ -1228,7 +1249,7 @@ export interface paths {
1228
1249
  };
1229
1250
  /**
1230
1251
  * Get a report delivery
1231
- * @description In preview: ask Cube support to enable it. `404` if the caller cannot see it. Admins see every delivery; others only their own.
1252
+ * @description In preview: ask Cube support to enable it. `404` if the caller cannot see it. Admins and roles granting `ScheduledTasksRead` or `ScheduledTasksManage` on the deployment see every delivery; others only their own.
1232
1253
  */
1233
1254
  get: operations["ReportDeliveriesPublicController.getReportDelivery"];
1234
1255
  /**
@@ -1296,7 +1317,7 @@ export interface paths {
1296
1317
  };
1297
1318
  /**
1298
1319
  * List runs of a report delivery
1299
- * @description In preview: ask Cube support to enable it. Newest first unless `sortDirection` says otherwise, a running one included. `404` if the caller cannot see the delivery. Admins see every delivery; others only their own.
1320
+ * @description In preview: ask Cube support to enable it. Newest first unless `sortDirection` says otherwise, a running one included. `404` if the caller cannot see the delivery. Admins and roles granting `ScheduledTasksRead` or `ScheduledTasksManage` on the deployment see every delivery; others only their own.
1300
1321
  */
1301
1322
  get: operations["ReportDeliveriesPublicController.getReportDeliveryRuns"];
1302
1323
  put?: never;
@@ -1556,7 +1577,7 @@ export interface paths {
1556
1577
  };
1557
1578
  /**
1558
1579
  * List scheduled tasks
1559
- * @description The scheduled tasks in the deployment the caller can see — their own and those shared with them, or every task for an admin — most recently updated first, with each next run time. Needs access to the deployment; embed sessions get `403`.
1580
+ * @description The scheduled tasks in the deployment the caller can see — their own and those shared with them, or every task for an admin or a role granting `ScheduledTasksRead` or `ScheduledTasksManage` — most recently updated first, with each next run time. Needs access to the deployment; embed sessions get `403`.
1560
1581
  */
1561
1582
  get: operations["ScheduledTasksPublicController.listScheduledTasks"];
1562
1583
  put?: never;
@@ -1580,18 +1601,18 @@ export interface paths {
1580
1601
  };
1581
1602
  /**
1582
1603
  * Get a scheduled task
1583
- * @description A task is visible to its creator, to admins and to whoever it is shared with; anyone else gets `404`.
1604
+ * @description A task is visible to its creator, to admins, to roles granting `ScheduledTasksRead` or `ScheduledTasksManage` on the deployment, and to whoever it is shared with; anyone else gets `404`.
1584
1605
  */
1585
1606
  get: operations["ScheduledTasksPublicController.getScheduledTask"];
1586
1607
  /**
1587
1608
  * Update a scheduled task
1588
- * @description Changes the fields sent; `cronExpression: null` makes the task Manual. Only the creator or an admin may do this (`403` otherwise). A cron fires at most hourly (`400` otherwise), and a user can have 20 active tasks (`409` past that).
1609
+ * @description Changes the fields sent; `cronExpression: null` makes the task Manual. Only the creator, an admin or a role granting `ScheduledTasksManage` on the deployment may do this (`403` otherwise). A cron fires at most hourly (`400` otherwise), and a user can have 20 active tasks (`409` past that).
1589
1610
  */
1590
1611
  put: operations["ScheduledTasksPublicController.updateScheduledTask"];
1591
1612
  post?: never;
1592
1613
  /**
1593
1614
  * Delete a scheduled task
1594
- * @description Deletes the task and its schedule; the chat threads of past runs are kept. Only the creator or an admin may do this (`403` otherwise).
1615
+ * @description Deletes the task and its schedule; the chat threads of past runs are kept. Only the creator, an admin or a role granting `ScheduledTasksManage` on the deployment may do this (`403` otherwise).
1595
1616
  */
1596
1617
  delete: operations["ScheduledTasksPublicController.deleteScheduledTask"];
1597
1618
  options?: never;
@@ -1610,7 +1631,7 @@ export interface paths {
1610
1631
  put?: never;
1611
1632
  /**
1612
1633
  * Run a scheduled task now
1613
- * @description Starts one run now, even for a paused or Manual task, and returns its chat thread. Only the creator or an admin may do this (`403` otherwise).
1634
+ * @description Starts one run now, even for a paused or Manual task, and returns its chat thread. Only the creator, an admin or a role granting `ScheduledTasksManage` on the deployment may do this (`403` otherwise).
1614
1635
  */
1615
1636
  post: operations["ScheduledTasksPublicController.runScheduledTask"];
1616
1637
  delete?: never;
@@ -4025,6 +4046,10 @@ export interface components {
4025
4046
  updatedAt: string;
4026
4047
  userId?: number | null;
4027
4048
  };
4049
+ AgentDefaultsResponse: {
4050
+ autoAgentEnabled: boolean;
4051
+ defaultAgentId?: number | null;
4052
+ };
4028
4053
  AgentLlm: {
4029
4054
  config?: {
4030
4055
  [key: string]: any;
@@ -4347,7 +4372,7 @@ export interface components {
4347
4372
  /** @enum {string} */
4348
4373
  ChatHistoryUserType: "internal" | "external";
4349
4374
  ChatThreadPolicy: {
4350
- actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
4375
+ actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
4351
4376
  effect?: components["schemas"]["ChatThreadPolicyEffect"] | null;
4352
4377
  resourceType: components["schemas"]["ChatThreadPolicyResourceType"];
4353
4378
  resources: string[];
@@ -4435,6 +4460,8 @@ export interface components {
4435
4460
  name: string;
4436
4461
  region: string;
4437
4462
  targetPlatform: string;
4463
+ /** @description Deployment type: `single` (Shared, the default), `simpleCluster` (Dedicated) or `multiCluster`. `simpleCluster` needs a paid plan. */
4464
+ template?: components["schemas"]["CreateDeploymentInputTemplate"] | null;
4438
4465
  };
4439
4466
  /** @enum {string} */
4440
4467
  CreateDeploymentInputCloudProvider: "cubecloud" | "aws" | "gcp";
@@ -4442,6 +4469,8 @@ export interface components {
4442
4469
  CreateDeploymentInputCreationMethod: "upload" | "cubecloud" | "github" | "ssh";
4443
4470
  /** @enum {string} */
4444
4471
  CreateDeploymentInputDeployMode: "git" | "cli";
4472
+ /** @enum {string} */
4473
+ CreateDeploymentInputTemplate: "single" | "simpleCluster" | "multiCluster";
4445
4474
  CreateDeploymentTokenInput: {
4446
4475
  /** @description Token lifetime in seconds, between 60 and 86400. Omit to keep the historical default of 24 hours (86400). Callers that hold the token outside a browser session — scripts, BI tools, scheduled jobs — should request a short lifetime and re-issue tokens instead. */
4447
4476
  expiresIn?: number | null;
@@ -5445,6 +5474,7 @@ export interface components {
5445
5474
  pageInfo?: components["schemas"]["PageInfo"] | null;
5446
5475
  };
5447
5476
  DeploymentSettings: {
5477
+ autoAgentEnabled: boolean;
5448
5478
  autoDomain?: string | null;
5449
5479
  cloudProvider: components["schemas"]["DeploymentSettingsCloudProvider"];
5450
5480
  creationMethod?: components["schemas"]["DeploymentSettingsCreationMethod"] | null;
@@ -5453,6 +5483,7 @@ export interface components {
5453
5483
  cubeImageCloud?: string | null;
5454
5484
  cubeImageVersion?: string | null;
5455
5485
  customDomain?: string | null;
5486
+ defaultAgentId?: number | null;
5456
5487
  defaultLaunchpadViewGroup?: string | null;
5457
5488
  deployBranchMergeAllowed: boolean;
5458
5489
  deployBranchName: string;
@@ -5758,6 +5789,10 @@ export interface components {
5758
5789
  status: string;
5759
5790
  updatedAt: string;
5760
5791
  };
5792
+ EvaluationRunsListResponse: {
5793
+ items: components["schemas"]["EvaluationRunResponse"][];
5794
+ pageInfo: components["schemas"]["PageInfo"];
5795
+ };
5761
5796
  ExportSubjectInput: {
5762
5797
  /** @description Main user email (for type=USER; provide this OR userId). For type=EMBED_USER it is the email recorded on the provisioned embed user, and the externalId is used when it is omitted. */
5763
5798
  email?: string | null;
@@ -5970,7 +6005,7 @@ export interface components {
5970
6005
  userCount?: number | null;
5971
6006
  };
5972
6007
  /** @enum {string} */
5973
- InheritedGroupPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
6008
+ InheritedGroupPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5974
6009
  InheritedUserPolicyDto: {
5975
6010
  action: components["schemas"]["InheritedUserPolicyDtoAction"];
5976
6011
  email?: string | null;
@@ -5980,7 +6015,7 @@ export interface components {
5980
6015
  userId?: number | null;
5981
6016
  };
5982
6017
  /** @enum {string} */
5983
- InheritedUserPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
6018
+ InheritedUserPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5984
6019
  JsonConfigFileDto: {
5985
6020
  /** @description The configuration as canonical JSON text: keys sorted, 2-space indentation, trailing newline. `oldText` in a replacement must match this text exactly. */
5986
6021
  content: string;
@@ -6307,7 +6342,7 @@ export interface components {
6307
6342
  /** @enum {string} */
6308
6343
  PivotItemsMeasuresPosition: "before" | "after";
6309
6344
  Policy: {
6310
- actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
6345
+ actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
6311
6346
  resourceType: components["schemas"]["PolicyResourceType"];
6312
6347
  resources: string[];
6313
6348
  };
@@ -6821,7 +6856,7 @@ export interface components {
6821
6856
  userCount?: number | null;
6822
6857
  };
6823
6858
  /** @enum {string} */
6824
- ResourceGroupPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
6859
+ ResourceGroupPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
6825
6860
  ResourceOwner: {
6826
6861
  email: string;
6827
6862
  firstName?: string | null;
@@ -6842,7 +6877,7 @@ export interface components {
6842
6877
  userId?: number | null;
6843
6878
  };
6844
6879
  /** @enum {string} */
6845
- ResourceUserPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
6880
+ ResourceUserPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
6846
6881
  RevokeEmbedSessionInput: {
6847
6882
  /** @description The session id returned by `POST /api/v1/embed/generate-session`. Works whether or not the session has already been exchanged for a token. */
6848
6883
  sessionId: string;
@@ -6882,7 +6917,7 @@ export interface components {
6882
6917
  policies?: components["schemas"]["Policy"][];
6883
6918
  };
6884
6919
  RoleWithAccess: {
6885
- actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
6920
+ actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
6886
6921
  id: number;
6887
6922
  name: string;
6888
6923
  };
@@ -7237,10 +7272,12 @@ export interface components {
7237
7272
  files: components["schemas"]["DataModelFileContent"][];
7238
7273
  };
7239
7274
  UpdateDeploymentInput: {
7275
+ autoAgentEnabled?: boolean | null;
7240
7276
  cloudProvider?: components["schemas"]["UpdateDeploymentInputCloudProvider"] | null;
7241
7277
  creationMethod?: components["schemas"]["UpdateDeploymentInputCreationMethod"] | null;
7242
7278
  cspsConfig?: components["schemas"]["CspsConfigInput"] | null;
7243
7279
  customDomain?: string | null;
7280
+ defaultAgentId?: number | null;
7244
7281
  defaultLaunchpadViewGroup?: string | null;
7245
7282
  deployBranchMergeAllowed?: boolean | null;
7246
7283
  deployBranchName?: string | null;
@@ -7392,7 +7429,7 @@ export interface components {
7392
7429
  resourceType: components["schemas"]["UpdateResourceGroupPolicyBodyResourceType"];
7393
7430
  };
7394
7431
  /** @enum {string} */
7395
- UpdateResourceGroupPolicyBodyAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
7432
+ UpdateResourceGroupPolicyBodyAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
7396
7433
  /** @enum {string} */
7397
7434
  UpdateResourceGroupPolicyBodyResourceType: "Global" | "Deployment" | "Report" | "ReportFolder" | "Agent" | "AgentSpace" | "Workbook" | "Dashboard" | "Folder" | "ChatThread" | "ScheduledTask";
7398
7435
  UpdateResourceUserPolicyBody: {
@@ -7402,7 +7439,7 @@ export interface components {
7402
7439
  userId?: number | null;
7403
7440
  };
7404
7441
  /** @enum {string} */
7405
- UpdateResourceUserPolicyBodyAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
7442
+ UpdateResourceUserPolicyBodyAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "ScheduledTasksCreate" | "ScheduledTaskRead" | "ScheduledTasksRead" | "ScheduledTasksManage" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
7406
7443
  /** @enum {string} */
7407
7444
  UpdateResourceUserPolicyBodyResourceType: "Global" | "Deployment" | "Report" | "ReportFolder" | "Agent" | "AgentSpace" | "Workbook" | "Dashboard" | "Folder" | "ChatThread" | "ScheduledTask";
7408
7445
  UpdateScheduledTaskInput: {
@@ -8395,6 +8432,27 @@ export interface operations {
8395
8432
  };
8396
8433
  };
8397
8434
  };
8435
+ "AgentsPublicController.getAgentDefaults": {
8436
+ parameters: {
8437
+ query?: never;
8438
+ header?: never;
8439
+ path: {
8440
+ deploymentId: number;
8441
+ };
8442
+ cookie?: never;
8443
+ };
8444
+ requestBody?: never;
8445
+ responses: {
8446
+ 200: {
8447
+ headers: {
8448
+ [name: string]: any;
8449
+ };
8450
+ content: {
8451
+ "application/json": components["schemas"]["AgentDefaultsResponse"];
8452
+ };
8453
+ };
8454
+ };
8455
+ };
8398
8456
  "AgentsPublicController.getAgentSkills": {
8399
8457
  parameters: {
8400
8458
  query?: {
@@ -9296,6 +9354,30 @@ export interface operations {
9296
9354
  };
9297
9355
  };
9298
9356
  };
9357
+ "EvaluationsPublicController.listEvaluations": {
9358
+ parameters: {
9359
+ query?: {
9360
+ after?: string | null;
9361
+ first?: number | null;
9362
+ };
9363
+ header?: never;
9364
+ path: {
9365
+ deploymentId: number;
9366
+ };
9367
+ cookie?: never;
9368
+ };
9369
+ requestBody?: never;
9370
+ responses: {
9371
+ 200: {
9372
+ headers: {
9373
+ [name: string]: any;
9374
+ };
9375
+ content: {
9376
+ "application/json": components["schemas"]["EvaluationRunsListResponse"];
9377
+ };
9378
+ };
9379
+ };
9380
+ };
9299
9381
  "EvaluationsPublicController.startEvaluation": {
9300
9382
  parameters: {
9301
9383
  query?: never;