windmill-components 1.677.0 → 1.677.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.
@@ -105,6 +105,35 @@ export type FlowValue = {
105
105
  * Sticky notes attached to the flow
106
106
  */
107
107
  notes?: Array<FlowNote>;
108
+ /**
109
+ * Semantic groups of modules for organizational purposes
110
+ */
111
+ groups?: Array<{
112
+ /**
113
+ * Display name for this group
114
+ */
115
+ summary?: string;
116
+ /**
117
+ * Markdown note shown below the group header
118
+ */
119
+ note?: string;
120
+ /**
121
+ * If true, this group is collapsed by default in the flow editor. UI hint only.
122
+ */
123
+ autocollapse?: boolean;
124
+ /**
125
+ * ID of the first flow module in this group (topological entry point)
126
+ */
127
+ start_id: string;
128
+ /**
129
+ * ID of the last flow module in this group (topological exit point)
130
+ */
131
+ end_id: string;
132
+ /**
133
+ * Color for the group in the flow editor
134
+ */
135
+ color?: string;
136
+ }>;
108
137
  };
109
138
  /**
110
139
  * Retry configuration for failed module executions
@@ -167,9 +196,9 @@ export type StopAfterIf = {
167
196
  */
168
197
  expr: string;
169
198
  /**
170
- * Custom error message shown when stopping
199
+ * Custom error message when stopping with an error. Mutually exclusive with skip_if_stopped. If set to a non-empty string, the flow stops with this error. If empty string, a default error message is used. If null or omitted, no error is raised.
171
200
  */
172
- error_message?: string;
201
+ error_message?: string | null;
173
202
  };
174
203
  /**
175
204
  * A single step in a flow. Can be a script, subflow, loop, or branch
@@ -287,6 +316,31 @@ export type FlowModule = {
287
316
  * Retry configuration if this step fails
288
317
  */
289
318
  retry?: Retry;
319
+ /**
320
+ * Debounce configuration for this step (EE only)
321
+ */
322
+ debouncing?: {
323
+ /**
324
+ * Delay in seconds to debounce this step's executions across flow runs
325
+ */
326
+ debounce_delay_s?: number;
327
+ /**
328
+ * Expression to group debounced executions. Supports $workspace and $args[name]. Default: $workspace/flow/<flow_path>-<step_id>
329
+ */
330
+ debounce_key?: string;
331
+ /**
332
+ * Array-type arguments to accumulate across debounced executions
333
+ */
334
+ debounce_args_to_accumulate?: Array<(string)>;
335
+ /**
336
+ * Maximum total time in seconds before forced execution
337
+ */
338
+ max_total_debouncing_time?: number;
339
+ /**
340
+ * Maximum number of debounces before forced execution
341
+ */
342
+ max_total_debounces_amount?: number;
343
+ };
290
344
  };
291
345
  /**
292
346
  * Maps input parameters for a step. Can be a static value or a JavaScript expression that references previous results or flow inputs
@@ -378,7 +432,7 @@ export type RawScript = {
378
432
  /**
379
433
  * Programming language for this script
380
434
  */
381
- language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb';
435
+ language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb';
382
436
  /**
383
437
  * Optional path for saving this script
384
438
  */
@@ -628,12 +682,12 @@ export type AiAgent = {
628
682
  */
629
683
  output_schema?: InputTransform;
630
684
  /**
631
- * Array of image references for vision-capable models.
685
+ * Array of file references (images or PDFs) for the AI agent.
632
686
  * Format: Array<{ bucket: string, key: string }> - S3 object references
633
- * Example: [{ bucket: 'my-bucket', key: 'images/photo.jpg' }]
687
+ * Example: [{ bucket: 'my-bucket', key: 'documents/report.pdf' }]
634
688
  *
635
689
  */
636
- user_images?: InputTransform;
690
+ user_attachments?: InputTransform;
637
691
  /**
638
692
  * Integer. Maximum number of tokens the AI will generate in its response.
639
693
  * Range: 1 to 4,294,967,295. Typical values: 256-4096 for most use cases.
@@ -1064,6 +1118,50 @@ export type VaultSettings = {
1064
1118
  */
1065
1119
  token?: string;
1066
1120
  };
1121
+ export type AzureKeyVaultSettings = {
1122
+ /**
1123
+ * Azure Key Vault URL (e.g., https://myvault.vault.azure.net)
1124
+ */
1125
+ vault_url: string;
1126
+ /**
1127
+ * Azure AD tenant ID
1128
+ */
1129
+ tenant_id: string;
1130
+ /**
1131
+ * Azure AD application (client) ID
1132
+ */
1133
+ client_id: string;
1134
+ /**
1135
+ * Azure AD client secret
1136
+ */
1137
+ client_secret?: string;
1138
+ /**
1139
+ * Static Bearer token for testing/development (optional, if provided this is used instead of OAuth2 authentication)
1140
+ */
1141
+ token?: string;
1142
+ };
1143
+ export type AwsSecretsManagerSettings = {
1144
+ /**
1145
+ * AWS region (e.g., us-east-1)
1146
+ */
1147
+ region: string;
1148
+ /**
1149
+ * AWS Access Key ID (optional, uses default credential chain if not provided)
1150
+ */
1151
+ access_key_id?: string;
1152
+ /**
1153
+ * AWS Secret Access Key (optional)
1154
+ */
1155
+ secret_access_key?: string;
1156
+ /**
1157
+ * Custom endpoint URL for testing (e.g., LocalStack)
1158
+ */
1159
+ endpoint_url?: string;
1160
+ /**
1161
+ * Prefix for secret names (e.g., windmill/)
1162
+ */
1163
+ prefix?: string;
1164
+ };
1067
1165
  export type SecretMigrationFailure = {
1068
1166
  /**
1069
1167
  * Workspace ID where the secret is located
@@ -1231,6 +1329,15 @@ export type AIConfig = {
1231
1329
  [key: string]: (number);
1232
1330
  };
1233
1331
  };
1332
+ export type InstanceAIProviderSummary = {
1333
+ provider: AIProvider;
1334
+ models: Array<(string)>;
1335
+ };
1336
+ export type InstanceAISummary = {
1337
+ providers: Array<InstanceAIProviderSummary>;
1338
+ default_model?: AIProviderModel;
1339
+ code_completion_model?: AIProviderModel;
1340
+ };
1234
1341
  export type Alert = {
1235
1342
  name: string;
1236
1343
  tags_to_monitor: Array<(string)>;
@@ -1306,10 +1413,17 @@ export type Script = {
1306
1413
  timeout?: number;
1307
1414
  delete_after_use?: boolean;
1308
1415
  visible_to_runner_only?: boolean;
1309
- no_main_func: boolean;
1416
+ auto_kind?: string;
1310
1417
  codebase?: string;
1311
1418
  has_preprocessor: boolean;
1312
1419
  on_behalf_of_email?: string;
1420
+ /**
1421
+ * Additional script modules keyed by relative file path
1422
+ */
1423
+ modules?: {
1424
+ [key: string]: ScriptModule;
1425
+ } | null;
1426
+ labels?: Array<(string)>;
1313
1427
  };
