@grafana/assistant 0.1.33 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/README.md +187 -33
  2. package/dist/components/button/OpenAssistantButton.d.ts +3 -3
  3. package/dist/components/button/OpenAssistantButton.d.ts.map +1 -1
  4. package/dist/components/button/OpenAssistantSplitButton.d.ts +2 -2
  5. package/dist/components/button/OpenAssistantSplitButton.d.ts.map +1 -1
  6. package/dist/components/button/QueryWithAssistantButton.d.ts +2 -2
  7. package/dist/components/button/QueryWithAssistantButton.d.ts.map +1 -1
  8. package/dist/components/input/AITextArea.d.ts +1 -1
  9. package/dist/components/input/AITextArea.d.ts.map +1 -1
  10. package/dist/components/input/AITextInput.d.ts +1 -1
  11. package/dist/components/input/AITextInput.d.ts.map +1 -1
  12. package/dist/components/input/useAIGeneration.d.ts.map +1 -1
  13. package/dist/components/prompt-card/AssistantPromptCard.d.ts +2 -2
  14. package/dist/components/prompt-card/AssistantPromptCard.d.ts.map +1 -1
  15. package/dist/context/agentSkill.d.ts +69 -0
  16. package/dist/context/agentSkill.d.ts.map +1 -0
  17. package/dist/context/base.d.ts.map +1 -1
  18. package/dist/context/chat.d.ts.map +1 -1
  19. package/dist/context/component.d.ts.map +1 -1
  20. package/dist/context/dashboard.d.ts.map +1 -1
  21. package/dist/context/datasource.d.ts.map +1 -1
  22. package/dist/context/entity.d.ts.map +1 -1
  23. package/dist/context/factory.d.ts.map +1 -1
  24. package/dist/context/index.d.ts +1 -0
  25. package/dist/context/index.d.ts.map +1 -1
  26. package/dist/context/label.d.ts.map +1 -1
  27. package/dist/context/page.d.ts.map +1 -1
  28. package/dist/context/skill.d.ts.map +1 -1
  29. package/dist/context/types.d.ts +15 -1
  30. package/dist/context/types.d.ts.map +1 -1
  31. package/dist/esm/components/button/OpenAssistantButton.js +2 -2
  32. package/dist/esm/components/button/OpenAssistantSplitButton.js +1 -0
  33. package/dist/esm/components/button/OpenAssistantSplitButton.js.map +1 -1
  34. package/dist/esm/components/input/useAIGeneration.js +14 -1
  35. package/dist/esm/components/input/useAIGeneration.js.map +1 -1
  36. package/dist/esm/components/prompt-card/AssistantPromptCard.js.map +1 -1
  37. package/dist/esm/context/agentSkill.js +70 -0
  38. package/dist/esm/context/agentSkill.js.map +1 -0
  39. package/dist/esm/context/base.js.map +1 -1
  40. package/dist/esm/context/chat.js +1 -0
  41. package/dist/esm/context/chat.js.map +1 -1
  42. package/dist/esm/context/component.js.map +1 -1
  43. package/dist/esm/context/factory.js +6 -4
  44. package/dist/esm/context/factory.js.map +1 -1
  45. package/dist/esm/context/index.js +1 -0
  46. package/dist/esm/context/index.js.map +1 -1
  47. package/dist/esm/context/page.js.map +1 -1
  48. package/dist/esm/context/questions.js +20 -26
  49. package/dist/esm/context/questions.js.map +1 -1
  50. package/dist/esm/extension/extension.js +8 -9
  51. package/dist/esm/extension/extension.js.map +1 -1
  52. package/dist/esm/extension/index.js +2 -1
  53. package/dist/esm/extension/index.js.map +1 -1
  54. package/dist/esm/extension/suggestionContexts.js +35 -0
  55. package/dist/esm/extension/suggestionContexts.js.map +1 -0
  56. package/dist/esm/index.js +3 -1
  57. package/dist/esm/index.js.map +1 -1
  58. package/dist/esm/inline/index.js.map +1 -1
  59. package/dist/esm/inline/inlineAssistant.js +1 -1
  60. package/dist/esm/inline/inlineAssistant.js.map +1 -1
  61. package/dist/esm/inline/useInlineAssistant.js +8 -3
  62. package/dist/esm/inline/useInlineAssistant.js.map +1 -1
  63. package/dist/esm/investigations/api.gen.js +6 -0
  64. package/dist/esm/investigations/api.gen.js.map +1 -0
  65. package/dist/esm/investigations/client.js +76 -0
  66. package/dist/esm/investigations/client.js.map +1 -0
  67. package/dist/esm/investigations/index.js +3 -0
  68. package/dist/esm/investigations/index.js.map +1 -0
  69. package/dist/esm/investigations/observe.js +204 -0
  70. package/dist/esm/investigations/observe.js.map +1 -0
  71. package/dist/esm/investigations/types.js +2 -0
  72. package/dist/esm/investigations/types.js.map +1 -0
  73. package/dist/esm/k6.js.map +1 -1
  74. package/dist/esm/lens/investigationLens.js +1 -1
  75. package/dist/esm/lens/investigationLens.js.map +1 -1
  76. package/dist/esm/lens/useInvestigationThroughLens.js +3 -1
  77. package/dist/esm/lens/useInvestigationThroughLens.js.map +1 -1
  78. package/dist/esm/limits/index.js +1 -1
  79. package/dist/esm/limits/index.js.map +1 -1
  80. package/dist/esm/pathfinder.js +41 -0
  81. package/dist/esm/pathfinder.js.map +1 -0
  82. package/dist/esm/sidebar.js +40 -20
  83. package/dist/esm/sidebar.js.map +1 -1
  84. package/dist/esm/terms/index.js +43 -5
  85. package/dist/esm/terms/index.js.map +1 -1
  86. package/dist/esm/tools/toolFactory.js.map +1 -1
  87. package/dist/esm/utils/errorHandling.js.map +1 -1
  88. package/dist/esm/utils/theme.js +11 -1
  89. package/dist/esm/utils/theme.js.map +1 -1
  90. package/dist/extension/extension.d.ts +243 -90
  91. package/dist/extension/extension.d.ts.map +1 -1
  92. package/dist/extension/index.d.ts +2 -1
  93. package/dist/extension/index.d.ts.map +1 -1
  94. package/dist/extension/suggestionContexts.d.ts +36 -0
  95. package/dist/extension/suggestionContexts.d.ts.map +1 -0
  96. package/dist/index.d.ts +3 -1
  97. package/dist/index.d.ts.map +1 -1
  98. package/dist/index.js +1 -1
  99. package/dist/index.js.map +1 -1
  100. package/dist/inline/index.d.ts +1 -1
  101. package/dist/inline/index.d.ts.map +1 -1
  102. package/dist/inline/inlineAssistant.d.ts +19 -6
  103. package/dist/inline/inlineAssistant.d.ts.map +1 -1
  104. package/dist/inline/useInlineAssistant.d.ts +5 -1
  105. package/dist/inline/useInlineAssistant.d.ts.map +1 -1
  106. package/dist/investigations/api.gen.d.ts +1872 -0
  107. package/dist/investigations/api.gen.d.ts.map +1 -0
  108. package/dist/investigations/client.d.ts +8 -0
  109. package/dist/investigations/client.d.ts.map +1 -0
  110. package/dist/investigations/index.d.ts +5 -0
  111. package/dist/investigations/index.d.ts.map +1 -0
  112. package/dist/investigations/observe.d.ts +10 -0
  113. package/dist/investigations/observe.d.ts.map +1 -0
  114. package/dist/investigations/types.d.ts +26 -0
  115. package/dist/investigations/types.d.ts.map +1 -0
  116. package/dist/lens/investigationLens.d.ts +0 -5
  117. package/dist/lens/investigationLens.d.ts.map +1 -1
  118. package/dist/lens/useInvestigationThroughLens.d.ts.map +1 -1
  119. package/dist/pathfinder.d.ts +41 -0
  120. package/dist/pathfinder.d.ts.map +1 -0
  121. package/dist/sidebar.d.ts +15 -0
  122. package/dist/sidebar.d.ts.map +1 -1
  123. package/dist/terms/index.d.ts +8 -0
  124. package/dist/terms/index.d.ts.map +1 -1
  125. package/dist/terms/settings.gen.d.ts +565 -50
  126. package/dist/terms/settings.gen.d.ts.map +1 -1
  127. package/dist/tools/types.d.ts +3 -3
  128. package/dist/utils/theme.d.ts.map +1 -1
  129. package/package.json +21 -18
