@lightdash-tools/common 0.14.0 → 0.16.1

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.
@@ -1240,6 +1240,22 @@ export interface paths {
1240
1240
  patch?: never;
1241
1241
  trace?: never;
1242
1242
  };
1243
+ '/api/v1/org/homepage-settings': {
1244
+ parameters: {
1245
+ query?: never;
1246
+ header?: never;
1247
+ path?: never;
1248
+ cookie?: never;
1249
+ };
1250
+ get: operations['getOrganizationHomepageSettings'];
1251
+ put?: never;
1252
+ post?: never;
1253
+ delete?: never;
1254
+ options?: never;
1255
+ head?: never;
1256
+ patch: operations['updateOrganizationHomepageSettings'];
1257
+ trace?: never;
1258
+ };
1243
1259
  '/api/v1/databricks/sso/is-authenticated': {
1244
1260
  parameters: {
1245
1261
  query?: never;
@@ -2831,7 +2847,12 @@ export interface paths {
2831
2847
  path?: never;
2832
2848
  cookie?: never;
2833
2849
  };
2834
- get?: never;
2850
+ /**
2851
+ * Get active agent onboarding run
2852
+ * @description Get the agent onboarding run that is currently queued or running for a
2853
+ * project, if any.
2854
+ */
2855
+ get: operations['getActiveAgentOnboardingRun'];
2835
2856
  put?: never;
2836
2857
  /**
2837
2858
  * Start agent onboarding run
@@ -2905,6 +2926,38 @@ export interface paths {
2905
2926
  patch?: never;
2906
2927
  trace?: never;
2907
2928
  };
2929
+ '/api/v1/ee/homepage/recommended-action-skips': {
2930
+ parameters: {
2931
+ query?: never;
2932
+ header?: never;
2933
+ path?: never;
2934
+ cookie?: never;
2935
+ };
2936
+ get: operations['listHomepageRecommendedActionSkips'];
2937
+ put?: never;
2938
+ post: operations['skipHomepageRecommendedAction'];
2939
+ delete?: never;
2940
+ options?: never;
2941
+ head?: never;
2942
+ patch?: never;
2943
+ trace?: never;
2944
+ };
2945
+ '/api/v1/ee/homepage/recommended-action-skips/{actionKey}': {
2946
+ parameters: {
2947
+ query?: never;
2948
+ header?: never;
2949
+ path?: never;
2950
+ cookie?: never;
2951
+ };
2952
+ get?: never;
2953
+ put?: never;
2954
+ post?: never;
2955
+ delete: operations['unskipHomepageRecommendedAction'];
2956
+ options?: never;
2957
+ head?: never;
2958
+ patch?: never;
2959
+ trace?: never;
2960
+ };
2908
2961
  '/api/v2/orgs/{orgUuid}/roles': {
2909
2962
  parameters: {
2910
2963
  query?: never;
@@ -3077,7 +3130,7 @@ export interface paths {
3077
3130
  /**
3078
3131
  * Refresh Deep Research chart
3079
3132
  * @description Re-execute the metric query behind a warehouse-backed report chart to
3080
- * load its live results instead of the persisted snapshot.
3133
+ * load its live results.
3081
3134
  */
3082
3135
  post: operations['refreshAiDeepResearchChart'];
3083
3136
  delete?: never;
@@ -3086,6 +3139,26 @@ export interface paths {
3086
3139
  patch?: never;
3087
3140
  trace?: never;
3088
3141
  };
3142
+ '/api/v1/ee/projects/{projectUuid}/ai-deep-research/{aiDeepResearchRunUuid}/charts/{queryUuid}': {
3143
+ parameters: {
3144
+ query?: never;
3145
+ header?: never;
3146
+ path?: never;
3147
+ cookie?: never;
3148
+ };
3149
+ /**
3150
+ * Get Deep Research chart
3151
+ * @description Load the retained query metadata behind a report chart.
3152
+ */
3153
+ get: operations['getAiDeepResearchChart'];
3154
+ put?: never;
3155
+ post?: never;
3156
+ delete?: never;
3157
+ options?: never;
3158
+ head?: never;
3159
+ patch?: never;
3160
+ trace?: never;
3161
+ };
3089
3162
  '/api/v1/ee/projects/{projectUuid}/ai-deep-research/{aiDeepResearchRunUuid}/events': {
3090
3163
  parameters: {
3091
3164
  query?: never;
@@ -3128,6 +3201,68 @@ export interface paths {
3128
3201
  patch?: never;
3129
3202
  trace?: never;
3130
3203
  };
3204
+ '/api/v1/projects/{projectUuid}/aiAgentMemories': {
3205
+ parameters: {
3206
+ query?: never;
3207
+ header?: never;
3208
+ path?: never;
3209
+ cookie?: never;
3210
+ };
3211
+ /**
3212
+ * List my memories
3213
+ * @description Lists the active memories the AI agents saved from the requesting user's
3214
+ * own threads in this project. The owner is always the session user.
3215
+ */
3216
+ get: operations['getMyAiAgentMemories'];
3217
+ put?: never;
3218
+ post?: never;
3219
+ delete?: never;
3220
+ options?: never;
3221
+ head?: never;
3222
+ patch?: never;
3223
+ trace?: never;
3224
+ };
3225
+ '/api/v1/projects/{projectUuid}/aiAgentMemories/{slug}': {
3226
+ parameters: {
3227
+ query?: never;
3228
+ header?: never;
3229
+ path?: never;
3230
+ cookie?: never;
3231
+ };
3232
+ /**
3233
+ * Get a memory
3234
+ * @description Returns one memory the requesting user can read, without going through an
3235
+ * agent: memories consolidated across agents have no agent to route by.
3236
+ */
3237
+ get: operations['getAiAgentMemoryBySlug'];
3238
+ put?: never;
3239
+ post?: never;
3240
+ delete?: never;
3241
+ options?: never;
3242
+ head?: never;
3243
+ patch?: never;
3244
+ trace?: never;
3245
+ };
3246
+ '/api/v1/projects/{projectUuid}/aiAgentMemories/{memoryUuid}/promote': {
3247
+ parameters: {
3248
+ query?: never;
3249
+ header?: never;
3250
+ path?: never;
3251
+ cookie?: never;
3252
+ };
3253
+ get?: never;
3254
+ put?: never;
3255
+ /**
3256
+ * Promote memory
3257
+ * @description Nominates a readable memory for project-context review.
3258
+ */
3259
+ post: operations['promoteAiAgentMemory'];
3260
+ delete?: never;
3261
+ options?: never;
3262
+ head?: never;
3263
+ patch?: never;
3264
+ trace?: never;
3265
+ };
3131
3266
  '/api/v1/projects/{projectUuid}/aiAgentMemories/{memoryUuid}/status': {
3132
3267
  parameters: {
3133
3268
  query?: never;
@@ -3148,6 +3283,28 @@ export interface paths {
3148
3283
  patch: operations['updateAiAgentMemoryStatus'];
3149
3284
  trace?: never;
3150
3285
  };
3286
+ '/api/v1/projects/{projectUuid}/aiAgentMemories/threads/{threadUuid}/distill': {
3287
+ parameters: {
3288
+ query?: never;
3289
+ header?: never;
3290
+ path?: never;
3291
+ cookie?: never;
3292
+ };
3293
+ get?: never;
3294
+ put?: never;
3295
+ /**
3296
+ * Distill thread
3297
+ * @description Queues distillation for one thread immediately, skipping the 6h idle wait
3298
+ * and the every-3h sweep. Re-distills a thread that is already up to date.
3299
+ * Requires permission to manage AI agents in the project.
3300
+ */
3301
+ post: operations['triggerAiAgentMemoryDistill'];
3302
+ delete?: never;
3303
+ options?: never;
3304
+ head?: never;
3305
+ patch?: never;
3306
+ trace?: never;
3307
+ };
3151
3308
  '/api/v1/aiAgents/admin/threads': {
3152
3309
  parameters: {
3153
3310
  query?: never;
@@ -3862,6 +4019,30 @@ export interface paths {
3862
4019
  patch?: never;
3863
4020
  trace?: never;
3864
4021
  };
4022
+ '/api/v1/user/onboarding': {
4023
+ parameters: {
4024
+ query?: never;
4025
+ header?: never;
4026
+ path?: never;
4027
+ cookie?: never;
4028
+ };
4029
+ /**
4030
+ * Get onboarding
4031
+ * @description Get the authenticated user's onboarding state, i.e. which feature tours they have completed
4032
+ */
4033
+ get: operations['GetUserOnboarding'];
4034
+ put?: never;
4035
+ /**
4036
+ * Complete onboarding tour
4037
+ * @description Mark a feature tour as completed for the authenticated user
4038
+ */
4039
+ post: operations['CompleteUserOnboardingTour'];
4040
+ delete?: never;
4041
+ options?: never;
4042
+ head?: never;
4043
+ patch?: never;
4044
+ trace?: never;
4045
+ };
3865
4046
  '/api/v1/user/me/allowedOrganizations': {
3866
4047
  parameters: {
3867
4048
  query?: never;
@@ -4788,6 +4969,26 @@ export interface paths {
4788
4969
  patch: operations['UpdateSpace'];
4789
4970
  trace?: never;
4790
4971
  };
4972
+ '/api/v1/projects/{projectUuid}/spaces/{spaceUuid}/access': {
4973
+ parameters: {
4974
+ query?: never;
4975
+ header?: never;
4976
+ path?: never;
4977
+ cookie?: never;
4978
+ };
4979
+ /**
4980
+ * List space access
4981
+ * @description Get the resolved user access list for a space
4982
+ */
4983
+ get: operations['GetSpaceAccessList'];
4984
+ put?: never;
4985
+ post?: never;
4986
+ delete?: never;
4987
+ options?: never;
4988
+ head?: never;
4989
+ patch?: never;
4990
+ trace?: never;
4991
+ };
4791
4992
  '/api/v1/projects/{projectUuid}/spaces/{spaceUuid}/delete-impact': {
4792
4993
  parameters: {
4793
4994
  query?: never;
@@ -7944,7 +8145,8 @@ export interface paths {
7944
8145
  };
7945
8146
  /**
7946
8147
  * List GitHub repositories
7947
- * @description List GitHub repositories accessible via the installed app
8148
+ * @description List GitHub repositories accessible via the installed app. Requires
8149
+ * permission to manage the organization's Git integration.
7948
8150
  */
7949
8151
  get: operations['getGithubListRepositories'];
7950
8152
  put?: never;
@@ -9830,6 +10032,27 @@ export interface paths {
9830
10032
  patch?: never;
9831
10033
  trace?: never;
9832
10034
  };
10035
+ '/api/v2/feature-flag': {
10036
+ parameters: {
10037
+ query?: never;
10038
+ header?: never;
10039
+ path?: never;
10040
+ cookie?: never;
10041
+ };
10042
+ /**
10043
+ * List feature flags
10044
+ * @description List every known feature flag with its resolved value for the requesting
10045
+ * user. Preview environments only.
10046
+ */
10047
+ get: operations['List feature flags'];
10048
+ put?: never;
10049
+ post?: never;
10050
+ delete?: never;
10051
+ options?: never;
10052
+ head?: never;
10053
+ patch?: never;
10054
+ trace?: never;
10055
+ };
9833
10056
  '/api/v2/feature-flag/{featureFlagId}': {
9834
10057
  parameters: {
9835
10058
  query?: never;
@@ -9843,8 +10066,18 @@ export interface paths {
9843
10066
  */
9844
10067
  get: operations['Get feature flag'];
9845
10068
  put?: never;
9846
- post?: never;
9847
- delete?: never;
10069
+ /**
10070
+ * Set feature flag override
10071
+ * @description Override a feature flag for the requesting user's organization. Preview
10072
+ * environments only — lets QA toggle flags without a redeploy.
10073
+ */
10074
+ post: operations['Set feature flag override'];
10075
+ /**
10076
+ * Delete feature flag override
10077
+ * @description Remove the organization override for a feature flag, restoring the
10078
+ * environment default. Preview environments only.
10079
+ */
10080
+ delete: operations['Delete feature flag override'];
9848
10081
  options?: never;
9849
10082
  head?: never;
9850
10083
  patch?: never;
@@ -10526,6 +10759,8 @@ export interface components {
10526
10759
  /** @enum {string} */
10527
10760
  XAxisSortType: 'default' | 'category' | 'bar_totals';
10528
10761
  XAxis: components['schemas']['Axis'] & {
10762
+ /** @description Render a numeric X axis as discrete categories instead of a continuous scale */
10763
+ treatAsCategory?: boolean;
10529
10764
  /**
10530
10765
  * Format: double
10531
10766
  * @description Number of items visible at once in the data-zoom window
@@ -11887,12 +12122,19 @@ export interface components {
11887
12122
  };
11888
12123
  /** @enum {string} */
11889
12124
  'DashboardTileTypes.DATA_APP': 'data_app';
12125
+ /** @description From T, pick a set of properties whose keys are in the union K */
12126
+ 'Pick_DashboardDataAppTileProperties-at-properties.title-or-hideTitle_': {
12127
+ title: string;
12128
+ hideTitle?: boolean;
12129
+ };
11890
12130
  DashboardDataAppTileAsCode: components['schemas']['DashboardTileAsCodeBase'] & {
11891
- properties: {
12131
+ properties: components['schemas']['Pick_DashboardDataAppTileProperties-at-properties.title-or-hideTitle_'] & {
12132
+ /** @description Legacy read-only deletion marker. Ignored on upload, never written by download. */
11892
12133
  appDeletedAt?: string | null;
11893
- appUuid: string;
11894
- hideTitle?: boolean;
11895
- title: string;
12134
+ /** @description Legacy project-local reference. Accepted on upload, never written by download. */
12135
+ appUuid?: string;
12136
+ /** @description Portable project-scoped reference written by download. */
12137
+ appSlug?: string | null;
11896
12138
  };
11897
12139
  type: components['schemas']['DashboardTileTypes.DATA_APP'];
11898
12140
  };
@@ -12079,8 +12321,6 @@ export interface components {
12079
12321
  /** @enum {string} */
12080
12322
  'ChartKind.VERTICAL_BAR': 'vertical_bar';
12081
12323
  /** @enum {string} */
12082
- 'ChartKind.LINE': 'line';
12083
- /** @enum {string} */
12084
12324
  VizIndexType: 'time' | 'category';
12085
12325
  /** @enum {string} */
12086
12326
  VizAggregationOptions: 'sum' | 'count' | 'avg' | 'min' | 'max' | 'any';
@@ -12149,10 +12389,17 @@ export interface components {
12149
12389
  label?: string;
12150
12390
  };
12151
12391
  };
12152
- VizCartesianChartConfig: components['schemas']['VizBaseConfig'] & {
12392
+ VizBarChartConfig: components['schemas']['VizBaseConfig'] & {
12393
+ display?: components['schemas']['CartesianChartDisplay'];
12394
+ fieldConfig?: components['schemas']['PivotChartLayout'];
12395
+ type: components['schemas']['ChartKind.VERTICAL_BAR'];
12396
+ };
12397
+ /** @enum {string} */
12398
+ 'ChartKind.LINE': 'line';
12399
+ VizLineChartConfig: components['schemas']['VizBaseConfig'] & {
12153
12400
  display?: components['schemas']['CartesianChartDisplay'];
12154
12401
  fieldConfig?: components['schemas']['PivotChartLayout'];
12155
- type: components['schemas']['ChartKind.VERTICAL_BAR'] | components['schemas']['ChartKind.LINE'];
12402
+ type: components['schemas']['ChartKind.LINE'];
12156
12403
  };
12157
12404
  /** @enum {string} */
12158
12405
  'ChartKind.PIE': 'pie';
@@ -12165,6 +12412,54 @@ export interface components {
12165
12412
  type: components['schemas']['ChartKind.PIE'];
12166
12413
  };
12167
12414
  /** @enum {string} */
12415
+ 'ChartKind.BIG_NUMBER': 'big_number';
12416
+ /** @enum {string} */
12417
+ 'FilterOperator.EQUALS': 'equals';
12418
+ /** @enum {string} */
12419
+ 'FilterOperator.NOT_EQUALS': 'notEquals';
12420
+ /** @enum {string} */
12421
+ 'FilterOperator.LESS_THAN': 'lessThan';
12422
+ /** @enum {string} */
12423
+ 'FilterOperator.LESS_THAN_OR_EQUAL': 'lessThanOrEqual';
12424
+ /** @enum {string} */
12425
+ 'FilterOperator.GREATER_THAN': 'greaterThan';
12426
+ /** @enum {string} */
12427
+ 'FilterOperator.GREATER_THAN_OR_EQUAL': 'greaterThanOrEqual';
12428
+ /** @description Operators a big number threshold can be expressed with. */
12429
+ VizBigNumberConditionalOperator: components['schemas']['FilterOperator.EQUALS'] | components['schemas']['FilterOperator.NOT_EQUALS'] | components['schemas']['FilterOperator.LESS_THAN'] | components['schemas']['FilterOperator.LESS_THAN_OR_EQUAL'] | components['schemas']['FilterOperator.GREATER_THAN'] | components['schemas']['FilterOperator.GREATER_THAN_OR_EQUAL'];
12430
+ VizBigNumberConditionalRule: {
12431
+ darkColor?: string;
12432
+ /** @description Applied in the light colour scheme, and in dark when darkColor is unset. */
12433
+ color: string;
12434
+ /** Format: double */
12435
+ value: number;
12436
+ operator: components['schemas']['VizBigNumberConditionalOperator'];
12437
+ };
12438
+ VizBigNumberDisplay: {
12439
+ /** @description Colours the value; the first matching rule wins. */
12440
+ conditionalFormatting?: components['schemas']['VizBigNumberConditionalRule'][];
12441
+ /** @description Colours an increase red and a decrease green. */
12442
+ flipColors?: boolean;
12443
+ comparisonLabel?: string;
12444
+ comparisonFormat?: components['schemas']['ComparisonFormatTypes'];
12445
+ /** @description Compares the value against the second selected field. */
12446
+ showComparison?: boolean;
12447
+ /** @description Compact notation applied to the value (K/M/B/T). */
12448
+ style?: components['schemas']['CompactOrAlias'];
12449
+ showLabel?: boolean;
12450
+ /** @description Custom label rendered under the value. Falls back to the field name. */
12451
+ label?: string;
12452
+ };
12453
+ VizBigNumberConfig: components['schemas']['VizBaseConfig'] & {
12454
+ display?: components['schemas']['VizBigNumberDisplay'];
12455
+ /**
12456
+ * @description Big numbers aggregate every row, so `x` is always undefined and `y`
12457
+ * holds the value field followed by the optional comparison field.
12458
+ */
12459
+ fieldConfig?: components['schemas']['PivotChartLayout'];
12460
+ type: components['schemas']['ChartKind.BIG_NUMBER'];
12461
+ };
12462
+ /** @enum {string} */
12168
12463
  'ChartKind.TABLE': 'table';
12169
12464
  VizColumnConfig: {
12170
12465
  barConfig?: {
@@ -12193,6 +12488,7 @@ export interface components {
12193
12488
  columns: components['schemas']['VizColumnsConfig'];
12194
12489
  type: components['schemas']['ChartKind.TABLE'];
12195
12490
  };
12491
+ AllVizChartConfig: components['schemas']['VizBarChartConfig'] | components['schemas']['VizLineChartConfig'] | components['schemas']['VizPieChartConfig'] | components['schemas']['VizBigNumberConfig'] | components['schemas']['VizTableConfig'];
12196
12492
  /** @description From T, pick a set of properties whose keys are in the union K */
12197
12493
  'Pick_SqlChart.name-or-description-or-slug-or-sql-or-limit-or-config-or-chartKind_': {
12198
12494
  name: string;
@@ -12200,7 +12496,7 @@ export interface components {
12200
12496
  slug: string;
12201
12497
  /** Format: double */
12202
12498
  limit: number;
12203
- config: components['schemas']['VizBaseConfig'] & (components['schemas']['VizCartesianChartConfig'] | components['schemas']['VizPieChartConfig'] | components['schemas']['VizTableConfig']);
12499
+ config: components['schemas']['AllVizChartConfig'];
12204
12500
  sql: string;
12205
12501
  chartKind: components['schemas']['ChartKind'];
12206
12502
  };
@@ -12493,6 +12789,7 @@ export interface components {
12493
12789
  updatedAt?: string;
12494
12790
  evaluations?: components['schemas']['AgentAsCodeEvaluation'][];
12495
12791
  modelConfig: components['schemas']['AiAgentModelConfig'] | null;
12792
+ enableSqlMode?: boolean;
12496
12793
  enableUserContext: boolean;
12497
12794
  enableContentTools: boolean;
12498
12795
  enableSelfImprovement: boolean;
@@ -12552,6 +12849,8 @@ export interface components {
12552
12849
  allowedMethods: components['schemas']['ExternalConnectionMethod'][];
12553
12850
  allowedPathPrefixes: string[];
12554
12851
  instructions: string | null;
12852
+ /** @description Optional for compatibility with documents created before this field. */
12853
+ allowBrowserImages?: boolean;
12555
12854
  origin: string;
12556
12855
  authType: components['schemas']['ExternalConnectionAuthType'];
12557
12856
  name: string;
@@ -12722,6 +13021,7 @@ export interface components {
12722
13021
  DashboardDataAppTileProperties: {
12723
13022
  properties: {
12724
13023
  appDeletedAt?: string | null;
13024
+ appSlug?: string | null;
12725
13025
  appUuid: string;
12726
13026
  hideTitle?: boolean;
12727
13027
  title: string;
@@ -13112,8 +13412,12 @@ export interface components {
13112
13412
  };
13113
13413
  /** @description Construct a type with the properties of T except for those in type K. */
13114
13414
  'Omit_SqlChartAsCode.config-or-description_': components['schemas']['Pick_SqlChartAsCode.Exclude_keyofSqlChartAsCode.config-or-description__'];
13415
+ DashboardAsCodeUpsertResult: components['schemas']['PromotionChanges'] & {
13416
+ /** @description Non-fatal issues, e.g. a data app tile whose app is not in this project. */
13417
+ warnings?: string[];
13418
+ };
13115
13419
  ApiDashboardAsCodeUpsertResponse: {
13116
- results: components['schemas']['PromotionChanges'];
13420
+ results: components['schemas']['DashboardAsCodeUpsertResult'];
13117
13421
  /** @enum {string} */
13118
13422
  status: 'ok';
13119
13423
  };
@@ -13781,8 +14085,21 @@ export interface components {
13781
14085
  * @enum {string}
13782
14086
  */
13783
14087
  HomepageCollectionSource: 'manual' | 'most-viewed' | 'recently-updated' | 'pinned' | 'favorites' | 'recently-viewed';
14088
+ /**
14089
+ * @description Shared display vocabulary for content-listing blocks: media-rich cards, or
14090
+ * a compact mode whose geometry (tile columns vs single-column rows) resolves
14091
+ * from the block's width rather than being a third admin choice.
14092
+ * @enum {string}
14093
+ */
14094
+ HomepageContentLayout: 'card' | 'list';
13784
14095
  HomepageCollectionBlock: {
13785
14096
  config: {
14097
+ /**
14098
+ * @description Narrows live sources to these content types. Ignored for `manual`
14099
+ * (hand-picking is already the filter) and when absent or empty.
14100
+ */
14101
+ contentTypes?: ('chart' | 'dashboard' | 'space' | 'data_app')[];
14102
+ layout?: components['schemas']['HomepageContentLayout'];
13786
14103
  /**
13787
14104
  * Format: double
13788
14105
  * @description How many items to show. Absent means DEFAULT_COLLECTION_LIMIT.
@@ -13813,10 +14130,10 @@ export interface components {
13813
14130
  url: string;
13814
14131
  title: string;
13815
14132
  };
13816
- /** @enum {string} */
13817
- HomepageResourcesLayout: 'card' | 'list';
14133
+ HomepageResourcesLayout: components['schemas']['HomepageContentLayout'];
13818
14134
  HomepageResourcesBlock: {
13819
14135
  config: {
14136
+ showDescriptions?: boolean;
13820
14137
  layout?: components['schemas']['HomepageResourcesLayout'];
13821
14138
  items: components['schemas']['HomepageResourceItem'][];
13822
14139
  title: string;
@@ -13828,6 +14145,7 @@ export interface components {
13828
14145
  HomepageAnnouncementsBlock: {
13829
14146
  /** @description Feed reference — items live in `project_announcements`. */
13830
14147
  config: {
14148
+ collapseAfterFirst?: boolean;
13831
14149
  title: string;
13832
14150
  };
13833
14151
  /** @enum {string} */
@@ -13881,6 +14199,47 @@ export interface components {
13881
14199
  type: 'quick-actions';
13882
14200
  id: string;
13883
14201
  };
14202
+ /** @description Where the CTA button leads: the quick-action vocabulary plus a free URL. */
14203
+ HomepageCtaTarget: components['schemas']['HomepageQuickActionTarget'] | {
14204
+ url: string;
14205
+ /** @enum {string} */
14206
+ type: 'link';
14207
+ };
14208
+ /**
14209
+ * @description Semantic theme tokens, resolved at render from the org's brand colors —
14210
+ * a rebrand restyles every CTA without touching stored configs. `custom`
14211
+ * reads the block's own `customColor`.
14212
+ * @enum {string}
14213
+ */
14214
+ HomepageCtaTheme: 'brand' | 'accent' | 'dark' | 'neutral' | 'custom';
14215
+ /**
14216
+ * @description The block's container: invisible (just the button on the page), a neutral
14217
+ * card, or a surface painted with the theme (the button then inverts it).
14218
+ * @enum {string}
14219
+ */
14220
+ HomepageCtaBackground: 'none' | 'card' | 'theme';
14221
+ /**
14222
+ * @description Where a bare (title-less) CTA button sits in its row.
14223
+ * @enum {string}
14224
+ */
14225
+ HomepageCtaAlign: 'left' | 'center' | 'right';
14226
+ HomepageCtaBlock: {
14227
+ config: {
14228
+ align?: components['schemas']['HomepageCtaAlign'];
14229
+ background?: components['schemas']['HomepageCtaBackground'];
14230
+ /** @description Hex color used when `theme` is `custom`. */
14231
+ customColor?: string;
14232
+ theme?: components['schemas']['HomepageCtaTheme'];
14233
+ target: components['schemas']['HomepageCtaTarget'];
14234
+ buttonLabel: string;
14235
+ description?: string;
14236
+ /** @description Optional: without it the CTA is just its button. */
14237
+ title?: string;
14238
+ };
14239
+ /** @enum {string} */
14240
+ type: 'cta';
14241
+ id: string;
14242
+ };
13884
14243
  HomepageFavoritesBlock: {
13885
14244
  config: {
13886
14245
  title: string;
@@ -13897,7 +14256,7 @@ export interface components {
13897
14256
  type: 'recent';
13898
14257
  id: string;
13899
14258
  };
13900
- HomepageBlock: components['schemas']['HomepageMarkdownBlock'] | components['schemas']['HomepageAskAiHeroBlock'] | components['schemas']['HomepageGreetingBlock'] | components['schemas']['HomepageCollectionBlock'] | components['schemas']['HomepageResourcesBlock'] | components['schemas']['HomepageAnnouncementsBlock'] | components['schemas']['HomepageMetricsBlock'] | components['schemas']['HomepageQuickActionsBlock'] | components['schemas']['HomepageFavoritesBlock'] | components['schemas']['HomepageRecentBlock'];
14259
+ HomepageBlock: components['schemas']['HomepageMarkdownBlock'] | components['schemas']['HomepageAskAiHeroBlock'] | components['schemas']['HomepageGreetingBlock'] | components['schemas']['HomepageCollectionBlock'] | components['schemas']['HomepageResourcesBlock'] | components['schemas']['HomepageAnnouncementsBlock'] | components['schemas']['HomepageMetricsBlock'] | components['schemas']['HomepageQuickActionsBlock'] | components['schemas']['HomepageCtaBlock'] | components['schemas']['HomepageFavoritesBlock'] | components['schemas']['HomepageRecentBlock'];
13901
14260
  HomepageRow: {
13902
14261
  blocks: components['schemas']['HomepageBlock'][];
13903
14262
  id: string;
@@ -14069,6 +14428,12 @@ export interface components {
14069
14428
  createdAt: string;
14070
14429
  authorName: string | null;
14071
14430
  createdByUserUuid: string | null;
14431
+ /**
14432
+ * Format: date-time
14433
+ * @description When set (and unpublished), the announcement publishes automatically at
14434
+ * this UTC instant. Null once published or for plain drafts.
14435
+ */
14436
+ scheduledPublishAt: string | null;
14072
14437
  /**
14073
14438
  * @description Slack channel the announcement will notify when it publishes. Always
14074
14439
  * null once published (consumed) — only drafts carry a value, and drafts
@@ -14101,6 +14466,19 @@ export interface components {
14101
14466
  };
14102
14467
  ApiAnnouncementResponse: components['schemas']['ApiSuccess_ProjectAnnouncement_'];
14103
14468
  CreateAnnouncementRequest: {
14469
+ /**
14470
+ * Format: date-time
14471
+ * @description Future UTC instant at which the announcement publishes automatically
14472
+ * (Slack notification fires then). Mutually exclusive with `publishNow`.
14473
+ */
14474
+ scheduledPublishAt?: string;
14475
+ /**
14476
+ * @description When true the announcement goes live immediately and its Slack
14477
+ * notification (if any) fires now, instead of waiting for the next
14478
+ * homepage publish. Used when posting from the published homepage.
14479
+ * Mutually exclusive with `scheduledPublishAt`.
14480
+ */
14481
+ publishNow?: boolean;
14104
14482
  /**
14105
14483
  * @description Transient (not persisted): when set, publishing posts a notification to
14106
14484
  * this Slack channel. Requires the org to have Slack installed.
@@ -14112,6 +14490,18 @@ export interface components {
14112
14490
  };
14113
14491
  /** @description PATCH semantics: omitted fields are left unchanged */
14114
14492
  UpdateAnnouncementRequest: {
14493
+ /**
14494
+ * @description Unpublished only: publish immediately (fires the pending Slack
14495
+ * notification, cancels any schedule). Cannot combine with
14496
+ * `scheduledPublishAt`.
14497
+ */
14498
+ publishNow?: boolean;
14499
+ /**
14500
+ * Format: date-time
14501
+ * @description Unpublished only: set a future UTC instant to schedule (or reschedule)
14502
+ * automatic publishing, null to unschedule back to a plain draft.
14503
+ */
14504
+ scheduledPublishAt?: string | null;
14115
14505
  /** @description Only drafts: set to retarget the Slack notification, null to cancel it */
14116
14506
  slackChannelId?: string | null;
14117
14507
  pinned?: boolean;
@@ -14127,13 +14517,67 @@ export interface components {
14127
14517
  status: 'ok';
14128
14518
  };
14129
14519
  ApiAnnouncementImageUploadResponse: components['schemas']['ApiSuccess__url-string__'];
14520
+ /**
14521
+ * @description Which hero opens the homepage: the Ask AI composer or greeting + quick
14522
+ * actions. An admin's layout decision, independent of whether AI is licensed.
14523
+ * @enum {string}
14524
+ */
14525
+ HomepageOpening: 'ask-first' | 'content-first';
14526
+ /**
14527
+ * @description Org-wide homepage v2 state. `enabled` turns the new homepage on for every
14528
+ * project in the organization; the commercial flag remains as a kill-switch.
14529
+ * `opening: null` means "auto" — AI availability decides, which is the legacy
14530
+ * behaviour for orgs enabled via the flag before this setting existed.
14531
+ */
14532
+ OrganizationHomepageSettings: {
14533
+ opening: components['schemas']['HomepageOpening'] | null;
14534
+ enabled: boolean;
14535
+ organizationUuid: string;
14536
+ };
14537
+ ApiSuccess_OrganizationHomepageSettings_: {
14538
+ results: components['schemas']['OrganizationHomepageSettings'];
14539
+ /** @enum {string} */
14540
+ status: 'ok';
14541
+ };
14542
+ ApiOrganizationHomepageSettingsResponse: components['schemas']['ApiSuccess_OrganizationHomepageSettings_'];
14543
+ UpdateOrganizationHomepageSettings: {
14544
+ opening: components['schemas']['HomepageOpening'] | null;
14545
+ enabled: boolean;
14546
+ };
14130
14547
  /** @enum {string} */
14131
14548
  ManagedAgentScheduleOption: 'every_6_hours' | 'every_12_hours' | 'daily' | 'every_2_days' | 'weekly';
14549
+ /** @enum {string} */
14550
+ ManagedAgentAggression: 'observe' | 'flag' | 'cleanup';
14551
+ /** @enum {string} */
14552
+ ManagedAgentAudience: 'admins' | 'everyone';
14553
+ /** @enum {string} */
14554
+ ManagedAgentSpaceScopeMode: 'all-except' | 'only';
14555
+ ManagedAgentPolicy: {
14556
+ /** @enum {string} */
14557
+ verifiedContent: 'protected' | 'none';
14558
+ spaceScopeMode: components['schemas']['ManagedAgentSpaceScopeMode'];
14559
+ audience: components['schemas']['ManagedAgentAudience'];
14560
+ aggression: components['schemas']['ManagedAgentAggression'];
14561
+ /** Format: double */
14562
+ escalationHours: number;
14563
+ /** Format: double */
14564
+ protectRecentDays: number;
14565
+ /** Format: double */
14566
+ slowQueryThresholdMs: number;
14567
+ /** Format: double */
14568
+ previewProjectDays: number;
14569
+ /** Format: double */
14570
+ stalenessDashboardDays: number;
14571
+ /** Format: double */
14572
+ stalenessChartDays: number;
14573
+ };
14132
14574
  ManagedAgentSettings: {
14133
14575
  /** Format: date-time */
14134
14576
  updatedAt: string;
14135
14577
  /** Format: date-time */
14136
14578
  createdAt: string;
14579
+ scopedSpaceUuids: string[];
14580
+ policy: components['schemas']['ManagedAgentPolicy'];
14137
14581
  toolSettings: components['schemas']['Record_string.boolean_'];
14138
14582
  slackChannelId: string | null;
14139
14583
  enabledByUserUuid: string | null;
@@ -14141,7 +14585,34 @@ export interface components {
14141
14585
  enabled: boolean;
14142
14586
  projectUuid: string;
14143
14587
  };
14588
+ /** @description Make all properties in T optional */
14589
+ Partial_ManagedAgentPolicy_: {
14590
+ /** Format: double */
14591
+ stalenessChartDays?: number;
14592
+ /** Format: double */
14593
+ stalenessDashboardDays?: number;
14594
+ /** Format: double */
14595
+ previewProjectDays?: number;
14596
+ /** Format: double */
14597
+ slowQueryThresholdMs?: number;
14598
+ /** Format: double */
14599
+ protectRecentDays?: number;
14600
+ /** Format: double */
14601
+ escalationHours?: number;
14602
+ aggression?: components['schemas']['ManagedAgentAggression'];
14603
+ audience?: components['schemas']['ManagedAgentAudience'];
14604
+ spaceScopeMode?: components['schemas']['ManagedAgentSpaceScopeMode'];
14605
+ /** @enum {string} */
14606
+ verifiedContent?: 'none' | 'protected';
14607
+ };
14608
+ UpdateManagedAgentPolicy: components['schemas']['Partial_ManagedAgentPolicy_'];
14609
+ UpdateManagedAgentSpaceScope: {
14610
+ spaceUuids: string[];
14611
+ mode: components['schemas']['ManagedAgentSpaceScopeMode'];
14612
+ };
14144
14613
  UpdateManagedAgentSettings: {
14614
+ spaceScope?: components['schemas']['UpdateManagedAgentSpaceScope'];
14615
+ policy?: components['schemas']['UpdateManagedAgentPolicy'];
14145
14616
  toolSettings?: components['schemas']['Record_string.boolean_'];
14146
14617
  slackChannelId?: string | null;
14147
14618
  schedule?: components['schemas']['ManagedAgentScheduleOption'];
@@ -14167,6 +14638,8 @@ export interface components {
14167
14638
  created_content?: number;
14168
14639
  /** Format: double */
14169
14640
  insight?: number;
14641
+ /** Format: double */
14642
+ blocked?: number;
14170
14643
  };
14171
14644
  ManagedAgentRun: {
14172
14645
  currentActivity: string | null;
@@ -14190,7 +14663,7 @@ export interface components {
14190
14663
  runs: components['schemas']['ManagedAgentRun'][];
14191
14664
  };
14192
14665
  /** @enum {string} */
14193
- ManagedAgentActionType: 'flagged_stale' | 'soft_deleted' | 'flagged_broken' | 'flagged_slow' | 'fixed_broken' | 'created_content' | 'insight';
14666
+ ManagedAgentActionType: 'flagged_stale' | 'soft_deleted' | 'flagged_broken' | 'flagged_slow' | 'fixed_broken' | 'created_content' | 'insight' | 'blocked';
14194
14667
  /** @enum {string} */
14195
14668
  ManagedAgentTargetType: 'chart' | 'dashboard' | 'space' | 'project';
14196
14669
  ManagedAgentActionUser: {
@@ -14240,6 +14713,8 @@ export interface components {
14240
14713
  allowedMethods: components['schemas']['ExternalConnectionMethod'][];
14241
14714
  allowedPathPrefixes: string[];
14242
14715
  instructions: string | null;
14716
+ /** @description Optional for compatibility with older servers during rolling upgrades. */
14717
+ allowBrowserImages?: boolean;
14243
14718
  origin: string;
14244
14719
  type: components['schemas']['ExternalConnectionAuthType'];
14245
14720
  slug: string;
@@ -14272,6 +14747,7 @@ export interface components {
14272
14747
  allowedMethods: components['schemas']['ExternalConnectionMethod'][];
14273
14748
  allowedPathPrefixes: string[];
14274
14749
  instructions?: string | null;
14750
+ allowBrowserImages?: boolean;
14275
14751
  origin: string;
14276
14752
  type: components['schemas']['ExternalConnectionAuthType'];
14277
14753
  name: string;
@@ -14286,6 +14762,7 @@ export interface components {
14286
14762
  name?: string;
14287
14763
  type?: components['schemas']['ExternalConnectionAuthType'];
14288
14764
  origin?: string;
14765
+ allowBrowserImages?: boolean;
14289
14766
  instructions?: string | null;
14290
14767
  allowedPathPrefixes?: string[];
14291
14768
  allowedMethods?: ('GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE')[];
@@ -14358,6 +14835,37 @@ export interface components {
14358
14835
  path: string;
14359
14836
  method?: components['schemas']['ExternalConnectionMethod'];
14360
14837
  };
14838
+ /**
14839
+ * @description AI-proposed connection config, shaped to prefill the create wizard. Never
14840
+ * carries a secret — the user pastes the credential themselves on the Auth
14841
+ * step. Kept flat for the same TSOA reason as
14842
+ * ApiTestExternalConnectionConfigRequest.
14843
+ */
14844
+ ExternalConnectionConfigProposal: {
14845
+ /** @description Caveats the user should double-check before saving. */
14846
+ notes: string | null;
14847
+ docsUrl: string | null;
14848
+ /** @description Markdown steps for obtaining the credential; null when type is 'none'. */
14849
+ credentialGuide: string | null;
14850
+ instructions: string | null;
14851
+ allowedPathPrefixes: string[];
14852
+ allowedMethods: components['schemas']['ExternalConnectionMethod'][];
14853
+ customHeaders: components['schemas']['Record_string.string_'] | null;
14854
+ oauthScopes: string[] | null;
14855
+ apiKeyLocation: components['schemas']['ApiKeyLocation'] | null;
14856
+ apiKeyName: string | null;
14857
+ type: components['schemas']['ExternalConnectionAuthType'];
14858
+ origin: string;
14859
+ name: string;
14860
+ };
14861
+ ApiProposeExternalConnectionConfigResponse: {
14862
+ results: components['schemas']['ExternalConnectionConfigProposal'];
14863
+ /** @enum {string} */
14864
+ status: 'ok';
14865
+ };
14866
+ ApiProposeExternalConnectionConfigRequest: {
14867
+ description: string;
14868
+ };
14361
14869
  /** @description The request that produced a sample (stored alongside the response). */
14362
14870
  ExternalConnectionSampleRequest: {
14363
14871
  body?: unknown;
@@ -14459,6 +14967,7 @@ export interface components {
14459
14967
  canExportPagePdf?: boolean;
14460
14968
  canDateZoom?: boolean;
14461
14969
  canExportImages?: boolean;
14970
+ canExportDashboardCsv?: boolean;
14462
14971
  canExportCsv?: boolean;
14463
14972
  parameterInteractivity?: {
14464
14973
  enabled: boolean;
@@ -14608,6 +15117,7 @@ export interface components {
14608
15117
  canDateZoom?: boolean;
14609
15118
  canExportPagePdf?: boolean;
14610
15119
  canExportImages?: boolean;
15120
+ canExportDashboardCsv?: boolean;
14611
15121
  canExportCsv?: boolean;
14612
15122
  parameterInteractivity?: {
14613
15123
  enabled: boolean;
@@ -14815,7 +15325,12 @@ export interface components {
14815
15325
  } & {
14816
15326
  [key: string]: unknown;
14817
15327
  };
15328
+ /** @description Construct a type with a set of properties K of type T */
15329
+ 'Record_string.DashboardFieldTarget_': {
15330
+ [key: string]: components['schemas']['DashboardFieldTarget'];
15331
+ };
14818
15332
  DashboardAvailableFilters: {
15333
+ defaultTimeDimensions: components['schemas']['Record_string.DashboardFieldTarget_'];
14819
15334
  savedQueryMetricFilters: components['schemas']['Record_string.number-Array_'];
14820
15335
  allFilterableMetrics: components['schemas']['Metric'][];
14821
15336
  allFilterableFields: components['schemas']['FilterableDimension'][];
@@ -14963,7 +15478,7 @@ export interface components {
14963
15478
  [key: string]: components['schemas']['FieldGroupType'];
14964
15479
  };
14965
15480
  /** @enum {string} */
14966
- InlineErrorType: 'METADATA_PARSE_ERROR' | 'NO_DIMENSIONS_FOUND' | 'SKIPPED_JOIN' | 'MISSING_TABLE' | 'FIELD_ERROR' | 'SET_VALIDATION_ERROR' | 'INVALID_PARAMETER' | 'DUPLICATE_FIELD_NAME' | 'WAREHOUSE_COLUMN_ERROR';
15481
+ InlineErrorType: 'METADATA_PARSE_ERROR' | 'NO_DIMENSIONS_FOUND' | 'SKIPPED_JOIN' | 'MISSING_TABLE' | 'FIELD_ERROR' | 'SET_VALIDATION_ERROR' | 'SHOW_UNDERLYING_VALUES_ERROR' | 'INVALID_PARAMETER' | 'DUPLICATE_FIELD_NAME' | 'WAREHOUSE_COLUMN_ERROR';
14967
15482
  InlineError: {
14968
15483
  message: string;
14969
15484
  type: components['schemas']['InlineErrorType'];
@@ -15498,7 +16013,7 @@ export interface components {
15498
16013
  /** Format: date-time */
15499
16014
  createdAt: string;
15500
16015
  chartKind: components['schemas']['ChartKind'];
15501
- config: components['schemas']['VizBaseConfig'] & (components['schemas']['VizCartesianChartConfig'] | components['schemas']['VizPieChartConfig'] | components['schemas']['VizTableConfig']);
16016
+ config: components['schemas']['AllVizChartConfig'];
15502
16017
  /** Format: double */
15503
16018
  limit: number;
15504
16019
  sql: string;
@@ -15589,6 +16104,109 @@ export interface components {
15589
16104
  results: unknown[];
15590
16105
  search: string;
15591
16106
  };
16107
+ /** @enum {string} */
16108
+ DataAppVizFieldType: 'dimension' | 'metric' | 'series';
16109
+ DataAppVizField: {
16110
+ required: boolean;
16111
+ type: components['schemas']['DataAppVizFieldType'];
16112
+ label: string;
16113
+ name: string;
16114
+ };
16115
+ DataAppVizConfigOption: {
16116
+ default: boolean;
16117
+ group?: string;
16118
+ label: string;
16119
+ name: string;
16120
+ /** @enum {string} */
16121
+ type: 'boolean';
16122
+ } | {
16123
+ default: string;
16124
+ choices: {
16125
+ label: string;
16126
+ value: string;
16127
+ }[];
16128
+ group?: string;
16129
+ label: string;
16130
+ name: string;
16131
+ /** @enum {string} */
16132
+ type: 'select';
16133
+ } | {
16134
+ /** Format: double */
16135
+ max?: number;
16136
+ /** Format: double */
16137
+ min?: number;
16138
+ /** Format: double */
16139
+ default: number;
16140
+ group?: string;
16141
+ label: string;
16142
+ name: string;
16143
+ /** @enum {string} */
16144
+ type: 'number';
16145
+ } | {
16146
+ default: string;
16147
+ group?: string;
16148
+ label: string;
16149
+ name: string;
16150
+ /** @enum {string} */
16151
+ type: 'text';
16152
+ } | {
16153
+ default: string;
16154
+ group?: string;
16155
+ label: string;
16156
+ name: string;
16157
+ /** @enum {string} */
16158
+ type: 'color';
16159
+ };
16160
+ /**
16161
+ * @description Declared by a viz that colours from the resolved Lightdash palette. Not a
16162
+ * config option: it carries no value of its own, it only asks the config panel
16163
+ * for the standard palette picker, whose choice is stored as the chart's
16164
+ * palette and delivered on `colorPalette`. There is one palette per chart, so
16165
+ * a viz either declares this or it does not.
16166
+ */
16167
+ DataAppVizPaletteDeclaration: {
16168
+ /** @description Tab to place the picker in, matching a config option `group`. */
16169
+ group?: string;
16170
+ };
16171
+ /** @description The full declaration a data app viz emits: data-binding fields + config form. */
16172
+ DataAppVizSchema: {
16173
+ /** @description Null when the viz colours nothing from the resolved palette. */
16174
+ colorPalette: components['schemas']['DataAppVizPaletteDeclaration'] | null;
16175
+ configOptions: components['schemas']['DataAppVizConfigOption'][];
16176
+ fields: components['schemas']['DataAppVizField'][];
16177
+ };
16178
+ DataAppVizRenderMetadata: {
16179
+ latestBuildInProgress: boolean;
16180
+ schema: components['schemas']['DataAppVizSchema'];
16181
+ /** Format: double */
16182
+ version: number;
16183
+ /** @enum {string} */
16184
+ state: 'ready';
16185
+ } | {
16186
+ /** @enum {boolean} */
16187
+ latestBuildInProgress: true;
16188
+ /** @enum {string} */
16189
+ state: 'building';
16190
+ } | {
16191
+ /** @enum {boolean} */
16192
+ latestBuildInProgress: false;
16193
+ /** @enum {string} */
16194
+ state: 'failed';
16195
+ };
16196
+ ApiSuccess_DataAppVizRenderMetadata_: {
16197
+ results: components['schemas']['DataAppVizRenderMetadata'];
16198
+ /** @enum {string} */
16199
+ status: 'ok';
16200
+ };
16201
+ ApiDataAppVizRenderMetadataResponse: components['schemas']['ApiSuccess_DataAppVizRenderMetadata_'];
16202
+ 'ApiSuccess__token-string__': {
16203
+ results: {
16204
+ token: string;
16205
+ };
16206
+ /** @enum {string} */
16207
+ status: 'ok';
16208
+ };
16209
+ ApiDataAppVizPreviewTokenResponse: components['schemas']['ApiSuccess__token-string__'];
15592
16210
  'ApiSuccess__appUuid-string--version-number__': {
15593
16211
  results: {
15594
16212
  /** Format: double */
@@ -15601,6 +16219,8 @@ export interface components {
15601
16219
  ApiGenerateAppResponse: components['schemas']['ApiSuccess__appUuid-string--version-number__'];
15602
16220
  /** @enum {string} */
15603
16221
  DataAppTemplate: 'custom' | 'dashboard' | 'slideshow' | 'pdf' | 'data_app_viz';
16222
+ /** @enum {string} */
16223
+ DataAppCreationExperience: 'app_builder' | 'explorer_chart_config';
15604
16224
  /**
15605
16225
  * @description A saved-chart reference attached to a generation request.
15606
16226
  * `includeSampleData` is opt-in per chart: when true the backend runs the
@@ -15659,11 +16279,13 @@ export interface components {
15659
16279
  fileIds?: string[];
15660
16280
  /** @deprecated */
15661
16281
  imageIds?: string[];
16282
+ creationExperience?: components['schemas']['DataAppCreationExperience'];
15662
16283
  template?: components['schemas']['DataAppTemplate'];
15663
16284
  prompt: string;
15664
16285
  };
15665
16286
  /** @description Minimal app shape for the embed config's standalone-app allowlist picker. */
15666
16287
  EmbedProjectApp: {
16288
+ slug: string;
15667
16289
  name: string;
15668
16290
  appUuid: string;
15669
16291
  };
@@ -15673,77 +16295,6 @@ export interface components {
15673
16295
  status: 'ok';
15674
16296
  };
15675
16297
  ApiEmbedProjectAppsResponse: components['schemas']['ApiSuccess_EmbedProjectApp-Array_'];
15676
- /** @enum {string} */
15677
- DataAppVizFieldType: 'dimension' | 'metric' | 'series';
15678
- DataAppVizField: {
15679
- required: boolean;
15680
- type: components['schemas']['DataAppVizFieldType'];
15681
- label: string;
15682
- name: string;
15683
- };
15684
- DataAppVizConfigOption: {
15685
- default: boolean;
15686
- group?: string;
15687
- label: string;
15688
- name: string;
15689
- /** @enum {string} */
15690
- type: 'boolean';
15691
- } | {
15692
- default: string;
15693
- choices: {
15694
- label: string;
15695
- value: string;
15696
- }[];
15697
- group?: string;
15698
- label: string;
15699
- name: string;
15700
- /** @enum {string} */
15701
- type: 'select';
15702
- } | {
15703
- /** Format: double */
15704
- max?: number;
15705
- /** Format: double */
15706
- min?: number;
15707
- /** Format: double */
15708
- default: number;
15709
- group?: string;
15710
- label: string;
15711
- name: string;
15712
- /** @enum {string} */
15713
- type: 'number';
15714
- } | {
15715
- default: string;
15716
- group?: string;
15717
- label: string;
15718
- name: string;
15719
- /** @enum {string} */
15720
- type: 'text';
15721
- } | {
15722
- default: string;
15723
- group?: string;
15724
- label: string;
15725
- name: string;
15726
- /** @enum {string} */
15727
- type: 'color';
15728
- };
15729
- /**
15730
- * @description Declared by a viz that colours from the resolved Lightdash palette. Not a
15731
- * config option: it carries no value of its own, it only asks the config panel
15732
- * for the standard palette picker, whose choice is stored as the chart's
15733
- * palette and delivered on `colorPalette`. There is one palette per chart, so
15734
- * a viz either declares this or it does not.
15735
- */
15736
- DataAppVizPaletteDeclaration: {
15737
- /** @description Tab to place the picker in, matching a config option `group`. */
15738
- group?: string;
15739
- };
15740
- /** @description The full declaration a data app viz emits: data-binding fields + config form. */
15741
- DataAppVizSchema: {
15742
- /** @description Null when the viz colours nothing from the resolved palette. */
15743
- colorPalette: components['schemas']['DataAppVizPaletteDeclaration'] | null;
15744
- configOptions: components['schemas']['DataAppVizConfigOption'][];
15745
- fields: components['schemas']['DataAppVizField'][];
15746
- };
15747
16298
  DataAppViz: {
15748
16299
  createdByUserUuid: string;
15749
16300
  /** Format: date-time */
@@ -15813,6 +16364,29 @@ export interface components {
15813
16364
  status: 'ok';
15814
16365
  };
15815
16366
  ApiAppFileUploadResponse: components['schemas']['ApiSuccess__fileId-string--imageId_deprecated-true_-string--filename_description-Sanitizedoriginalfilename.canonicalizedserver-side._-string--mimeType_description-NormalizedMIMEtypeasstoredonthestagedS3object._-string__'];
16367
+ DataAppContextFile: {
16368
+ contentBase64: string;
16369
+ path: string;
16370
+ };
16371
+ DataAppThemeContext: {
16372
+ /** Format: double */
16373
+ skippedAssetCount: number;
16374
+ assets: components['schemas']['DataAppContextFile'][];
16375
+ instructions: components['schemas']['DataAppContextFile'] | null;
16376
+ };
16377
+ DataAppContext: {
16378
+ theme: components['schemas']['DataAppThemeContext'];
16379
+ promptHistory: components['schemas']['DataAppContextFile'];
16380
+ parameters: components['schemas']['DataAppContextFile'] | null;
16381
+ semanticLayerFiles?: components['schemas']['DataAppContextFile'][];
16382
+ semanticLayer: components['schemas']['DataAppContextFile'];
16383
+ };
16384
+ ApiSuccess_DataAppContext_: {
16385
+ results: components['schemas']['DataAppContext'];
16386
+ /** @enum {string} */
16387
+ status: 'ok';
16388
+ };
16389
+ ApiGetDataAppAuthoringContextResponse: components['schemas']['ApiSuccess_DataAppContext_'];
15816
16390
  /**
15817
16391
  * @description Exclude from T those types that are assignable to U
15818
16392
  * @enum {string}
@@ -15872,6 +16446,7 @@ export interface components {
15872
16446
  externalConnections?: components['schemas']['AppVersionExternalConnectionResource'][];
15873
16447
  charts: components['schemas']['AppVersionChartResource'][];
15874
16448
  files?: components['schemas']['AppVersionFileResource'][];
16449
+ creationExperience?: components['schemas']['DataAppCreationExperience'];
15875
16450
  images: components['schemas']['AppVersionImageResource'][];
15876
16451
  };
15877
16452
  AppVersionDependencyEntry: {
@@ -15900,13 +16475,16 @@ export interface components {
15900
16475
  /** Format: double */
15901
16476
  version: number;
15902
16477
  };
15903
- 'ApiSuccess__appUuid-string--name-string--description-string--createdByUserUuid-string--spaceUuid-string-or-null--spaceName-string-or-null--template-Exclude_DataAppTemplate.custom_-or-null--pinnedListUuid-string-or-null--pinnedListOrder-number-or-null--versions-ApiAppVersionSummary-Array--hasMore-boolean--latestReadyVersion-number-or-null__': {
16478
+ 'ApiSuccess__appUuid-string--name-string--description-string--createdByUserUuid-string--spaceUuid-string-or-null--spaceName-string-or-null--template-Exclude_DataAppTemplate.custom_-or-null--pinnedListUuid-string-or-null--pinnedListOrder-number-or-null--slug-string--views-number--versions-ApiAppVersionSummary-Array--hasMore-boolean--latestReadyVersion-number-or-null__': {
15904
16479
  results: {
15905
16480
  /** Format: double */
15906
16481
  latestReadyVersion: number | null;
15907
16482
  hasMore: boolean;
15908
16483
  versions: components['schemas']['ApiAppVersionSummary'][];
15909
16484
  /** Format: double */
16485
+ views: number;
16486
+ slug: string;
16487
+ /** Format: double */
15910
16488
  pinnedListOrder: number | null;
15911
16489
  pinnedListUuid: string | null;
15912
16490
  template: components['schemas']['Exclude_DataAppTemplate.custom_'] | null;
@@ -15920,7 +16498,9 @@ export interface components {
15920
16498
  /** @enum {string} */
15921
16499
  status: 'ok';
15922
16500
  };
15923
- ApiGetAppResponse: components['schemas']['ApiSuccess__appUuid-string--name-string--description-string--createdByUserUuid-string--spaceUuid-string-or-null--spaceName-string-or-null--template-Exclude_DataAppTemplate.custom_-or-null--pinnedListUuid-string-or-null--pinnedListOrder-number-or-null--versions-ApiAppVersionSummary-Array--hasMore-boolean--latestReadyVersion-number-or-null__'];
16501
+ ApiGetAppResponse: components['schemas']['ApiSuccess__appUuid-string--name-string--description-string--createdByUserUuid-string--spaceUuid-string-or-null--spaceName-string-or-null--template-Exclude_DataAppTemplate.custom_-or-null--pinnedListUuid-string-or-null--pinnedListOrder-number-or-null--slug-string--views-number--versions-ApiAppVersionSummary-Array--hasMore-boolean--latestReadyVersion-number-or-null__'];
16502
+ /** @description A resource UUID or its URL slug. Resolve to a real UUID before using as a key. */
16503
+ UuidOrSlug: string;
15924
16504
  ApiCancelAppVersionResponse: components['schemas']['ApiSuccessEmpty'];
15925
16505
  ApiRestoreAppVersionResponse: components['schemas']['ApiSuccess__appUuid-string--version-number__'];
15926
16506
  ApiDuplicateAppResponse: components['schemas']['ApiSuccess__appUuid-string--version-number__'];
@@ -16014,13 +16594,6 @@ export interface components {
16014
16594
  /** @enum {string} */
16015
16595
  status: 'ok';
16016
16596
  };
16017
- 'ApiSuccess__token-string__': {
16018
- results: {
16019
- token: string;
16020
- };
16021
- /** @enum {string} */
16022
- status: 'ok';
16023
- };
16024
16597
  ApiPreviewTokenResponse: components['schemas']['ApiSuccess__token-string__'];
16025
16598
  DataAppManifestExternalConnection: {
16026
16599
  connectionSlug: string;
@@ -16029,6 +16602,7 @@ export interface components {
16029
16602
  DataAppManifest: {
16030
16603
  scaffoldingVersion?: string;
16031
16604
  downloadedAt: string;
16605
+ spaceSlug?: string;
16032
16606
  externalConnections?: components['schemas']['DataAppManifestExternalConnection'][];
16033
16607
  vizSchema?: components['schemas']['DataAppVizSchema'];
16034
16608
  template: components['schemas']['Exclude_DataAppTemplate.custom_'] | null;
@@ -16037,7 +16611,7 @@ export interface components {
16037
16611
  /** Format: double */
16038
16612
  version: number;
16039
16613
  slug?: string;
16040
- projectUuid: string;
16614
+ projectUuid?: string;
16041
16615
  appUuid?: string;
16042
16616
  /** @enum {number} */
16043
16617
  codeVersion: 1;
@@ -16055,22 +16629,6 @@ export interface components {
16055
16629
  files: components['schemas']['DataAppCodeFile'][];
16056
16630
  manifest: components['schemas']['DataAppManifest'];
16057
16631
  };
16058
- DataAppContextFile: {
16059
- contentBase64: string;
16060
- path: string;
16061
- };
16062
- DataAppThemeContext: {
16063
- /** Format: double */
16064
- skippedAssetCount: number;
16065
- assets: components['schemas']['DataAppContextFile'][];
16066
- instructions: components['schemas']['DataAppContextFile'] | null;
16067
- };
16068
- DataAppContext: {
16069
- theme: components['schemas']['DataAppThemeContext'];
16070
- promptHistory: components['schemas']['DataAppContextFile'];
16071
- parameters: components['schemas']['DataAppContextFile'] | null;
16072
- semanticLayer: components['schemas']['DataAppContextFile'];
16073
- };
16074
16632
  DataAppCodeDownload: components['schemas']['DataAppCode'] & {
16075
16633
  context: components['schemas']['DataAppContext'];
16076
16634
  };
@@ -16080,14 +16638,12 @@ export interface components {
16080
16638
  status: 'ok';
16081
16639
  };
16082
16640
  ApiGetAppCodeResponse: components['schemas']['ApiSuccess_DataAppCodeDownload_'];
16083
- /** @description A resource UUID or its URL slug. Resolve to a real UUID before using as a key. */
16084
- UuidOrSlug: string;
16085
- 'ApiSuccess__appUuid-string--version-number--action-create-or-append--slug-string--warnings_63_-string-Array__': {
16641
+ 'ApiSuccess__appUuid-string--version-number--action-create-or-append-or-unchanged--slug-string--warnings_63_-string-Array__': {
16086
16642
  results: {
16087
16643
  warnings?: string[];
16088
16644
  slug: string;
16089
16645
  /** @enum {string} */
16090
- action: 'create' | 'append';
16646
+ action: 'create' | 'append' | 'unchanged';
16091
16647
  /** Format: double */
16092
16648
  version: number;
16093
16649
  appUuid: string;
@@ -16095,8 +16651,9 @@ export interface components {
16095
16651
  /** @enum {string} */
16096
16652
  status: 'ok';
16097
16653
  };
16098
- ApiImportAppCodeResponse: components['schemas']['ApiSuccess__appUuid-string--version-number--action-create-or-append--slug-string--warnings_63_-string-Array__'];
16654
+ ApiImportAppCodeResponse: components['schemas']['ApiSuccess__appUuid-string--version-number--action-create-or-append-or-unchanged--slug-string--warnings_63_-string-Array__'];
16099
16655
  ImportAppCodeRequestBody: {
16656
+ force?: boolean;
16100
16657
  createNew?: boolean;
16101
16658
  spaceUuid?: string;
16102
16659
  targetAppUuid?: string;
@@ -16331,6 +16888,8 @@ export interface components {
16331
16888
  status: 'ok';
16332
16889
  };
16333
16890
  ApiMyAppsResponse: components['schemas']['ApiSuccess__data-ApiAppSummary-Array--pagination_63_-KnexPaginateArgs-and-_totalPageCount-number--totalResults-number___'];
16891
+ /** @enum {string} */
16892
+ MyAppsSortBy: 'createdAt' | 'latestActivity';
16334
16893
  /**
16335
16894
  * @description What one generation cost, aggregated across every `claude` CLI invocation in
16336
16895
  * that version's pipeline — including build-fix retries.
@@ -16761,7 +17320,7 @@ export interface components {
16761
17320
  name: string;
16762
17321
  };
16763
17322
  /** @description From T, pick a set of properties whose keys are in the union K */
16764
- 'Pick_AiAgent.uuid-or-name-or-description-or-integrations-or-tags-or-projectUuid-or-organizationUuid-or-createdAt-or-updatedAt-or-instruction-or-imageUrl-or-imageUrlSource-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-adminOnly-or-modelConfig-or-version_': {
17323
+ 'Pick_AiAgent.uuid-or-name-or-description-or-integrations-or-tags-or-projectUuid-or-organizationUuid-or-createdAt-or-updatedAt-or-instruction-or-imageUrl-or-imageUrlSource-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-enableSqlMode-or-adminOnly-or-modelConfig-or-version_': {
16765
17324
  name: string;
16766
17325
  description: string | null;
16767
17326
  uuid: string;
@@ -16790,10 +17349,11 @@ export interface components {
16790
17349
  enableSelfImprovement: boolean;
16791
17350
  enableContentTools: boolean;
16792
17351
  enableUserContext: boolean;
17352
+ enableSqlMode: boolean;
16793
17353
  adminOnly: boolean;
16794
17354
  modelConfig: components['schemas']['AiAgentModelConfig'] | null;
16795
17355
  };
16796
- AiAgentSummary: components['schemas']['Pick_AiAgent.uuid-or-name-or-description-or-integrations-or-tags-or-projectUuid-or-organizationUuid-or-createdAt-or-updatedAt-or-instruction-or-imageUrl-or-imageUrlSource-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-adminOnly-or-modelConfig-or-version_'];
17356
+ AiAgentSummary: components['schemas']['Pick_AiAgent.uuid-or-name-or-description-or-integrations-or-tags-or-projectUuid-or-organizationUuid-or-createdAt-or-updatedAt-or-instruction-or-imageUrl-or-imageUrlSource-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-enableSqlMode-or-adminOnly-or-modelConfig-or-version_'];
16797
17357
  ApiAiAgentSummaryResponse: {
16798
17358
  results: components['schemas']['AiAgentSummary'][];
16799
17359
  /** @enum {string} */
@@ -16945,7 +17505,7 @@ export interface components {
16945
17505
  };
16946
17506
  ApiAiAgentProjectThreadSummaryListResponse: components['schemas']['ApiSuccess_KnexPaginatedData_AiAgentProjectThreadSummary-Array__'];
16947
17507
  /** @description From T, pick a set of properties whose keys are in the union K */
16948
- 'Pick_BaseAiAgent.uuid-or-projectUuid-or-organizationUuid-or-integrations-or-tags-or-name-or-description-or-createdAt-or-updatedAt-or-instruction-or-imageUrl-or-imageUrlSource-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-adminOnly-or-modelConfig-or-version_': {
17508
+ 'Pick_BaseAiAgent.uuid-or-projectUuid-or-organizationUuid-or-integrations-or-tags-or-name-or-description-or-createdAt-or-updatedAt-or-instruction-or-imageUrl-or-imageUrlSource-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-enableSqlMode-or-adminOnly-or-modelConfig-or-version_': {
16949
17509
  name: string;
16950
17510
  description: string | null;
16951
17511
  uuid: string;
@@ -16974,10 +17534,11 @@ export interface components {
16974
17534
  enableSelfImprovement: boolean;
16975
17535
  enableContentTools: boolean;
16976
17536
  enableUserContext: boolean;
17537
+ enableSqlMode: boolean;
16977
17538
  adminOnly: boolean;
16978
17539
  modelConfig: components['schemas']['AiAgentModelConfig'] | null;
16979
17540
  };
16980
- AiAgent: components['schemas']['Pick_BaseAiAgent.uuid-or-projectUuid-or-organizationUuid-or-integrations-or-tags-or-name-or-description-or-createdAt-or-updatedAt-or-instruction-or-imageUrl-or-imageUrlSource-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-adminOnly-or-modelConfig-or-version_'];
17541
+ AiAgent: components['schemas']['Pick_BaseAiAgent.uuid-or-projectUuid-or-organizationUuid-or-integrations-or-tags-or-name-or-description-or-createdAt-or-updatedAt-or-instruction-or-imageUrl-or-imageUrlSource-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-enableSqlMode-or-adminOnly-or-modelConfig-or-version_'];
16981
17542
  ApiAiAgentResponse: {
16982
17543
  results: components['schemas']['AiAgent'];
16983
17544
  /** @enum {string} */
@@ -16994,7 +17555,7 @@ export interface components {
16994
17555
  type: 'field';
16995
17556
  };
16996
17557
  /** @enum {string} */
16997
- AiAgentMemoryStatus: 'active' | 'superseded' | 'retired';
17558
+ AiAgentMemoryStatus: 'active' | 'superseded' | 'retired' | 'promoted';
16998
17559
  /**
16999
17560
  * @description Never affects which memories are recalled: selection, pull, ranking and
17000
17561
  * access all filter on ownership alone. The label IS rendered into the injected
@@ -17010,7 +17571,14 @@ export interface components {
17010
17571
  agentUuid: string | null;
17011
17572
  slug: string;
17012
17573
  };
17574
+ /** @enum {string} */
17575
+ AiAgentReviewItemStatus: 'triage' | 'open' | 'in_progress' | 'resolved' | 'dismissed' | 'duplicate';
17013
17576
  AiAgentMemory: {
17577
+ promotionReviewItem: {
17578
+ blocksNewNomination: boolean;
17579
+ status: components['schemas']['AiAgentReviewItemStatus'];
17580
+ uuid: string;
17581
+ } | null;
17014
17582
  replacementSlug: string | null;
17015
17583
  provenance: {
17016
17584
  source: components['schemas']['AiAgentMemorySource'];
@@ -17205,6 +17773,7 @@ export interface components {
17205
17773
  modelConfig?: components['schemas']['AiAgentModelConfig'] | null;
17206
17774
  mcpServerUuids?: string[];
17207
17775
  adminOnly?: boolean;
17776
+ enableSqlMode?: boolean;
17208
17777
  enableUserContext?: boolean;
17209
17778
  enableContentTools?: boolean;
17210
17779
  };
@@ -17235,6 +17804,7 @@ export interface components {
17235
17804
  };
17236
17805
  ApiUpdateAiAgent: components['schemas']['Partial_Pick_AiAgent.projectUuid-or-integrations-or-tags-or-name-or-description-or-instruction-or-imageUrl-or-groupAccess-or-userAccess-or-spaceAccess-or-enableDataAccess-or-enableSelfImprovement-or-enableContentTools-or-enableUserContext-or-adminOnly-or-modelConfig-or-version__'] & {
17237
17806
  mcpServerUuids?: string[];
17807
+ enableSqlMode?: boolean;
17238
17808
  uuid: string;
17239
17809
  };
17240
17810
  ApiSuccess_AiAgent_: {
@@ -17561,7 +18131,7 @@ export interface components {
17561
18131
  * @description Exclude from T those types that are assignable to U
17562
18132
  * @enum {string}
17563
18133
  */
17564
- 'Exclude_ToolName.never_': 'generateDashboard' | 'generateVisualization' | 'runSql' | 'findContent' | 'generateBarVizConfig' | 'generateTableVizConfig' | 'generateTimeSeriesVizConfig' | 'generateHashes' | 'generateUuids' | 'listContent' | 'findExplores' | 'findFields' | 'searchSemanticLayer' | 'analyzeFieldImpact' | 'discoverFields' | 'grepFields' | 'getMetadata' | 'searchFieldValues' | 'findDashboards' | 'findCharts' | 'getDashboardCharts' | 'readContent' | 'resolveUrl' | 'editContent' | 'createContent' | 'createScheduledDelivery' | 'updateUserName' | 'runContentQuery' | 'improveContext' | 'listProjects' | 'getProjectInfo' | 'loadSkill' | 'loadProjectContext' | 'editDbtProject' | 'editProjectContext' | 'editRepo' | 'syncDbtProject' | 'exploreRepo' | 'discoverRepos' | 'listWorkstreams' | 'closePullRequest' | 'getPullRequestDiff' | 'setupPreviewDeploy' | 'runQuery' | 'runSavedChart' | 'listWarehouseTables' | 'describeWarehouseTable' | 'listKnowledgeDocuments' | 'getKnowledgeDocumentContent' | 'readPinnedThread' | 'submitResearchReport';
18134
+ 'Exclude_ToolName.never_': 'generateDashboard' | 'generateVisualization' | 'runSql' | 'findContent' | 'generateBarVizConfig' | 'generateTableVizConfig' | 'generateTimeSeriesVizConfig' | 'generateHashes' | 'generateUuids' | 'listContent' | 'findExplores' | 'findFields' | 'searchSemanticLayer' | 'analyzeFieldImpact' | 'discoverFields' | 'grepFields' | 'getMetadata' | 'searchFieldValues' | 'findDashboards' | 'findCharts' | 'getDashboardCharts' | 'readContent' | 'resolveUrl' | 'editContent' | 'createContent' | 'createScheduledDelivery' | 'updateUserName' | 'runContentQuery' | 'listProjects' | 'getProjectInfo' | 'loadSkill' | 'loadProjectContext' | 'loadMcpTools' | 'editDbtProject' | 'editProjectContext' | 'editRepo' | 'syncDbtProject' | 'exploreRepo' | 'discoverRepos' | 'listWorkstreams' | 'closePullRequest' | 'getPullRequestDiff' | 'setupPreviewDeploy' | 'runQuery' | 'runSavedChart' | 'listWarehouseTables' | 'describeWarehouseTable' | 'listKnowledgeDocuments' | 'getKnowledgeDocumentContent' | 'readPinnedThread' | 'submitResearchReport' | 'delegateResearchTask' | 'submitWorkerFindings';
17565
18135
  AiAgentToolResult: components['schemas']['AiAgentBaseToolResult'] & ({
17566
18136
  metadata: {
17567
18137
  /** @enum {string} */
@@ -18005,8 +18575,7 @@ export interface components {
18005
18575
  * @description Per-thread toggle that decides whether the agent gets access to the
18006
18576
  * runSql / listWarehouseTables / describeWarehouseTable tools for this
18007
18577
  * stream. Frontend tracks the toggle in its slice; passed in on every
18008
- * stream call. Falls back to `false` when omitted (e.g. older clients,
18009
- * API callers) so the safer "semantic layer only" mode is the default.
18578
+ * stream call. Falls back to the agent-level default when omitted.
18010
18579
  */
18011
18580
  enableSqlMode?: boolean;
18012
18581
  };
@@ -19595,6 +20164,12 @@ export interface components {
19595
20164
  status: 'ok';
19596
20165
  };
19597
20166
  ApiAgentOnboardingRunResponse: components['schemas']['ApiSuccess_AgentOnboardingRun_'];
20167
+ 'ApiSuccess_AgentOnboardingRun-or-null_': {
20168
+ results: components['schemas']['AgentOnboardingRun'] | null;
20169
+ /** @enum {string} */
20170
+ status: 'ok';
20171
+ };
20172
+ ApiAgentOnboardingActiveRunResponse: components['schemas']['ApiSuccess_AgentOnboardingRun-or-null_'];
19598
20173
  AgentOnboardingFileContent: components['schemas']['AgentOnboardingFile'] & {
19599
20174
  /** @enum {string} */
19600
20175
  encoding: 'utf8' | 'base64';
@@ -19606,6 +20181,19 @@ export interface components {
19606
20181
  status: 'ok';
19607
20182
  };
19608
20183
  ApiAgentOnboardingFileResponse: components['schemas']['ApiSuccess_AgentOnboardingFileContent_'];
20184
+ /** @enum {string} */
20185
+ SkippableHomepageRecommendedActionKey: 'add-semantic-layer' | 'connect-source-control' | 'connect-slack';
20186
+ 'ApiSuccess_SkippableHomepageRecommendedActionKey-Array_': {
20187
+ results: components['schemas']['SkippableHomepageRecommendedActionKey'][];
20188
+ /** @enum {string} */
20189
+ status: 'ok';
20190
+ };
20191
+ ApiHomepageRecommendedActionSkipsResponse: components['schemas']['ApiSuccess_SkippableHomepageRecommendedActionKey-Array_'];
20192
+ /** @enum {string} */
20193
+ HomepageRecommendedActionKey: 'connect-warehouse' | 'add-semantic-layer' | 'connect-source-control' | 'connect-slack';
20194
+ SkipHomepageRecommendedActionRequest: {
20195
+ actionKey: components['schemas']['HomepageRecommendedActionKey'];
20196
+ };
19609
20197
  Role: {
19610
20198
  /** Format: date-time */
19611
20199
  updatedAt: string | null;
@@ -19949,10 +20537,9 @@ export interface components {
19949
20537
  };
19950
20538
  /**
19951
20539
  * @description The repositories the agent can read for a project, used by the chat input's
19952
- * `@`-mention repository picker. This is the same union the agent's repo VFS
19953
- * mounts (the org installation's repos plus the linked user's own), gated by the
19954
- * project's `view:SourceCode` ability — unlike the org-wide `/github/repos/list`
19955
- * endpoint, it never exposes repo names to users without source-code access.
20540
+ * `@`-mention repository picker. The organization installation authorizes only
20541
+ * the project's configured repository; additional repositories require the
20542
+ * linked user's own provider access.
19956
20543
  */
19957
20544
  ApiProjectRepositoriesResponse: {
19958
20545
  results: components['schemas']['GitRepo'][];
@@ -19962,72 +20549,28 @@ export interface components {
19962
20549
  /** @enum {string} */
19963
20550
  AiDeepResearchEntryPoint: 'homepage' | 'ask_ai';
19964
20551
  /** @enum {string} */
19965
- AiDeepResearchEffort: 'high' | 'medium' | 'low' | 'xhigh';
19966
- /** @enum {string} */
19967
20552
  AiDeepResearchRunStatus: 'queued' | 'running' | 'failed' | 'completed' | 'cancelled' | 'partially_completed';
19968
- AiDeepResearchChartConfig: {
19969
- secondaryYAxisLabel: string | null;
19970
- secondaryYAxisMetric: string | null;
19971
- yAxisLabel: string;
19972
- xAxisLabel: string;
19973
- /** @enum {string|null} */
19974
- funnelDataInput: 'row' | 'column' | null;
19975
- /** @enum {string|null} */
19976
- lineType: 'line' | 'area' | null;
19977
- stackBars: boolean | null;
19978
- /** @enum {string|null} */
19979
- xAxisType: 'category' | 'time' | null;
19980
- groupBy: string[] | null;
19981
- yAxisMetrics: string[] | null;
19982
- xAxisDimension: string | null;
19983
- /** @enum {string} */
19984
- defaultVizType: 'table' | 'bar' | 'horizontal' | 'line' | 'scatter' | 'pie' | 'funnel';
19985
- };
19986
- AiDeepResearchChartSnapshotValue: (string | number | boolean) | null;
19987
- /** @description The rendered dataset of a report chart, frozen at publish time. */
19988
- AiDeepResearchChartSnapshot: {
19989
- /** @description Raw row values ordered by `columnOrder`; formatted client-side. */
19990
- rows: components['schemas']['AiDeepResearchChartSnapshotValue'][][];
19991
- /** @description Field ids ordering the values in each row. */
19992
- columnOrder: string[];
19993
- truncated: boolean;
19994
- /** Format: double */
19995
- rowCount: number;
19996
- takenAt: string;
19997
- };
19998
- /**
19999
- * @description Everything the UI needs to render one report chart, keyed by chart key in
20000
- * `AiDeepResearchRun.resultChartData`. Written entirely by the backend at
20001
- * publish time; the markdown only carries compact <chart> references.
20002
- */
20003
- AiDeepResearchChartData: {
20004
- /** @description Null only for reports persisted before snapshots existed. */
20005
- snapshot: components['schemas']['AiDeepResearchChartSnapshot'] | null;
20006
- /** @description Selected + filter fields; drives labels and value formatting. */
20007
- fields: components['schemas']['ItemsMap'];
20008
- /** @description Real for warehouse charts, synthesized for inline ones. */
20009
- metricQuery: components['schemas']['MetricQuery'];
20010
- /** @description Inline charts: verified executions the data was derived from. */
20011
- derivedFrom: string[] | null;
20012
- /** @description Warehouse charts: the verified execution this chart is evidence of. */
20013
- queryUuid: string | null;
20014
- chartConfig: components['schemas']['AiDeepResearchChartConfig'];
20015
- title: string;
20016
- /** @enum {string} */
20017
- source: 'warehouse' | 'inline';
20018
- };
20019
- /** @description Construct a type with a set of properties K of type T */
20020
- 'Record_string.AiDeepResearchChartData_': {
20021
- [key: string]: components['schemas']['AiDeepResearchChartData'];
20022
- };
20023
- AiDeepResearchChartDataMap: components['schemas']['Record_string.AiDeepResearchChartData_'];
20024
- AiDeepResearchBudget: {
20025
- /** Format: double */
20026
- maxResultRows: number;
20553
+ AiDeepResearchLimits: {
20554
+ /**
20555
+ * Format: double
20556
+ * @description Wall-clock ceiling for the research loop.
20557
+ */
20558
+ deadlineMs: number;
20027
20559
  /** Format: double */
20028
20560
  maxWarehouseQueries: number;
20029
20561
  /** Format: double */
20030
20562
  maxToolCalls: number;
20563
+ /**
20564
+ * Format: double
20565
+ * @description Model steps the coordinator may take before it must finish.
20566
+ */
20567
+ maxSteps: number;
20568
+ /** Format: double */
20569
+ maxTokens: number;
20570
+ };
20571
+ AiDeepResearchBudget: components['schemas']['AiDeepResearchLimits'] & {
20572
+ /** Format: double */
20573
+ maxResultRows: number;
20031
20574
  };
20032
20575
  AiDeepResearchExecutionContextSnapshot: {
20033
20576
  effectivePermissions: {
@@ -20055,7 +20598,7 @@ export interface components {
20055
20598
  uuid: string;
20056
20599
  }[];
20057
20600
  tools: {
20058
- selectedMcpServers: {
20601
+ attachedMcpServers: {
20059
20602
  enabledToolNames: string[];
20060
20603
  name: string;
20061
20604
  uuid: string;
@@ -20089,6 +20632,33 @@ export interface components {
20089
20632
  /** @enum {number} */
20090
20633
  schemaVersion: 1;
20091
20634
  };
20635
+ AiDeepResearchRunMetrics: {
20636
+ /** Format: double */
20637
+ chartCount: number | null;
20638
+ /** Format: double */
20639
+ findingsCount: number | null;
20640
+ /** Format: double */
20641
+ warehouseQueryCount: number | null;
20642
+ /** Format: double */
20643
+ toolErrorCount: number | null;
20644
+ /** Format: double */
20645
+ toolCallCount: number | null;
20646
+ tokenUsageComplete: boolean | null;
20647
+ /** Format: double */
20648
+ totalTokens: number | null;
20649
+ /** Format: double */
20650
+ reasoningTokens: number | null;
20651
+ /** Format: double */
20652
+ cacheWriteTokens: number | null;
20653
+ /** Format: double */
20654
+ cacheReadTokens: number | null;
20655
+ /** Format: double */
20656
+ outputTokens: number | null;
20657
+ /** Format: double */
20658
+ inputTokens: number | null;
20659
+ /** Format: double */
20660
+ durationMs: number | null;
20661
+ };
20092
20662
  AiDeepResearchRun: {
20093
20663
  completedAt: string | null;
20094
20664
  startedAt: string | null;
@@ -20096,17 +20666,17 @@ export interface components {
20096
20666
  createdAt: string;
20097
20667
  cancellationRequestedAt: string | null;
20098
20668
  errorMessage: string | null;
20669
+ metrics: components['schemas']['AiDeepResearchRunMetrics'];
20099
20670
  executionContextSnapshot: components['schemas']['AiDeepResearchExecutionContextSnapshot'] | null;
20100
20671
  budget: components['schemas']['AiDeepResearchBudget'];
20101
- /** @description Render data for each referenced chart, keyed by chart key. */
20102
- resultChartData: components['schemas']['AiDeepResearchChartDataMap'] | null;
20672
+ isReportExpired: boolean;
20673
+ reportExpiredAt: string | null;
20674
+ reportExpiresAt: string | null;
20103
20675
  /** @description The report narrative with compact <chart> references. */
20104
20676
  resultMarkdown: string | null;
20105
20677
  status: components['schemas']['AiDeepResearchRunStatus'];
20106
20678
  prompt: string;
20107
- effort: components['schemas']['AiDeepResearchEffort'];
20108
20679
  entryPoint: components['schemas']['AiDeepResearchEntryPoint'];
20109
- mcpServerUuids: string[];
20110
20680
  promptUuid: string;
20111
20681
  aiThreadUuid: string;
20112
20682
  agentUuid: string;
@@ -20122,14 +20692,10 @@ export interface components {
20122
20692
  AiDeepResearchRequestBody: {
20123
20693
  /** @description Product surface that accepted the run. */
20124
20694
  entryPoint: components['schemas']['AiDeepResearchEntryPoint'];
20125
- /** @description Agent-attached MCP servers enabled for this run. */
20126
- mcpServerUuids: string[];
20127
20695
  /** @description Thread message that captured this prompt. */
20128
20696
  promptUuid: string;
20129
20697
  /** @description Agent thread to attach the run to. Must be owned by the caller. */
20130
20698
  threadUuid: string;
20131
- /** @description Server-owned execution budget tier. Defaults to medium. */
20132
- effort?: components['schemas']['AiDeepResearchEffort'];
20133
20699
  /** @description Agent whose complete runtime configuration will execute this run. */
20134
20700
  agentUuid: string;
20135
20701
  prompt: string;
@@ -20140,6 +20706,46 @@ export interface components {
20140
20706
  status: 'ok';
20141
20707
  };
20142
20708
  ApiAiDeepResearchRunListResponse: components['schemas']['ApiSuccess_AiDeepResearchRun-Array_'];
20709
+ AiDeepResearchChartConfig: {
20710
+ secondaryYAxisLabel: string | null;
20711
+ secondaryYAxisMetric: string | null;
20712
+ yAxisLabel: string;
20713
+ xAxisLabel: string;
20714
+ /** @enum {string|null} */
20715
+ funnelDataInput: 'row' | 'column' | null;
20716
+ /** @enum {string|null} */
20717
+ lineType: 'line' | 'area' | null;
20718
+ stackBars: boolean | null;
20719
+ /** @enum {string|null} */
20720
+ xAxisType: 'category' | 'time' | null;
20721
+ groupBy: string[] | null;
20722
+ yAxisMetrics: string[] | null;
20723
+ xAxisDimension: string | null;
20724
+ /** @enum {string} */
20725
+ defaultVizType: 'table' | 'bar' | 'horizontal' | 'line' | 'scatter' | 'pie' | 'funnel';
20726
+ };
20727
+ /**
20728
+ * @description Everything the UI needs to render one report chart. Derived on demand from
20729
+ * the execution the chart references; the markdown only carries compact
20730
+ * <chart> references.
20731
+ */
20732
+ AiDeepResearchChartData: {
20733
+ /** @description Selected + filter fields; drives labels and value formatting. */
20734
+ fields: components['schemas']['ItemsMap'];
20735
+ metricQuery: components['schemas']['MetricQuery'];
20736
+ /** @description The verified execution this chart is evidence of. */
20737
+ queryUuid: string;
20738
+ chartConfig: components['schemas']['AiDeepResearchChartConfig'];
20739
+ title: string;
20740
+ /** @enum {string} */
20741
+ source: 'warehouse';
20742
+ };
20743
+ ApiSuccess_AiDeepResearchChartData_: {
20744
+ results: components['schemas']['AiDeepResearchChartData'];
20745
+ /** @enum {string} */
20746
+ status: 'ok';
20747
+ };
20748
+ ApiAiDeepResearchChartResponse: components['schemas']['ApiSuccess_AiDeepResearchChartData_'];
20143
20749
  /** @description Construct a type with a set of properties K of type T */
20144
20750
  'Record_string.never_': Record<string, never>;
20145
20751
  /** @enum {string} */
@@ -20190,12 +20796,75 @@ export interface components {
20190
20796
  status: 'ok';
20191
20797
  };
20192
20798
  ApiAiDeepResearchEventsResponse: components['schemas']['ApiSuccess_AiDeepResearchEventsPage_'];
20799
+ /** @description A memory list row as its owner sees it. Not shared with the admin list row. */
20800
+ AiAgentUserMemoryItem: {
20801
+ generatedAt: string;
20802
+ lastPulledAt: string | null;
20803
+ /** Format: double */
20804
+ pulledCount: number;
20805
+ lastCitedAt: string | null;
20806
+ /** Format: double */
20807
+ citedCount: number;
20808
+ sourceThreadUuid: string | null;
20809
+ agent: {
20810
+ imageUrl: string | null;
20811
+ name: string;
20812
+ uuid: string;
20813
+ } | null;
20814
+ scope: components['schemas']['AiAgentMemoryScope'];
20815
+ status: components['schemas']['AiAgentMemoryStatus'];
20816
+ summary: string;
20817
+ title: string;
20818
+ slug: string;
20819
+ uuid: string;
20820
+ };
20821
+ AiAgentUserMemoriesSummary: {
20822
+ memories: components['schemas']['AiAgentUserMemoryItem'][];
20823
+ };
20824
+ KnexPaginatedData_AiAgentUserMemoriesSummary_: {
20825
+ pagination?: components['schemas']['KnexPaginateArgs'] & {
20826
+ /** Format: double */
20827
+ totalResults: number;
20828
+ /** Format: double */
20829
+ totalPageCount: number;
20830
+ };
20831
+ data: components['schemas']['AiAgentUserMemoriesSummary'];
20832
+ };
20833
+ ApiSuccess_KnexPaginatedData_AiAgentUserMemoriesSummary__: {
20834
+ results: components['schemas']['KnexPaginatedData_AiAgentUserMemoriesSummary_'];
20835
+ /** @enum {string} */
20836
+ status: 'ok';
20837
+ };
20838
+ ApiAiAgentUserMemoriesResponse: components['schemas']['ApiSuccess_KnexPaginatedData_AiAgentUserMemoriesSummary__'];
20839
+ /** @description From T, pick a set of properties whose keys are in the union K */
20840
+ 'Pick_AiAgentReviewItemSummary.uuid-or-fingerprint-or-status_': {
20841
+ uuid: string;
20842
+ fingerprint: string;
20843
+ status: components['schemas']['AiAgentReviewItemStatus'];
20844
+ };
20845
+ 'ApiSuccess_Pick_AiAgentReviewItemSummary.uuid-or-fingerprint-or-status__': {
20846
+ results: components['schemas']['Pick_AiAgentReviewItemSummary.uuid-or-fingerprint-or-status_'];
20847
+ /** @enum {string} */
20848
+ status: 'ok';
20849
+ };
20850
+ ApiPromoteAiAgentMemoryResponse: components['schemas']['ApiSuccess_Pick_AiAgentReviewItemSummary.uuid-or-fingerprint-or-status__'];
20851
+ PromoteAiAgentMemory: {
20852
+ reason?: string;
20853
+ };
20193
20854
  ApiUpdateAiAgentMemoryStatusResponse: components['schemas']['ApiSuccessEmpty'];
20194
20855
  /** @enum {string} */
20195
20856
  AiAgentMemoryEditableStatus: 'active' | 'retired';
20196
20857
  ApiUpdateAiAgentMemoryStatusRequest: {
20197
20858
  status: components['schemas']['AiAgentMemoryEditableStatus'];
20198
20859
  };
20860
+ 'ApiSuccess__jobId-string__': {
20861
+ results: {
20862
+ jobId: string;
20863
+ };
20864
+ /** @enum {string} */
20865
+ status: 'ok';
20866
+ };
20867
+ ApiTriggerAiAgentMemoryDistillResponse: components['schemas']['ApiSuccess__jobId-string__'];
20199
20868
  /** @description From T, pick a set of properties whose keys are in the union K */
20200
20869
  'Pick_AiAgentThreadSummary_AiAgentUser-and-_slackUserId-string-or-null--email-string-or-null__.user-or-createdAt-or-createdFrom-or-title-or-uuid_': {
20201
20870
  uuid: string;
@@ -20261,9 +20930,9 @@ export interface components {
20261
20930
  'Pick_AiAgentEvaluationRunSummary.runUuid-or-status-or-createdAt-or-completedAt_': {
20262
20931
  /** Format: date-time */
20263
20932
  createdAt: string;
20264
- runUuid: string;
20265
20933
  /** @enum {string} */
20266
20934
  status: 'pending' | 'running' | 'failed' | 'completed';
20935
+ runUuid: string;
20267
20936
  /** Format: date-time */
20268
20937
  completedAt: string | null;
20269
20938
  };
@@ -20474,12 +21143,10 @@ export interface components {
20474
21143
  /** @enum {string} */
20475
21144
  AiAgentAdminMemorySortField: 'generatedAt' | 'citedCount';
20476
21145
  /** @enum {string} */
20477
- AiAgentReviewItemSource: 'ai_finding' | 'manual';
21146
+ AiAgentReviewItemSource: 'ai_finding' | 'manual' | 'memory';
20478
21147
  /** @enum {string} */
20479
21148
  AiAgentReviewItemPriority: 'urgent' | 'high' | 'medium' | 'low' | 'none';
20480
21149
  /** @enum {string} */
20481
- AiAgentReviewItemStatus: 'triage' | 'open' | 'in_progress' | 'resolved' | 'dismissed' | 'duplicate';
20482
- /** @enum {string} */
20483
21150
  AiAgentReviewItemDismissedReason: 'not_actionable' | 'expected_behavior' | 'duplicate' | 'low_confidence' | 'other';
20484
21151
  /** @enum {string} */
20485
21152
  AiAgentReviewItemOwnerType: 'semantic_layer_owner' | 'agent_admin' | 'product' | 'support' | 'unknown';
@@ -20526,7 +21193,7 @@ export interface components {
20526
21193
  /** @enum {string} */
20527
21194
  AiAgentReviewItemWritebackStrategy: 'semantic_layer' | 'project_context';
20528
21195
  /** @enum {string} */
20529
- AiAgentReviewItemWritebackBlockedReason: 'reviews_disabled' | 'unsupported_root_cause' | 'missing_project' | 'missing_agent' | 'missing_project_context_entry' | 'project_context_disabled' | 'unsupported_source_control' | 'git_app_not_installed' | 'missing_writeback_config' | 'pull_request_open' | 'source_thread_writeback_exists' | 'terminal_state' | 'writeback_in_progress';
21196
+ AiAgentReviewItemWritebackBlockedReason: 'reviews_disabled' | 'unsupported_root_cause' | 'missing_project' | 'missing_agent' | 'missing_project_context_entry' | 'project_context_disabled' | 'insufficient_source_code_access' | 'unsupported_source_control' | 'git_app_not_installed' | 'missing_writeback_config' | 'pull_request_open' | 'source_thread_writeback_exists' | 'terminal_state' | 'writeback_in_progress';
20530
21197
  AiAgentReviewItemWritebackEligibility: {
20531
21198
  /** @enum {number|null} */
20532
21199
  reason: null;
@@ -20593,6 +21260,16 @@ export interface components {
20593
21260
  * writebackEligibility for the blocking reason and provider.
20594
21261
  */
20595
21262
  writebackEligible: boolean;
21263
+ nominator: {
21264
+ email: string | null;
21265
+ name: string | null;
21266
+ } | null;
21267
+ nominationReason: string | null;
21268
+ sourceMemory: {
21269
+ slug: string;
21270
+ uuid: string;
21271
+ } | null;
21272
+ projectContextEntry: components['schemas']['AiAgentJudgeProjectContextEntry'] | null;
20596
21273
  };
20597
21274
  'ApiSuccess_AiAgentReviewItemSummary-Array_': {
20598
21275
  results: components['schemas']['AiAgentReviewItemSummary'][];
@@ -20972,7 +21649,11 @@ export interface components {
20972
21649
  dataAppModelVisibility?: components['schemas']['DataAppModelVisibility'] | null;
20973
21650
  modelVisibility?: components['schemas']['AiOrgModelVisibility'] | null;
20974
21651
  defaultAiAgentModelConfig: components['schemas']['AiAgentModelConfig'] | null;
21652
+ requireExplicitSlackChannelLinking?: boolean;
20975
21653
  mcpContentWritesEnabled: boolean;
21654
+ deepResearchRawSqlEnabled: boolean;
21655
+ deepResearchLimits: components['schemas']['AiDeepResearchLimits'];
21656
+ aiAgentMemoryEnabled: boolean;
20976
21657
  aiAgentReviewsEnabled: boolean;
20977
21658
  aiAgentsVisible: boolean;
20978
21659
  organizationUuid: string;
@@ -21005,7 +21686,11 @@ export interface components {
21005
21686
  dataAppModelVisibility?: components['schemas']['DataAppModelVisibility'] | null;
21006
21687
  modelVisibility?: components['schemas']['AiOrgModelVisibility'] | null;
21007
21688
  defaultAiAgentModelConfig?: components['schemas']['AiAgentModelConfig'] | null;
21689
+ requireExplicitSlackChannelLinking?: boolean;
21008
21690
  mcpContentWritesEnabled?: boolean;
21691
+ deepResearchRawSqlEnabled?: boolean;
21692
+ deepResearchLimits?: components['schemas']['AiDeepResearchLimits'];
21693
+ aiAgentMemoryEnabled?: boolean;
21009
21694
  aiAgentReviewsEnabled?: boolean;
21010
21695
  aiAgentsVisible?: boolean;
21011
21696
  };
@@ -21111,11 +21796,11 @@ export interface components {
21111
21796
  status: 'ok';
21112
21797
  };
21113
21798
  /** @enum {string} */
21114
- ValidationTarget: 'charts' | 'dashboards' | 'tables';
21799
+ ValidationTarget: 'apps' | 'charts' | 'dashboards' | 'tables';
21115
21800
  /** @enum {string} */
21116
21801
  ValidationErrorType: 'chart' | 'sorting' | 'filter' | 'metric' | 'model' | 'dimension' | 'custom metric' | 'chart configuration';
21117
21802
  /** @enum {string} */
21118
- ValidationSourceType: 'chart' | 'dashboard' | 'table';
21803
+ ValidationSourceType: 'chart' | 'dashboard' | 'data_app' | 'table';
21119
21804
  ValidationResponseBase: {
21120
21805
  source?: components['schemas']['ValidationSourceType'];
21121
21806
  spaceUuid?: string;
@@ -21178,7 +21863,18 @@ export interface components {
21178
21863
  ValidationErrorTableResponse: components['schemas']['Omit_ValidationResponseBase.name_'] & {
21179
21864
  name?: string;
21180
21865
  };
21181
- ValidationResponse: components['schemas']['ValidationErrorChartResponse'] | components['schemas']['ValidationErrorDashboardResponse'] | components['schemas']['ValidationErrorTableResponse'];
21866
+ /** @enum {string} */
21867
+ 'ValidationSourceType.DataApp': 'data_app';
21868
+ ValidationErrorDataAppResponse: components['schemas']['ValidationResponseBase'] & {
21869
+ /** Format: date-time */
21870
+ lastUpdatedAt?: string;
21871
+ lastUpdatedBy?: string;
21872
+ modelName?: string;
21873
+ fieldName?: string;
21874
+ appUuid?: string;
21875
+ source: components['schemas']['ValidationSourceType.DataApp'];
21876
+ };
21877
+ ValidationResponse: components['schemas']['ValidationErrorChartResponse'] | components['schemas']['ValidationErrorDashboardResponse'] | components['schemas']['ValidationErrorTableResponse'] | components['schemas']['ValidationErrorDataAppResponse'];
21182
21878
  ApiValidateResponse: {
21183
21879
  results: components['schemas']['ValidationResponse'][];
21184
21880
  /** @enum {string} */
@@ -21327,6 +22023,23 @@ export interface components {
21327
22023
  /** @enum {string} */
21328
22024
  status: 'ok';
21329
22025
  };
22026
+ /** @description Construct a type with a set of properties K of type T */
22027
+ 'Record_UserOnboardingTour.boolean_': {
22028
+ memoryTour: boolean;
22029
+ };
22030
+ UserOnboarding: {
22031
+ completedTours: components['schemas']['Record_UserOnboardingTour.boolean_'];
22032
+ };
22033
+ ApiGetUserOnboardingResponse: {
22034
+ results: components['schemas']['UserOnboarding'];
22035
+ /** @enum {string} */
22036
+ status: 'ok';
22037
+ };
22038
+ /** @enum {string} */
22039
+ UserOnboardingTour: 'memoryTour';
22040
+ ApiCompleteUserOnboardingTourRequest: {
22041
+ tour: components['schemas']['UserOnboardingTour'];
22042
+ };
21330
22043
  UserAllowedOrganization: {
21331
22044
  /** Format: double */
21332
22045
  membersCount: number;
@@ -21914,17 +22627,6 @@ export interface components {
21914
22627
  /** @enum {string} */
21915
22628
  status: 'ok';
21916
22629
  };
21917
- VizBarChartConfig: components['schemas']['VizBaseConfig'] & {
21918
- display?: components['schemas']['CartesianChartDisplay'];
21919
- fieldConfig?: components['schemas']['PivotChartLayout'];
21920
- type: components['schemas']['ChartKind.VERTICAL_BAR'];
21921
- };
21922
- VizLineChartConfig: components['schemas']['VizBaseConfig'] & {
21923
- display?: components['schemas']['CartesianChartDisplay'];
21924
- fieldConfig?: components['schemas']['PivotChartLayout'];
21925
- type: components['schemas']['ChartKind.LINE'];
21926
- };
21927
- AllVizChartConfig: components['schemas']['VizBarChartConfig'] | components['schemas']['VizLineChartConfig'] | components['schemas']['VizPieChartConfig'] | components['schemas']['VizTableConfig'];
21928
22630
  CreateSqlChart: {
21929
22631
  slug?: string;
21930
22632
  spaceUuid: string;
@@ -22175,6 +22877,11 @@ export interface components {
22175
22877
  pinnedListOrder: number | null;
22176
22878
  pinnedListUuid: string | null;
22177
22879
  groupsAccess: components['schemas']['SpaceGroup'][];
22880
+ /**
22881
+ * @description The requesting user's own resolved access entries only. The full
22882
+ * resolved access list is served by the paginated space access endpoint
22883
+ * (`GET /projects/:projectUuid/spaces/:spaceUuid/access`).
22884
+ */
22178
22885
  access: components['schemas']['SpaceShare'][];
22179
22886
  dashboards: components['schemas']['SpaceDashboard'][];
22180
22887
  projectUuid: string;
@@ -22189,6 +22896,20 @@ export interface components {
22189
22896
  /** @enum {string} */
22190
22897
  status: 'ok';
22191
22898
  };
22899
+ 'KnexPaginatedData_SpaceShare-Array_': {
22900
+ pagination?: components['schemas']['KnexPaginateArgs'] & {
22901
+ /** Format: double */
22902
+ totalResults: number;
22903
+ /** Format: double */
22904
+ totalPageCount: number;
22905
+ };
22906
+ data: components['schemas']['SpaceShare'][];
22907
+ };
22908
+ ApiSpaceAccessListResponse: {
22909
+ results: components['schemas']['KnexPaginatedData_SpaceShare-Array_'];
22910
+ /** @enum {string} */
22911
+ status: 'ok';
22912
+ };
22192
22913
  SpaceDeleteImpact: {
22193
22914
  /** Format: double */
22194
22915
  appCount: number;
@@ -22342,7 +23063,7 @@ export interface components {
22342
23063
  /** @description Contains the detail of a full URL to generate a short URL id */
22343
23064
  CreateShareUrl: components['schemas']['Pick_ShareUrl.path-or-params_'];
22344
23065
  /** @enum {string} */
22345
- SchedulerTaskName: 'slackAiPrompt' | 'aiAgentEvalResult' | 'aiAgentReviewClassifier' | 'aiAgentReviewWriteback' | 'aiAgentReviewRemediationPreview' | 'aiAgentReviewRemediationCompile' | 'aiAgentReviewRemediationRun' | 'sendReviewNotification' | 'embedArtifactVersion' | 'generateArtifactQuestion' | 'appGeneratePipeline' | 'appBuildFromSource' | 'aiWritebackPipeline' | 'aiDeepResearch' | 'agentOnboardingRun' | 'aiAgentEditDbtProjectPipeline' | 'sweepStaleAppLocks' | 'sweepStaleAiWritebackRuns' | 'sweepStaleAiDeepResearchRuns' | 'sweepAiAgentMemoryThreads' | 'aiAgentMemoryDistill' | 'consolidateAiAgentMemories' | 'consolidateAiAgentMemoryPartition' | 'cleanMcpToolCalls' | 'handleScheduledDelivery' | 'sendSlackNotification' | 'sendEmailNotification' | 'sendMsTeamsNotification' | 'sendGoogleChatNotification' | 'sendSlackBatchNotification' | 'sendEmailBatchNotification' | 'sendMsTeamsBatchNotification' | 'sendGoogleChatBatchNotification' | 'uploadGsheets' | 'uploadGsheetFromQuery' | 'validateProject' | 'compileProject' | 'createProjectWithCompile' | 'testAndCompileProject' | 'sqlRunner' | 'sqlRunnerPivotQuery' | 'replaceCustomFields' | 'indexCatalog' | 'generateDailyJobs' | 'exportCsvDashboard' | 'exportContent' | 'renameResources' | 'materializePreAggregate' | 'cleanQueryHistory' | 'downloadAsyncQueryResults' | 'syncSlackChannels' | 'generateSlackChannelSyncJobs' | 'checkForStuckJobs' | 'cleanDeploySessions' | 'managedAgentHeartbeat' | 'cleanExpiredPreviews' | 'ingestProjectContext' | 'compactUsageEvents' | 'pollEmailWhitelabelVerification' | 'cleanWarehouseConnectCodes';
23066
+ SchedulerTaskName: 'slackAiPrompt' | 'aiAgentEvalResult' | 'aiAgentReviewClassifier' | 'aiAgentReviewWriteback' | 'aiAgentReviewRemediationPreview' | 'aiAgentReviewRemediationCompile' | 'aiAgentReviewRemediationRun' | 'sendReviewNotification' | 'embedArtifactVersion' | 'generateArtifactQuestion' | 'appGeneratePipeline' | 'appBuildFromSource' | 'aiWritebackPipeline' | 'aiDeepResearch' | 'agentOnboardingRun' | 'aiAgentEditDbtProjectPipeline' | 'sweepStaleAppLocks' | 'sweepStaleAiWritebackRuns' | 'sweepStaleAiDeepResearchRuns' | 'sweepAiAgentMemoryThreads' | 'aiAgentMemoryDistill' | 'consolidateAiAgentMemories' | 'consolidateAiAgentMemoryPartition' | 'cleanMcpToolCalls' | 'cleanAiDeepResearchReports' | 'publishAnnouncement' | 'sweepDueAnnouncements' | 'handleScheduledDelivery' | 'sendSlackNotification' | 'sendEmailNotification' | 'sendMsTeamsNotification' | 'sendGoogleChatNotification' | 'sendSlackBatchNotification' | 'sendEmailBatchNotification' | 'sendMsTeamsBatchNotification' | 'sendGoogleChatBatchNotification' | 'uploadGsheets' | 'uploadGsheetFromQuery' | 'validateProject' | 'compileProject' | 'createProjectWithCompile' | 'testAndCompileProject' | 'sqlRunner' | 'sqlRunnerPivotQuery' | 'replaceCustomFields' | 'indexCatalog' | 'generateDailyJobs' | 'exportCsvDashboard' | 'exportContent' | 'renameResources' | 'materializePreAggregate' | 'cleanQueryHistory' | 'downloadAsyncQueryResults' | 'syncSlackChannels' | 'generateSlackChannelSyncJobs' | 'checkForStuckJobs' | 'cleanDeploySessions' | 'managedAgentHeartbeat' | 'cleanExpiredPreviews' | 'ingestProjectContext' | 'compactUsageEvents' | 'pollEmailWhitelabelVerification' | 'cleanWarehouseConnectCodes';
22346
23067
  BaseSchedulerLog: {
22347
23068
  /** Format: date-time */
22348
23069
  createdAt: string;
@@ -22383,7 +23104,31 @@ export interface components {
22383
23104
  error: string;
22384
23105
  type: components['schemas']['PartialFailureType.AI_AUGMENTATION'];
22385
23106
  };
22386
- PartialFailure: components['schemas']['DashboardChartPartialFailure'] | components['schemas']['DashboardSqlChartPartialFailure'] | components['schemas']['MissingTargetsPartialFailure'] | components['schemas']['AiAugmentationPartialFailure'];
23107
+ /** @enum {string} */
23108
+ 'PartialFailureType.APP_QUERY': 'app_query';
23109
+ AppQueryPartialFailure: {
23110
+ error: string;
23111
+ label: string;
23112
+ captureKey: string;
23113
+ /** @enum {string} */
23114
+ stage: 'render' | 'download' | 'rerun';
23115
+ type: components['schemas']['PartialFailureType.APP_QUERY'];
23116
+ };
23117
+ /** @enum {string} */
23118
+ 'PartialFailureType.APP_QUERY_MISSING': 'app_query_missing';
23119
+ AppQueryMissingPartialFailure: {
23120
+ label: string;
23121
+ captureKey: string;
23122
+ type: components['schemas']['PartialFailureType.APP_QUERY_MISSING'];
23123
+ };
23124
+ /** @enum {string} */
23125
+ 'PartialFailureType.APP_CAPTURE_OVERFLOW': 'app_capture_overflow';
23126
+ AppCaptureOverflowPartialFailure: {
23127
+ /** Format: double */
23128
+ droppedCount: number;
23129
+ type: components['schemas']['PartialFailureType.APP_CAPTURE_OVERFLOW'];
23130
+ };
23131
+ PartialFailure: components['schemas']['DashboardChartPartialFailure'] | components['schemas']['DashboardSqlChartPartialFailure'] | components['schemas']['MissingTargetsPartialFailure'] | components['schemas']['AiAugmentationPartialFailure'] | components['schemas']['AppQueryPartialFailure'] | components['schemas']['AppQueryMissingPartialFailure'] | components['schemas']['AppCaptureOverflowPartialFailure'];
22387
23132
  /**
22388
23133
  * @description Outcome of evaluating a threshold-alert scheduler against the latest query results.
22389
23134
  * Emitted on `SchedulerDetails.thresholdStatus` and on the `scheduler_job.completed`
@@ -23648,6 +24393,8 @@ export interface components {
23648
24393
  /** Format: double */
23649
24394
  pinnedListOrder: number | null;
23650
24395
  pinnedListUuid: string | null;
24396
+ /** Format: double */
24397
+ latestReadyVersionNumber: number | null;
23651
24398
  latestVersionStatus: components['schemas']['AppVersionStatus'] | null;
23652
24399
  /** Format: double */
23653
24400
  latestVersionNumber: number | null;
@@ -24394,6 +25141,11 @@ export interface components {
24394
25141
  /** @enum {string} */
24395
25142
  status: 'ok';
24396
25143
  };
25144
+ /** @enum {string} */
25145
+ PlaygroundProjectTrigger: 'invite_expert' | 'agent_onboarding_wait';
25146
+ EnsurePlaygroundProjectRequest: {
25147
+ trigger?: components['schemas']['PlaygroundProjectTrigger'];
25148
+ };
24397
25149
  ImpersonationOrganizationSettings: {
24398
25150
  impersonationEnabled: boolean;
24399
25151
  organizationUuid: string;
@@ -25846,6 +26598,7 @@ export interface components {
25846
26598
  exportPivotedData?: boolean;
25847
26599
  attachmentDownloadName?: string;
25848
26600
  conditionalFormattings?: components['schemas']['ConditionalFormattingConfig'][];
26601
+ showColumnTotals?: boolean;
25849
26602
  };
25850
26603
  /** @description Construct a type with the properties of T except for those in type K. */
25851
26604
  'Omit_DownloadAsyncQueryResultsRequestParams.queryUuid_': components['schemas']['Pick_DownloadAsyncQueryResultsRequestParams.Exclude_keyofDownloadAsyncQueryResultsRequestParams.queryUuid__'];
@@ -26189,6 +26942,8 @@ export interface components {
26189
26942
  /** Format: double */
26190
26943
  latestVersionNumber: number | null;
26191
26944
  latestVersionStatus: components['schemas']['AppVersionStatus'] | null;
26945
+ /** Format: double */
26946
+ latestReadyVersionNumber: number | null;
26192
26947
  pinnedList: {
26193
26948
  /** Format: double */
26194
26949
  order: number;
@@ -29194,6 +29949,68 @@ export interface operations {
29194
29949
  };
29195
29950
  };
29196
29951
  };
29952
+ getOrganizationHomepageSettings: {
29953
+ parameters: {
29954
+ query?: never;
29955
+ header?: never;
29956
+ path?: never;
29957
+ cookie?: never;
29958
+ };
29959
+ requestBody?: never;
29960
+ responses: {
29961
+ /** @description Success */
29962
+ 200: {
29963
+ headers: {
29964
+ [name: string]: unknown;
29965
+ };
29966
+ content: {
29967
+ 'application/json': components['schemas']['ApiOrganizationHomepageSettingsResponse'];
29968
+ };
29969
+ };
29970
+ /** @description Error */
29971
+ default: {
29972
+ headers: {
29973
+ [name: string]: unknown;
29974
+ };
29975
+ content: {
29976
+ 'application/json': components['schemas']['ApiErrorPayload'];
29977
+ };
29978
+ };
29979
+ };
29980
+ };
29981
+ updateOrganizationHomepageSettings: {
29982
+ parameters: {
29983
+ query?: never;
29984
+ header?: never;
29985
+ path?: never;
29986
+ cookie?: never;
29987
+ };
29988
+ requestBody: {
29989
+ content: {
29990
+ 'application/json': components['schemas']['UpdateOrganizationHomepageSettings'];
29991
+ };
29992
+ };
29993
+ responses: {
29994
+ /** @description Success */
29995
+ 200: {
29996
+ headers: {
29997
+ [name: string]: unknown;
29998
+ };
29999
+ content: {
30000
+ 'application/json': components['schemas']['ApiOrganizationHomepageSettingsResponse'];
30001
+ };
30002
+ };
30003
+ /** @description Error */
30004
+ default: {
30005
+ headers: {
30006
+ [name: string]: unknown;
30007
+ };
30008
+ content: {
30009
+ 'application/json': components['schemas']['ApiErrorPayload'];
30010
+ };
30011
+ };
30012
+ };
30013
+ };
29197
30014
  getDatabricksAccessToken: {
29198
30015
  parameters: {
29199
30016
  query?: never;
@@ -33221,6 +34038,37 @@ export interface operations {
33221
34038
  };
33222
34039
  };
33223
34040
  };
34041
+ getActiveAgentOnboardingRun: {
34042
+ parameters: {
34043
+ query?: never;
34044
+ header?: never;
34045
+ path: {
34046
+ projectUuid: components['schemas']['UUID'];
34047
+ };
34048
+ cookie?: never;
34049
+ };
34050
+ requestBody?: never;
34051
+ responses: {
34052
+ /** @description Success */
34053
+ 200: {
34054
+ headers: {
34055
+ [name: string]: unknown;
34056
+ };
34057
+ content: {
34058
+ 'application/json': components['schemas']['ApiAgentOnboardingActiveRunResponse'];
34059
+ };
34060
+ };
34061
+ /** @description Error */
34062
+ default: {
34063
+ headers: {
34064
+ [name: string]: unknown;
34065
+ };
34066
+ content: {
34067
+ 'application/json': components['schemas']['ApiErrorPayload'];
34068
+ };
34069
+ };
34070
+ };
34071
+ };
33224
34072
  createAgentOnboardingRun: {
33225
34073
  parameters: {
33226
34074
  query?: never;
@@ -33350,6 +34198,105 @@ export interface operations {
33350
34198
  };
33351
34199
  };
33352
34200
  };
34201
+ listHomepageRecommendedActionSkips: {
34202
+ parameters: {
34203
+ query?: {
34204
+ projectUuid?: components['schemas']['UUID'];
34205
+ };
34206
+ header?: never;
34207
+ path?: never;
34208
+ cookie?: never;
34209
+ };
34210
+ requestBody?: never;
34211
+ responses: {
34212
+ /** @description Success */
34213
+ 200: {
34214
+ headers: {
34215
+ [name: string]: unknown;
34216
+ };
34217
+ content: {
34218
+ 'application/json': components['schemas']['ApiHomepageRecommendedActionSkipsResponse'];
34219
+ };
34220
+ };
34221
+ /** @description Error */
34222
+ default: {
34223
+ headers: {
34224
+ [name: string]: unknown;
34225
+ };
34226
+ content: {
34227
+ 'application/json': components['schemas']['ApiErrorPayload'];
34228
+ };
34229
+ };
34230
+ };
34231
+ };
34232
+ skipHomepageRecommendedAction: {
34233
+ parameters: {
34234
+ query?: {
34235
+ projectUuid?: components['schemas']['UUID'];
34236
+ };
34237
+ header?: never;
34238
+ path?: never;
34239
+ cookie?: never;
34240
+ };
34241
+ requestBody: {
34242
+ content: {
34243
+ 'application/json': components['schemas']['SkipHomepageRecommendedActionRequest'];
34244
+ };
34245
+ };
34246
+ responses: {
34247
+ /** @description Success */
34248
+ 200: {
34249
+ headers: {
34250
+ [name: string]: unknown;
34251
+ };
34252
+ content: {
34253
+ 'application/json': components['schemas']['ApiSuccessEmpty'];
34254
+ };
34255
+ };
34256
+ /** @description Error */
34257
+ default: {
34258
+ headers: {
34259
+ [name: string]: unknown;
34260
+ };
34261
+ content: {
34262
+ 'application/json': components['schemas']['ApiErrorPayload'];
34263
+ };
34264
+ };
34265
+ };
34266
+ };
34267
+ unskipHomepageRecommendedAction: {
34268
+ parameters: {
34269
+ query?: {
34270
+ projectUuid?: components['schemas']['UUID'];
34271
+ };
34272
+ header?: never;
34273
+ path: {
34274
+ actionKey: components['schemas']['HomepageRecommendedActionKey'];
34275
+ };
34276
+ cookie?: never;
34277
+ };
34278
+ requestBody?: never;
34279
+ responses: {
34280
+ /** @description Success */
34281
+ 200: {
34282
+ headers: {
34283
+ [name: string]: unknown;
34284
+ };
34285
+ content: {
34286
+ 'application/json': components['schemas']['ApiSuccessEmpty'];
34287
+ };
34288
+ };
34289
+ /** @description Error */
34290
+ default: {
34291
+ headers: {
34292
+ [name: string]: unknown;
34293
+ };
34294
+ content: {
34295
+ 'application/json': components['schemas']['ApiErrorPayload'];
34296
+ };
34297
+ };
34298
+ };
34299
+ };
33353
34300
  GetOrganizationRoles: {
33354
34301
  parameters: {
33355
34302
  query?: {
@@ -33358,7 +34305,7 @@ export interface operations {
33358
34305
  };
33359
34306
  header?: never;
33360
34307
  path: {
33361
- orgUuid: string;
34308
+ orgUuid: components['schemas']['UUID'];
33362
34309
  };
33363
34310
  cookie?: never;
33364
34311
  };
@@ -33424,8 +34371,8 @@ export interface operations {
33424
34371
  query?: never;
33425
34372
  header?: never;
33426
34373
  path: {
33427
- orgUuid: string;
33428
- roleUuid: string;
34374
+ orgUuid: components['schemas']['UUID'];
34375
+ roleUuid: components['schemas']['UUID'];
33429
34376
  };
33430
34377
  cookie?: never;
33431
34378
  };
@@ -33677,6 +34624,15 @@ export interface operations {
33677
34624
  'application/json': components['schemas']['ApiAiDeepResearchRunResponse'];
33678
34625
  };
33679
34626
  };
34627
+ /** @description Deep Research run already active */
34628
+ 409: {
34629
+ headers: {
34630
+ [name: string]: unknown;
34631
+ };
34632
+ content: {
34633
+ 'application/json': components['schemas']['ApiErrorPayload'];
34634
+ };
34635
+ };
33680
34636
  /** @description Error */
33681
34637
  default: {
33682
34638
  headers: {
@@ -33720,14 +34676,148 @@ export interface operations {
33720
34676
  };
33721
34677
  };
33722
34678
  };
33723
- refreshAiDeepResearchChart: {
34679
+ refreshAiDeepResearchChart: {
34680
+ parameters: {
34681
+ query?: never;
34682
+ header?: never;
34683
+ path: {
34684
+ projectUuid: components['schemas']['UUID'];
34685
+ aiDeepResearchRunUuid: components['schemas']['UUID'];
34686
+ chartKey: string;
34687
+ };
34688
+ cookie?: never;
34689
+ };
34690
+ requestBody?: never;
34691
+ responses: {
34692
+ /** @description Success */
34693
+ 200: {
34694
+ headers: {
34695
+ [name: string]: unknown;
34696
+ };
34697
+ content: {
34698
+ 'application/json': components['schemas']['ApiAiAgentThreadMessageVizQueryResponse'];
34699
+ };
34700
+ };
34701
+ /** @description Error */
34702
+ default: {
34703
+ headers: {
34704
+ [name: string]: unknown;
34705
+ };
34706
+ content: {
34707
+ 'application/json': components['schemas']['ApiErrorPayload'];
34708
+ };
34709
+ };
34710
+ };
34711
+ };
34712
+ getAiDeepResearchChart: {
34713
+ parameters: {
34714
+ query?: never;
34715
+ header?: never;
34716
+ path: {
34717
+ projectUuid: components['schemas']['UUID'];
34718
+ aiDeepResearchRunUuid: components['schemas']['UUID'];
34719
+ queryUuid: components['schemas']['UUID'];
34720
+ };
34721
+ cookie?: never;
34722
+ };
34723
+ requestBody?: never;
34724
+ responses: {
34725
+ /** @description Success */
34726
+ 200: {
34727
+ headers: {
34728
+ [name: string]: unknown;
34729
+ };
34730
+ content: {
34731
+ 'application/json': components['schemas']['ApiAiDeepResearchChartResponse'];
34732
+ };
34733
+ };
34734
+ /** @description Error */
34735
+ default: {
34736
+ headers: {
34737
+ [name: string]: unknown;
34738
+ };
34739
+ content: {
34740
+ 'application/json': components['schemas']['ApiErrorPayload'];
34741
+ };
34742
+ };
34743
+ };
34744
+ };
34745
+ listAiDeepResearchEvents: {
34746
+ parameters: {
34747
+ query?: {
34748
+ cursor?: string;
34749
+ limit?: number;
34750
+ };
34751
+ header?: never;
34752
+ path: {
34753
+ projectUuid: components['schemas']['UUID'];
34754
+ aiDeepResearchRunUuid: components['schemas']['UUID'];
34755
+ };
34756
+ cookie?: never;
34757
+ };
34758
+ requestBody?: never;
34759
+ responses: {
34760
+ /** @description Success */
34761
+ 200: {
34762
+ headers: {
34763
+ [name: string]: unknown;
34764
+ };
34765
+ content: {
34766
+ 'application/json': components['schemas']['ApiAiDeepResearchEventsResponse'];
34767
+ };
34768
+ };
34769
+ /** @description Error */
34770
+ default: {
34771
+ headers: {
34772
+ [name: string]: unknown;
34773
+ };
34774
+ content: {
34775
+ 'application/json': components['schemas']['ApiErrorPayload'];
34776
+ };
34777
+ };
34778
+ };
34779
+ };
34780
+ cancelAiDeepResearchRun: {
34781
+ parameters: {
34782
+ query?: never;
34783
+ header?: never;
34784
+ path: {
34785
+ projectUuid: components['schemas']['UUID'];
34786
+ aiDeepResearchRunUuid: components['schemas']['UUID'];
34787
+ };
34788
+ cookie?: never;
34789
+ };
34790
+ requestBody?: never;
34791
+ responses: {
34792
+ /** @description Success */
34793
+ 200: {
34794
+ headers: {
34795
+ [name: string]: unknown;
34796
+ };
34797
+ content: {
34798
+ 'application/json': components['schemas']['ApiAiDeepResearchRunResponse'];
34799
+ };
34800
+ };
34801
+ /** @description Error */
34802
+ default: {
34803
+ headers: {
34804
+ [name: string]: unknown;
34805
+ };
34806
+ content: {
34807
+ 'application/json': components['schemas']['ApiErrorPayload'];
34808
+ };
34809
+ };
34810
+ };
34811
+ };
34812
+ getMyAiAgentMemories: {
33724
34813
  parameters: {
33725
- query?: never;
34814
+ query?: {
34815
+ page?: number;
34816
+ pageSize?: number;
34817
+ };
33726
34818
  header?: never;
33727
34819
  path: {
33728
34820
  projectUuid: components['schemas']['UUID'];
33729
- aiDeepResearchRunUuid: components['schemas']['UUID'];
33730
- chartKey: string;
33731
34821
  };
33732
34822
  cookie?: never;
33733
34823
  };
@@ -33739,7 +34829,7 @@ export interface operations {
33739
34829
  [name: string]: unknown;
33740
34830
  };
33741
34831
  content: {
33742
- 'application/json': components['schemas']['ApiAiAgentThreadMessageVizQueryResponse'];
34832
+ 'application/json': components['schemas']['ApiAiAgentUserMemoriesResponse'];
33743
34833
  };
33744
34834
  };
33745
34835
  /** @description Error */
@@ -33753,16 +34843,13 @@ export interface operations {
33753
34843
  };
33754
34844
  };
33755
34845
  };
33756
- listAiDeepResearchEvents: {
34846
+ getAiAgentMemoryBySlug: {
33757
34847
  parameters: {
33758
- query?: {
33759
- cursor?: string;
33760
- limit?: number;
33761
- };
34848
+ query?: never;
33762
34849
  header?: never;
33763
34850
  path: {
33764
34851
  projectUuid: components['schemas']['UUID'];
33765
- aiDeepResearchRunUuid: components['schemas']['UUID'];
34852
+ slug: string;
33766
34853
  };
33767
34854
  cookie?: never;
33768
34855
  };
@@ -33774,7 +34861,7 @@ export interface operations {
33774
34861
  [name: string]: unknown;
33775
34862
  };
33776
34863
  content: {
33777
- 'application/json': components['schemas']['ApiAiDeepResearchEventsResponse'];
34864
+ 'application/json': components['schemas']['ApiAiAgentMemoryResponse'];
33778
34865
  };
33779
34866
  };
33780
34867
  /** @description Error */
@@ -33788,25 +34875,29 @@ export interface operations {
33788
34875
  };
33789
34876
  };
33790
34877
  };
33791
- cancelAiDeepResearchRun: {
34878
+ promoteAiAgentMemory: {
33792
34879
  parameters: {
33793
34880
  query?: never;
33794
34881
  header?: never;
33795
34882
  path: {
33796
34883
  projectUuid: components['schemas']['UUID'];
33797
- aiDeepResearchRunUuid: components['schemas']['UUID'];
34884
+ memoryUuid: components['schemas']['UUID'];
33798
34885
  };
33799
34886
  cookie?: never;
33800
34887
  };
33801
- requestBody?: never;
34888
+ requestBody: {
34889
+ content: {
34890
+ 'application/json': components['schemas']['PromoteAiAgentMemory'];
34891
+ };
34892
+ };
33802
34893
  responses: {
33803
- /** @description Success */
33804
- 200: {
34894
+ /** @description Created */
34895
+ 201: {
33805
34896
  headers: {
33806
34897
  [name: string]: unknown;
33807
34898
  };
33808
34899
  content: {
33809
- 'application/json': components['schemas']['ApiAiDeepResearchRunResponse'];
34900
+ 'application/json': components['schemas']['ApiPromoteAiAgentMemoryResponse'];
33810
34901
  };
33811
34902
  };
33812
34903
  /** @description Error */
@@ -33856,6 +34947,38 @@ export interface operations {
33856
34947
  };
33857
34948
  };
33858
34949
  };
34950
+ triggerAiAgentMemoryDistill: {
34951
+ parameters: {
34952
+ query?: never;
34953
+ header?: never;
34954
+ path: {
34955
+ projectUuid: components['schemas']['UUID'];
34956
+ threadUuid: components['schemas']['UUID'];
34957
+ };
34958
+ cookie?: never;
34959
+ };
34960
+ requestBody?: never;
34961
+ responses: {
34962
+ /** @description Accepted */
34963
+ 202: {
34964
+ headers: {
34965
+ [name: string]: unknown;
34966
+ };
34967
+ content: {
34968
+ 'application/json': components['schemas']['ApiTriggerAiAgentMemoryDistillResponse'];
34969
+ };
34970
+ };
34971
+ /** @description Error */
34972
+ default: {
34973
+ headers: {
34974
+ [name: string]: unknown;
34975
+ };
34976
+ content: {
34977
+ 'application/json': components['schemas']['ApiErrorPayload'];
34978
+ };
34979
+ };
34980
+ };
34981
+ };
33859
34982
  getAllThreads: {
33860
34983
  parameters: {
33861
34984
  query?: {
@@ -35186,6 +36309,69 @@ export interface operations {
35186
36309
  };
35187
36310
  };
35188
36311
  };
36312
+ GetUserOnboarding: {
36313
+ parameters: {
36314
+ query?: never;
36315
+ header?: never;
36316
+ path?: never;
36317
+ cookie?: never;
36318
+ };
36319
+ requestBody?: never;
36320
+ responses: {
36321
+ /** @description Ok */
36322
+ 200: {
36323
+ headers: {
36324
+ [name: string]: unknown;
36325
+ };
36326
+ content: {
36327
+ 'application/json': components['schemas']['ApiGetUserOnboardingResponse'];
36328
+ };
36329
+ };
36330
+ /** @description Error */
36331
+ default: {
36332
+ headers: {
36333
+ [name: string]: unknown;
36334
+ };
36335
+ content: {
36336
+ 'application/json': components['schemas']['ApiErrorPayload'];
36337
+ };
36338
+ };
36339
+ };
36340
+ };
36341
+ CompleteUserOnboardingTour: {
36342
+ parameters: {
36343
+ query?: never;
36344
+ header?: never;
36345
+ path?: never;
36346
+ cookie?: never;
36347
+ };
36348
+ /** @description the tour to mark as completed */
36349
+ requestBody: {
36350
+ content: {
36351
+ 'application/json': components['schemas']['ApiCompleteUserOnboardingTourRequest'];
36352
+ };
36353
+ };
36354
+ responses: {
36355
+ /** @description Ok */
36356
+ 200: {
36357
+ headers: {
36358
+ [name: string]: unknown;
36359
+ };
36360
+ content: {
36361
+ 'application/json': components['schemas']['ApiSuccessEmpty'];
36362
+ };
36363
+ };
36364
+ /** @description Error */
36365
+ default: {
36366
+ headers: {
36367
+ [name: string]: unknown;
36368
+ };
36369
+ content: {
36370
+ 'application/json': components['schemas']['ApiErrorPayload'];
36371
+ };
36372
+ };
36373
+ };
36374
+ };
35189
36375
  ListMyAvailableOrganizations: {
35190
36376
  parameters: {
35191
36377
  query?: never;
@@ -37096,6 +38282,46 @@ export interface operations {
37096
38282
  };
37097
38283
  };
37098
38284
  };
38285
+ GetSpaceAccessList: {
38286
+ parameters: {
38287
+ query?: {
38288
+ page?: number;
38289
+ pageSize?: number;
38290
+ searchQuery?: string;
38291
+ userUuids?: string[];
38292
+ directOnly?: boolean;
38293
+ };
38294
+ header?: never;
38295
+ path: {
38296
+ /** @description The uuid of the space's parent project */
38297
+ projectUuid: components['schemas']['UUID'];
38298
+ /** @description The uuid of the space */
38299
+ spaceUuid: components['schemas']['UUID'];
38300
+ };
38301
+ cookie?: never;
38302
+ };
38303
+ requestBody?: never;
38304
+ responses: {
38305
+ /** @description Success */
38306
+ 200: {
38307
+ headers: {
38308
+ [name: string]: unknown;
38309
+ };
38310
+ content: {
38311
+ 'application/json': components['schemas']['ApiSpaceAccessListResponse'];
38312
+ };
38313
+ };
38314
+ /** @description Error */
38315
+ default: {
38316
+ headers: {
38317
+ [name: string]: unknown;
38318
+ };
38319
+ content: {
38320
+ 'application/json': components['schemas']['ApiErrorPayload'];
38321
+ };
38322
+ };
38323
+ };
38324
+ };
37099
38325
  GetSpaceDeleteImpact: {
37100
38326
  parameters: {
37101
38327
  query?: never;
@@ -42195,7 +43421,11 @@ export interface operations {
42195
43421
  path?: never;
42196
43422
  cookie?: never;
42197
43423
  };
42198
- requestBody?: never;
43424
+ requestBody?: {
43425
+ content: {
43426
+ 'application/json': components['schemas']['EnsurePlaygroundProjectRequest'];
43427
+ };
43428
+ };
42199
43429
  responses: {
42200
43430
  /** @description Ok */
42201
43431
  200: {
@@ -43902,7 +45132,9 @@ export interface operations {
43902
45132
  };
43903
45133
  getFile: {
43904
45134
  parameters: {
43905
- query?: never;
45135
+ query?: {
45136
+ downloadToken?: string;
45137
+ };
43906
45138
  header?: never;
43907
45139
  path: {
43908
45140
  /** @description the persistent file nanoid */
@@ -45993,7 +47225,7 @@ export interface operations {
45993
47225
  header?: never;
45994
47226
  path: {
45995
47227
  projectId: string;
45996
- userId: string;
47228
+ userId: components['schemas']['UUID'];
45997
47229
  };
45998
47230
  cookie?: never;
45999
47231
  };
@@ -46029,7 +47261,7 @@ export interface operations {
46029
47261
  header?: never;
46030
47262
  path: {
46031
47263
  projectId: string;
46032
- userId: string;
47264
+ userId: components['schemas']['UUID'];
46033
47265
  };
46034
47266
  cookie?: never;
46035
47267
  };
@@ -46061,7 +47293,7 @@ export interface operations {
46061
47293
  header?: never;
46062
47294
  path: {
46063
47295
  projectId: string;
46064
- groupId: string;
47296
+ groupId: components['schemas']['UUID'];
46065
47297
  };
46066
47298
  cookie?: never;
46067
47299
  };
@@ -46097,7 +47329,7 @@ export interface operations {
46097
47329
  header?: never;
46098
47330
  path: {
46099
47331
  projectId: string;
46100
- groupId: string;
47332
+ groupId: components['schemas']['UUID'];
46101
47333
  };
46102
47334
  cookie?: never;
46103
47335
  };
@@ -46129,7 +47361,7 @@ export interface operations {
46129
47361
  header?: never;
46130
47362
  path: {
46131
47363
  projectId: string;
46132
- groupId: string;
47364
+ groupId: components['schemas']['UUID'];
46133
47365
  };
46134
47366
  cookie?: never;
46135
47367
  };
@@ -46164,7 +47396,7 @@ export interface operations {
46164
47396
  query?: never;
46165
47397
  header?: never;
46166
47398
  path: {
46167
- orgUuid: string;
47399
+ orgUuid: components['schemas']['UUID'];
46168
47400
  };
46169
47401
  cookie?: never;
46170
47402
  };
@@ -46195,8 +47427,8 @@ export interface operations {
46195
47427
  query?: never;
46196
47428
  header?: never;
46197
47429
  path: {
46198
- orgUuid: string;
46199
- userId: string;
47430
+ orgUuid: components['schemas']['UUID'];
47431
+ userId: components['schemas']['UUID'];
46200
47432
  };
46201
47433
  cookie?: never;
46202
47434
  };
@@ -46233,7 +47465,7 @@ export interface operations {
46233
47465
  query?: never;
46234
47466
  header?: never;
46235
47467
  path: {
46236
- orgUuid: string;
47468
+ orgUuid: components['schemas']['UUID'];
46237
47469
  roleId: string;
46238
47470
  };
46239
47471
  cookie?: never;
@@ -47275,6 +48507,39 @@ export interface operations {
47275
48507
  };
47276
48508
  };
47277
48509
  };
48510
+ 'List feature flags': {
48511
+ parameters: {
48512
+ query?: never;
48513
+ header?: never;
48514
+ path?: never;
48515
+ cookie?: never;
48516
+ };
48517
+ requestBody?: never;
48518
+ responses: {
48519
+ /** @description Success */
48520
+ 200: {
48521
+ headers: {
48522
+ [name: string]: unknown;
48523
+ };
48524
+ content: {
48525
+ 'application/json': {
48526
+ results: components['schemas']['FeatureFlag'][];
48527
+ /** @enum {string} */
48528
+ status: 'ok';
48529
+ };
48530
+ };
48531
+ };
48532
+ /** @description Error */
48533
+ default: {
48534
+ headers: {
48535
+ [name: string]: unknown;
48536
+ };
48537
+ content: {
48538
+ 'application/json': components['schemas']['ApiErrorPayload'];
48539
+ };
48540
+ };
48541
+ };
48542
+ };
47278
48543
  'Get feature flag': {
47279
48544
  parameters: {
47280
48545
  query?: never;
@@ -47310,6 +48575,82 @@ export interface operations {
47310
48575
  };
47311
48576
  };
47312
48577
  };
48578
+ 'Set feature flag override': {
48579
+ parameters: {
48580
+ query?: never;
48581
+ header?: never;
48582
+ path: {
48583
+ featureFlagId: string;
48584
+ };
48585
+ cookie?: never;
48586
+ };
48587
+ requestBody: {
48588
+ content: {
48589
+ 'application/json': {
48590
+ enabled: boolean;
48591
+ };
48592
+ };
48593
+ };
48594
+ responses: {
48595
+ /** @description Success */
48596
+ 200: {
48597
+ headers: {
48598
+ [name: string]: unknown;
48599
+ };
48600
+ content: {
48601
+ 'application/json': {
48602
+ results: components['schemas']['FeatureFlag'];
48603
+ /** @enum {string} */
48604
+ status: 'ok';
48605
+ };
48606
+ };
48607
+ };
48608
+ /** @description Error */
48609
+ default: {
48610
+ headers: {
48611
+ [name: string]: unknown;
48612
+ };
48613
+ content: {
48614
+ 'application/json': components['schemas']['ApiErrorPayload'];
48615
+ };
48616
+ };
48617
+ };
48618
+ };
48619
+ 'Delete feature flag override': {
48620
+ parameters: {
48621
+ query?: never;
48622
+ header?: never;
48623
+ path: {
48624
+ featureFlagId: string;
48625
+ };
48626
+ cookie?: never;
48627
+ };
48628
+ requestBody?: never;
48629
+ responses: {
48630
+ /** @description Success */
48631
+ 200: {
48632
+ headers: {
48633
+ [name: string]: unknown;
48634
+ };
48635
+ content: {
48636
+ 'application/json': {
48637
+ results: components['schemas']['FeatureFlag'];
48638
+ /** @enum {string} */
48639
+ status: 'ok';
48640
+ };
48641
+ };
48642
+ };
48643
+ /** @description Error */
48644
+ default: {
48645
+ headers: {
48646
+ [name: string]: unknown;
48647
+ };
48648
+ content: {
48649
+ 'application/json': components['schemas']['ApiErrorPayload'];
48650
+ };
48651
+ };
48652
+ };
48653
+ };
47313
48654
  startDeploySession: {
47314
48655
  parameters: {
47315
48656
  query?: never;