1314
1428
  export type NewScript = {
1315
1429
  path: string;
@@ -1345,7 +1459,7 @@ export type NewScript = {
1345
1459
  max_total_debouncing_time?: number;
1346
1460
  max_total_debounces_amount?: number;
1347
1461
  visible_to_runner_only?: boolean;
1348
- no_main_func?: boolean;
1462
+ auto_kind?: string;
1349
1463
  codebase?: string;
1350
1464
  has_preprocessor?: boolean;
1351
1465
  on_behalf_of_email?: string;
@@ -1359,6 +1473,13 @@ export type NewScript = {
1359
1473
  access_type?: 'r' | 'w' | 'rw';
1360
1474
  alt_access_type?: 'r' | 'w' | 'rw';
1361
1475
  }>;
1476
+ /**
1477
+ * Additional script modules keyed by relative file path
1478
+ */
1479
+ modules?: {
1480
+ [key: string]: ScriptModule;
1481
+ } | null;
1482
+ labels?: Array<(string)>;
1362
1483
  };
1363
1484
  export type NewScriptWithDraft = NewScript & {
1364
1485
  draft?: NewScript;
@@ -1649,6 +1770,7 @@ export type User = {
1649
1770
  folders: Array<(string)>;
1650
1771
  folders_owners: Array<(string)>;
1651
1772
  added_via?: (UserSource) | null;
1773
+ is_service_account?: boolean;
1652
1774
  };
1653
1775
  export type UserSource = {
1654
1776
  /**
@@ -1717,6 +1839,7 @@ export type ListableVariable = {
1717
1839
  is_linked?: boolean;
1718
1840
  is_refreshed?: boolean;
1719
1841
  expires_at?: string;
1842
+ labels?: Array<(string)>;
1720
1843
  };
1721
1844
  export type ContextualVariable = {
1722
1845
  name: string;
@@ -1753,6 +1876,7 @@ export type CreateVariable = {
1753
1876
  * The expiration date of the variable
1754
1877
  */
1755
1878
  expires_at?: string;
1879
+ labels?: Array<(string)>;
1756
1880
  };
1757
1881
  export type EditVariable = {
1758
1882
  /**
@@ -1771,6 +1895,7 @@ export type EditVariable = {
1771
1895
  * The new description of the variable
1772
1896
  */
1773
1897
  description?: string;
1898
+ labels?: Array<(string)>;
1774
1899
  };
1775
1900
  export type AuditLog = {
1776
1901
  workspace_id: string;
@@ -1814,10 +1939,24 @@ export type MainArgSignature = {
1814
1939
  has_default?: boolean;
1815
1940
  default?: unknown;
1816
1941
  }>;
1817
- no_main_func: boolean | null;
1942
+ auto_kind: string | null;
1818
1943
  has_preprocessor: boolean | null;
1819
1944
  };
1820
- export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb' | 'bunnative';
1945
+ export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb' | 'bunnative';
1946
+ /**
1947
+ * An additional module file associated with a script
1948
+ */
1949
+ export type ScriptModule = {
1950
+ /**
1951
+ * The source code content of this module
1952
+ */
1953
+ content: string;
1954
+ language: ScriptLang;
1955
+ /**
1956
+ * Lock file content for this module's dependencies
1957
+ */
1958
+ lock?: string | null;
1959
+ };
1821
1960
  export type Preview = {
1822
1961
  /**
1823
1962
  * The code to run
@@ -1838,6 +1977,12 @@ export type Preview = {
1838
1977
  dedicated_worker?: boolean;
1839
1978
  lock?: string;
1840
1979
  flow_path?: string;
1980
+ /**
1981
+ * Additional script modules keyed by relative file path
1982
+ */
1983
+ modules?: {
1984
+ [key: string]: ScriptModule;
1985
+ } | null;
1841
1986
  };
1842
1987
  export type PreviewInline = {
1843
1988
  /**
@@ -1876,6 +2021,7 @@ export type CreateResource = {
1876
2021
  * The resource_type associated with the resource
1877
2022
  */
1878
2023
  resource_type: string;
2024
+ labels?: Array<(string)>;
1879
2025
  };
1880
2026
  export type EditResource = {
1881
2027
  /**
@@ -1891,6 +2037,7 @@ export type EditResource = {
1891
2037
  * The new resource_type to be associated with the resource
1892
2038
  */
1893
2039
  resource_type?: string;
2040
+ labels?: Array<(string)>;
1894
2041
  };
1895
2042
  export type Resource = {
1896
2043
  workspace_id?: string;
@@ -1904,6 +2051,7 @@ export type Resource = {
1904
2051
  };
1905
2052
  created_by?: string;
1906
2053
  edited_at?: string;
2054
+ labels?: Array<(string)>;
1907
2055
  };
1908
2056
  export type ListableResource = {
1909
2057
  workspace_id?: string;
@@ -1922,6 +2070,7 @@ export type ListableResource = {
1922
2070
  account?: number;
1923
2071
  created_by?: string;
1924
2072
  edited_at?: string;
2073
+ labels?: Array<(string)>;
1925
2074
  };
1926
2075
  export type ResourceType = {
1927
2076
  workspace_id?: string;
@@ -1982,6 +2131,10 @@ export type Schedule = {
1982
2131
  * Email of the user who owns this schedule, used for permissioned_as
1983
2132
  */
1984
2133
  email: string;
2134
+ /**
2135
+ * The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')
2136
+ */
2137
+ permissioned_as: string;
1985
2138
  /**
1986
2139
  * Last error message if the schedule failed to trigger
1987
2140
  */
@@ -2046,6 +2199,7 @@ export type Schedule = {
2046
2199
  * Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
2047
2200
  */
2048
2201
  dynamic_skip?: string | null;
2202
+ labels?: Array<(string)>;
2049
2203
  };
2050
2204
  export type ScheduleWJobs = Schedule & {
2051
2205
  jobs?: Array<{
@@ -2142,13 +2296,14 @@ export type NewSchedule = {
2142
2296
  */
2143
2297
  dynamic_skip?: string | null;
2144
2298
  /**
2145
- * Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
2299
+ * The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.
2146
2300
  */
2147
- email?: string;
2301
+ permissioned_as?: string;
2148
2302
  /**
2149
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2303
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2150
2304
  */
2151
- preserve_email?: boolean;
2305
+ preserve_permissioned_as?: boolean;
2306
+ labels?: Array<(string)>;
2152
2307
  };
2153
2308
  export type EditSchedule = {
2154
2309
  /**
@@ -2221,13 +2376,14 @@ export type EditSchedule = {
2221
2376
  */
2222
2377
  dynamic_skip?: string | null;
2223
2378
  /**
2224
- * Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
2379
+ * The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup'). Only admins and wm_deployers can set this via preserve_permissioned_as.
2225
2380
  */
2226
- email?: string;
2381
+ permissioned_as?: string | null;
2227
2382
  /**
2228
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2383
+ * If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity
2229
2384
  */
2230
- preserve_email?: boolean;
2385
+ preserve_permissioned_as?: boolean | null;
2386
+ labels?: Array<(string)>;
2231
2387
  };
2232
2388
  /**
2233
2389
  * job trigger kind (schedule, http, websocket...)
@@ -2247,9 +2403,9 @@ export type TriggerExtraProperty = {
2247
2403
  */
2248
2404
  script_path: string;
2249
2405
  /**
2250
- * Email of the user who owns this trigger, used for permissioned_as
2406
+ * The user or group this trigger runs as (permissioned_as)
2251
2407
  */
2252
- email: string;
2408
+ permissioned_as: string;
2253
2409
  /**
2254
2410
  * Additional permissions for this trigger
2255
2411
  */
@@ -2276,6 +2432,7 @@ export type TriggerExtraProperty = {
2276
2432
  * Trigger mode (enabled/disabled)
2277
2433
  */
2278
2434
  mode: TriggerMode;
2435
+ labels?: Array<(string)>;
2279
2436
  };
2280
2437
  export type AuthenticationMethod = 'none' | 'windmill' | 'api_key' | 'basic_http' | 'custom_script' | 'signature';
2281
2438
  export type RunnableKind = 'script' | 'flow';
@@ -2483,13 +2640,14 @@ export type NewHttpTrigger = {
2483
2640
  */
2484
2641
  retry?: Retry;
2485
2642
  /**
2486
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
2643
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2487
2644
  */
2488
- email?: string;
2645
+ permissioned_as?: string;
2489
2646
  /**
2490
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2647
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2491
2648
  */
2492
- preserve_email?: boolean;
2649
+ preserve_permissioned_as?: boolean;
2650
+ labels?: Array<(string)>;
2493
2651
  };
2494
2652
  export type EditHttpTrigger = {
2495
2653
  /**
@@ -2582,13 +2740,14 @@ export type EditHttpTrigger = {
2582
2740
  */
2583
2741
  retry?: Retry;
2584
2742
  /**
2585
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
2743
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2586
2744
  */
2587
- email?: string;
2745
+ permissioned_as?: string;
2588
2746
  /**
2589
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2747
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2590
2748
  */
2591
- preserve_email?: boolean;
2749
+ preserve_permissioned_as?: boolean;
2750
+ labels?: Array<(string)>;
2592
2751
  };
2593
2752
  export type TriggersCount = {
2594
2753
  primary_schedule?: {
@@ -2609,6 +2768,20 @@ export type TriggersCount = {
2609
2768
  nextcloud_count?: number;
2610
2769
  google_count?: number;
2611
2770
  };
2771
+ export type WebsocketHeartbeat = {
2772
+ /**
2773
+ * Interval in seconds between heartbeat messages
2774
+ */
2775
+ interval_secs: number;
2776
+ /**
2777
+ * Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).
2778
+ */
2779
+ message: string;
2780
+ /**
2781
+ * Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.
2782
+ */
2783
+ state_field?: string;
2784
+ };
2612
2785
  export type WebsocketTrigger = TriggerExtraProperty & {
2613
2786
  /**
2614
2787
  * The WebSocket URL to connect to (can be a static URL or computed by a runnable)
@@ -2633,6 +2806,10 @@ export type WebsocketTrigger = TriggerExtraProperty & {
2633
2806
  key: string;
2634
2807
  value: unknown;
2635
2808
  }>;
2809
+ /**
2810
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
2811
+ */
2812
+ filter_logic?: 'and' | 'or';
2636
2813
  /**
2637
2814
  * Messages to send immediately after connecting (can be raw strings or computed by runnables)
2638
2815
  */
@@ -2649,6 +2826,10 @@ export type WebsocketTrigger = TriggerExtraProperty & {
2649
2826
  * If true, error results are sent back through the WebSocket
2650
2827
  */
2651
2828
  can_return_error_result: boolean;
2829
+ /**
2830
+ * Optional periodic heartbeat message configuration
2831
+ */
2832
+ heartbeat?: WebsocketHeartbeat | null;
2652
2833
  /**
2653
2834
  * Path to a script or flow to run when the triggered job fails
2654
2835
  */
@@ -2687,6 +2868,10 @@ export type NewWebsocketTrigger = {
2687
2868
  key: string;
2688
2869
  value: unknown;
2689
2870
  }>;
2871
+ /**
2872
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
2873
+ */
2874
+ filter_logic?: 'and' | 'or';
2690
2875
  /**
2691
2876
  * Messages to send immediately after connecting (can be raw strings or computed by runnables)
2692
2877
  */
@@ -2703,6 +2888,10 @@ export type NewWebsocketTrigger = {
2703
2888
  * If true, error results are sent back through the WebSocket
2704
2889
  */
2705
2890
  can_return_error_result: boolean;
2891
+ /**
2892
+ * Optional periodic heartbeat message configuration
2893
+ */
2894
+ heartbeat?: WebsocketHeartbeat | null;
2706
2895
  /**
2707
2896
  * Path to a script or flow to run when the triggered job fails
2708
2897
  */
@@ -2716,13 +2905,14 @@ export type NewWebsocketTrigger = {
2716
2905
  */
2717
2906
  retry?: Retry;
2718
2907
  /**
2719
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
2908
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2720
2909
  */
2721
- email?: string;
2910
+ permissioned_as?: string;
2722
2911
  /**
2723
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2912
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2724
2913
  */
2725
- preserve_email?: boolean;
2914
+ preserve_permissioned_as?: boolean;
2915
+ labels?: Array<(string)>;
2726
2916
  };
2727
2917
  export type EditWebsocketTrigger = {
2728
2918
  /**
@@ -2748,6 +2938,10 @@ export type EditWebsocketTrigger = {
2748
2938
  key: string;
2749
2939
  value: unknown;
2750
2940
  }>;
2941
+ /**
2942
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
2943
+ */
2944
+ filter_logic?: 'and' | 'or';
2751
2945
  /**
2752
2946
  * Messages to send immediately after connecting (can be raw strings or computed by runnables)
2753
2947
  */
@@ -2764,6 +2958,10 @@ export type EditWebsocketTrigger = {
2764
2958
  * If true, error results are sent back through the WebSocket
2765
2959
  */
2766
2960
  can_return_error_result: boolean;
2961
+ /**
2962
+ * Optional periodic heartbeat message configuration
2963
+ */
2964
+ heartbeat?: WebsocketHeartbeat | null;
2767
2965
  /**
2768
2966
  * Path to a script or flow to run when the triggered job fails
2769
2967
  */
@@ -2777,13 +2975,14 @@ export type EditWebsocketTrigger = {
2777
2975
  */
2778
2976
  retry?: Retry;
2779
2977
  /**
2780
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
2978
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2781
2979
  */
2782
- email?: string;
2980
+ permissioned_as?: string;
2783
2981
  /**
2784
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2982
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2785
2983
  */
2786
- preserve_email?: boolean;
2984
+ preserve_permissioned_as?: boolean;
2985
+ labels?: Array<(string)>;
2787
2986
  };
2788
2987
  export type WebsocketTriggerInitialMessage = {
2789
2988
  raw_message: string;
@@ -2909,13 +3108,14 @@ export type NewMqttTrigger = {
2909
3108
  */
2910
3109
  retry?: Retry;
2911
3110
  /**
2912
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3111
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2913
3112
  */
2914
- email?: string;
3113
+ permissioned_as?: string;
2915
3114
  /**
2916
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3115
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2917
3116
  */
2918
- preserve_email?: boolean;
3117
+ preserve_permissioned_as?: boolean;
3118
+ labels?: Array<(string)>;
2919
3119
  };
2920
3120
  export type EditMqttTrigger = {
2921
3121
  /**
@@ -2968,13 +3168,14 @@ export type EditMqttTrigger = {
2968
3168
  */
2969
3169
  retry?: Retry;
2970
3170
  /**
2971
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3171
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2972
3172
  */
2973
- email?: string;
3173
+ permissioned_as?: string;
2974
3174
  /**
2975
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3175
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2976
3176
  */
2977
- preserve_email?: boolean;
3177
+ preserve_permissioned_as?: boolean;
3178
+ labels?: Array<(string)>;
2978
3179
  };
2979
3180
  /**
2980
3181
  * Delivery mode for messages. 'push' for HTTP push delivery where messages are sent to a webhook endpoint, 'pull' for polling where the trigger actively fetches messages.
@@ -3098,13 +3299,14 @@ export type GcpTriggerData = {
3098
3299
  */
3099
3300
  retry?: Retry;
3100
3301
  /**
3101
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3302
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3102
3303
  */
3103
- email?: string;
3304
+ permissioned_as?: string;
3104
3305
  /**
3105
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3306
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3106
3307
  */
3107
- preserve_email?: boolean;
3308
+ preserve_permissioned_as?: boolean;
3309
+ labels?: Array<(string)>;
3108
3310
  };
3109
3311
  export type GetAllTopicSubscription = {
3110
3312
  topic_id: string;
@@ -3220,13 +3422,14 @@ export type NewSqsTrigger = {
3220
3422
  */
3221
3423
  retry?: Retry;
3222
3424
  /**
3223
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3425
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3224
3426
  */
3225
- email?: string;
3427
+ permissioned_as?: string;
3226
3428
  /**
3227
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3429
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3228
3430
  */
3229
- preserve_email?: boolean;
3431
+ preserve_permissioned_as?: boolean;
3432
+ labels?: Array<(string)>;
3230
3433
  };
3231
3434
  export type EditSqsTrigger = {
3232
3435
  /**
@@ -3271,13 +3474,14 @@ export type EditSqsTrigger = {
3271
3474
  */
3272
3475
  retry?: Retry;
3273
3476
  /**
3274
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3477
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3275
3478
  */
3276
- email?: string;
3479
+ permissioned_as?: string;
3277
3480
  /**
3278
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3481
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3279
3482
  */
3280
- preserve_email?: boolean;
3483
+ preserve_permissioned_as?: boolean;
3484
+ labels?: Array<(string)>;
3281
3485
  };
3282
3486
  export type Slot = {
3283
3487
  name?: string;
@@ -3386,13 +3590,14 @@ export type NewPostgresTrigger = {
3386
3590
  */
3387
3591
  retry?: Retry;
3388
3592
  /**
3389
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3593
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3390
3594
  */
3391
- email?: string;
3595
+ permissioned_as?: string;
3392
3596
  /**
3393
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3597
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3394
3598
  */
3395
- preserve_email?: boolean;
3599
+ preserve_permissioned_as?: boolean;
3600
+ labels?: Array<(string)>;
3396
3601
  };
3397
3602
  export type EditPostgresTrigger = {
3398
3603
  /**
@@ -3437,13 +3642,14 @@ export type EditPostgresTrigger = {
3437
3642
  */
3438
3643
  retry?: Retry;
3439
3644
  /**
3440
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3645
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3441
3646
  */
3442
- email?: string;
3647
+ permissioned_as?: string;
3443
3648
  /**
3444
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3649
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3445
3650
  */
3446
- preserve_email?: boolean;
3651
+ preserve_permissioned_as?: boolean;
3652
+ labels?: Array<(string)>;
3447
3653
  };
3448
3654
  export type KafkaTrigger = TriggerExtraProperty & {
3449
3655
  /**
@@ -3462,6 +3668,10 @@ export type KafkaTrigger = TriggerExtraProperty & {
3462
3668
  key: string;
3463
3669
  value: unknown;
3464
3670
  }>;
3671
+ /**
3672
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
3673
+ */
3674
+ filter_logic?: 'and' | 'or';
3465
3675
  /**
3466
3676
  * Initial offset behavior when consumer group has no committed offset. 'latest' starts from new messages only, 'earliest' starts from the beginning.
3467
3677
  */
@@ -3524,6 +3734,10 @@ export type NewKafkaTrigger = {
3524
3734
  key: string;
3525
3735
  value: unknown;
3526
3736
  }>;
3737
+ /**
3738
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
3739
+ */
3740
+ filter_logic?: 'and' | 'or';
3527
3741
  /**
3528
3742
  * Initial offset behavior when consumer group has no committed offset.
3529
3743
  */
@@ -3546,13 +3760,14 @@ export type NewKafkaTrigger = {
3546
3760
  */
3547
3761
  retry?: Retry;
3548
3762
  /**
3549
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3763
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3550
3764
  */
3551
- email?: string;
3765
+ permissioned_as?: string;
3552
3766
  /**
3553
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3767
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3554
3768
  */
3555
- preserve_email?: boolean;
3769
+ preserve_permissioned_as?: boolean;
3770
+ labels?: Array<(string)>;
3556
3771
  };
3557
3772
  export type EditKafkaTrigger = {
3558
3773
  /**
@@ -3571,6 +3786,10 @@ export type EditKafkaTrigger = {
3571
3786
  key: string;
3572
3787
  value: unknown;
3573
3788
  }>;
3789
+ /**
3790
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
3791
+ */
3792
+ filter_logic?: 'and' | 'or';
3574
3793
  /**
3575
3794
  * Initial offset behavior when consumer group has no committed offset.
3576
3795
  */
@@ -3604,13 +3823,14 @@ export type EditKafkaTrigger = {
3604
3823
  */
3605
3824
  retry?: Retry;
3606
3825
  /**
3607
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3826
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3608
3827
  */
3609
- email?: string;
3828
+ permissioned_as?: string;
3610
3829
  /**
3611
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3830
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3612
3831
  */
3613
- preserve_email?: boolean;
3832
+ preserve_permissioned_as?: boolean;
3833
+ labels?: Array<(string)>;
3614
3834
  };
3615
3835
  export type NatsTrigger = TriggerExtraProperty & {
3616
3836
  /**
@@ -3705,13 +3925,14 @@ export type NewNatsTrigger = {
3705
3925
  */
3706
3926
  retry?: Retry;
3707
3927
  /**
3708
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3928
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3709
3929
  */
3710
- email?: string;
3930
+ permissioned_as?: string;
3711
3931
  /**
3712
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3932
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3713
3933
  */
3714
- preserve_email?: boolean;
3934
+ preserve_permissioned_as?: boolean;
3935
+ labels?: Array<(string)>;
3715
3936
  };
3716
3937
  export type EditNatsTrigger = {
3717
3938
  /**
@@ -3759,13 +3980,14 @@ export type EditNatsTrigger = {
3759
3980
  */
3760
3981
  retry?: Retry;
3761
3982
  /**
3762
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3983
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3763
3984
  */
3764
- email?: string;
3985
+ permissioned_as?: string;
3765
3986
  /**
3766
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3987
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3767
3988
  */
3768
- preserve_email?: boolean;
3989
+ preserve_permissioned_as?: boolean;
3990
+ labels?: Array<(string)>;
3769
3991
  };
3770
3992
  export type EmailTrigger = TriggerExtraProperty & {
3771
3993
  local_part: string;
@@ -3785,13 +4007,14 @@ export type NewEmailTrigger = {
3785
4007
  retry?: Retry;
3786
4008
  mode?: TriggerMode;
3787
4009
  /**
3788
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
4010
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3789
4011
  */
3790
- email?: string;
4012
+ permissioned_as?: string;
3791
4013
  /**
3792
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
4014
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3793
4015
  */
3794
- preserve_email?: boolean;
4016
+ preserve_permissioned_as?: boolean;
4017
+ labels?: Array<(string)>;
3795
4018
  };
3796
4019
  export type EditEmailTrigger = {
3797
4020
  path: string;
@@ -3803,13 +4026,14 @@ export type EditEmailTrigger = {
3803
4026
  error_handler_args?: ScriptArgs;
3804
4027
  retry?: Retry;
3805
4028
  /**
3806
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
4029
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3807
4030
  */
3808
- email?: string;
4031
+ permissioned_as?: string;
3809
4032
  /**
3810
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
4033
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3811
4034
  */
3812
- preserve_email?: boolean;
4035
+ preserve_permissioned_as?: boolean;
4036
+ labels?: Array<(string)>;
3813
4037
  };
3814
4038
  export type Group = {
3815
4039
  name: string;
@@ -3823,11 +4047,13 @@ export type InstanceGroup = {
3823
4047
  name: string;
3824
4048
  summary?: string;
3825
4049
  emails?: Array<(string)>;
4050
+ instance_role?: 'superadmin' | 'devops' | null;
3826
4051
  };
3827
4052
  export type InstanceGroupWithWorkspaces = {
3828
4053
  name: string;
3829
4054
  summary?: string;
3830
4055
  emails?: Array<(string)>;
4056
+ instance_role?: 'superadmin' | 'devops' | null;
3831
4057
  workspaces?: Array<WorkspaceInfo>;
3832
4058
  };
3833
4059
  export type WorkspaceInfo = {
@@ -3934,6 +4160,8 @@ export type GlobalUserInfo = {
3934
4160
  username?: string;
3935
4161
  operator_only?: boolean;
3936
4162
  first_time_user: boolean;
4163
+ role_source: 'manual' | 'instance_group';
4164
+ disabled: boolean;
3937
4165
  };
3938
4166
  export type Flow = OpenFlow & FlowMetadata & {
3939
4167
  lock_error_logs?: string;
@@ -3958,6 +4186,7 @@ export type FlowMetadata = {
3958
4186
  timeout?: number;
3959
4187
  visible_to_runner_only?: boolean;
3960
4188
  on_behalf_of_email?: string;
4189
+ labels?: Array<(string)>;
3961
4190
  };
3962
4191
  export type OpenFlowWPath = OpenFlow & {
3963
4192
  path: string;
@@ -3972,6 +4201,7 @@ export type OpenFlowWPath = OpenFlow & {
3972
4201
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email value instead of overwriting it.
3973
4202
  */
3974
4203
  preserve_on_behalf_of?: boolean;
4204
+ labels?: Array<(string)>;
3975
4205
  };
3976
4206
  export type FlowPreview = {
3977
4207
  value: FlowValue;
@@ -4021,6 +4251,7 @@ export type ListableApp = {
4021
4251
  edited_at: string;
4022
4252
  execution_mode: 'viewer' | 'publisher' | 'anonymous';
4023
4253
  raw_app?: boolean;
4254
+ labels?: Array<(string)>;
4024
4255
  };
4025
4256
  export type ScopeDefinition = {
4026
4257
  value: string;
@@ -4043,6 +4274,7 @@ export type ListableRawApp = {
4043
4274
  starred?: boolean;
4044
4275
  version: number;
4045
4276
  edited_at: string;
4277
+ labels?: Array<(string)>;
4046
4278
  };
4047
4279
  export type AppWithLastVersion = {
4048
4280
  id: number;
@@ -4061,6 +4293,7 @@ export type AppWithLastVersion = {
4061
4293
  custom_path?: string;
4062
4294
  raw_app: boolean;
4063
4295
  bundle_secret?: string;
4296
+ labels?: Array<(string)>;
4064
4297
  };
4065
4298
  export type AppWithLastVersionWDraft = AppWithLastVersion & {
4066
4299
  draft_only?: boolean;
@@ -4313,6 +4546,7 @@ export type ExportedInstanceGroup = {
4313
4546
  id?: string;
4314
4547
  scim_display_name?: string;
4315
4548
  external_id?: string;
4549
+ instance_role?: 'superadmin' | 'devops' | null;
4316
4550
  };
4317
4551
  export type JobSearchHit = {
4318
4552
  dancer?: string;
@@ -4436,7 +4670,7 @@ export type WorkspaceItemDiff = {
4436
4670
  /**
4437
4671
  * Type of the item
4438
4672
  */
4439
- kind: 'script' | 'flow' | 'app' | 'resource' | 'variable' | 'resource_type';
4673
+ kind: 'script' | 'flow' | 'app' | 'raw_app' | 'resource' | 'variable' | 'resource_type';
4440
4674
  /**
4441
4675
  * Path of the item in the workspace
4442
4676
  */
@@ -4634,6 +4868,11 @@ export type RuleBypasserGroups = Array<(string)>;
4634
4868
  * Users that can bypass this ruleset
4635
4869
  */
4636
4870
  export type RuleBypasserUsers = Array<(string)>;
4871
+ export type QuotaInfo = {
4872
+ used: number;
4873
+ limit: number;
4874
+ prunable: number;
4875
+ };
4637
4876
  export type NativeServiceName = 'nextcloud' | 'google';
4638
4877
  /**
4639
4878
  * A native trigger stored in Windmill
@@ -4666,6 +4905,10 @@ export type NativeTrigger = {
4666
4905
  * Error message if the trigger is in an error state
4667
4906
  */
4668
4907
  error?: string | null;
4908
+ /**
4909
+ * Short summary to be displayed when listed
4910
+ */
4911
+ summary?: string | null;
4669
4912
  };
4670
4913
  /**
4671
4914
  * Full trigger response containing both Windmill data and external service data
@@ -4698,6 +4941,10 @@ export type NativeTriggerWithExternal = {
4698
4941
  * Error message if the trigger is in an error state
4699
4942
  */
4700
4943
  error?: string | null;
4944
+ /**
4945
+ * Short summary to be displayed when listed
4946
+ */
4947
+ summary?: string | null;
4701
4948
  /**
4702
4949
  * Configuration data from the external service
4703
4950
  */
@@ -4760,6 +5007,10 @@ export type NativeTriggerData = {
4760
5007
  service_config: {
4761
5008
  [key: string]: unknown;
4762
5009
  };
5010
+ /**
5011
+ * Short summary to be displayed when listed
5012
+ */
5013
+ summary?: string | null;
4763
5014
  };
4764
5015
  /**
4765
5016
  * Response returned when a native trigger is created
@@ -5186,6 +5437,7 @@ export type GlobalUserUpdateData = {
5186
5437
  is_super_admin?: boolean;
5187
5438
  is_devops?: boolean;
5188
5439
  name?: string;
5440
+ disabled?: boolean;
5189
5441
  };
5190
5442
  };
5191
5443
  export type GlobalUserUpdateResponse = string;
@@ -5292,6 +5544,20 @@ export type DeclineInviteData = {
5292
5544
  };
5293
5545
  };
5294
5546
  export type DeclineInviteResponse = string;
5547
+ export type ImpersonateServiceAccountData = {
5548
+ requestBody: {
5549
+ username: string;
5550
+ };
5551
+ workspace: string;
5552
+ };
5553
+ export type ImpersonateServiceAccountResponse = string;
5554
+ export type ExitImpersonationData = {
5555
+ requestBody: {
5556
+ token: string;
5557
+ };
5558
+ workspace: string;
5559
+ };
5560
+ export type ExitImpersonationResponse = string;
5295
5561
  export type WhoisData = {
5296
5562
  username: string;
5297
5563
  workspace: string;
@@ -5417,6 +5683,21 @@ export type ImportInstallationData = {
5417
5683
  workspace: string;
5418
5684
  };
5419
5685
  export type ImportInstallationResponse = unknown;
5686
+ export type GhesInstallationCallbackData = {
5687
+ requestBody: {
5688
+ /**
5689
+ * The GitHub App installation ID from GHES
5690
+ */
5691
+ installation_id: number;
5692
+ };
5693
+ workspace: string;
5694
+ };
5695
+ export type GhesInstallationCallbackResponse = unknown;
5696
+ export type GetGhesConfigResponse = {
5697
+ base_url: string;
5698
+ app_slug: string;
5699
+ client_id: string;
5700
+ };
5420
5701
  export type ListWorkspacesResponse = Array<Workspace>;
5421
5702
  export type IsDomainAllowedResponse = boolean;
5422
5703
  export type ListUserWorkspacesResponse = UserWorkspaceList;
@@ -5512,6 +5793,13 @@ export type AddUserData = {
5512
5793
  workspace: string;
5513
5794
  };
5514
5795
  export type AddUserResponse = string;
5796
+ export type CreateServiceAccountData = {
5797
+ requestBody: {
5798
+ username: string;
5799
+ };
5800
+ workspace: string;
5801
+ };
5802
+ export type CreateServiceAccountResponse = string;
5515
5803
  export type DeleteInviteData = {
5516
5804
  /**
5517
5805
  * WorkspaceInvite
@@ -5683,6 +5971,14 @@ export type GetDependentsData = {
5683
5971
  workspace: string;
5684
5972
  };
5685
5973
  export type GetDependentsResponse = Array<DependencyDependent>;
5974
+ export type GetImportsData = {
5975
+ /**
5976
+ * The script path to get imports for
5977
+ */
5978
+ importerPath: string;
5979
+ workspace: string;
5980
+ };
5981
+ export type GetImportsResponse = Array<(string)>;
5686
5982
  export type GetDependentsAmountsData = {
5687
5983
  /**
5688
5984
  * List of imported paths to get dependents counts for
@@ -5871,7 +6167,20 @@ export type EditCopilotConfigData = {
5871
6167
  requestBody: AIConfig;
5872
6168
  workspace: string;
5873
6169
  };
5874
- export type EditCopilotConfigResponse = string;
6170
+ export type EditCopilotConfigResponse = {
6171
+ effective_ai_config: AIConfig;
6172
+ has_instance_ai_config: boolean;
6173
+ uses_instance_ai_config: boolean;
6174
+ instance_ai_summary?: InstanceAISummary;
6175
+ };
6176
+ export type GetCopilotSettingsStateData = {
6177
+ workspace: string;
6178
+ };
6179
+ export type GetCopilotSettingsStateResponse = {
6180
+ has_instance_ai_config: boolean;
6181
+ uses_instance_ai_config: boolean;
6182
+ instance_ai_summary?: InstanceAISummary;
6183
+ };
5875
6184
  export type GetCopilotInfoData = {
5876
6185
  workspace: string;
5877
6186
  };
@@ -5934,6 +6243,16 @@ export type EditDataTableConfigData = {
5934
6243
  workspace: string;
5935
6244
  };
5936
6245
  export type EditDataTableConfigResponse = unknown;
6246
+ export type GetGitSyncEnabledData = {
6247
+ workspace: string;
6248
+ };
6249
+ export type GetGitSyncEnabledResponse = {
6250
+ enabled?: boolean;
6251
+ reason?: string | null;
6252
+ max_repos?: number | null;
6253
+ user_count?: number | null;
6254
+ max_users?: number | null;
6255
+ };
5937
6256
  export type EditWorkspaceGitSyncConfigData = {
5938
6257
  /**
5939
6258
  * Workspace Git sync settings
@@ -6036,6 +6355,7 @@ export type GetWorkspaceDefaultAppData = {
6036
6355
  };
6037
6356
  export type GetWorkspaceDefaultAppResponse = {
6038
6357
  default_app_path?: string;
6358
+ default_app_raw?: boolean;
6039
6359
  };
6040
6360
  export type GetWorkspaceUsageData = {
6041
6361
  workspace: string;
@@ -6101,6 +6421,35 @@ export type DeleteProtectionRuleData = {
6101
6421
  workspace: string;
6102
6422
  };
6103
6423
  export type DeleteProtectionRuleResponse = string;
6424
+ export type LogAiChatData = {
6425
+ requestBody: {
6426
+ session_id: string;
6427
+ provider: string;
6428
+ model: string;
6429
+ mode: string;
6430
+ };
6431
+ workspace: string;
6432
+ };
6433
+ export type LogAiChatResponse = void;
6434
+ export type GetCloudQuotasData = {
6435
+ workspace: string;
6436
+ };
6437
+ export type GetCloudQuotasResponse = {
6438
+ scripts: QuotaInfo;
6439
+ flows: QuotaInfo;
6440
+ apps: QuotaInfo;
6441
+ variables: QuotaInfo;
6442
+ resources: QuotaInfo;
6443
+ };
6444
+ export type PruneVersionsData = {
6445
+ requestBody: {
6446
+ resource_type: 'scripts' | 'flows' | 'apps';
6447
+ };
6448
+ workspace: string;
6449
+ };
6450
+ export type PruneVersionsResponse = {
6451
+ pruned: number;
6452
+ };
6104
6453
  export type RefreshCustomInstanceUserPwdResponse = {
6105
6454
  [key: string]: unknown;
6106
6455
  };
@@ -6202,8 +6551,48 @@ export type TestObjectStorageConfigData = {
6202
6551
  };
6203
6552
  };
6204
6553
  export type TestObjectStorageConfigResponse = string;
6554
+ export type GetObjectStorageUsageResponse = {
6555
+ running: boolean;
6556
+ started_at: string;
6557
+ finished_at?: string | null;
6558
+ current_prefix?: string | null;
6559
+ scanned_objects: number;
6560
+ folders: Array<{
6561
+ prefix: string;
6562
+ size: number;
6563
+ partial?: boolean;
6564
+ }>;
6565
+ error?: string | null;
6566
+ } | null;
6567
+ export type ComputeObjectStorageUsageResponse = string;
6568
+ export type RunLogCleanupResponse = string;
6569
+ export type GetLogCleanupStatusResponse = {
6570
+ running: boolean;
6571
+ started_at: string;
6572
+ finished_at?: string | null;
6573
+ phase: string;
6574
+ total_service: number;
6575
+ processed_service: number;
6576
+ total_jobs: number;
6577
+ processed_jobs: number;
6578
+ s3_deleted: number;
6579
+ orphans_scanned: number;
6580
+ orphans_deleted: number;
6581
+ errors: number;
6582
+ last_error?: string | null;
6583
+ } | null;
6205
6584
  export type SendStatsResponse = string;
6206
- export type GetStatsResponse = string;
6585
+ export type RestartWorkerGroupData = {
6586
+ /**
6587
+ * the name of the worker group to restart
6588
+ */
6589
+ workerGroup: string;
6590
+ };
6591
+ export type RestartWorkerGroupResponse = string;
6592
+ export type GetStatsResponse = {
6593
+ signature?: string;
6594
+ data?: string;
6595
+ };
6207
6596
  export type GetLatestKeyRenewalAttemptResponse = {
6208
6597
  result: string;
6209
6598
  attempted_at: string;
@@ -6264,6 +6653,39 @@ export type MigrateSecretsToDatabaseData = {
6264
6653
  requestBody: VaultSettings;
6265
6654
  };
6266
6655
  export type MigrateSecretsToDatabaseResponse = SecretMigrationReport;
6656
+ export type TestAzureKvBackendData = {
6657
+ /**
6658
+ * Azure Key Vault settings to test
6659
+ */
6660
+ requestBody: AzureKeyVaultSettings;
6661
+ };
6662
+ export type TestAzureKvBackendResponse = string;
6663
+ export type MigrateSecretsToAzureKvData = {
6664
+ /**
6665
+ * Azure Key Vault settings for migration target
6666
+ */
6667
+ requestBody: AzureKeyVaultSettings;
6668
+ };
6669
+ export type MigrateSecretsToAzureKvResponse = SecretMigrationReport;
6670
+ export type MigrateSecretsFromAzureKvData = {
6671
+ /**
6672
+ * Azure Key Vault settings for migration source
6673
+ */
6674
+ requestBody: AzureKeyVaultSettings;
6675
+ };
6676
+ export type MigrateSecretsFromAzureKvResponse = SecretMigrationReport;
6677
+ export type TestAwsSmBackendData = {
6678
+ requestBody: AwsSecretsManagerSettings;
6679
+ };
6680
+ export type TestAwsSmBackendResponse = string;
6681
+ export type MigrateSecretsToAwsSmData = {
6682
+ requestBody: AwsSecretsManagerSettings;
6683
+ };
6684
+ export type MigrateSecretsToAwsSmResponse = SecretMigrationReport;
6685
+ export type MigrateSecretsFromAwsSmData = {
6686
+ requestBody: AwsSecretsManagerSettings;
6687
+ };
6688
+ export type MigrateSecretsFromAwsSmResponse = SecretMigrationReport;
6267
6689
  export type GetSecondaryStorageNamesData = {
6268
6690
  /**
6269
6691
  * If true, include "_default_" in the list if primary workspace storage is set
@@ -6422,6 +6844,10 @@ export type ListVariableData = {
6422
6844
  * pattern match filter for description field (case-insensitive)
6423
6845
  */
6424
6846
  description?: string;
6847
+ /**
6848
+ * Filter by label
6849
+ */
6850
+ label?: string;
6425
6851
  /**
6426
6852
  * which page to return (start at 1, default 1)
6427
6853
  */
@@ -6509,8 +6935,12 @@ export type CreateAccountData = {
6509
6935
  * MCP server URL for MCP OAuth token refresh
6510
6936
  */
6511
6937
  mcp_server_url?: string;
6512
- };
6513
- workspace: string;
6938
+ /**
6939
+ * OAuth scopes to use for token refresh. Overrides instance-level scopes.
6940
+ */
6941
+ scopes?: Array<(string)>;
6942
+ };
6943
+ workspace: string;
6514
6944
  };
6515
6945
  export type CreateAccountResponse = string;
6516
6946
  export type ConnectClientCredentialsData = {
@@ -6701,6 +7131,10 @@ export type ListResourceData = {
6701
7131
  * pattern match filter for description field (case-insensitive)
6702
7132
  */
6703
7133
  description?: string;
7134
+ /**
7135
+ * Filter by label
7136
+ */
7137
+ label?: string;
6704
7138
  /**
6705
7139
  * which page to return (start at 1, default 1)
6706
7140
  */
@@ -6937,6 +7371,10 @@ export type ListFlowsData = {
6937
7371
  *
6938
7372
  */
6939
7373
  includeDraftOnly?: boolean;
7374
+ /**
7375
+ * Filter by label
7376
+ */
7377
+ label?: string;
6940
7378
  /**
6941
7379
  * order by desc order (default true)
6942
7380
  */
@@ -7168,6 +7606,10 @@ export type ListAppsData = {
7168
7606
  *
7169
7607
  */
7170
7608
  includeDraftOnly?: boolean;
7609
+ /**
7610
+ * Filter by label
7611
+ */
7612
+ label?: string;
7171
7613
  /**
7172
7614
  * order by desc order (default true)
7173
7615
  */
@@ -7219,6 +7661,7 @@ export type CreateAppData = {
7219
7661
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
7220
7662
  */
7221
7663
  preserve_on_behalf_of?: boolean;
7664
+ labels?: Array<(string)>;
7222
7665
  };
7223
7666
  workspace: string;
7224
7667
  };
@@ -7240,6 +7683,7 @@ export type CreateAppRawData = {
7240
7683
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
7241
7684
  */
7242
7685
  preserve_on_behalf_of?: boolean;
7686
+ labels?: Array<(string)>;
7243
7687
  };
7244
7688
  js?: string;
7245
7689
  css?: string;
@@ -7342,6 +7786,7 @@ export type UpdateAppData = {
7342
7786
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
7343
7787
  */
7344
7788
  preserve_on_behalf_of?: boolean;
7789
+ labels?: Array<(string)>;
7345
7790
  };
7346
7791
  workspace: string;
7347
7792
  };
@@ -7362,6 +7807,7 @@ export type UpdateAppRawData = {
7362
7807
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
7363
7808
  */
7364
7809
  preserve_on_behalf_of?: boolean;
7810
+ labels?: Array<(string)>;
7365
7811
  };
7366
7812
  js?: string;
7367
7813
  css?: string;
@@ -7566,6 +8012,10 @@ export type ListScriptsData = {
7566
8012
  *
7567
8013
  */
7568
8014
  kinds?: string;
8015
+ /**
8016
+ * Filter by label
8017
+ */
8018
+ label?: string;
7569
8019
  /**
7570
8020
  * Filter to only include scripts written in the given languages.
7571
8021
  * Accepts multiple values as a comma-separated list.
@@ -7743,6 +8193,14 @@ export type UpdateScriptHistoryData = {
7743
8193
  workspace: string;
7744
8194
  };
7745
8195
  export type UpdateScriptHistoryResponse = string;
8196
+ export type ListDedicatedWithDepsData = {
8197
+ workspace: string;
8198
+ };
8199
+ export type ListDedicatedWithDepsResponse = Array<{
8200
+ path: string;
8201
+ language: 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets' | 'bun' | 'bunnative' | 'php' | 'rust' | 'ansible' | 'csharp' | 'oracledb' | 'duckdb' | 'java' | 'ruby';
8202
+ workspace_dep_names: Array<(string)>;
8203
+ }>;
7746
8204
  export type RawScriptByPathData = {
7747
8205
  path: string;
7748
8206
  workspace: string;
@@ -7780,6 +8238,47 @@ export type GetScriptDeploymentStatusResponse = {
7780
8238
  lock_error_logs?: string;
7781
8239
  job_id?: string;
7782
8240
  };
8241
+ export type StoreRawScriptTempData = {
8242
+ /**
8243
+ * script content to store
8244
+ */
8245
+ requestBody: string;
8246
+ workspace: string;
8247
+ };
8248
+ export type StoreRawScriptTempResponse = string;
8249
+ export type DiffRawScriptsWithDeployedData = {
8250
+ /**
8251
+ * scripts and workspace deps to diff against deployed versions
8252
+ */
8253
+ requestBody: {
8254
+ /**
8255
+ * map of script path to SHA256 content hash
8256
+ */
8257
+ scripts: {
8258
+ [key: string]: (string);
8259
+ };
8260
+ /**
8261
+ * workspace dependencies to diff
8262
+ */
8263
+ workspace_deps?: Array<{
8264
+ /**
8265
+ * CLI path (e.g. dependencies/package.json)
8266
+ */
8267
+ path: string;
8268
+ language: ScriptLang;
8269
+ /**
8270
+ * named workspace dependency (null for default)
8271
+ */
8272
+ name?: string;
8273
+ /**
8274
+ * SHA256 content hash
8275
+ */
8276
+ hash: string;
8277
+ }>;
8278
+ };
8279
+ workspace: string;
8280
+ };
8281
+ export type DiffRawScriptsWithDeployedResponse = Array<(string)>;
7783
8282
  export type CreateDraftData = {
7784
8283
  requestBody: {
7785
8284
  path: string;
@@ -9523,6 +10022,7 @@ export type GetJobUpdatesResponse = {
9523
10022
  workflow_as_code_status?: WorkflowStatus;
9524
10023
  };
9525
10024
  export type GetJobUpdatesSseData = {
10025
+ fast?: boolean;
9526
10026
  getProgress?: boolean;
9527
10027
  id: string;
9528
10028
  logOffset?: number;
@@ -9680,6 +10180,65 @@ export type GetTeamsApprovalPayloadData = {
9680
10180
  workspace: string;
9681
10181
  };
9682
10182
  export type GetTeamsApprovalPayloadResponse = unknown;
10183
+ export type ResumeSuspendedData = {
10184
+ jobId: string;
10185
+ requestBody: {
10186
+ /**
10187
+ * payload to send to the resumed job
10188
+ */
10189
+ payload?: unknown;
10190
+ /**
10191
+ * approval token for unauthenticated access
10192
+ */
10193
+ approval_token?: string;
10194
+ /**
10195
+ * whether to approve (true) or cancel (false) the job
10196
+ */
10197
+ approved?: boolean;
10198
+ };
10199
+ workspace: string;
10200
+ };
10201
+ export type ResumeSuspendedResponse = string;
10202
+ export type GetApprovalInfoData = {
10203
+ jobId: string;
10204
+ /**
10205
+ * approval token for unauthenticated access
10206
+ */
10207
+ token?: string;
10208
+ workspace: string;
10209
+ };
10210
+ export type GetApprovalInfoResponse = {
10211
+ flow_id: string;
10212
+ /**
10213
+ * form schema for the approval step
10214
+ */
10215
+ form_schema?: unknown;
10216
+ /**
10217
+ * description of the approval step
10218
+ */
10219
+ description?: unknown;
10220
+ approval_conditions?: {
10221
+ user_auth_required: boolean;
10222
+ user_groups_required: Array<(string)>;
10223
+ self_approval_disabled: boolean;
10224
+ };
10225
+ /**
10226
+ * whether the current user/token holder can approve
10227
+ */
10228
+ can_approve: boolean;
10229
+ /**
10230
+ * whether user authentication is required to approve
10231
+ */
10232
+ user_auth_required: boolean;
10233
+ /**
10234
+ * whether to hide the cancel button in the UI
10235
+ */
10236
+ hide_cancel?: boolean;
10237
+ approvers: Array<{
10238
+ resume_id: number;
10239
+ approver: string;
10240
+ }>;
10241
+ };
9683
10242
  export type ResumeSuspendedJobGetData = {
9684
10243
  approver?: string;
9685
10244
  id: string;
@@ -9928,11 +10487,21 @@ export type ListConversationMessagesData = {
9928
10487
  workspace: string;
9929
10488
  };
9930
10489
  export type ListConversationMessagesResponse = Array<FlowConversationMessage>;
10490
+ export type ListPathAutocompletePathsData = {
10491
+ workspace: string;
10492
+ };
10493
+ export type ListPathAutocompletePathsResponse = {
10494
+ paths: Array<(string)>;
10495
+ };
9931
10496
  export type ListRawAppsData = {
9932
10497
  /**
9933
10498
  * filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
9934
10499
  */
9935
10500
  createdBy?: string;
10501
+ /**
10502
+ * Filter by label
10503
+ */
10504
+ label?: string;
9936
10505
  /**
9937
10506
  * order by desc order (default true)
9938
10507
  */
@@ -10075,6 +10644,10 @@ export type ListSchedulesData = {
10075
10644
  * filter schedules by whether they target a flow
10076
10645
  */
10077
10646
  isFlow?: boolean;
10647
+ /**
10648
+ * Filter by label
10649
+ */
10650
+ label?: string;
10078
10651
  /**
10079
10652
  * which page to return (start at 1, default 1)
10080
10653
  */
@@ -10185,6 +10758,10 @@ export type GetHttpTriggerData = {
10185
10758
  export type GetHttpTriggerResponse = HttpTrigger;
10186
10759
  export type ListHttpTriggersData = {
10187
10760
  isFlow?: boolean;
10761
+ /**
10762
+ * Filter by label
10763
+ */
10764
+ label?: string;
10188
10765
  /**
10189
10766
  * which page to return (start at 1, default 1)
10190
10767
  */
@@ -10256,6 +10833,10 @@ export type GetWebsocketTriggerData = {
10256
10833
  export type GetWebsocketTriggerResponse = WebsocketTrigger;
10257
10834
  export type ListWebsocketTriggersData = {
10258
10835
  isFlow?: boolean;
10836
+ /**
10837
+ * Filter by label
10838
+ */
10839
+ label?: string;
10259
10840
  /**
10260
10841
  * which page to return (start at 1, default 1)
10261
10842
  */
@@ -10329,6 +10910,10 @@ export type GetKafkaTriggerData = {
10329
10910
  export type GetKafkaTriggerResponse = KafkaTrigger;
10330
10911
  export type ListKafkaTriggersData = {
10331
10912
  isFlow?: boolean;
10913
+ /**
10914
+ * Filter by label
10915
+ */
10916
+ label?: string;
10332
10917
  /**
10333
10918
  * which page to return (start at 1, default 1)
10334
10919
  */
@@ -10420,6 +11005,10 @@ export type GetNatsTriggerData = {
10420
11005
  export type GetNatsTriggerResponse = NatsTrigger;
10421
11006
  export type ListNatsTriggersData = {
10422
11007
  isFlow?: boolean;
11008
+ /**
11009
+ * Filter by label
11010
+ */
11011
+ label?: string;
10423
11012
  /**
10424
11013
  * which page to return (start at 1, default 1)
10425
11014
  */
@@ -10493,6 +11082,10 @@ export type GetSqsTriggerData = {
10493
11082
  export type GetSqsTriggerResponse = SqsTrigger;
10494
11083
  export type ListSqsTriggersData = {
10495
11084
  isFlow?: boolean;
11085
+ /**
11086
+ * Filter by label
11087
+ */
11088
+ label?: string;
10496
11089
  /**
10497
11090
  * which page to return (start at 1, default 1)
10498
11091
  */
@@ -10642,6 +11235,10 @@ export type ListNativeTriggersData = {
10642
11235
  * filter by is_flow
10643
11236
  */
10644
11237
  isFlow?: boolean;
11238
+ /**
11239
+ * Filter by label
11240
+ */
11241
+ label?: string;
10645
11242
  /**
10646
11243
  * which page to return (start at 1, default 1)
10647
11244
  */
@@ -10748,6 +11345,10 @@ export type GetMqttTriggerData = {
10748
11345
  export type GetMqttTriggerResponse = MqttTrigger;
10749
11346
  export type ListMqttTriggersData = {
10750
11347
  isFlow?: boolean;
11348
+ /**
11349
+ * Filter by label
11350
+ */
11351
+ label?: string;
10751
11352
  /**
10752
11353
  * which page to return (start at 1, default 1)
10753
11354
  */
@@ -10821,6 +11422,10 @@ export type GetGcpTriggerData = {
10821
11422
  export type GetGcpTriggerResponse = GcpTrigger;
10822
11423
  export type ListGcpTriggersData = {
10823
11424
  isFlow?: boolean;
11425
+ /**
11426
+ * Filter by label
11427
+ */
11428
+ label?: string;
10824
11429
  /**
10825
11430
  * which page to return (start at 1, default 1)
10826
11431
  */
@@ -11012,6 +11617,10 @@ export type GetPostgresTriggerData = {
11012
11617
  export type GetPostgresTriggerResponse = PostgresTrigger;
11013
11618
  export type ListPostgresTriggersData = {
11014
11619
  isFlow?: boolean;
11620
+ /**
11621
+ * Filter by label
11622
+ */
11623
+ label?: string;
11015
11624
  /**
11016
11625
  * which page to return (start at 1, default 1)
11017
11626
  */
@@ -11083,6 +11692,10 @@ export type GetEmailTriggerData = {
11083
11692
  export type GetEmailTriggerResponse = EmailTrigger;
11084
11693
  export type ListEmailTriggersData = {
11085
11694
  isFlow?: boolean;
11695
+ /**
11696
+ * Filter by label
11697
+ */
11698
+ label?: string;
11086
11699
  /**
11087
11700
  * which page to return (start at 1, default 1)
11088
11701
  */
@@ -11129,7 +11742,7 @@ export type ListInstanceGroupsWithWorkspacesResponse = Array<InstanceGroupWithWo
11129
11742
  export type GetInstanceGroupData = {
11130
11743
  name: string;
11131
11744
  };
11132
- export type GetInstanceGroupResponse = InstanceGroup;
11745
+ export type GetInstanceGroupResponse = InstanceGroupWithWorkspaces;
11133
11746
  export type CreateInstanceGroupData = {
11134
11747
  /**
11135
11748
  * create instance group
@@ -11147,6 +11760,10 @@ export type UpdateInstanceGroupData = {
11147
11760
  */
11148
11761
  requestBody: {
11149
11762
  new_summary: string;
11763
+ /**
11764
+ * Instance-level role for group members. 'superadmin', 'devops', 'user' or empty to clear.
11765
+ */
11766
+ instance_role?: string | null;
11150
11767
  };
11151
11768
  };
11152
11769
  export type UpdateInstanceGroupResponse = string;
@@ -11425,6 +12042,17 @@ export type ListAutoscalingEventsData = {
11425
12042
  export type ListAutoscalingEventsResponse = Array<AutoscalingEvent>;
11426
12043
  export type NativeKubernetesAutoscalingHealthcheckResponse = unknown;
11427
12044
  export type ListAvailablePythonVersionsResponse = Array<(string)>;
12045
+ export type ListAllWorkspaceDependenciesResponse = Array<{
12046
+ workspace_id: string;
12047
+ name?: string;
12048
+ language: ScriptLang;
12049
+ }>;
12050
+ export type ListAllDedicatedWithDepsResponse = Array<{
12051
+ workspace_id: string;
12052
+ path: string;
12053
+ language: ScriptLang;
12054
+ workspace_dep_names: Array<(string)>;
12055
+ }>;
11428
12056
  export type CreateAgentTokenData = {
11429
12057
  /**
11430
12058
  * agent token
@@ -12064,6 +12692,10 @@ export type CountSearchLogsIndexResponse = {
12064
12692
  [key: string]: unknown;
12065
12693
  };
12066
12694
  };
12695
+ export type GetIndexDiskStorageSizesResponse = {
12696
+ job_index_disk_size_bytes?: number | null;
12697
+ log_index_disk_size_bytes?: number | null;
12698
+ };
12067
12699
  export type ClearIndexData = {
12068
12700
  idxName: 'JobIndex' | 'ServiceLogIndex';
12069
12701
  };
@@ -12667,6 +13299,7 @@ export type $OpenApiTs = {
12667
13299
  is_super_admin?: boolean;
12668
13300
  is_devops?: boolean;
12669
13301
  name?: string;
13302
+ disabled?: boolean;
12670
13303
  };
12671
13304
  };
12672
13305
  res: {
@@ -12958,6 +13591,38 @@ export type $OpenApiTs = {
12958
13591
  };
12959
13592
  };
12960
13593
  };
13594
+ '/w/{workspace}/users/impersonate_service_account': {
13595
+ post: {
13596
+ req: {
13597
+ requestBody: {
13598
+ username: string;
13599
+ };
13600
+ workspace: string;
13601
+ };
13602
+ res: {
13603
+ /**
13604
+ * impersonation token
13605
+ */
13606
+ 201: string;
13607
+ };
13608
+ };
13609
+ };
13610
+ '/w/{workspace}/users/exit_impersonation': {
13611
+ post: {
13612
+ req: {
13613
+ requestBody: {
13614
+ token: string;
13615
+ };
13616
+ workspace: string;
13617
+ };
13618
+ res: {
13619
+ /**
13620
+ * exited impersonation
13621
+ */
13622
+ 200: string;
13623
+ };
13624
+ };
13625
+ };
12961
13626
  '/w/{workspace}/users/whois/{username}': {
12962
13627
  get: {
12963
13628
  req: {
@@ -13237,6 +13902,39 @@ export type $OpenApiTs = {
13237
13902
  };
13238
13903
  };
13239
13904
  };
13905
+ '/w/{workspace}/github_app/ghes_installation_callback': {
13906
+ post: {
13907
+ req: {
13908
+ requestBody: {
13909
+ /**
13910
+ * The GitHub App installation ID from GHES
13911
+ */
13912
+ installation_id: number;
13913
+ };
13914
+ workspace: string;
13915
+ };
13916
+ res: {
13917
+ /**
13918
+ * GHES installation registered successfully
13919
+ */
13920
+ 200: unknown;
13921
+ };
13922
+ };
13923
+ };
13924
+ '/github_app/ghes_config': {
13925
+ get: {
13926
+ res: {
13927
+ /**
13928
+ * GHES app configuration
13929
+ */
13930
+ 200: {
13931
+ base_url: string;
13932
+ app_slug: string;
13933
+ client_id: string;
13934
+ };
13935
+ };
13936
+ };
13937
+ };
13240
13938
  '/workspaces/list': {
13241
13939
  get: {
13242
13940
  res: {
@@ -13449,6 +14147,22 @@ export type $OpenApiTs = {
13449
14147
  };
13450
14148
  };
13451
14149
  };
14150
+ '/w/{workspace}/workspaces/create_service_account': {
14151
+ post: {
14152
+ req: {
14153
+ requestBody: {
14154
+ username: string;
14155
+ };
14156
+ workspace: string;
14157
+ };
14158
+ res: {
14159
+ /**
14160
+ * service account created
14161
+ */
14162
+ 201: string;
14163
+ };
14164
+ };
14165
+ };
13452
14166
  '/w/{workspace}/workspaces/delete_invite': {
13453
14167
  post: {
13454
14168
  req: {
@@ -13807,6 +14521,23 @@ export type $OpenApiTs = {
13807
14521
  };
13808
14522
  };
13809
14523
  };
14524
+ '/w/{workspace}/workspaces/get_imports/{importer_path}': {
14525
+ get: {
14526
+ req: {
14527
+ /**
14528
+ * The script path to get imports for
14529
+ */
14530
+ importerPath: string;
14531
+ workspace: string;
14532
+ };
14533
+ res: {
14534
+ /**
14535
+ * list of imported script paths
14536
+ */
14537
+ 200: Array<(string)>;
14538
+ };
14539
+ };
14540
+ };
13810
14541
  '/w/{workspace}/workspaces/get_dependents_amounts': {
13811
14542
  post: {
13812
14543
  req: {
@@ -14141,7 +14872,29 @@ export type $OpenApiTs = {
14141
14872
  /**
14142
14873
  * status
14143
14874
  */
14144
- 200: string;
14875
+ 200: {
14876
+ effective_ai_config: AIConfig;
14877
+ has_instance_ai_config: boolean;
14878
+ uses_instance_ai_config: boolean;
14879
+ instance_ai_summary?: InstanceAISummary;
14880
+ };
14881
+ };
14882
+ };
14883
+ };
14884
+ '/w/{workspace}/workspaces/get_copilot_settings_state': {
14885
+ get: {
14886
+ req: {
14887
+ workspace: string;
14888
+ };
14889
+ res: {
14890
+ /**
14891
+ * status
14892
+ */
14893
+ 200: {
14894
+ has_instance_ai_config: boolean;
14895
+ uses_instance_ai_config: boolean;
14896
+ instance_ai_summary?: InstanceAISummary;
14897
+ };
14145
14898
  };
14146
14899
  };
14147
14900
  };
@@ -14288,6 +15041,25 @@ export type $OpenApiTs = {
14288
15041
  };
14289
15042
  };
14290
15043
  };
15044
+ '/w/{workspace}/workspaces/git_sync_enabled': {
15045
+ get: {
15046
+ req: {
15047
+ workspace: string;
15048
+ };
15049
+ res: {
15050
+ /**
15051
+ * Git sync availability status
15052
+ */
15053
+ 200: {
15054
+ enabled?: boolean;
15055
+ reason?: string | null;
15056
+ max_repos?: number | null;
15057
+ user_count?: number | null;
15058
+ max_users?: number | null;
15059
+ };
15060
+ };
15061
+ };
15062
+ };
14291
15063
  '/w/{workspace}/workspaces/edit_git_sync_config': {
14292
15064
  post: {
14293
15065
  req: {
@@ -14482,6 +15254,7 @@ export type $OpenApiTs = {
14482
15254
  */
14483
15255
  200: {
14484
15256
  default_app_path?: string;
15257
+ default_app_raw?: boolean;
14485
15258
  };
14486
15259
  };
14487
15260
  };
@@ -14612,6 +15385,62 @@ export type $OpenApiTs = {
14612
15385
  };
14613
15386
  };
14614
15387
  };
15388
+ '/w/{workspace}/workspaces/log_chat': {
15389
+ post: {
15390
+ req: {
15391
+ requestBody: {
15392
+ session_id: string;
15393
+ provider: string;
15394
+ model: string;
15395
+ mode: string;
15396
+ };
15397
+ workspace: string;
15398
+ };
15399
+ res: {
15400
+ /**
15401
+ * logged
15402
+ */
15403
+ 204: void;
15404
+ };
15405
+ };
15406
+ };
15407
+ '/w/{workspace}/workspaces/cloud_quotas': {
15408
+ get: {
15409
+ req: {
15410
+ workspace: string;
15411
+ };
15412
+ res: {
15413
+ /**
15414
+ * cloud quota usage and limits
15415
+ */
15416
+ 200: {
15417
+ scripts: QuotaInfo;
15418
+ flows: QuotaInfo;
15419
+ apps: QuotaInfo;
15420
+ variables: QuotaInfo;
15421
+ resources: QuotaInfo;
15422
+ };
15423
+ };
15424
+ };
15425
+ };
15426
+ '/w/{workspace}/workspaces/prune_versions': {
15427
+ post: {
15428
+ req: {
15429
+ requestBody: {
15430
+ resource_type: 'scripts' | 'flows' | 'apps';
15431
+ };
15432
+ workspace: string;
15433
+ };
15434
+ res: {
15435
+ /**
15436
+ * number of pruned versions
15437
+ */
15438
+ 200: {
15439
+ pruned: number;
15440
+ };
15441
+ };
15442
+ };
15443
+ };
14615
15444
  '/settings/refresh_custom_instance_user_pwd': {
14616
15445
  post: {
14617
15446
  res: {
@@ -14828,6 +15657,70 @@ export type $OpenApiTs = {
14828
15657
  };
14829
15658
  };
14830
15659
  };
15660
+ '/settings/object_storage_usage': {
15661
+ get: {
15662
+ res: {
15663
+ /**
15664
+ * current or last storage-usage computation state
15665
+ */
15666
+ 200: {
15667
+ running: boolean;
15668
+ started_at: string;
15669
+ finished_at?: string | null;
15670
+ current_prefix?: string | null;
15671
+ scanned_objects: number;
15672
+ folders: Array<{
15673
+ prefix: string;
15674
+ size: number;
15675
+ partial?: boolean;
15676
+ }>;
15677
+ error?: string | null;
15678
+ } | null;
15679
+ };
15680
+ };
15681
+ post: {
15682
+ res: {
15683
+ /**
15684
+ * computation started
15685
+ */
15686
+ 202: string;
15687
+ };
15688
+ };
15689
+ };
15690
+ '/settings/run_log_cleanup': {
15691
+ post: {
15692
+ res: {
15693
+ /**
15694
+ * cleanup started
15695
+ */
15696
+ 202: string;
15697
+ };
15698
+ };
15699
+ };
15700
+ '/settings/log_cleanup_status': {
15701
+ get: {
15702
+ res: {
15703
+ /**
15704
+ * current or last log cleanup status (null if never run)
15705
+ */
15706
+ 200: {
15707
+ running: boolean;
15708
+ started_at: string;
15709
+ finished_at?: string | null;
15710
+ phase: string;
15711
+ total_service: number;
15712
+ processed_service: number;
15713
+ total_jobs: number;
15714
+ processed_jobs: number;
15715
+ s3_deleted: number;
15716
+ orphans_scanned: number;
15717
+ orphans_deleted: number;
15718
+ errors: number;
15719
+ last_error?: string | null;
15720
+ } | null;
15721
+ };
15722
+ };
15723
+ };
14831
15724
  '/settings/send_stats': {
14832
15725
  post: {
14833
15726
  res: {
@@ -14838,13 +15731,32 @@ export type $OpenApiTs = {
14838
15731
  };
14839
15732
  };
14840
15733
  };
15734
+ '/settings/restart_worker_group/{worker_group}': {
15735
+ post: {
15736
+ req: {
15737
+ /**
15738
+ * the name of the worker group to restart
15739
+ */
15740
+ workerGroup: string;
15741
+ };
15742
+ res: {
15743
+ /**
15744
+ * restart signal sent
15745
+ */
15746
+ 200: string;
15747
+ };
15748
+ };
15749
+ };
14841
15750
  '/settings/get_stats': {
14842
15751
  get: {
14843
15752
  res: {
14844
15753
  /**
14845
- * base64-encoded encrypted telemetry blob
15754
+ * telemetry stats JSON with signature
14846
15755
  */
14847
- 200: string;
15756
+ 200: {
15757
+ signature?: string;
15758
+ data?: string;
15759
+ };
14848
15760
  };
14849
15761
  };
14850
15762
  };
@@ -14925,70 +15837,160 @@ export type $OpenApiTs = {
14925
15837
  put: {
14926
15838
  req: {
14927
15839
  /**
14928
- * full instance configuration to apply
15840
+ * full instance configuration to apply
15841
+ */
15842
+ requestBody: InstanceConfig;
15843
+ };
15844
+ res: {
15845
+ /**
15846
+ * instance config updated
15847
+ */
15848
+ 200: string;
15849
+ };
15850
+ };
15851
+ };
15852
+ '/min_keep_alive_version': {
15853
+ get: {
15854
+ res: {
15855
+ /**
15856
+ * minimum keep-alive versions for workers and agents
15857
+ */
15858
+ 200: {
15859
+ /**
15860
+ * minimum version for normal workers
15861
+ */
15862
+ worker: string;
15863
+ /**
15864
+ * minimum version for agent workers
15865
+ */
15866
+ agent: string;
15867
+ };
15868
+ };
15869
+ };
15870
+ };
15871
+ '/.well-known/jwks.json': {
15872
+ get: {
15873
+ res: {
15874
+ /**
15875
+ * JSON Web Key Set
15876
+ */
15877
+ 200: JwksResponse;
15878
+ };
15879
+ };
15880
+ };
15881
+ '/settings/test_secret_backend': {
15882
+ post: {
15883
+ req: {
15884
+ /**
15885
+ * Vault settings to test
15886
+ */
15887
+ requestBody: VaultSettings;
15888
+ };
15889
+ res: {
15890
+ /**
15891
+ * connection successful
15892
+ */
15893
+ 200: string;
15894
+ };
15895
+ };
15896
+ };
15897
+ '/settings/migrate_secrets_to_vault': {
15898
+ post: {
15899
+ req: {
15900
+ /**
15901
+ * Vault settings for migration target
15902
+ */
15903
+ requestBody: VaultSettings;
15904
+ };
15905
+ res: {
15906
+ /**
15907
+ * migration report
15908
+ */
15909
+ 200: SecretMigrationReport;
15910
+ };
15911
+ };
15912
+ };
15913
+ '/settings/migrate_secrets_to_database': {
15914
+ post: {
15915
+ req: {
15916
+ /**
15917
+ * Vault settings for migration source
15918
+ */
15919
+ requestBody: VaultSettings;
15920
+ };
15921
+ res: {
15922
+ /**
15923
+ * migration report
15924
+ */
15925
+ 200: SecretMigrationReport;
15926
+ };
15927
+ };
15928
+ };
15929
+ '/settings/test_azure_kv_backend': {
15930
+ post: {
15931
+ req: {
15932
+ /**
15933
+ * Azure Key Vault settings to test
15934
+ */
15935
+ requestBody: AzureKeyVaultSettings;
15936
+ };
15937
+ res: {
15938
+ /**
15939
+ * connection successful
15940
+ */
15941
+ 200: string;
15942
+ };
15943
+ };
15944
+ };
15945
+ '/settings/migrate_secrets_to_azure_kv': {
15946
+ post: {
15947
+ req: {
15948
+ /**
15949
+ * Azure Key Vault settings for migration target
14929
15950
  */
14930
- requestBody: InstanceConfig;
15951
+ requestBody: AzureKeyVaultSettings;
14931
15952
  };
14932
15953
  res: {
14933
15954
  /**
14934
- * instance config updated
15955
+ * migration report
14935
15956
  */
14936
- 200: string;
15957
+ 200: SecretMigrationReport;
14937
15958
  };
14938
15959
  };
14939
15960
  };
14940
- '/min_keep_alive_version': {
14941
- get: {
14942
- res: {
15961
+ '/settings/migrate_secrets_from_azure_kv': {
15962
+ post: {
15963
+ req: {
14943
15964
  /**
14944
- * minimum keep-alive versions for workers and agents
15965
+ * Azure Key Vault settings for migration source
14945
15966
  */
14946
- 200: {
14947
- /**
14948
- * minimum version for normal workers
14949
- */
14950
- worker: string;
14951
- /**
14952
- * minimum version for agent workers
14953
- */
14954
- agent: string;
14955
- };
15967
+ requestBody: AzureKeyVaultSettings;
14956
15968
  };
14957
- };
14958
- };
14959
- '/.well-known/jwks.json': {
14960
- get: {
14961
15969
  res: {
14962
15970
  /**
14963
- * JSON Web Key Set
15971
+ * migration report
14964
15972
  */
14965
- 200: JwksResponse;
15973
+ 200: SecretMigrationReport;
14966
15974
  };
14967
15975
  };
14968
15976
  };
14969
- '/settings/test_secret_backend': {
15977
+ '/settings/test_aws_sm_backend': {
14970
15978
  post: {
14971
15979
  req: {
14972
- /**
14973
- * Vault settings to test
14974
- */
14975
- requestBody: VaultSettings;
15980
+ requestBody: AwsSecretsManagerSettings;
14976
15981
  };
14977
15982
  res: {
14978
15983
  /**
14979
- * connection successful
15984
+ * connection test result
14980
15985
  */
14981
15986
  200: string;
14982
15987
  };
14983
15988
  };
14984
15989
  };
14985
- '/settings/migrate_secrets_to_vault': {
15990
+ '/settings/migrate_secrets_to_aws_sm': {
14986
15991
  post: {
14987
15992
  req: {
14988
- /**
14989
- * Vault settings for migration target
14990
- */
14991
- requestBody: VaultSettings;
15993
+ requestBody: AwsSecretsManagerSettings;
14992
15994
  };
14993
15995
  res: {
14994
15996
  /**
@@ -14998,13 +16000,10 @@ export type $OpenApiTs = {
14998
16000
  };
14999
16001
  };
15000
16002
  };
15001
- '/settings/migrate_secrets_to_database': {
16003
+ '/settings/migrate_secrets_from_aws_sm': {
15002
16004
  post: {
15003
16005
  req: {
15004
- /**
15005
- * Vault settings for migration source
15006
- */
15007
- requestBody: VaultSettings;
16006
+ requestBody: AwsSecretsManagerSettings;
15008
16007
  };
15009
16008
  res: {
15010
16009
  /**
@@ -15318,6 +16317,10 @@ export type $OpenApiTs = {
15318
16317
  * pattern match filter for description field (case-insensitive)
15319
16318
  */
15320
16319
  description?: string;
16320
+ /**
16321
+ * Filter by label
16322
+ */
16323
+ label?: string;
15321
16324
  /**
15322
16325
  * which page to return (start at 1, default 1)
15323
16326
  */
@@ -15450,6 +16453,10 @@ export type $OpenApiTs = {
15450
16453
  * MCP server URL for MCP OAuth token refresh
15451
16454
  */
15452
16455
  mcp_server_url?: string;
16456
+ /**
16457
+ * OAuth scopes to use for token refresh. Overrides instance-level scopes.
16458
+ */
16459
+ scopes?: Array<(string)>;
15453
16460
  };
15454
16461
  workspace: string;
15455
16462
  };
@@ -15822,6 +16829,10 @@ export type $OpenApiTs = {
15822
16829
  * pattern match filter for description field (case-insensitive)
15823
16830
  */
15824
16831
  description?: string;
16832
+ /**
16833
+ * Filter by label
16834
+ */
16835
+ label?: string;
15825
16836
  /**
15826
16837
  * which page to return (start at 1, default 1)
15827
16838
  */
@@ -16256,6 +17267,10 @@ export type $OpenApiTs = {
16256
17267
  *
16257
17268
  */
16258
17269
  includeDraftOnly?: boolean;
17270
+ /**
17271
+ * Filter by label
17272
+ */
17273
+ label?: string;
16259
17274
  /**
16260
17275
  * order by desc order (default true)
16261
17276
  */
@@ -16694,6 +17709,10 @@ export type $OpenApiTs = {
16694
17709
  *
16695
17710
  */
16696
17711
  includeDraftOnly?: boolean;
17712
+ /**
17713
+ * Filter by label
17714
+ */
17715
+ label?: string;
16697
17716
  /**
16698
17717
  * order by desc order (default true)
16699
17718
  */
@@ -16754,6 +17773,7 @@ export type $OpenApiTs = {
16754
17773
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
16755
17774
  */
16756
17775
  preserve_on_behalf_of?: boolean;
17776
+ labels?: Array<(string)>;
16757
17777
  };
16758
17778
  workspace: string;
16759
17779
  };
@@ -16784,6 +17804,7 @@ export type $OpenApiTs = {
16784
17804
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
16785
17805
  */
16786
17806
  preserve_on_behalf_of?: boolean;
17807
+ labels?: Array<(string)>;
16787
17808
  };
16788
17809
  js?: string;
16789
17810
  css?: string;
@@ -17021,6 +18042,7 @@ export type $OpenApiTs = {
17021
18042
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
17022
18043
  */
17023
18044
  preserve_on_behalf_of?: boolean;
18045
+ labels?: Array<(string)>;
17024
18046
  };
17025
18047
  workspace: string;
17026
18048
  };
@@ -17050,6 +18072,7 @@ export type $OpenApiTs = {
17050
18072
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
17051
18073
  */
17052
18074
  preserve_on_behalf_of?: boolean;
18075
+ labels?: Array<(string)>;
17053
18076
  };
17054
18077
  js?: string;
17055
18078
  css?: string;
@@ -17362,6 +18385,10 @@ export type $OpenApiTs = {
17362
18385
  *
17363
18386
  */
17364
18387
  kinds?: string;
18388
+ /**
18389
+ * Filter by label
18390
+ */
18391
+ label?: string;
17365
18392
  /**
17366
18393
  * Filter to only include scripts written in the given languages.
17367
18394
  * Accepts multiple values as a comma-separated list.
@@ -17690,6 +18717,23 @@ export type $OpenApiTs = {
17690
18717
  };
17691
18718
  };
17692
18719
  };
18720
+ '/w/{workspace}/scripts/list_dedicated_with_deps': {
18721
+ get: {
18722
+ req: {
18723
+ workspace: string;
18724
+ };
18725
+ res: {
18726
+ /**
18727
+ * list of dedicated scripts with their workspace dependency names
18728
+ */
18729
+ 200: Array<{
18730
+ path: string;
18731
+ language: 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets' | 'bun' | 'bunnative' | 'php' | 'rust' | 'ansible' | 'csharp' | 'oracledb' | 'duckdb' | 'java' | 'ruby';
18732
+ workspace_dep_names: Array<(string)>;
18733
+ }>;
18734
+ };
18735
+ };
18736
+ };
17693
18737
  '/w/{workspace}/scripts/raw/p/{path}': {
17694
18738
  get: {
17695
18739
  req: {
@@ -17781,6 +18825,65 @@ export type $OpenApiTs = {
17781
18825
  };
17782
18826
  };
17783
18827
  };
18828
+ '/w/{workspace}/scripts/raw_temp/store': {
18829
+ post: {
18830
+ req: {
18831
+ /**
18832
+ * script content to store
18833
+ */
18834
+ requestBody: string;
18835
+ workspace: string;
18836
+ };
18837
+ res: {
18838
+ /**
18839
+ * hash of stored content
18840
+ */
18841
+ 200: string;
18842
+ };
18843
+ };
18844
+ };
18845
+ '/w/{workspace}/scripts/raw_temp/diff': {
18846
+ post: {
18847
+ req: {
18848
+ /**
18849
+ * scripts and workspace deps to diff against deployed versions
18850
+ */
18851
+ requestBody: {
18852
+ /**
18853
+ * map of script path to SHA256 content hash
18854
+ */
18855
+ scripts: {
18856
+ [key: string]: (string);
18857
+ };
18858
+ /**
18859
+ * workspace dependencies to diff
18860
+ */
18861
+ workspace_deps?: Array<{
18862
+ /**
18863
+ * CLI path (e.g. dependencies/package.json)
18864
+ */
18865
+ path: string;
18866
+ language: ScriptLang;
18867
+ /**
18868
+ * named workspace dependency (null for default)
18869
+ */
18870
+ name?: string;
18871
+ /**
18872
+ * SHA256 content hash
18873
+ */
18874
+ hash: string;
18875
+ }>;
18876
+ };
18877
+ workspace: string;
18878
+ };
18879
+ res: {
18880
+ /**
18881
+ * list of paths that differ from deployed versions
18882
+ */
18883
+ 200: Array<(string)>;
18884
+ };
18885
+ };
18886
+ };
17784
18887
  '/w/{workspace}/drafts/create': {
17785
18888
  post: {
17786
18889
  req: {
@@ -20153,6 +21256,7 @@ export type $OpenApiTs = {
20153
21256
  '/w/{workspace}/jobs_u/getupdate_sse/{id}': {
20154
21257
  get: {
20155
21258
  req: {
21259
+ fast?: boolean;
20156
21260
  getProgress?: boolean;
20157
21261
  id: string;
20158
21262
  logOffset?: number;
@@ -20461,6 +21565,83 @@ export type $OpenApiTs = {
20461
21565
  };
20462
21566
  };
20463
21567
  };
21568
+ '/w/{workspace}/jobs_u/flow/resume_suspended/{job_id}': {
21569
+ post: {
21570
+ req: {
21571
+ jobId: string;
21572
+ requestBody: {
21573
+ /**
21574
+ * payload to send to the resumed job
21575
+ */
21576
+ payload?: unknown;
21577
+ /**
21578
+ * approval token for unauthenticated access
21579
+ */
21580
+ approval_token?: string;
21581
+ /**
21582
+ * whether to approve (true) or cancel (false) the job
21583
+ */
21584
+ approved?: boolean;
21585
+ };
21586
+ workspace: string;
21587
+ };
21588
+ res: {
21589
+ /**
21590
+ * job resumed
21591
+ */
21592
+ 201: string;
21593
+ };
21594
+ };
21595
+ };
21596
+ '/w/{workspace}/jobs_u/flow/approval_info/{job_id}': {
21597
+ get: {
21598
+ req: {
21599
+ jobId: string;
21600
+ /**
21601
+ * approval token for unauthenticated access
21602
+ */
21603
+ token?: string;
21604
+ workspace: string;
21605
+ };
21606
+ res: {
21607
+ /**
21608
+ * approval info
21609
+ */
21610
+ 200: {
21611
+ flow_id: string;
21612
+ /**
21613
+ * form schema for the approval step
21614
+ */
21615
+ form_schema?: unknown;
21616
+ /**
21617
+ * description of the approval step
21618
+ */
21619
+ description?: unknown;
21620
+ approval_conditions?: {
21621
+ user_auth_required: boolean;
21622
+ user_groups_required: Array<(string)>;
21623
+ self_approval_disabled: boolean;
21624
+ };
21625
+ /**
21626
+ * whether the current user/token holder can approve
21627
+ */
21628
+ can_approve: boolean;
21629
+ /**
21630
+ * whether user authentication is required to approve
21631
+ */
21632
+ user_auth_required: boolean;
21633
+ /**
21634
+ * whether to hide the cancel button in the UI
21635
+ */
21636
+ hide_cancel?: boolean;
21637
+ approvers: Array<{
21638
+ resume_id: number;
21639
+ approver: string;
21640
+ }>;
21641
+ };
21642
+ };
21643
+ };
21644
+ };
20464
21645
  '/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}': {
20465
21646
  get: {
20466
21647
  req: {
@@ -20811,6 +21992,21 @@ export type $OpenApiTs = {
20811
21992
  };
20812
21993
  };
20813
21994
  };
21995
+ '/w/{workspace}/path_autocomplete/list_paths': {
21996
+ get: {
21997
+ req: {
21998
+ workspace: string;
21999
+ };
22000
+ res: {
22001
+ /**
22002
+ * deduplicated path list, sorted lexicographically
22003
+ */
22004
+ 200: {
22005
+ paths: Array<(string)>;
22006
+ };
22007
+ };
22008
+ };
22009
+ };
20814
22010
  '/w/{workspace}/raw_apps/list': {
20815
22011
  get: {
20816
22012
  req: {
@@ -20818,6 +22014,10 @@ export type $OpenApiTs = {
20818
22014
  * filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
20819
22015
  */
20820
22016
  createdBy?: string;
22017
+ /**
22018
+ * Filter by label
22019
+ */
22020
+ label?: string;
20821
22021
  /**
20822
22022
  * order by desc order (default true)
20823
22023
  */
@@ -21050,6 +22250,10 @@ export type $OpenApiTs = {
21050
22250
  * filter schedules by whether they target a flow
21051
22251
  */
21052
22252
  isFlow?: boolean;
22253
+ /**
22254
+ * Filter by label
22255
+ */
22256
+ label?: string;
21053
22257
  /**
21054
22258
  * which page to return (start at 1, default 1)
21055
22259
  */
@@ -21250,6 +22454,10 @@ export type $OpenApiTs = {
21250
22454
  get: {
21251
22455
  req: {
21252
22456
  isFlow?: boolean;
22457
+ /**
22458
+ * Filter by label
22459
+ */
22460
+ label?: string;
21253
22461
  /**
21254
22462
  * which page to return (start at 1, default 1)
21255
22463
  */
@@ -21393,6 +22601,10 @@ export type $OpenApiTs = {
21393
22601
  get: {
21394
22602
  req: {
21395
22603
  isFlow?: boolean;
22604
+ /**
22605
+ * Filter by label
22606
+ */
22607
+ label?: string;
21396
22608
  /**
21397
22609
  * which page to return (start at 1, default 1)
21398
22610
  */
@@ -21538,6 +22750,10 @@ export type $OpenApiTs = {
21538
22750
  get: {
21539
22751
  req: {
21540
22752
  isFlow?: boolean;
22753
+ /**
22754
+ * Filter by label
22755
+ */
22756
+ label?: string;
21541
22757
  /**
21542
22758
  * which page to return (start at 1, default 1)
21543
22759
  */
@@ -21719,6 +22935,10 @@ export type $OpenApiTs = {
21719
22935
  get: {
21720
22936
  req: {
21721
22937
  isFlow?: boolean;
22938
+ /**
22939
+ * Filter by label
22940
+ */
22941
+ label?: string;
21722
22942
  /**
21723
22943
  * which page to return (start at 1, default 1)
21724
22944
  */
@@ -21864,6 +23084,10 @@ export type $OpenApiTs = {
21864
23084
  get: {
21865
23085
  req: {
21866
23086
  isFlow?: boolean;
23087
+ /**
23088
+ * Filter by label
23089
+ */
23090
+ label?: string;
21867
23091
  /**
21868
23092
  * which page to return (start at 1, default 1)
21869
23093
  */
@@ -22157,6 +23381,10 @@ export type $OpenApiTs = {
22157
23381
  * filter by is_flow
22158
23382
  */
22159
23383
  isFlow?: boolean;
23384
+ /**
23385
+ * Filter by label
23386
+ */
23387
+ label?: string;
22160
23388
  /**
22161
23389
  * which page to return (start at 1, default 1)
22162
23390
  */
@@ -22371,6 +23599,10 @@ export type $OpenApiTs = {
22371
23599
  get: {
22372
23600
  req: {
22373
23601
  isFlow?: boolean;
23602
+ /**
23603
+ * Filter by label
23604
+ */
23605
+ label?: string;
22374
23606
  /**
22375
23607
  * which page to return (start at 1, default 1)
22376
23608
  */
@@ -22516,6 +23748,10 @@ export type $OpenApiTs = {
22516
23748
  get: {
22517
23749
  req: {
22518
23750
  isFlow?: boolean;
23751
+ /**
23752
+ * Filter by label
23753
+ */
23754
+ label?: string;
22519
23755
  /**
22520
23756
  * which page to return (start at 1, default 1)
22521
23757
  */
@@ -22914,6 +24150,10 @@ export type $OpenApiTs = {
22914
24150
  get: {
22915
24151
  req: {
22916
24152
  isFlow?: boolean;
24153
+ /**
24154
+ * Filter by label
24155
+ */
24156
+ label?: string;
22917
24157
  /**
22918
24158
  * which page to return (start at 1, default 1)
22919
24159
  */
@@ -23057,6 +24297,10 @@ export type $OpenApiTs = {
23057
24297
  get: {
23058
24298
  req: {
23059
24299
  isFlow?: boolean;
24300
+ /**
24301
+ * Filter by label
24302
+ */
24303
+ label?: string;
23060
24304
  /**
23061
24305
  * which page to return (start at 1, default 1)
23062
24306
  */
@@ -23161,7 +24405,7 @@ export type $OpenApiTs = {
23161
24405
  /**
23162
24406
  * instance group
23163
24407
  */
23164
- 200: InstanceGroup;
24408
+ 200: InstanceGroupWithWorkspaces;
23165
24409
  };
23166
24410
  };
23167
24411
  };
@@ -23193,6 +24437,10 @@ export type $OpenApiTs = {
23193
24437
  */
23194
24438
  requestBody: {
23195
24439
  new_summary: string;
24440
+ /**
24441
+ * Instance-level role for group members. 'superadmin', 'devops', 'user' or empty to clear.
24442
+ */
24443
+ instance_role?: string | null;
23196
24444
  };
23197
24445
  };
23198
24446
  res: {
@@ -23777,6 +25025,35 @@ export type $OpenApiTs = {
23777
25025
  };
23778
25026
  };
23779
25027
  };
25028
+ '/configs/list_all_workspace_dependencies': {
25029
+ get: {
25030
+ res: {
25031
+ /**
25032
+ * a list of workspace dependency summaries
25033
+ */
25034
+ 200: Array<{
25035
+ workspace_id: string;
25036
+ name?: string;
25037
+ language: ScriptLang;
25038
+ }>;
25039
+ };
25040
+ };
25041
+ };
25042
+ '/configs/list_all_dedicated_with_deps': {
25043
+ get: {
25044
+ res: {
25045
+ /**
25046
+ * a list of dedicated scripts with workspace dependencies
25047
+ */
25048
+ 200: Array<{
25049
+ workspace_id: string;
25050
+ path: string;
25051
+ language: ScriptLang;
25052
+ workspace_dep_names: Array<(string)>;
25053
+ }>;
25054
+ };
25055
+ };
25056
+ };
23780
25057
  '/agent_workers/create_agent_token': {
23781
25058
  post: {
23782
25059
  req: {
@@ -24918,6 +26195,19 @@ export type $OpenApiTs = {
24918
26195
  };
24919
26196
  };
24920
26197
  };
26198
+ '/srch/index/storage/disk': {
26199
+ get: {
26200
+ res: {
26201
+ /**
26202
+ * disk storage sizes for each index
26203
+ */
26204
+ 200: {
26205
+ job_index_disk_size_bytes?: number | null;
26206
+ log_index_disk_size_bytes?: number | null;
26207
+ };
26208
+ };
26209
+ };
26210
+ };
24921
26211
  '/indexer/delete/{idx_name}': {
24922
26212
  delete: {
24923
26213
  req: {