@@ -43,7 +43,7 @@ export interface paths {
43
43
  patch?: never;
44
44
  trace?: never;
45
45
  };
46
- '/settings/analyst': {
46
+ '/settings/chat-retention': {
47
47
  parameters: {
48
48
  query?: never;
49
49
  header?: never;
@@ -51,15 +51,15 @@ export interface paths {
51
51
  cookie?: never;
52
52
  };
53
53
  /**
54
- * Get Analyst settings
55
- * @description Retrieve Analyst mode's data warehouse datasource configuration for the current tenant
54
+ * Get chat retention settings
55
+ * @description Retrieve the chat retention policy and rollout state for the current tenant
56
56
  */
57
- get: operations['get-settings-analyst'];
57
+ get: operations['get-settings-chat-retention'];
58
58
  /**
59
- * Update Analyst settings
60
- * @description Update Analyst mode's data warehouse datasource configuration for the current tenant
59
+ * Update chat retention settings
60
+ * @description Confirm and apply a chat retention period
61
61
  */
62
- put: operations['put-settings-analyst'];
62
+ put: operations['put-settings-chat-retention'];
63
63
  post?: never;
64
64
  delete?: never;
65
65
  options?: never;
@@ -67,7 +67,7 @@ export interface paths {
67
67
  patch?: never;
68
68
  trace?: never;
69
69
  };
70
- '/settings/chat-retention': {
70
+ '/settings/coding-agents': {
71
71
  parameters: {
72
72
  query?: never;
73
73
  header?: never;
@@ -75,15 +75,15 @@ export interface paths {
75
75
  cookie?: never;
76
76
  };
77
77
  /**
78
- * Get chat retention settings
79
- * @description Retrieve the chat retention policy and rollout state for the current tenant
78
+ * Get coding agent settings
79
+ * @description Retrieve instance-wide coding agent enablement, provider selection, and Assistant chat approval policy
80
80
  */
81
- get: operations['get-settings-chat-retention'];
81
+ get: operations['get-settings-coding-agents'];
82
82
  /**
83
- * Update chat retention settings
84
- * @description Confirm and apply a chat retention period
83
+ * Update coding agent settings
84
+ * @description Update instance-wide coding agent enablement, provider selection, and Assistant chat approval policy. Changes apply to new handoffs. Investigations, automations, and watchers never wait for approval.
85
85
  */
86
- put: operations['put-settings-chat-retention'];
86
+ put: operations['put-settings-coding-agents'];
87
87
  post?: never;
88
88
  delete?: never;
89
89
  options?: never;
@@ -120,12 +120,12 @@ export interface paths {
120
120
  };
121
121
  /**
122
122
  * Get investigation trigger settings
123
- * @description Retrieve investigation trigger settings (enablement, limits, skipped incident labels) for the current tenant
123
+ * @description Retrieve investigation trigger settings (skipped incident labels, incident severity filter) for the current tenant
124
124
  */
125
125
  get: operations['get-settings-investigation-triggers'];
126
126
  /**
127
127
  * Update investigation trigger settings
128
- * @description Update investigation trigger settings (enablement, limits, skipped incident labels) for the current tenant
128
+ * @description Update investigation trigger settings (skipped incident labels, incident severity filter) for the current tenant. Fields that are omitted keep their saved values.
129
129
  */
130
130
  put: operations['put-settings-investigation-triggers'];
131
131
  post?: never;
@@ -144,12 +144,12 @@ export interface paths {
144
144
  };
145
145
  /**
146
146
  * Get tenant investigation settings
147
- * @description Retrieve the tenant's investigation settings: alert continuation behavior and the loops toggle
147
+ * @description Retrieve the tenant's investigation behavior and tool approval settings
148
148
  */
149
149
  get: operations['get-settings-investigations'];
150
150
  /**
151
151
  * Update tenant investigation settings
152
- * @description Update the tenant's investigation settings: alert continuation behavior and the loops toggle
152
+ * @description Update the tenant's investigation behavior and tool approval settings
153
153
  */
154
154
  put: operations['put-settings-investigations'];
155
155
  post?: never;
@@ -159,6 +159,54 @@ export interface paths {
159
159
  patch?: never;
160
160
  trace?: never;
161
161
  };
162
+ '/settings/loki-query-policy': {
163
+ parameters: {
164
+ query?: never;
165
+ header?: never;
166
+ path?: never;
167
+ cookie?: never;
168
+ };
169
+ get?: never;
170
+ /**
171
+ * Set the tenant Loki query policy
172
+ * @description Override the default Loki query-cost policy for the current tenant. Read the effective policy from GET /query-policy/loki.
173
+ */
174
+ put: operations['put-settings-loki-query-policy'];
175
+ post?: never;
176
+ /**
177
+ * Remove the tenant Loki query policy override
178
+ * @description Remove the tenant override so the default Loki query-cost policy applies. Returns the effective policy.
179
+ */
180
+ delete: operations['delete-settings-loki-query-policy'];
181
+ options?: never;
182
+ head?: never;
183
+ patch?: never;
184
+ trace?: never;
185
+ };
186
+ '/settings/pages': {
187
+ parameters: {
188
+ query?: never;
189
+ header?: never;
190
+ path?: never;
191
+ cookie?: never;
192
+ };
193
+ /**
194
+ * Get Pages network access
195
+ * @description Read the tenant-wide allowlist for direct connections from Pages. An unsaved policy returns the default common-service origins; the current Grafana origin is always allowed. Inherited CSP and CORS still apply.
196
+ */
197
+ get: operations['get-settings-pages'];
198
+ /**
199
+ * Update Pages network access
200
+ * @description Replace the tenant-wide allowlist of HTTPS and WSS origins. An empty list allows only the current Grafana origin. Open Pages adopt changes on their next policy refresh.
201
+ */
202
+ put: operations['put-settings-pages'];
203
+ post?: never;
204
+ delete?: never;
205
+ options?: never;
206
+ head?: never;
207
+ patch?: never;
208
+ trace?: never;
209
+ };
162
210
  '/settings/sandbox': {
163
211
  parameters: {
164
212
  query?: never;
@@ -207,6 +255,30 @@ export interface paths {
207
255
  patch?: never;
208
256
  trace?: never;
209
257
  };
258
+ '/settings/slack-user-linking': {
259
+ parameters: {
260
+ query?: never;
261
+ header?: never;
262
+ path?: never;
263
+ cookie?: never;
264
+ };
265
+ /**
266
+ * Get Slack user-linking settings
267
+ * @description Retrieve the tenant-wide policy for automatically linking Slack users to Grafana users by exact email match
268
+ */
269
+ get: operations['get-settings-slack-user-linking'];
270
+ /**
271
+ * Update Slack user-linking settings
272
+ * @description Update the tenant-wide policy for automatically linking Slack users to Grafana users by exact email match
273
+ */
274
+ put: operations['put-settings-slack-user-linking'];
275
+ post?: never;
276
+ delete?: never;
277
+ options?: never;
278
+ head?: never;
279
+ patch?: never;
280
+ trace?: never;
281
+ };
210
282
  '/settings/sql-indexing': {
211
283
  parameters: {
212
284
  query?: never;
@@ -263,13 +335,27 @@ export interface components {
263
335
  */
264
336
  readonly $schema?: string;
265
337
  acceptedTermsAndConditions: boolean | null;
338
+ /**
339
+ * @description Terms type the caller displayed, as returned by GET /settings/terms.
340
+ * @enum {string}
341
+ */
342
+ termsType?: 'msa' | 'termsAndConditions';
343
+ /** @description Terms version the caller displayed, as returned by GET /settings/terms. */
344
+ version?: string;
266
345
  };
267
- AnalystSettingsResponse: {
268
- grafanaUrl?: string;
269
- /** Format: date-time */
270
- updatedAt: string;
271
- warehouseDatasourceType?: string;
272
- warehouseDatasourceUid?: string;
346
+ AlertInvestigationThrottleRule: {
347
+ /** Format: int64 */
348
+ maxInvestigations: number;
349
+ severity: string;
350
+ /** Format: int64 */
351
+ windowMinutes: number;
352
+ };
353
+ BoxSettings: {
354
+ /**
355
+ * Format: int64
356
+ * @description How many boxes each user may have starting, running, or stopping at once. Stopped boxes do not count.
357
+ */
358
+ maxRunningPerUser: number;
273
359
  };
274
360
  ChatRetentionSettingsResponse: {
275
361
  allowedPeriodDays: number[];
@@ -281,6 +367,34 @@ export interface components {
281
367
  /** Format: int64 */
282
368
  periodDays?: number;
283
369
  };
370
+ CodingAgentModelSettings: {
371
+ claude: components['schemas']['CodingAgentModels'];
372
+ cursor: components['schemas']['CodingAgentModels'];
373
+ };
374
+ CodingAgentModels: {
375
+ /** @description Provider model ID for implementation. Empty uses the default model. */
376
+ coding?: string;
377
+ /** @description Provider model ID for repository research. Empty uses the default model. */
378
+ discovery?: string;
379
+ };
380
+ CodingAgentSettingsResponse: {
381
+ /** @description Grafana Box limits in effect, including defaults. */
382
+ boxes: components['schemas']['BoxSettings'];
383
+ /** @enum {string} */
384
+ defaultProvider: 'wingbox' | 'cursor' | 'claude';
385
+ enabled: boolean;
386
+ enabledProviders: string[];
387
+ models?: components['schemas']['CodingAgentModelSettings'];
388
+ /** @description Providers that must be confirmed in Assistant chat before spawn or resume. Investigations, automations, and watchers never wait, regardless of this list. */
389
+ requireAssistantChatApprovalProviders?: string[];
390
+ /**
391
+ * @deprecated
392
+ * @description Deprecated compatibility field. Always empty.
393
+ */
394
+ unattendedCloudAgentProviders: string[];
395
+ /** Format: date-time */
396
+ updatedAt?: string;
397
+ };
284
398
  Error: {
285
399
  /**
286
400
  * Format: uri
@@ -302,28 +416,63 @@ export interface components {
302
416
  };
303
417
  InvestigationSettingsResponse: {
304
418
  customSkippedIncidentLabelsEnabled: boolean;
419
+ /** @description IRM incident severities that start an investigation, matched case-insensitively. Omitted when there is no severity filter: every severity except Maintenance starts one. */
420
+ incidentSeverities?: string[];
305
421
  skippedIncidentLabels: components['schemas']['SkippedIncidentLabel'][];
306
422
  /** Format: date-time */
307
423
  updatedAt: string;
308
424
  };
309
- ResponseBodyAnalystSettingsResponse: {
425
+ LokiQueryPolicyResponse: {
426
+ /**
427
+ * Format: int64
428
+ * @description Scan budget for one query in bytes, estimated from Loki index stats. 0 means no byte budget.
429
+ */
430
+ maxBytes: number;
431
+ /**
432
+ * Format: int64
433
+ * @description Maximum effective time range of one query in seconds. 0 means no range cap.
434
+ */
435
+ maxRangeSeconds: number;
436
+ /**
437
+ * @description off skips evaluation, shadow records what would be blocked but admits every query, enforce rejects over-budget queries.
438
+ * @enum {string}
439
+ */
440
+ mode: 'off' | 'shadow' | 'enforce';
441
+ /**
442
+ * @description tenant when an administrator override applies, otherwise default.
443
+ * @enum {string}
444
+ */
445
+ source: 'default' | 'tenant';
446
+ };
447
+ PagesSettingsData: {
448
+ /** @description Whether users can approve additional sandbox hosts for a single conversation. Defaults to true. */
449
+ allowConversationSandboxHosts?: boolean;
450
+ /** @description Whether page authors can allow additional connection origins for a single page. Defaults to true. */
451
+ allowPageConnectOrigins?: boolean;
452
+ allowedConnectOrigins: string[];
453
+ /** @description Hosts every Pages sandbox can download from with HTTPS GET and HEAD requests, beyond the npm registry. A host starting with *. matches its subdomains. */
454
+ allowedSandboxHosts: string[];
455
+ /** Format: date-time */
456
+ updatedAt: string;
457
+ };
458
+ ResponseBodyChatRetentionSettingsResponse: {
310
459
  /**
311
460
  * Format: uri
312
461
  * @description A URL to the JSON Schema for this object.
313
- * @example https://example.com/schemas/ResponseBodyAnalystSettingsResponse.json
462
+ * @example https://example.com/schemas/ResponseBodyChatRetentionSettingsResponse.json
314
463
  */
315
464
  readonly $schema?: string;
316
- data: components['schemas']['AnalystSettingsResponse'];
465
+ data: components['schemas']['ChatRetentionSettingsResponse'];
317
466
  status: string;
318
467
  };
319
- ResponseBodyChatRetentionSettingsResponse: {
468
+ ResponseBodyCodingAgentSettingsResponse: {
320
469
  /**
321
470
  * Format: uri
322
471
  * @description A URL to the JSON Schema for this object.
323
- * @example https://example.com/schemas/ResponseBodyChatRetentionSettingsResponse.json
472
+ * @example https://example.com/schemas/ResponseBodyCodingAgentSettingsResponse.json
324
473
  */
325
474
  readonly $schema?: string;
326
- data: components['schemas']['ChatRetentionSettingsResponse'];
475
+ data: components['schemas']['CodingAgentSettingsResponse'];
327
476
  status: string;
328
477
  };
329
478
  ResponseBodyInvestigationSettingsResponse: {
@@ -336,6 +485,26 @@ export interface components {
336
485
  data: components['schemas']['InvestigationSettingsResponse'];
337
486
  status: string;
338
487
  };
488
+ ResponseBodyLokiQueryPolicyResponse: {
489
+ /**
490
+ * Format: uri
491
+ * @description A URL to the JSON Schema for this object.
492
+ * @example https://example.com/schemas/ResponseBodyLokiQueryPolicyResponse.json
493
+ */
494
+ readonly $schema?: string;
495
+ data: components['schemas']['LokiQueryPolicyResponse'];
496
+ status: string;
497
+ };
498
+ ResponseBodyPagesSettingsData: {
499
+ /**
500
+ * Format: uri
501
+ * @description A URL to the JSON Schema for this object.
502
+ * @example https://example.com/schemas/ResponseBodyPagesSettingsData.json
503
+ */
504
+ readonly $schema?: string;
505
+ data: components['schemas']['PagesSettingsData'];
506
+ status: string;
507
+ };
339
508
  ResponseBodySandboxSettingsResponse: {
340
509
  /**
341
510
  * Format: uri
@@ -346,6 +515,16 @@ export interface components {
346
515
  data: components['schemas']['SandboxSettingsResponse'];
347
516
  status: string;
348
517
  };
518
+ ResponseBodySlackUserLinkingSettingsResponse: {
519
+ /**
520
+ * Format: uri
521
+ * @description A URL to the JSON Schema for this object.
522
+ * @example https://example.com/schemas/ResponseBodySlackUserLinkingSettingsResponse.json
523
+ */
524
+ readonly $schema?: string;
525
+ data: components['schemas']['SlackUserLinkingSettingsResponse'];
526
+ status: string;
527
+ };
349
528
  ResponseBodySqlIndexingSettingsResponse: {
350
529
  /**
351
530
  * Format: uri
@@ -407,6 +586,13 @@ export interface components {
407
586
  key: string;
408
587
  value: string;
409
588
  };
589
+ SlackUserLinkingSettingsResponse: {
590
+ /** @description Whether automatic Slack user linking can run for this stack */
591
+ autoLinkAvailable: boolean;
592
+ autoLinkByEmail: boolean;
593
+ /** Format: date-time */
594
+ updatedAt?: string;
595
+ };
410
596
  SqlDatasourceConfigBody: {
411
597
  type: string;
412
598
  uid: string;
@@ -423,10 +609,27 @@ export interface components {
423
609
  updatedAt: string;
424
610
  };
425
611
  TenantInvestigationSettingsResponse: {
612
+ alertInvestigationThrottleRules: components['schemas']['AlertInvestigationThrottleRule'][];
613
+ /**
614
+ * @deprecated
615
+ * @description Deprecated compatibility field. Always false; investigation Loki cost checks cannot be bypassed.
616
+ */
617
+ autoApproveLokiQueries: boolean;
426
618
  /** Format: int64 */
427
619
  continuationWindowMinutes: number;
428
620
  continueOnAlertUpdates: boolean;
429
621
  continueOnIRMUpdates: boolean;
622
+ datasourceExecEnabled: boolean;
623
+ irmAlertInvestigationThrottleRules: components['schemas']['AlertInvestigationThrottleRule'][];
624
+ /**
625
+ * Format: int64
626
+ * @description How long after an investigation is created that a new IRM alert group for the same alert still joins it instead of starting a new investigation. Applies while continueOnIRMUpdates is on.
627
+ */
628
+ irmContinuationWindowMinutes: number;
629
+ /**
630
+ * @deprecated
631
+ * @description Deprecated compatibility field. Always true; the tenant loop setting is retired.
632
+ */
430
633
  loopsEnabled: boolean;
431
634
  /** Format: date-time */
432
635
  updatedAt: string;
@@ -443,6 +646,8 @@ export interface components {
443
646
  version?: string;
444
647
  };
445
648
  TermsAndConditionsResponse: {
649
+ /** Format: date-time */
650
+ acceptedAt?: string;
446
651
  acceptedTermsAndConditions?: boolean;
447
652
  acceptedVersion?: string;
448
653
  content: string;
@@ -450,26 +655,39 @@ export interface components {
450
655
  termsType: 'msa' | 'termsAndConditions';
451
656
  version: string;
452
657
  };
453
- UpdateAnalystSettingsBody: {
658
+ UpdateChatRetentionSettingsBody: {
454
659
  /**
455
660
  * Format: uri
456
661
  * @description A URL to the JSON Schema for this object.
457
- * @example https://example.com/schemas/UpdateAnalystSettingsBody.json
662
+ * @example https://example.com/schemas/UpdateChatRetentionSettingsBody.json
458
663
  */
459
664
  readonly $schema?: string;
460
- warehouseDatasourceType?: string;
461
- warehouseDatasourceUid?: string;
665
+ confirmed: boolean;
666
+ /** Format: int64 */
667
+ periodDays: number;
462
668
  };
463
- UpdateChatRetentionSettingsBody: {
669
+ UpdateCodingAgentSettingsInputBody: {
464
670
  /**
465
671
  * Format: uri
466
672
  * @description A URL to the JSON Schema for this object.
467
- * @example https://example.com/schemas/UpdateChatRetentionSettingsBody.json
673
+ * @example https://example.com/schemas/UpdateCodingAgentSettingsInputBody.json
468
674
  */
469
675
  readonly $schema?: string;
470
- confirmed: boolean;
471
- /** Format: int64 */
472
- periodDays: number;
676
+ /** @description Grafana Box limits. Omit to preserve the current limits. */
677
+ boxes?: components['schemas']['BoxSettings'];
678
+ /** @enum {string} */
679
+ defaultProvider: 'wingbox' | 'cursor' | 'claude';
680
+ enabled: boolean;
681
+ enabledProviders: string[];
682
+ /** @description Cursor and Claude model defaults for new agents. Omit to preserve existing choices; send empty model IDs to restore defaults. Existing agents keep their models. */
683
+ models?: components['schemas']['CodingAgentModelSettings'];
684
+ /** @description Providers that must be confirmed in Assistant chat before spawn or resume. Omit to keep the Cursor/Claude default for enabled cloud providers. Send an empty list to skip Assistant chat confirmation. Autonomous workflows never wait. */
685
+ requireAssistantChatApprovalProviders?: string[];
686
+ /**
687
+ * @deprecated
688
+ * @description Deprecated compatibility field. Accepted and ignored.
689
+ */
690
+ unattendedCloudAgentProviders?: string[];
473
691
  };
474
692
  UpdateInfraMemorySettingsBody: {
475
693
  /**
@@ -479,6 +697,8 @@ export interface components {
479
697
  */
480
698
  readonly $schema?: string;
481
699
  enabled: boolean;
700
+ /** @description Datasource UIDs infrastructure memory discovery must skip. Omit the field to leave the current exclusions unchanged, send a list to replace them, or send an empty list to clear them. */
701
+ excludedDatasourceUids?: string[];
482
702
  };
483
703
  UpdateInvestigationSettingsBody: {
484
704
  /**
@@ -488,7 +708,45 @@ export interface components {
488
708
  */
489
709
  readonly $schema?: string;
490
710
  customSkippedIncidentLabelsEnabled?: boolean;
491
- skippedIncidentLabels: components['schemas']['SkippedIncidentLabel'][];
711
+ /** @description IRM incident severities that start an investigation, for example Critical or Major; matched case-insensitively. Send an empty list to remove the filter, so every severity except Maintenance starts one. Maintenance cannot be selected. Omit to keep the saved filter. */
712
+ incidentSeverities?: string[];
713
+ /** @description Incident labels (key:value) that skip an investigation. Omit to keep the saved list. */
714
+ skippedIncidentLabels?: components['schemas']['SkippedIncidentLabel'][];
715
+ };
716
+ UpdateLokiQueryPolicyInputBody: {
717
+ /**
718
+ * Format: uri
719
+ * @description A URL to the JSON Schema for this object.
720
+ * @example https://example.com/schemas/UpdateLokiQueryPolicyInputBody.json
721
+ */
722
+ readonly $schema?: string;
723
+ /**
724
+ * Format: int64
725
+ * @description 0 disables the byte budget; otherwise at least 1 GiB.
726
+ */
727
+ maxBytes: number | null;
728
+ /**
729
+ * Format: int64
730
+ * @description 0 disables the range cap; otherwise between 1 hour and 365 days.
731
+ */
732
+ maxRangeSeconds: number | null;
733
+ /** @enum {string} */
734
+ mode: 'off' | 'shadow' | 'enforce';
735
+ };
736
+ UpdatePagesSettingsInputBody: {
737
+ /**
738
+ * Format: uri
739
+ * @description A URL to the JSON Schema for this object.
740
+ * @example https://example.com/schemas/UpdatePagesSettingsInputBody.json
741
+ */
742
+ readonly $schema?: string;
743
+ /** @description Whether users can approve additional sandbox hosts for a single conversation. Omit to keep the current value. */
744
+ allowConversationSandboxHosts?: boolean;
745
+ /** @description Whether page authors can allow additional connection origins for a single page. Omit to keep the current value. */
746
+ allowPageConnectOrigins?: boolean;
747
+ allowedConnectOrigins: string[];
748
+ /** @description Hosts every Pages sandbox can download from with HTTPS GET and HEAD requests, beyond the npm registry. Omit to keep the current list. */
749
+ allowedSandboxHosts?: string[];
492
750
  };
493
751
  UpdateSandboxSettingsBody: {
494
752
  /**
@@ -501,6 +759,15 @@ export interface components {
501
759
  blockedHosts: string[];
502
760
  networkEnabled: boolean;
503
761
  };
762
+ UpdateSlackUserLinkingSettingsInputBody: {
763
+ /**
764
+ * Format: uri
765
+ * @description A URL to the JSON Schema for this object.
766
+ * @example https://example.com/schemas/UpdateSlackUserLinkingSettingsInputBody.json
767
+ */
768
+ readonly $schema?: string;
769
+ autoLinkByEmail: boolean | null;
770
+ };
504
771
  UpdateSqlIndexingSettingsBody: {
505
772
  /**
506
773
  * Format: uri
@@ -519,10 +786,24 @@ export interface components {
519
786
  * @example https://example.com/schemas/UpdateTenantInvestigationSettingsBody.json
520
787
  */
521
788
  readonly $schema?: string;
789
+ alertInvestigationThrottleRules?: components['schemas']['AlertInvestigationThrottleRule'][];
790
+ /**
791
+ * @deprecated
792
+ * @description Deprecated compatibility field. Accepted and ignored.
793
+ */
794
+ autoApproveLokiQueries?: boolean;
522
795
  /** Format: int64 */
523
796
  continuationWindowMinutes?: number;
524
797
  continueOnAlertUpdates?: boolean;
525
798
  continueOnIRMUpdates?: boolean;
799
+ datasourceExecEnabled?: boolean;
800
+ irmAlertInvestigationThrottleRules?: components['schemas']['AlertInvestigationThrottleRule'][];
801
+ /** Format: int64 */
802
+ irmContinuationWindowMinutes?: number;
803
+ /**
804
+ * @deprecated
805
+ * @description Deprecated compatibility field. Accepted and ignored.
806
+ */
526
807
  loopsEnabled?: boolean;
527
808
  };
528
809
  UpdateUserSandboxSettingsBody: {
@@ -626,7 +907,7 @@ export interface operations {
626
907
  };
627
908
  };
628
909
  };
629
- 'get-settings-analyst': {
910
+ 'get-settings-chat-retention': {
630
911
  parameters: {
631
912
  query?: never;
632
913
  header?: {
@@ -649,7 +930,7 @@ export interface operations {
649
930
  [name: string]: unknown;
650
931
  };
651
932
  content: {
652
- 'application/json': components['schemas']['ResponseBodyAnalystSettingsResponse'];
933
+ 'application/json': components['schemas']['ResponseBodyChatRetentionSettingsResponse'];
653
934
  };
654
935
  };
655
936
  /** @description Error */
@@ -663,7 +944,7 @@ export interface operations {
663
944
  };
664
945
  };
665
946
  };
666
- 'put-settings-analyst': {
947
+ 'put-settings-chat-retention': {
667
948
  parameters: {
668
949
  query?: never;
669
950
  header?: {
@@ -680,7 +961,7 @@ export interface operations {
680
961
  };
681
962
  requestBody: {
682
963
  content: {
683
- 'application/json': components['schemas']['UpdateAnalystSettingsBody'];
964
+ 'application/json': components['schemas']['UpdateChatRetentionSettingsBody'];
684
965
  };
685
966
  };
686
967
  responses: {
@@ -690,7 +971,7 @@ export interface operations {
690
971
  [name: string]: unknown;
691
972
  };
692
973
  content: {
693
- 'application/json': components['schemas']['ResponseBodyAnalystSettingsResponse'];
974
+ 'application/json': components['schemas']['ResponseBodyChatRetentionSettingsResponse'];
694
975
  };
695
976
  };
696
977
  /** @description Error */
@@ -704,7 +985,7 @@ export interface operations {
704
985
  };
705
986
  };
706
987
  };
707
- 'get-settings-chat-retention': {
988
+ 'get-settings-coding-agents': {
708
989
  parameters: {
709
990
  query?: never;
710
991
  header?: {
@@ -727,7 +1008,7 @@ export interface operations {
727
1008
  [name: string]: unknown;
728
1009
  };
729
1010
  content: {
730
- 'application/json': components['schemas']['ResponseBodyChatRetentionSettingsResponse'];
1011
+ 'application/json': components['schemas']['ResponseBodyCodingAgentSettingsResponse'];
731
1012
  };
732
1013
  };
733
1014
  /** @description Error */
@@ -741,7 +1022,7 @@ export interface operations {
741
1022
  };
742
1023
  };
743
1024
  };
744
- 'put-settings-chat-retention': {
1025
+ 'put-settings-coding-agents': {
745
1026
  parameters: {
746
1027
  query?: never;
747
1028
  header?: {
@@ -758,7 +1039,7 @@ export interface operations {
758
1039
  };
759
1040
  requestBody: {
760
1041
  content: {
761
- 'application/json': components['schemas']['UpdateChatRetentionSettingsBody'];
1042
+ 'application/json': components['schemas']['UpdateCodingAgentSettingsInputBody'];
762
1043
  };
763
1044
  };
764
1045
  responses: {
@@ -768,7 +1049,7 @@ export interface operations {
768
1049
  [name: string]: unknown;
769
1050
  };
770
1051
  content: {
771
- 'application/json': components['schemas']['ResponseBodyChatRetentionSettingsResponse'];
1052
+ 'application/json': components['schemas']['ResponseBodyCodingAgentSettingsResponse'];
772
1053
  };
773
1054
  };
774
1055
  /** @description Error */
@@ -979,6 +1260,162 @@ export interface operations {
979
1260
  };
980
1261
  };
981
1262
  };
1263
+ 'put-settings-loki-query-policy': {
1264
+ parameters: {
1265
+ query?: never;
1266
+ header?: {
1267
+ 'X-Scope-OrgID'?: string;
1268
+ 'X-Grafana-User'?: string;
1269
+ 'X-Grafana-User-ID'?: string;
1270
+ 'X-Grafana-URL'?: string;
1271
+ 'X-Grafana-API-Key'?: string;
1272
+ 'X-Oss-Mode'?: boolean;
1273
+ 'X-User-Type'?: string;
1274
+ };
1275
+ path?: never;
1276
+ cookie?: never;
1277
+ };
1278
+ requestBody: {
1279
+ content: {
1280
+ 'application/json': components['schemas']['UpdateLokiQueryPolicyInputBody'];
1281
+ };
1282
+ };
1283
+ responses: {
1284
+ /** @description OK */
1285
+ 200: {
1286
+ headers: {
1287
+ [name: string]: unknown;
1288
+ };
1289
+ content: {
1290
+ 'application/json': components['schemas']['ResponseBodyLokiQueryPolicyResponse'];
1291
+ };
1292
+ };
1293
+ /** @description Error */
1294
+ default: {
1295
+ headers: {
1296
+ [name: string]: unknown;
1297
+ };
1298
+ content: {
1299
+ 'application/json': components['schemas']['Error'];
1300
+ };
1301
+ };
1302
+ };
1303
+ };
1304
+ 'delete-settings-loki-query-policy': {
1305
+ parameters: {
1306
+ query?: never;
1307
+ header?: {
1308
+ 'X-Scope-OrgID'?: string;
1309
+ 'X-Grafana-User'?: string;
1310
+ 'X-Grafana-User-ID'?: string;
1311
+ 'X-Grafana-URL'?: string;
1312
+ 'X-Grafana-API-Key'?: string;
1313
+ 'X-Oss-Mode'?: boolean;
1314
+ 'X-User-Type'?: string;
1315
+ };
1316
+ path?: never;
1317
+ cookie?: never;
1318
+ };
1319
+ requestBody?: never;
1320
+ responses: {
1321
+ /** @description OK */
1322
+ 200: {
1323
+ headers: {
1324
+ [name: string]: unknown;
1325
+ };
1326
+ content: {
1327
+ 'application/json': components['schemas']['ResponseBodyLokiQueryPolicyResponse'];
1328
+ };
1329
+ };
1330
+ /** @description Error */
1331
+ default: {
1332
+ headers: {
1333
+ [name: string]: unknown;
1334
+ };
1335
+ content: {
1336
+ 'application/json': components['schemas']['Error'];
1337
+ };
1338
+ };
1339
+ };
1340
+ };
1341
+ 'get-settings-pages': {
1342
+ parameters: {
1343
+ query?: never;
1344
+ header?: {
1345
+ 'X-Scope-OrgID'?: string;
1346
+ 'X-Grafana-User'?: string;
1347
+ 'X-Grafana-User-ID'?: string;
1348
+ 'X-Grafana-URL'?: string;
1349
+ 'X-Grafana-API-Key'?: string;
1350
+ 'X-Oss-Mode'?: boolean;
1351
+ 'X-User-Type'?: string;
1352
+ };
1353
+ path?: never;
1354
+ cookie?: never;
1355
+ };
1356
+ requestBody?: never;
1357
+ responses: {
1358
+ /** @description OK */
1359
+ 200: {
1360
+ headers: {
1361
+ [name: string]: unknown;
1362
+ };
1363
+ content: {
1364
+ 'application/json': components['schemas']['ResponseBodyPagesSettingsData'];
1365
+ };
1366
+ };
1367
+ /** @description Error */
1368
+ default: {
1369
+ headers: {
1370
+ [name: string]: unknown;
1371
+ };
1372
+ content: {
1373
+ 'application/json': components['schemas']['Error'];
1374
+ };
1375
+ };
1376
+ };
1377
+ };
1378
+ 'put-settings-pages': {
1379
+ parameters: {
1380
+ query?: never;
1381
+ header?: {
1382
+ 'X-Scope-OrgID'?: string;
1383
+ 'X-Grafana-User'?: string;
1384
+ 'X-Grafana-User-ID'?: string;
1385
+ 'X-Grafana-URL'?: string;
1386
+ 'X-Grafana-API-Key'?: string;
1387
+ 'X-Oss-Mode'?: boolean;
1388
+ 'X-User-Type'?: string;
1389
+ };
1390
+ path?: never;
1391
+ cookie?: never;
1392
+ };
1393
+ requestBody: {
1394
+ content: {
1395
+ 'application/json': components['schemas']['UpdatePagesSettingsInputBody'];
1396
+ };
1397
+ };
1398
+ responses: {
1399
+ /** @description OK */
1400
+ 200: {
1401
+ headers: {
1402
+ [name: string]: unknown;
1403
+ };
1404
+ content: {
1405
+ 'application/json': components['schemas']['ResponseBodyPagesSettingsData'];
1406
+ };
1407
+ };
1408
+ /** @description Error */
1409
+ default: {
1410
+ headers: {
1411
+ [name: string]: unknown;
1412
+ };
1413
+ content: {
1414
+ 'application/json': components['schemas']['Error'];
1415
+ };
1416
+ };
1417
+ };
1418
+ };
982
1419
  'get-settings-sandbox': {
983
1420
  parameters: {
984
1421
  query?: never;
@@ -1135,6 +1572,84 @@ export interface operations {
1135
1572
  };
1136
1573
  };
1137
1574
  };
1575
+ 'get-settings-slack-user-linking': {
1576
+ parameters: {
1577
+ query?: never;
1578
+ header?: {
1579
+ 'X-Scope-OrgID'?: string;
1580
+ 'X-Grafana-User'?: string;
1581
+ 'X-Grafana-User-ID'?: string;
1582
+ 'X-Grafana-URL'?: string;
1583
+ 'X-Grafana-API-Key'?: string;
1584
+ 'X-Oss-Mode'?: boolean;
1585
+ 'X-User-Type'?: string;
1586
+ };
1587
+ path?: never;
1588
+ cookie?: never;
1589
+ };
1590
+ requestBody?: never;
1591
+ responses: {
1592
+ /** @description OK */
1593
+ 200: {
1594
+ headers: {
1595
+ [name: string]: unknown;
1596
+ };
1597
+ content: {
1598
+ 'application/json': components['schemas']['ResponseBodySlackUserLinkingSettingsResponse'];
1599
+ };
1600
+ };
1601
+ /** @description Error */
1602
+ default: {
1603
+ headers: {
1604
+ [name: string]: unknown;
1605
+ };
1606
+ content: {
1607
+ 'application/json': components['schemas']['Error'];
1608
+ };
1609
+ };
1610
+ };
1611
+ };
1612
+ 'put-settings-slack-user-linking': {
1613
+ parameters: {
1614
+ query?: never;
1615
+ header?: {
1616
+ 'X-Scope-OrgID'?: string;
1617
+ 'X-Grafana-User'?: string;
1618
+ 'X-Grafana-User-ID'?: string;
1619
+ 'X-Grafana-URL'?: string;
1620
+ 'X-Grafana-API-Key'?: string;
1621
+ 'X-Oss-Mode'?: boolean;
1622
+ 'X-User-Type'?: string;
1623
+ };
1624
+ path?: never;
1625
+ cookie?: never;
1626
+ };
1627
+ requestBody: {
1628
+ content: {
1629
+ 'application/json': components['schemas']['UpdateSlackUserLinkingSettingsInputBody'];
1630
+ };
1631
+ };
1632
+ responses: {
1633
+ /** @description OK */
1634
+ 200: {
1635
+ headers: {
1636
+ [name: string]: unknown;
1637
+ };
1638
+ content: {
1639
+ 'application/json': components['schemas']['ResponseBodySlackUserLinkingSettingsResponse'];
1640
+ };
1641
+ };
1642
+ /** @description Error */
1643
+ default: {
1644
+ headers: {
1645
+ [name: string]: unknown;
1646
+ };
1647
+ content: {
1648
+ 'application/json': components['schemas']['Error'];
1649
+ };
1650
+ };
1651
+ };
1652
+ };
1138
1653
  'get-settings-sql-indexing': {
1139
1654
  parameters: {
1140
1655
  query?: never;