@grepr/cli 1.4.4 → 1.4.6-89f48f6

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.
@@ -110,6 +110,34 @@ export interface paths {
110
110
  patch?: never;
111
111
  trace?: never;
112
112
  };
113
+ "/v1/datasets/{id}/estimation-config": {
114
+ parameters: {
115
+ query?: never;
116
+ header?: never;
117
+ path?: never;
118
+ cookie?: never;
119
+ };
120
+ /**
121
+ * Get dataset impact estimation configuration
122
+ * @description Returns the impact-estimation configuration for the dataset, or null when the dataset is not opted in for estimation. The presence of a configuration is the per-dataset opt-in for impact estimation.
123
+ */
124
+ get: operations["getDatasetEstimationConfig"];
125
+ /**
126
+ * Create or update dataset impact estimation configuration
127
+ * @description Creates or replaces the impact-estimation configuration for the dataset. Replacing the configuration takes effect on the next estimation cycle.
128
+ */
129
+ put: operations["upsertDatasetEstimationConfig"];
130
+ post?: never;
131
+ /**
132
+ * Delete dataset impact estimation configuration
133
+ * @description Deletes the impact-estimation configuration for the dataset. Existing estimation rows for the dataset remain dormant until a new configuration is created.
134
+ */
135
+ delete: operations["deleteDatasetEstimationConfig"];
136
+ options?: never;
137
+ head?: never;
138
+ patch?: never;
139
+ trace?: never;
140
+ };
113
141
  "/v1/files/upload/presigned-url": {
114
142
  parameters: {
115
143
  query?: never;
@@ -1375,7 +1403,7 @@ export interface paths {
1375
1403
  patch?: never;
1376
1404
  trace?: never;
1377
1405
  };
1378
- "/v1/integrations/{integrationId}/exceptions/impact-estimation-config": {
1406
+ "/v1/integrations/{integrationId}/exceptions/estimation-datasets": {
1379
1407
  parameters: {
1380
1408
  query?: never;
1381
1409
  header?: never;
@@ -1383,40 +1411,12 @@ export interface paths {
1383
1411
  cookie?: never;
1384
1412
  };
1385
1413
  /**
1386
- * Get exception impact estimation configuration
1387
- * @description Get the exception impact estimation configuration for the specified integration. This configuration controls how exception impact percentages are calculated.
1388
- */
1389
- get: operations["getExceptionImpactEstimationConfig"];
1390
- /**
1391
- * Create or update exception impact estimation configuration
1392
- * @description Create or update the exception impact estimation configuration for the specified integration. If a configuration already exists, it will be updated with the provided values.
1393
- */
1394
- put: operations["upsertExceptionImpactEstimationConfig"];
1395
- post?: never;
1396
- /**
1397
- * Delete exception impact estimation configuration
1398
- * @description Delete the exception impact estimation configuration for the specified integration.
1414
+ * List estimation-eligible datasets for an integration
1415
+ * @description Returns datasets that are sinks of the integration's non-deleted pipelines, each with the pipelines that wire the integration to that dataset and the dataset's current estimation configuration (or null when not opted in). The estimation configuration is per-dataset and shared across every integration whose pipelines target the same dataset.
1399
1416
  */
1400
- delete: operations["deleteExceptionImpactEstimationConfig"];
1401
- options?: never;
1402
- head?: never;
1403
- patch?: never;
1404
- trace?: never;
1405
- };
1406
- "/v1/integrations/{integrationId}/exceptions/impact-estimation-refresh": {
1407
- parameters: {
1408
- query?: never;
1409
- header?: never;
1410
- path?: never;
1411
- cookie?: never;
1412
- };
1413
- get?: never;
1417
+ get: operations["getEstimationDatasets"];
1414
1418
  put?: never;
1415
- /**
1416
- * Trigger immediate impact estimation refresh
1417
- * @description Triggers an immediate refresh of exception impact percentages for all exceptions in the specified integration. This bypasses the normal refresh period schedule and recalculates impact percentages based on the current data. Useful when pipeline configuration changes or when you need up-to-date impact metrics.
1418
- */
1419
- post: operations["triggerExceptionImpactEstimationRefresh"];
1419
+ post?: never;
1420
1420
  delete?: never;
1421
1421
  options?: never;
1422
1422
  head?: never;
@@ -1827,6 +1827,66 @@ export interface paths {
1827
1827
  patch?: never;
1828
1828
  trace?: never;
1829
1829
  };
1830
+ "/v1/pipelines/{pipelineId}/exceptions/estimation-datasets": {
1831
+ parameters: {
1832
+ query?: never;
1833
+ header?: never;
1834
+ path?: never;
1835
+ cookie?: never;
1836
+ };
1837
+ /**
1838
+ * List estimation-eligible datasets for a pipeline
1839
+ * @description Returns the pipeline's sink datasets, each joined with the dataset's current estimation configuration (or null when the dataset is not opted in). The estimation configuration is per-dataset and shared across every pipeline whose sink targets the same dataset.
1840
+ */
1841
+ get: operations["getEstimationDatasets_1"];
1842
+ put?: never;
1843
+ post?: never;
1844
+ delete?: never;
1845
+ options?: never;
1846
+ head?: never;
1847
+ patch?: never;
1848
+ trace?: never;
1849
+ };
1850
+ "/v1/pipelines/{pipelineId}/exceptions/impact-estimation-reset": {
1851
+ parameters: {
1852
+ query?: never;
1853
+ header?: never;
1854
+ path?: never;
1855
+ cookie?: never;
1856
+ };
1857
+ get?: never;
1858
+ put?: never;
1859
+ /**
1860
+ * Reset impact estimations for a pipeline
1861
+ * @description Clears the cached impact percentage and last-updated timestamp on estimation rows in the pipeline's scope. The hourly impact-estimation cycle picks up the cleared rows on its next tick; fresh values appear on a later poll. Rows currently being processed by an active estimation job are skipped and retain their values until that job completes. Returns the number of rows cleared; zero indicates a no-op (no opted-in sink datasets, or no estimation-capable source integrations).
1862
+ */
1863
+ post: operations["resetImpactEstimation"];
1864
+ delete?: never;
1865
+ options?: never;
1866
+ head?: never;
1867
+ patch?: never;
1868
+ trace?: never;
1869
+ };
1870
+ "/v1/pipelines/{pipelineId}/exceptions/integrations/{integrationId}/impacts": {
1871
+ parameters: {
1872
+ query?: never;
1873
+ header?: never;
1874
+ path?: never;
1875
+ cookie?: never;
1876
+ };
1877
+ /**
1878
+ * Get integration exception impacts for a pipeline
1879
+ * @description Returns the per-exception impact percentages the runtime auto-sync threshold filter would compare against for this pipeline/integration pair. The pipeline's sink dataset scopes the lookup; exceptions without an estimation row are absent from the response.
1880
+ */
1881
+ get: operations["getIntegrationExceptionImpacts"];
1882
+ put?: never;
1883
+ post?: never;
1884
+ delete?: never;
1885
+ options?: never;
1886
+ head?: never;
1887
+ patch?: never;
1888
+ trace?: never;
1889
+ };
1830
1890
  "/v1/query/parse": {
1831
1891
  parameters: {
1832
1892
  query?: never;
@@ -3107,7 +3167,6 @@ export interface components {
3107
3167
  * @example ************EN
3108
3168
  */
3109
3169
  readonly clientToken?: string;
3110
- estimationConfig?: components["schemas"]["EstimationConfig"];
3111
3170
  /** @description The imported exceptions from Datadog. This is a map from the vendor resource Id to the exception. */
3112
3171
  readonly exceptions?: {
3113
3172
  [key: string]: components["schemas"]["VendorImportedException"];
@@ -3353,6 +3412,36 @@ export interface components {
3353
3412
  /** @description The team IDs that this dataset is associated with. */
3354
3413
  teamIds?: string[];
3355
3414
  };
3415
+ DatasetEstimationConfig: {
3416
+ /** Format: date-time */
3417
+ readonly createdAt?: string;
3418
+ readonly datasetId?: string;
3419
+ /**
3420
+ * Format: int32
3421
+ * @description Maximum number of log messages to scan per estimation run.
3422
+ * @default 10000000
3423
+ * @example 10000000
3424
+ */
3425
+ logLimit: number;
3426
+ /**
3427
+ * Format: ISO-8601
3428
+ * @description Time window of data to scan per estimation run. ISO-8601 duration format.
3429
+ * @default PT1H
3430
+ * @example PT20.345S
3431
+ */
3432
+ lookbackDuration: string;
3433
+ readonly organizationId?: string;
3434
+ query?: components["schemas"]["EventPredicate"];
3435
+ /**
3436
+ * Format: ISO-8601
3437
+ * @description How often to recalculate impact percentages. ISO-8601 duration format.
3438
+ * @default P7D
3439
+ * @example PT20.345S
3440
+ */
3441
+ refreshPeriod: string;
3442
+ /** Format: date-time */
3443
+ readonly updatedAt?: string;
3444
+ };
3356
3445
  DatasetRead: {
3357
3446
  id: string;
3358
3447
  integrationId: string;
@@ -3489,36 +3578,19 @@ export interface components {
3489
3578
  exception?: string;
3490
3579
  message?: string;
3491
3580
  };
3492
- /** @description Configuration for automatic impact estimation on datasets sourced from this integration. */
3493
- EstimationConfig: {
3581
+ EstimationDatasetSummary: {
3582
+ config?: components["schemas"]["DatasetEstimationConfig"];
3494
3583
  /**
3495
- * @description When true, impact estimations run automatically against the datasets of any running pipelines that source from this integration.
3496
- * @default false
3497
- * @example false
3498
- */
3499
- enabled?: boolean;
3500
- /**
3501
- * Format: int32
3502
- * @description Maximum number of log messages to scan per estimation run.
3503
- * @default 10000000
3504
- * @example 10000000
3584
+ * @description Dataset this summary describes
3585
+ * @example ds-prod-1
3505
3586
  */
3506
- logLimit?: number;
3587
+ datasetId: string;
3507
3588
  /**
3508
- * Format: ISO-8601
3509
- * @description Time window of data to scan per estimation run. ISO-8601 duration format.
3510
- * @default PT1H
3511
- * @example PT20.345S
3589
+ * @description Display name of the dataset
3590
+ * @example logs-prod
3512
3591
  */
3513
- lookbackDuration?: string;
3514
- query?: components["schemas"]["EventPredicate"];
3515
- /**
3516
- * Format: ISO-8601
3517
- * @description How often to recalculate impact percentages. ISO-8601 duration format.
3518
- * @default P7D
3519
- * @example PT20.345S
3520
- */
3521
- refreshPeriod?: string;
3592
+ datasetName: string;
3593
+ pipelines: components["schemas"]["PipelineRef"][];
3522
3594
  };
3523
3595
  /** @description Base class of all Event Actions */
3524
3596
  EventAction: {
@@ -4189,6 +4261,12 @@ export interface components {
4189
4261
  * @example 25
4190
4262
  */
4191
4263
  autosyncPassthroughRateThreshold?: number;
4264
+ /**
4265
+ * Dataset ID for auto-sync threshold
4266
+ * @description Dataset against which the auto-sync impact threshold is evaluated. Required for threshold filtering to apply; when null, no exceptions bypass via auto-sync.
4267
+ * @example 0n1fhg95fhgp2
4268
+ */
4269
+ datasetId?: string;
4192
4270
  ids?: string[];
4193
4271
  /**
4194
4272
  * Integration ID
@@ -4197,44 +4275,6 @@ export interface components {
4197
4275
  */
4198
4276
  integrationId: string;
4199
4277
  };
4200
- IntegrationExceptionImpactEstimationConfig: {
4201
- /**
4202
- * Format: date-time
4203
- * @description Creation timestamp
4204
- */
4205
- readonly createdAt?: string;
4206
- /** @description ID of the dataset that contains raw data to be queried to calculate how many logs match exceptions loaded by a vendor integration. */
4207
- datasetId: string;
4208
- /** @description Integration ID */
4209
- readonly integrationId?: string;
4210
- /**
4211
- * Format: int32
4212
- * @description Maximum number of log messages to match.
4213
- */
4214
- logLimit?: number;
4215
- /**
4216
- * Format: ISO-8601
4217
- * @description Lookback duration for which to calculate exception impact. Uses ISO-8601 duration format.
4218
- * @default PT1H
4219
- * @example PT20.345S
4220
- */
4221
- lookbackDuration?: string;
4222
- /** @description Organization ID */
4223
- readonly organizationId?: string;
4224
- query?: components["schemas"]["EventPredicate"];
4225
- /**
4226
- * Format: ISO-8601
4227
- * @description How often to refresh exception impact percentages. Uses ISO-8601 duration format.
4228
- * @default P7D
4229
- * @example PT20.345S
4230
- */
4231
- refreshPeriod?: string;
4232
- /**
4233
- * Format: date-time
4234
- * @description Last update timestamp
4235
- */
4236
- readonly updatedAt?: string;
4237
- };
4238
4278
  /** @description Paginated list of vendor imported exceptions for an integration */
4239
4279
  IntegrationExceptionsList: {
4240
4280
  exceptions?: components["schemas"]["ItemsCollectionVendorImportedException"];
@@ -5766,7 +5806,6 @@ export interface components {
5766
5806
  * @example PT20.345S
5767
5807
  */
5768
5808
  dashboardFreshnessWindow?: string;
5769
- estimationConfig?: components["schemas"]["EstimationConfig"];
5770
5809
  /** @description The imported exceptions from NewRelic. This is a map from the vendor resource ID to the exception. */
5771
5810
  readonly exceptions?: {
5772
5811
  [key: string]: components["schemas"]["VendorImportedException"];
@@ -6208,6 +6247,18 @@ export interface components {
6208
6247
  */
6209
6248
  type: PhraseNodeType;
6210
6249
  };
6250
+ PipelineRef: {
6251
+ /**
6252
+ * @description Pipeline id
6253
+ * @example pipe-prod-1
6254
+ */
6255
+ id: string;
6256
+ /**
6257
+ * @description Pipeline display name
6258
+ * @example prod
6259
+ */
6260
+ name: string;
6261
+ };
6211
6262
  /** @description Current operational status and health of the pipeline */
6212
6263
  PipelineStatus: {
6213
6264
  error?: components["schemas"]["ErrorDetails"];
@@ -7151,6 +7202,14 @@ export interface components {
7151
7202
  */
7152
7203
  values: string[];
7153
7204
  };
7205
+ ResetImpactEstimationResponse: {
7206
+ /**
7207
+ * Format: int32
7208
+ * @description Number of estimation rows whose cached impact percentage was cleared. Zero when nothing was in scope (no opted-in sink datasets, or no estimation-capable integrations).
7209
+ * @example 12
7210
+ */
7211
+ rowsCleared: number;
7212
+ };
7154
7213
  /** @description Resource information describing the entity that produced the telemetry data. */
7155
7214
  Resource: {
7156
7215
  attributes?: components["schemas"]["Variant"];
@@ -7619,7 +7678,6 @@ export interface components {
7619
7678
  * @example **************ey
7620
7679
  */
7621
7680
  readonly authToken?: string;
7622
- estimationConfig?: components["schemas"]["EstimationConfig"];
7623
7681
  /** @description The imported exceptions from Splunk. This is a map from the vendor resource Id to the exception. */
7624
7682
  readonly exceptions?: {
7625
7683
  [key: string]: components["schemas"]["VendorImportedException"];
@@ -8988,17 +9046,6 @@ export interface components {
8988
9046
  readonly eventPredicateHash?: string;
8989
9047
  /** @enum {string} */
8990
9048
  exceptionType?: VendorImportedExceptionExceptionType;
8991
- /**
8992
- * Format: date-time
8993
- * @description Timestamp when the impact percentage was last updated
8994
- */
8995
- impactLastUpdated?: string;
8996
- /**
8997
- * Format: double
8998
- * @description The percent of events impacted by this exception
8999
- * @example 12.5
9000
- */
9001
- impactPercentage?: number;
9002
9049
  integrationId?: string;
9003
9050
  parseResult?: components["schemas"]["ParseResult"];
9004
9051
  sourceUri?: string;
@@ -9398,6 +9445,7 @@ export type SchemaDatadogStatsSink = components["schemas"]["DatadogStatsSink"];
9398
9445
  export type SchemaDatadogTraceAgentSource = components["schemas"]["DatadogTraceAgentSource"];
9399
9446
  export type SchemaDatadogTraceSink = components["schemas"]["DatadogTraceSink"];
9400
9447
  export type SchemaDatasetCreate = components["schemas"]["DatasetCreate"];
9448
+ export type SchemaDatasetEstimationConfig = components["schemas"]["DatasetEstimationConfig"];
9401
9449
  export type SchemaDatasetRead = components["schemas"]["DatasetRead"];
9402
9450
  export type SchemaDatasetUpdate = components["schemas"]["DatasetUpdate"];
9403
9451
  export type SchemaDoubleDatapoint = components["schemas"]["DoubleDatapoint"];
@@ -9407,7 +9455,7 @@ export type SchemaEmbeddingConfig = components["schemas"]["EmbeddingConfig"];
9407
9455
  export type SchemaEntityContextAggregation = components["schemas"]["EntityContextAggregation"];
9408
9456
  export type SchemaEntityRef = components["schemas"]["EntityRef"];
9409
9457
  export type SchemaErrorDetails = components["schemas"]["ErrorDetails"];
9410
- export type SchemaEstimationConfig = components["schemas"]["EstimationConfig"];
9458
+ export type SchemaEstimationDatasetSummary = components["schemas"]["EstimationDatasetSummary"];
9411
9459
  export type SchemaEventAction = components["schemas"]["EventAction"];
9412
9460
  export type SchemaEventActionRule = components["schemas"]["EventActionRule"];
9413
9461
  export type SchemaEventDedupIcebergTableSink = components["schemas"]["EventDedupIcebergTableSink"];
@@ -9443,7 +9491,6 @@ export type SchemaIcebergLogsReplaySource = components["schemas"]["IcebergLogsRe
9443
9491
  export type SchemaIgnoreAttributesMergeStrategy = components["schemas"]["IgnoreAttributesMergeStrategy"];
9444
9492
  export type SchemaInstrumentationScope = components["schemas"]["InstrumentationScope"];
9445
9493
  export type SchemaIntegrationExceptionConfig = components["schemas"]["IntegrationExceptionConfig"];
9446
- export type SchemaIntegrationExceptionImpactEstimationConfig = components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
9447
9494
  export type SchemaIntegrationExceptionsList = components["schemas"]["IntegrationExceptionsList"];
9448
9495
  export type SchemaInvitationsList = components["schemas"]["InvitationsList"];
9449
9496
  export type SchemaInvitee = components["schemas"]["Invitee"];
@@ -9547,6 +9594,7 @@ export type SchemaPatternLookupIcebergTableSink = components["schemas"]["Pattern
9547
9594
  export type SchemaPatternMatcher = components["schemas"]["PatternMatcher"];
9548
9595
  export type SchemaPatternRuleConfig = components["schemas"]["PatternRuleConfig"];
9549
9596
  export type SchemaPhraseNode = components["schemas"]["PhraseNode"];
9597
+ export type SchemaPipelineRef = components["schemas"]["PipelineRef"];
9550
9598
  export type SchemaPipelineStatus = components["schemas"]["PipelineStatus"];
9551
9599
  export type SchemaPlan = components["schemas"]["Plan"];
9552
9600
  export type SchemaPlanChangeRequest = components["schemas"]["PlanChangeRequest"];
@@ -9584,6 +9632,7 @@ export type SchemaReadUser = components["schemas"]["ReadUser"];
9584
9632
  export type SchemaReadableData = components["schemas"]["ReadableData"];
9585
9633
  export type SchemaReducerLogsQuerySource = components["schemas"]["ReducerLogsQuerySource"];
9586
9634
  export type SchemaRemoveKeyAttributeAction = components["schemas"]["RemoveKeyAttributeAction"];
9635
+ export type SchemaResetImpactEstimationResponse = components["schemas"]["ResetImpactEstimationResponse"];
9587
9636
  export type SchemaResource = components["schemas"]["Resource"];
9588
9637
  export type SchemaResourceFilter = components["schemas"]["ResourceFilter"];
9589
9638
  export type SchemaRole = components["schemas"]["Role"];
@@ -10002,6 +10051,114 @@ export interface operations {
10002
10051
  };
10003
10052
  };
10004
10053
  };
10054
+ getDatasetEstimationConfig: {
10055
+ parameters: {
10056
+ query?: never;
10057
+ header?: never;
10058
+ path: {
10059
+ /**
10060
+ * @description Dataset ID to get configuration for
10061
+ * @example logs-prod
10062
+ */
10063
+ id: string;
10064
+ };
10065
+ cookie?: never;
10066
+ };
10067
+ requestBody?: never;
10068
+ responses: {
10069
+ /** @description Configuration retrieved, or null if the dataset is not opted in */
10070
+ 200: {
10071
+ headers: {
10072
+ [name: string]: unknown;
10073
+ };
10074
+ content: {
10075
+ "application/json": components["schemas"]["DatasetEstimationConfig"];
10076
+ };
10077
+ };
10078
+ /** @description Dataset not found. */
10079
+ 404: {
10080
+ headers: {
10081
+ [name: string]: unknown;
10082
+ };
10083
+ content?: never;
10084
+ };
10085
+ };
10086
+ };
10087
+ upsertDatasetEstimationConfig: {
10088
+ parameters: {
10089
+ query?: never;
10090
+ header?: never;
10091
+ path: {
10092
+ /**
10093
+ * @description Dataset ID to create/update configuration for
10094
+ * @example logs-prod
10095
+ */
10096
+ id: string;
10097
+ };
10098
+ cookie?: never;
10099
+ };
10100
+ requestBody?: {
10101
+ content: {
10102
+ "application/json": components["schemas"]["DatasetEstimationConfig"];
10103
+ };
10104
+ };
10105
+ responses: {
10106
+ /** @description Configuration created or updated successfully */
10107
+ 200: {
10108
+ headers: {
10109
+ [name: string]: unknown;
10110
+ };
10111
+ content: {
10112
+ "application/json": components["schemas"]["DatasetEstimationConfig"];
10113
+ };
10114
+ };
10115
+ /** @description Invalid configuration data. */
10116
+ 400: {
10117
+ headers: {
10118
+ [name: string]: unknown;
10119
+ };
10120
+ content?: never;
10121
+ };
10122
+ /** @description Dataset not found. */
10123
+ 404: {
10124
+ headers: {
10125
+ [name: string]: unknown;
10126
+ };
10127
+ content?: never;
10128
+ };
10129
+ };
10130
+ };
10131
+ deleteDatasetEstimationConfig: {
10132
+ parameters: {
10133
+ query?: never;
10134
+ header?: never;
10135
+ path: {
10136
+ /**
10137
+ * @description Dataset ID to delete configuration for
10138
+ * @example logs-prod
10139
+ */
10140
+ id: string;
10141
+ };
10142
+ cookie?: never;
10143
+ };
10144
+ requestBody?: never;
10145
+ responses: {
10146
+ /** @description Configuration deleted successfully */
10147
+ 200: {
10148
+ headers: {
10149
+ [name: string]: unknown;
10150
+ };
10151
+ content?: never;
10152
+ };
10153
+ /** @description No configuration found for this dataset. */
10154
+ 404: {
10155
+ headers: {
10156
+ [name: string]: unknown;
10157
+ };
10158
+ content?: never;
10159
+ };
10160
+ };
10161
+ };
10005
10162
  generatePresignedUrl: {
10006
10163
  parameters: {
10007
10164
  query: {
@@ -13522,14 +13679,14 @@ export interface operations {
13522
13679
  };
13523
13680
  };
13524
13681
  };
13525
- getExceptionImpactEstimationConfig: {
13682
+ getEstimationDatasets: {
13526
13683
  parameters: {
13527
13684
  query?: never;
13528
13685
  header?: never;
13529
13686
  path: {
13530
13687
  /**
13531
- * @description Integration ID to get configuration for
13532
- * @example datadog-prod-123
13688
+ * @description Integration id
13689
+ * @example 0q841q0j81m2q
13533
13690
  */
13534
13691
  integrationId: string;
13535
13692
  };
@@ -13537,134 +13694,14 @@ export interface operations {
13537
13694
  };
13538
13695
  requestBody?: never;
13539
13696
  responses: {
13540
- /** @description Configuration retrieved successfully */
13697
+ /** @description Estimation dataset summaries retrieved */
13541
13698
  200: {
13542
13699
  headers: {
13543
13700
  [name: string]: unknown;
13544
13701
  };
13545
13702
  content: {
13546
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13547
- };
13548
- };
13549
- /** @description Unauthorized */
13550
- 401: {
13551
- headers: {
13552
- [name: string]: unknown;
13553
- };
13554
- content?: never;
13555
- };
13556
- /** @description Not Found - No configuration found for this integration. */
13557
- 404: {
13558
- headers: {
13559
- [name: string]: unknown;
13560
- };
13561
- content?: never;
13562
- };
13563
- };
13564
- };
13565
- upsertExceptionImpactEstimationConfig: {
13566
- parameters: {
13567
- query?: never;
13568
- header?: never;
13569
- path: {
13570
- /**
13571
- * @description Integration ID to create/update configuration for
13572
- * @example datadog-prod-123
13573
- */
13574
- integrationId: string;
13575
- };
13576
- cookie?: never;
13577
- };
13578
- requestBody?: {
13579
- content: {
13580
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13581
- };
13582
- };
13583
- responses: {
13584
- /** @description Configuration created or updated successfully */
13585
- 200: {
13586
- headers: {
13587
- [name: string]: unknown;
13588
- };
13589
- content: {
13590
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13591
- };
13592
- };
13593
- /** @description Bad Request - Invalid configuration data. */
13594
- 400: {
13595
- headers: {
13596
- [name: string]: unknown;
13597
- };
13598
- content?: never;
13599
- };
13600
- /** @description Unauthorized */
13601
- 401: {
13602
- headers: {
13603
- [name: string]: unknown;
13604
- };
13605
- content?: never;
13606
- };
13607
- };
13608
- };
13609
- deleteExceptionImpactEstimationConfig: {
13610
- parameters: {
13611
- query?: never;
13612
- header?: never;
13613
- path: {
13614
- /**
13615
- * @description Integration ID to delete configuration for
13616
- * @example datadog-prod-123
13617
- */
13618
- integrationId: string;
13619
- };
13620
- cookie?: never;
13621
- };
13622
- requestBody?: never;
13623
- responses: {
13624
- /** @description Configuration deleted successfully */
13625
- 200: {
13626
- headers: {
13627
- [name: string]: unknown;
13628
- };
13629
- content?: never;
13630
- };
13631
- /** @description Unauthorized */
13632
- 401: {
13633
- headers: {
13634
- [name: string]: unknown;
13635
- };
13636
- content?: never;
13637
- };
13638
- /** @description Not Found - No configuration found for this integration. */
13639
- 404: {
13640
- headers: {
13641
- [name: string]: unknown;
13642
- };
13643
- content?: never;
13644
- };
13645
- };
13646
- };
13647
- triggerExceptionImpactEstimationRefresh: {
13648
- parameters: {
13649
- query?: never;
13650
- header?: never;
13651
- path: {
13652
- /**
13653
- * @description Integration ID to trigger refresh for
13654
- * @example datadog-prod-123
13655
- */
13656
- integrationId: string;
13657
- };
13658
- cookie?: never;
13659
- };
13660
- requestBody?: never;
13661
- responses: {
13662
- /** @description Refresh triggered successfully */
13663
- 200: {
13664
- headers: {
13665
- [name: string]: unknown;
13703
+ "application/json": components["schemas"]["EstimationDatasetSummary"][];
13666
13704
  };
13667
- content?: never;
13668
13705
  };
13669
13706
  /** @description Unauthorized */
13670
13707
  401: {
@@ -13673,7 +13710,7 @@ export interface operations {
13673
13710
  };
13674
13711
  content?: never;
13675
13712
  };
13676
- /** @description Not Found - No configuration found for this integration. */
13713
+ /** @description Not Found - Integration not found. */
13677
13714
  404: {
13678
13715
  headers: {
13679
13716
  [name: string]: unknown;
@@ -14573,6 +14610,133 @@ export interface operations {
14573
14610
  };
14574
14611
  };
14575
14612
  };
14613
+ getEstimationDatasets_1: {
14614
+ parameters: {
14615
+ query?: never;
14616
+ header?: never;
14617
+ path: {
14618
+ /**
14619
+ * @description Pipeline ID to list estimation datasets for
14620
+ * @example pipe-prod-1
14621
+ */
14622
+ pipelineId: string;
14623
+ };
14624
+ cookie?: never;
14625
+ };
14626
+ requestBody?: never;
14627
+ responses: {
14628
+ /** @description Estimation dataset summaries retrieved */
14629
+ 200: {
14630
+ headers: {
14631
+ [name: string]: unknown;
14632
+ };
14633
+ content: {
14634
+ "application/json": components["schemas"]["EstimationDatasetSummary"][];
14635
+ };
14636
+ };
14637
+ /** @description Unauthorized */
14638
+ 401: {
14639
+ headers: {
14640
+ [name: string]: unknown;
14641
+ };
14642
+ content?: never;
14643
+ };
14644
+ /** @description Not Found - Pipeline not found. */
14645
+ 404: {
14646
+ headers: {
14647
+ [name: string]: unknown;
14648
+ };
14649
+ content?: never;
14650
+ };
14651
+ };
14652
+ };
14653
+ resetImpactEstimation: {
14654
+ parameters: {
14655
+ query?: never;
14656
+ header?: never;
14657
+ path: {
14658
+ /**
14659
+ * @description Pipeline ID to reset estimations for
14660
+ * @example pipe-prod-1
14661
+ */
14662
+ pipelineId: string;
14663
+ };
14664
+ cookie?: never;
14665
+ };
14666
+ requestBody?: never;
14667
+ responses: {
14668
+ /** @description Reset complete */
14669
+ 200: {
14670
+ headers: {
14671
+ [name: string]: unknown;
14672
+ };
14673
+ content: {
14674
+ "application/json": components["schemas"]["ResetImpactEstimationResponse"];
14675
+ };
14676
+ };
14677
+ /** @description Unauthorized */
14678
+ 401: {
14679
+ headers: {
14680
+ [name: string]: unknown;
14681
+ };
14682
+ content?: never;
14683
+ };
14684
+ /** @description Not Found - Pipeline not found. */
14685
+ 404: {
14686
+ headers: {
14687
+ [name: string]: unknown;
14688
+ };
14689
+ content?: never;
14690
+ };
14691
+ };
14692
+ };
14693
+ getIntegrationExceptionImpacts: {
14694
+ parameters: {
14695
+ query?: never;
14696
+ header?: never;
14697
+ path: {
14698
+ /**
14699
+ * @description Pipeline ID providing the dataset scope
14700
+ * @example pipe-prod-1
14701
+ */
14702
+ pipelineId: string;
14703
+ /**
14704
+ * @description Integration whose exceptions to look up impacts for
14705
+ * @example int-dd-1
14706
+ */
14707
+ integrationId: string;
14708
+ };
14709
+ cookie?: never;
14710
+ };
14711
+ requestBody?: never;
14712
+ responses: {
14713
+ /** @description Impact percentages retrieved */
14714
+ 200: {
14715
+ headers: {
14716
+ [name: string]: unknown;
14717
+ };
14718
+ content: {
14719
+ "application/json": {
14720
+ [key: string]: number;
14721
+ };
14722
+ };
14723
+ };
14724
+ /** @description Unauthorized */
14725
+ 401: {
14726
+ headers: {
14727
+ [name: string]: unknown;
14728
+ };
14729
+ content?: never;
14730
+ };
14731
+ /** @description Not Found - Pipeline not found. */
14732
+ 404: {
14733
+ headers: {
14734
+ [name: string]: unknown;
14735
+ };
14736
+ content?: never;
14737
+ };
14738
+ };
14739
+ };
14576
14740
  parse_2: {
14577
14741
  parameters: {
14578
14742
  query?: never;